Home
last modified time | relevance | path

Searched refs:GetD3D12Resource (Results 1 – 23 of 23) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/tests/white_box/
DD3D12ResourceHeapTests.cpp67 EXPECT_EQ(d3dTexture->GetD3D12Resource()->GetDesc().Alignment, in TEST_P()
77 EXPECT_EQ(d3dTexture->GetD3D12Resource()->GetDesc().Alignment, in TEST_P()
91 EXPECT_TRUE((d3dBuffer->GetD3D12Resource()->GetDesc().Width % in TEST_P()
101 EXPECT_TRUE((d3dBuffer->GetD3D12Resource()->GetDesc().Width % in TEST_P()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DBufferD3D12.cpp190 ID3D12Resource* Buffer::GetD3D12Resource() const { in GetD3D12Resource() function in dawn_native::d3d12::Buffer
191 return mResourceAllocation.GetD3D12Resource(); in GetD3D12Resource()
240 barrier->UAV.pResource = GetD3D12Resource(); in TransitionUsageAndGetResourceBarrier()
292 barrier->Transition.pResource = GetD3D12Resource(); in TransitionUsageAndGetResourceBarrier()
334 DAWN_TRY(CheckHRESULT(GetD3D12Resource()->Map(0, &range, &mMappedData), contextInfo)); in MapInternal()
365 GetD3D12Resource()->Unmap(0, &mWrittenMappedRange); in UnmapImpl()
444 SetDebugName(ToBackend(GetDevice()), mResourceAllocation.GetD3D12Resource(), "Dawn_Buffer", in SetLabelImpl()
DBindGroupD3D12.cpp61 ID3D12Resource* resource = ToBackend(binding.buffer)->GetD3D12Resource(); in BindGroup()
136 ID3D12Resource* resource = ToBackend(view->GetTexture())->GetD3D12Resource(); in BindGroup()
154 ID3D12Resource* resource = ToBackend(view->GetTexture())->GetD3D12Resource(); in BindGroup()
191 ToBackend(views[0]->GetTexture())->GetD3D12Resource(); in BindGroup()
DCommandBufferD3D12.cpp132 resolveQueryIndex, resolveQueryCount, destination->GetD3D12Resource(), in RecordResolveQuerySetCmd()
231 RecordCopyBufferToTexture(recordingContext, dstCopy, tempBuffer->GetD3D12Resource(), 0, in RecordCopyTextureWithTemporaryBuffer()
640 ID3D12Resource* colorTextureHandle = colorTexture->GetD3D12Resource(); in ResolveMultisampledRenderPass()
641 ID3D12Resource* resolveTextureHandle = resolveTexture->GetD3D12Resource(); in ResolveMultisampledRenderPass()
730 dstBuffer->GetD3D12Resource(), copy->destinationOffset, in RecordCommands()
731 srcBuffer->GetD3D12Resource(), copy->sourceOffset, copy->size); in RecordCommands()
763 buffer->GetD3D12Resource(), copy->source.offset, in RecordCommands()
845 commandList->CopyResource(destination->GetD3D12Resource(), in RecordCommands()
846 source->GetD3D12Resource()); in RecordCommands()
1051 dstBuffer->GetD3D12Resource(), offset, in RecordCommands()
[all …]
DResourceAllocatorManagerD3D12.cpp250 ASSERT(allocation.GetD3D12Resource() == nullptr); in DeallocateMemory()
257 allocation.GetD3D12Resource()->GetHeapProperties(&heapProp, nullptr); in FreeMemory()
259 const D3D12_RESOURCE_DESC resourceDescriptor = allocation.GetD3D12Resource()->GetDesc(); in FreeMemory()
DResourceHeapAllocationD3D12.h39 ID3D12Resource* GetD3D12Resource() const;
DResourceHeapAllocationD3D12.cpp36 ID3D12Resource* ResourceHeapAllocation::GetD3D12Resource() const { in GetD3D12Resource() function in dawn_native::d3d12::ResourceHeapAllocation
DRenderPassBuilderD3D12.cpp53 ToBackend(resolveSource->GetTexture())->GetD3D12Resource(); in D3D12EndingAccessResolveParameters()
55 ToBackend(resolveDestination->GetTexture())->GetD3D12Resource(); in D3D12EndingAccessResolveParameters()
DStagingBufferD3D12.cpp75 return mUploadHeap.GetD3D12Resource(); in GetResource()
DTextureD3D12.cpp674 d3dSharingContract->Present(mResourceAllocation.GetD3D12Resource(), 0, 0); in DestroyImpl()
694 ID3D12Resource* Texture::GetD3D12Resource() const { in GetD3D12Resource() function in dawn_native::d3d12::Texture
695 return mResourceAllocation.GetD3D12Resource(); in GetD3D12Resource()
822 barrier.Transition.pResource = GetD3D12Resource(); in TransitionSubresourceRange()
1041 device->GetD3D12Device()->CreateDepthStencilView(GetD3D12Resource(), &dsvDesc, in ClearTexture()
1079 device->GetD3D12Device()->CreateRenderTargetView(GetD3D12Resource(), &rtvDesc, in ClearTexture()
1138 SetDebugName(ToBackend(GetDevice()), mResourceAllocation.GetD3D12Resource(), prefix, in SetLabelHelper()
DBufferD3D12.h33 ID3D12Resource* GetD3D12Resource() const;
DDeviceD3D12.cpp304 dstBuffer->GetD3D12Resource(), offset, mZeroBuffer->GetD3D12Resource(), 0, in ClearBufferToZero()
491 dstBuffer->GetD3D12Resource(), destinationOffset, srcBuffer->GetResource(), in CopyFromStagingToBufferImpl()
DUtilsD3D12.cpp76 copyLocation.pResource = texture->GetD3D12Resource(); in ComputeTextureCopyLocationForTexture()
285 ComputeBufferLocationForCopyTextureRegion(texture, buffer->GetD3D12Resource(), in RecordCopyTextureToBufferFromTextureCopySplit()
DTextureD3D12.h57 ID3D12Resource* GetD3D12Resource() const;
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DCommandBufferD3D12.cpp54 copyLocation.pResource = texture.GetD3D12Resource(); in CreateTextureCopyLocationForTexture()
283 ToBackend(view->GetTexture())->GetD3D12Resource(), &rtvDesc, rtvHandle); in GetSubpassOMSetRenderTargetArgs()
297 ToBackend(view->GetTexture())->GetD3D12Resource(), &dsvDesc, dsvHandle); in GetSubpassOMSetRenderTargetArgs()
391 ID3D12Resource* colorTextureHandle = colorTexture->GetD3D12Resource(); in ResolveMultisampledRenderPass()
392 ID3D12Resource* resolveTextureHandle = resolveTexture->GetD3D12Resource(); in ResolveMultisampledRenderPass()
501 dstBuffer->GetD3D12Resource().Get(), copy->destinationOffset, in RecordCommands()
502 srcBuffer->GetD3D12Resource().Get(), copy->sourceOffset, copy->size); in RecordCommands()
535 bufferLocation.pResource = buffer->GetD3D12Resource().Get(); in RecordCommands()
582 bufferLocation.pResource = buffer->GetD3D12Resource().Get(); in RecordCommands()
629 commandList->CopyResource(destination->GetD3D12Resource(), in RecordCommands()
[all …]
DBindGroupD3D12.cpp79 ToBackend(binding.buffer)->GetD3D12Resource().Get(), nullptr, &desc, in AllocateDescriptors()
87 ToBackend(view->GetTexture())->GetD3D12Resource(), &srv, in AllocateDescriptors()
DBufferD3D12.h33 ComPtr<ID3D12Resource> GetD3D12Resource();
DTextureD3D12.h36 ID3D12Resource* GetD3D12Resource() const;
DBufferD3D12.cpp121 ComPtr<ID3D12Resource> Buffer::GetD3D12Resource() { in GetD3D12Resource() function in dawn_native::d3d12::Buffer
DDeviceD3D12.cpp319 ToBackend(destination)->GetD3D12Resource().Get(), destinationOffset, in CopyFromStagingToBuffer()
DTextureD3D12.cpp317 ID3D12Resource* Texture::GetD3D12Resource() const { in GetD3D12Resource() function in dawn_native::d3d12::Texture
/third_party/mesa3d/src/microsoft/resource_state_manager/
DD3D12ResourceState.h169 inline ID3D12Resource* GetD3D12Resource() const { return m_pResource; } in GetD3D12Resource() function
DD3D12ResourceState.cpp387 ID3D12Resource *pResource = CurResource.GetD3D12Resource(); in ApplyAllResourceTransitions()