|
@@ -25,35 +25,35 @@ namespace Framework
|
|
|
HANDLE event;
|
|
HANDLE event;
|
|
|
unsigned __int64 fenceValue;
|
|
unsigned __int64 fenceValue;
|
|
|
|
|
|
|
|
- DX12CommandQueue(int typ, ID3D12Device* zDevice);
|
|
|
|
|
|
|
+ DLLEXPORT DX12CommandQueue(int typ, ID3D12Device* zDevice);
|
|
|
|
|
|
|
|
public:
|
|
public:
|
|
|
- virtual ~DX12CommandQueue();
|
|
|
|
|
- unsigned __int64 addSignalFromGPU();
|
|
|
|
|
- void whaitForGPUSignal();
|
|
|
|
|
- void whaitForGPUSignal(unsigned __int64 value);
|
|
|
|
|
- void flush();
|
|
|
|
|
- ID3D12CommandAllocator* zAllocator() const;
|
|
|
|
|
- ID3D12GraphicsCommandList4* zCommandList() const;
|
|
|
|
|
- ID3D12CommandQueue* zQueue() const;
|
|
|
|
|
- void execute();
|
|
|
|
|
|
|
+ DLLEXPORT virtual ~DX12CommandQueue();
|
|
|
|
|
+ DLLEXPORT unsigned __int64 addSignalFromGPU();
|
|
|
|
|
+ DLLEXPORT void whaitForGPUSignal();
|
|
|
|
|
+ DLLEXPORT void whaitForGPUSignal(unsigned __int64 value);
|
|
|
|
|
+ DLLEXPORT void flush();
|
|
|
|
|
+ DLLEXPORT ID3D12CommandAllocator* zAllocator() const;
|
|
|
|
|
+ DLLEXPORT ID3D12GraphicsCommandList4* zCommandList() const;
|
|
|
|
|
+ DLLEXPORT ID3D12CommandQueue* zQueue() const;
|
|
|
|
|
+ DLLEXPORT void execute();
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
class DX12DirectCommandQueue : public DX12CommandQueue
|
|
class DX12DirectCommandQueue : public DX12CommandQueue
|
|
|
{
|
|
{
|
|
|
public:
|
|
public:
|
|
|
- DX12DirectCommandQueue(ID3D12Device* zDevice);
|
|
|
|
|
|
|
+ DLLEXPORT DX12DirectCommandQueue(ID3D12Device* zDevice);
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
class DX12CopyCommandQueue : public DX12CommandQueue
|
|
class DX12CopyCommandQueue : public DX12CommandQueue
|
|
|
{
|
|
{
|
|
|
public:
|
|
public:
|
|
|
- DX12CopyCommandQueue(ID3D12Device* zDevice);
|
|
|
|
|
|
|
+ DLLEXPORT DX12CopyCommandQueue(ID3D12Device* zDevice);
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
class DX12ComputeCommandQueue : public DX12CommandQueue
|
|
class DX12ComputeCommandQueue : public DX12CommandQueue
|
|
|
{
|
|
{
|
|
|
public:
|
|
public:
|
|
|
- DX12ComputeCommandQueue(ID3D12Device* zDevice);
|
|
|
|
|
|
|
+ DLLEXPORT DX12ComputeCommandQueue(ID3D12Device* zDevice);
|
|
|
};
|
|
};
|
|
|
}; // namespace Framework
|
|
}; // namespace Framework
|