#pragma once #include "d3d11_context.h" namespace dxvk { class D3D11CommandList : public D3D11DeviceChild { public: D3D11CommandList( D3D11Device* pDevice, UINT ContextFlags); ~D3D11CommandList(); HRESULT STDMETHODCALLTYPE QueryInterface( REFIID riid, void** ppvObject) final; void STDMETHODCALLTYPE GetDevice( ID3D11Device **ppDevice) final; UINT GetContextFlags(); void AddChunk(Rc&& Chunk); void EmitToCommandList( ID3D11CommandList* pCommandList); void EmitToCsThread( const Rc& CsThread); private: D3D11Device* const m_device; UINT const m_contextFlags; std::vector> m_chunks; }; }