Re: llvmpipe and PyOpenGL

"Mike C. Fletcher" <[email protected]> Fri, 29 Nov 2013 09:39:58 -0500
Newsgroups gmane.comp.python.opengl.user
Message-ID <[email protected]>
On 13-11-29 07:46 AM, Cyrille Rossant wrote:
> Hi,
>
> How difficult would it be to have PyOpenGL support a software
> rasterizer like llvmpipe? Usecases would include computers with old
> graphics cards/drivers and painless remote control of PyOpenGL-based
> software.

If I'm understanding the mechanics of the project (llvmpipe) correctly, 
it may "just work" out of the box... basically the function:

     ctypes.util.find_library( 'GL' )

(which is sitting underneath all of the platform machinery) needs to 
find your llvmpipe GL library, which might very well just work if you 
set LD_LIBRARY_PATH to the correct value (as documented in llvmpipe) 
before running PyOpenGL.

If it *doesn't* work, you could trivially replicate the 
OpenGL/platform/glx.py module (for testing) to see if you can get the 
library to load (let me know what you have to do to get it working, as 
this should "just work" IMO).  Once loaded you *should* (if I understand 
how llvmpipe works) just be able to use it as a regular driver running 
inside whatever GUI library (or offline pbuffer library) you want to use 
in order to test it.

Hope that helps,
Mike


-- 
________________________________________________
   Mike C. Fletcher
   Designer, VR Plumber, Coder
   http://www.vrplumber.com
   http://blog.vrplumber.com


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net