- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi one simple question it's possible to create a OpenCL context with simultaneous OpenGL and D3D interop possible say using:
cl_context_properties akProperties[] = {
CL_GL_CONTEXT_KHR,
(cl_context_properties)wglGetCurrentContext(),
CL_WGL_HDC_KHR,
(cl_context_properties)wglGetCurrentDC(),
CL_GL_CONTEXT_KHR,
(cl_context_properties)wglGetCurrentContext(),
CL_WGL_HDC_KHR,
(cl_context_properties)wglGetCurrentDC(),
CL_CONTEXT_ADAPTER_D3D9_KHR,
gd3ddev
};
};
One usage case is clear using Quicksync for encoding OpenGL frames.. as Intel shows there is OpenCL interop with Media SDK via some d3d9,dxva interop extension.. I would love to be able to encode output of a OpenGL app via Media SDK and seems simultaneous OpenGL and D3D9 interop would solve the problem.. if not what's the recommended way of getting GL frames to OpenCL postprocessing and then sending to Media SDK for encoding all while the buffers remain in GPU mem?
Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page