![]() |
Re: Finally: GL to GLES runtime (glshim from openpandora)
keep the ***** on:)
|
Re: Finally: GL to GLES runtime (glshim from openpandora)
Quote:
EDIT: Thanks freeman, it was indeed mesa GLU (libGLU.so needed '.1') + libGL, with proper GLU (from github glues) getting same black screen in game :( at least the fps are now >40 |
Re: Finally: GL to GLES runtime (glshim from openpandora)
Quote:
|
Re: Finally: GL to GLES runtime (glshim from openpandora)
Quote:
|
Re: Finally: GL to GLES runtime (glshim from openpandora)
Quote:
http://www.imgtec.com/powervr/insider/pvrtrace.asp http://www.imgtec.com/powervr/inside...vr-pvrtune.asp Latest versions work pretty much OK with N900, though you'll need recent OpenGL support on your desktop for PVRTrace frame analysis to work(I was unable to do it on my WindowsXP machine). I use the following pvrtrace.cfg: Code:
[host] To capture a trace for a particualr program, copy the libs into the dir the traced binary is, create pvrtrace.cfg in the same dir with the above content and use: Code:
LD_PRELOAD="./libEGL.so ./libGLESv2.so ./libGLES_CM.so ./libPVRTrace.so" ./$BINARY For PVRTune you need to copy PVRPerfServerDeveloper on the device and run it. I found the default data capture period of 5ms(iirc) too low for my needs, so I used 30ms, but I guess it depends on the tuned program(I used it against gecko :) ) All tools that come with the SDK have good documentation, however, if you need any further instructions I'll gladly try to help, just ask. EDIT: The above LD_PRELOAD is for GLES2.0, for a different version maybe more or different trace libs need to be loaded. |
Re: Finally: GL to GLES runtime (glshim from openpandora)
I made packages to the extras-devel: libglshim-dev, libglushim-dev, libglshim, libglushim. And they are working as expected!
glshim is https://github.com/lunixbochs/glshim glushim is https://github.com/lunixbochs/glues/tree/glu (i.e. 'glu' branch in glues, this was cure for black armagetron). |
Re: Finally: GL to GLES runtime (glshim from openpandora)
great work. vid of armagetron looks very smooth.
just wondering what other titles we could now try porting? |
Re: Finally: GL to GLES runtime (glshim from openpandora)
Quote:
|
Re: Finally: GL to GLES runtime (glshim from openpandora)
Blender? :p
|
Re: Finally: GL to GLES runtime (glshim from openpandora)
Quote:
Not that Blender would necessarily be useful, but...to be able to say, "well, my phone can run Blender!" is fun. :cool: |
All times are GMT. The time now is 19:08. |
vBulletin® Version 3.8.8