15 gpu->
device()->CreateFence(0, D3D12_FENCE_FLAG_NONE, IID_PPV_ARGS(&fenceInfo.
fFence));
18 return std::unique_ptr<GrD3DSemaphore>(
new GrD3DSemaphore(fenceInfo));
22 return std::unique_ptr<GrD3DSemaphore>(
new GrD3DSemaphore(fenceInfo));
25GrD3DSemaphore::GrD3DSemaphore(
const GrD3DFenceInfo& fenceInfo) : fFenceInfo(fenceInfo) {}
ID3D12Device * device() const
static std::unique_ptr< GrD3DSemaphore > Make(GrD3DGpu *gpu)
GrBackendSemaphore backendSemaphore() const override
static std::unique_ptr< GrD3DSemaphore > MakeWrapped(const GrD3DFenceInfo &)
gr_cp< ID3D12Fence > fFence