View Full Version : DXVA and OpenGl

11-10-2014, 06:40 AM

could you tell me if there`s a way to share a DirectX Video Acceleration image to a OpenGl Framebuffer or OpenGl texture object? The problem is we`re using a third-party software using DXVA, but we`ll use OpenGl. Our software product is a video player and the third-party solution do the decoding process of the video in the GPU. After that our software should add some video overlays and render the image without copying the whole image to the CPU memory.

Is there a common way to do that?

best regards

carsten neumann
11-10-2014, 07:59 AM
On nvidia hardware there are the two extensions WGL_NV_DX_interop (https://www.opengl.org/registry/specs/NV/DX_interop.txt) and WGL_NV_DX_interop2 (https://www.opengl.org/registry/specs/NV/DX_interop2.txt) - I don't know enough about DirectX to say if there are options for other vendors as well.