34 class CommandListManager
37 CommandListManager(
class RenderDeviceD3D12Impl *pDeviceD3D12);
38 ~CommandListManager();
40 CommandListManager(
const CommandListManager&) =
delete;
41 CommandListManager(CommandListManager&&) =
delete;
42 CommandListManager& operator = (
const CommandListManager&) =
delete;
43 CommandListManager& operator = (CommandListManager&&) =
delete;
45 void CreateNewCommandList( ID3D12GraphicsCommandList** ppList, ID3D12CommandAllocator** ppAllocator );
50 void DiscardAllocator( Uint64 FenceValue, ID3D12CommandAllocator* pAllocator );
52 void RequestAllocator(ID3D12CommandAllocator** ppAllocator);
57 typedef std::pair<Uint64, CComPtr<ID3D12CommandAllocator> > DiscardedAllocatorQueueElemType;
58 std::deque< DiscardedAllocatorQueueElemType, STDAllocatorRawMem<DiscardedAllocatorQueueElemType> > m_DiscardedAllocators;
60 std::mutex m_AllocatorMutex;
61 RenderDeviceD3D12Impl *m_pDeviceD3D12;
63 Atomics::AtomicLong m_NumAllocators = 0;
Namespace for the OpenGL implementation of the graphics engine.
Definition: BufferD3D11Impl.h:34