[pypy-dev] pyopengl on pypy, take 2

2010-12-02 Thread rndblnch
hi, with your help, i have been able to patch pyopengl to make non-trivial glut/opengl interactive programs (involving shaders, vertex and pixel buffers) run on pypy. the programs: http://bitbucket.org/rndblnch/opengl-programmable/ some details about pyopengl modifications here: http

Re: [pypy-dev] pyopengl on pypy

2010-12-01 Thread rndblnch
hi, Amaury Forgeot d'Arc gmail.com> writes: > But IMO the call to pythonapi.PyString_AsString could be removed in > OpenGL/arrays/strings.py: > > def dataPointer(value): >     return ctypes.cast(ctypes.c_char_p(value), ctypes.c_void_p).value great, this replacement (and also the one suggested b