cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

oscarbarenys1
Adept II

Simultaneous creation of OpenCL with OpenGL and D3D interop..

Hi,

Nvidia has been speaking about OGL-DX interop since last year GTC 2009 and now has just released WGL_NV_DX_interop spec and drivers supporting it..

Seems an interesting extension which useful cases as:

http://www.opentk.com/node/2120

also could be good for an OpenGL video player using DXVA GPU video decode and mapping d3d texture with video frames to OGL textures all without the host to comunicate..

If not implement in OGL drivers you could enable similar functionality via OpenCL allowing to create an OpenCL context with simultaneous OpenGL and Direct3D interop..  This would allow avoiding going through host in these scenarios although still require a device copy.. Your OpenCL driver allows for OGL and D3D10 interop but not simultaneously and that could be supported by using current API using in clCreateContext both CL_GL_CONTEXT_KHR, CL_WGL_HDC_KHR and CL_CONTEXT_D3D10_DEVICE_KHR ..


So are you interested in implementing in future releases?

PS: Don't allow Nvidia to be one step ahead in GPU computing

currently OpenCL seems to use only first info..

 

Thanks.



Tags (3)
0 Likes
2 Replies
DTop
Staff
Staff

Simultaneous creation of OpenCL with OpenGL and D3D interop..

How wide this application is? Could you give an example?

0 Likes
himanshu_gautam
Grandmaster

Simultaneous creation of OpenCL with OpenGL and D3D interop..

oscarbarenys1,

Can you confirm whether this extension is available in NV OpenCL SDK. Or is it a part of CUDA SDK?

0 Likes