Share via

Interoperability Direct3D11/Direct3D9Ex samples

Ceb 1 Reputation point
2021-07-23T07:34:53.043+00:00

Hello,
I'm currently using this article https://learn.microsoft.com/en-us/windows/win32/direct3darticles/surface-sharing-between-windows-graphics-apis for one of my projects. At the end of this document, it refers to something that I don't manage to find :

. Direct3D 9Ex and DXGI 1.1 consumer APIs can interoperate, as shown with the synchronization mechanism provided through sample helper code on MSDN Code Gallery.

Could you tell me where I can find tis 'synchronization mechanism provided through sample helper code on MSDN Code Gallery.' ?
Thank you,

C.B

Windows development | Windows API - Win32

1 answer

Sort by: Most helpful
  1. Ceb 1 Reputation point
    2021-07-23T14:56:59.487+00:00

    More precisely :
    I currently have a program which displays a 4k Video by processing and rendering video data (using a DXGISwapChain) exclusively with Direct3D11. But I would like to do the "process part" with D3D11 and do the rendering with Direct3D9. So am I on the right track by caring about D3D9ExDXGISharedSurface? Is this article https://learn.microsoft.com/en-us/windows/win32/direct3darticles/surface-sharing-between-windows-graphics-apis really the solution of my problem ? And if it is, is it still supported on Windows modern API's? (since we can't find code samples about this anymore...)

    If you have an other solution to my purpose, I'm very interested to hear it !

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.