[squeak-dev] Re: OpenCL and OpenGL interop

askoh askoh at askoh.com
Mon Jun 7 20:15:10 UTC 2010


Do we really need a primitive to do the following? AS

                cl_context_properties props[] = 
                {
                    CL_GL_CONTEXT_KHR,
(cl_context_properties)wglGetCurrentContext(), 
                    CL_WGL_HDC_KHR,
(cl_context_properties)wglGetCurrentDC(), 
                    CL_CONTEXT_PLATFORM, (cl_context_properties)cpPlatform, 
                    0
                };
                cxGPUContext = clCreateContext(props, 1,
&cdDevices[uiDeviceUsed], NULL, NULL, &ciErrNum);

-- 
View this message in context: http://forum.world.st/OpenCL-and-OpenGL-interop-tp2246017p2246493.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.



More information about the Squeak-dev mailing list