d3d11: use IDXGIInfoQueue instead ID3D11InfoQueue

DXGI debug interface encapsulate multiple message queues, which allows
to get validation not only for D3D11 calls, but also DXGI ones.

Also this makes leak detector not report self debug interface as alive
like it was before. And same as with validation, it has ability to
detect more alive objects, not being limited to D3D11.
This commit is contained in:
Kacper Michajłow
2023-05-01 03:11:15 +02:00
parent 56b3bcaaf2
commit 19a9164e24
4 changed files with 78 additions and 50 deletions

View File

@@ -994,6 +994,7 @@ features += {'d3d11': d3d11.allowed()}
if features['d3d11']
sources += files('video/out/d3d11/context.c',
'video/out/d3d11/ra_d3d11.c')
features += {'dxgi-debug-d3d11': cc.has_header_symbol('d3d11sdklayers.h', 'DXGI_DEBUG_D3D11')}
endif
wayland = {