[host] updated to take advantage of DXGI v1.5

This commit is contained in:
Geoffrey McRae
2018-12-04 21:25:50 +11:00
parent 75ffcacfe4
commit 2a30bb718a
5 changed files with 223 additions and 34 deletions

View File

@@ -85,15 +85,17 @@ namespace Capture
CaptureOptions * m_options;
bool m_initialized;
bool m_started;
unsigned int m_width;
unsigned int m_height;
DXGI_FORMAT m_pixelFormat;
enum FrameType m_frameType;
IDXGIFactory1Ptr m_dxgiFactory;
ID3D11DevicePtr m_device;
D3D_FEATURE_LEVEL m_featureLevel;
ID3D11DeviceContextPtr m_deviceContext;
IDXGIOutput1Ptr m_output;
IDXGIOutput5Ptr m_output;
IDXGIOutputDuplicationPtr m_dup;
bool m_releaseFrame;
ID3D11Texture2DPtr m_texture[3];