On Thu, Sep 29, 2011 at 10:19 AM, Andreas Kloeckner <lists(a)informa.tiker.net
> On Tue, 27 Sep 2011 11:13:27 +0400, Roman Valov <roman.valov(a)gmail.com>
> > Hello, thank you for your
> > I've run SimpleGL example from NVidia GPU SDK, it works fine. I've made
> > investigations on it and found that in SimpleGL wglGetCurrentContext
> > 0x10000, however in python applications it is permanently 0x20000 (I'm
> > pygame to create opengl window). I've tried to substitute GL_CONTEXT_KHR
> > value in context properties with 0x10000 but with no success.
> > Here is list of properties I'm passing to Context creation:
> > [(8200, 131072), (8203, 18446744072820433310L), (4228, <pyopencl.Platform
> > 'NVIDIA CUDA' at 0x67c1390>)]
> Does PyOpenCL's gl_interop example work?
Hm... gl_interop example also works. So, it seems problem is in pygame of
libsdl code with creating proper OpenGL context. I've checked values
returned by glGetString and realized that pygame-created context is driven
by Microsoft default software OpenGL implementation. Thank you for
assistance in pointing out where the problem could reside.