On Tue, 27 Sep 2011 11:13:27 +0400, Roman Valov <roman.valov(a)gmail.com> wrote:
Hello, thank you for your reply.
I've run SimpleGL example from NVidia GPU SDK, it works fine. I've made some
investigations on it and found that in SimpleGL wglGetCurrentContext returns
0x10000, however in python applications it is permanently 0x20000 (I'm using
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?