glshim


I can probably provide a library that takes any GL or DirectX calls happening inside a Linux/Windows guest and ships them outside the VM to be rendered much more quickly.

The hard parts will be the actual transfer of calls (shared memory? a socket?) and keeping a consistent render context / position. I can probably cheat on the Pandora and just use framebuffer overlay as long as you do fullscreen on the guest or the game uses a rendered mouse cursor.

I already have code working to record + playback + examine any part of OpenGL/ES/GLX.
 
Last edited by a moderator:
So you are proposing a Windows graphic driver for QEMU which passes all calls to the host? That will be quite a feat, there's a reason there isn't such a thing as standard on desktops already.
 
Doesn't need to be a graphics driver. I can take the common interface closest to your app (OpenGL.dll) and replace it with something that renders to a different system.

I'm pretty sure I just need to proxy the whole dll and implement wgl, just like my Pandora libGL does with glX but with an extra proxy layer.

The worst part will be glGet calls, which require two-way communication.
 
Last edited by a moderator:
Thx for your Work,Yesterday evening came my Father in the Hospital,but it goes him good again.

Yesterday too much Visitors and too much Visiting.

Currently i will try another sollution.

I saw that exist for Wine a WineGL-Lib,i will experiment with this.

And i make a complete X86 Knoppix on a SD card and try to use the "real x86" Directory as Gnemul Directory.

I can choose with the option

qemu-i386 -L (where the x86 Files are)

Maybe that working better then,and i have newer Libs then ^_^

I am Curious with Skype too :)
 
Last edited by a moderator:
Forget Skype.
Ok i forgott it now...

...was anything?

Skype? Never heard,but realy i dont use it at home :D

Its unimportant now.

I am curious about Qemu-i386 work better with the complete Knoppix System on SD als Gnemul Directory :D
 
Last edited by a moderator:
First you might want to try to make the games work on a real x86 Knoppix or whatever distro on a x86 pc. Then transfer everything it needs to your qemu directory.
 
Thank-you!  for open-sourcing this!  with an MIT license, too

Where do we send the thank-you money? :)
NVM, I sent some via Aquaria on the repo.
 
Last edited by a moderator:
Is it intrusive, i mean does it replace parts of the actual system ? (only two files replaced ?)
 
Last edited by a moderator:
It implements libGL.so.1 and depends on libGLES_CM.

OpenGL in one side, OpenGL ES out the other.

The only possible conflict would be if you already have a different OpenGL implementation you want to use.
 
Last edited by a moderator:
Awesomesauce!

/me links to friends that have been waiting to have a look
 
Is there any reason why we shouldn't put this in the default firmware? That way we don't need to include it in every PND, and if it improves, everything that uses it can automatically improve with it...
 
Sorry if this has been asked before. Does this work in conjunction with the Pandora's SDL build? ie, can we now use OGL through SDL?
 
Back
Top