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://thread.g
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
Hi,
2010/12/1 renaud blanch
> > i'm trying to make some pyopengl [0] -based code [1] run on top of pypy.
> > this is partially successful, but i need some advice to progress further.
> > pyopengl 3.x makes use of ctypes to provide the opengl binding, and it
> > works out of the box for simple fu
Hi Renaud,
On Wed, Dec 1, 2010 at 2:21 PM, renaud blanch wrote:
>>> We'd need to find a mechanism in PyPy that would give us that direct
>>> memory-pointer access to be able to use it. Note: a compacting garbage
>>> collector (or anything else that can move memory locations) will cause
>>> probl
this time with a subject, the message, and my apologies for the noise,
renaud
On 12/1/10, renaud blanch wrote:
> hi,
>
> i'm trying to make some pyopengl [0] -based code [1] run on top of pypy.
> this is partially successful, but i need some advice to progress further.
> pyopengl 3.x makes use of
sorry, i forgot to put a subject.
renaud
___
pypy-dev@codespeak.net
http://codespeak.net/mailman/listinfo/pypy-dev
Hum, good news :) I'll try.
On Tue, Apr 1, 2008 at 9:30 AM, Amaury Forgeot d'Arc <[EMAIL PROTECTED]> wrote:
> Hello,
>
>
> On Tue, Apr 1, 2008 at 6:24 AM, Maciek Fijalkowski <[EMAIL PROTECTED]> wrote:
> > It seems that sentence on a web page saying "The binding is created
> > using the standar
Hello,
On Tue, Apr 1, 2008 at 6:24 AM, Maciek Fijalkowski <[EMAIL PROTECTED]> wrote:
> It seems that sentence on a web page saying "The binding is created
> using the standard (in Python 2.5) ctypes library" is simply a lie :(
> There is a SWIG binding laying there. There is roughly 20k lines of
It seems that sentence on a web page saying "The binding is created
using the standard (in Python 2.5) ctypes library" is simply a lie :(
There is a SWIG binding laying there. There is roughly 20k lines of swig
interface code. Not sure how easy would be to wrap automatically, but
this binding i