Searched refs:resourceDescriptor (Results 1 – 12 of 12) sorted by relevance
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | StagingBufferD3D12.cpp | 26 D3D12_RESOURCE_DESC resourceDescriptor; in Initialize() local 27 resourceDescriptor.Dimension = D3D12_RESOURCE_DIMENSION_BUFFER; in Initialize() 28 resourceDescriptor.Alignment = 0; in Initialize() 29 resourceDescriptor.Width = GetSize(); in Initialize() 30 resourceDescriptor.Height = 1; in Initialize() 31 resourceDescriptor.DepthOrArraySize = 1; in Initialize() 32 resourceDescriptor.MipLevels = 1; in Initialize() 33 resourceDescriptor.Format = DXGI_FORMAT_UNKNOWN; in Initialize() 34 resourceDescriptor.SampleDesc.Count = 1; in Initialize() 35 resourceDescriptor.SampleDesc.Quality = 0; in Initialize() [all …]
|
D | BufferD3D12.cpp | 74 D3D12_RESOURCE_DESC resourceDescriptor; in Buffer() local 75 resourceDescriptor.Dimension = D3D12_RESOURCE_DIMENSION_BUFFER; in Buffer() 76 resourceDescriptor.Alignment = 0; in Buffer() 77 resourceDescriptor.Width = GetD3D12Size(); in Buffer() 78 resourceDescriptor.Height = 1; in Buffer() 79 resourceDescriptor.DepthOrArraySize = 1; in Buffer() 80 resourceDescriptor.MipLevels = 1; in Buffer() 81 resourceDescriptor.Format = DXGI_FORMAT_UNKNOWN; in Buffer() 82 resourceDescriptor.SampleDesc.Count = 1; in Buffer() 83 resourceDescriptor.SampleDesc.Quality = 0; in Buffer() [all …]
|
D | TextureD3D12.cpp | 230 D3D12_RESOURCE_DESC resourceDescriptor; in Texture() local 231 resourceDescriptor.Dimension = D3D12TextureDimension(GetDimension()); in Texture() 232 resourceDescriptor.Alignment = 0; in Texture() 235 resourceDescriptor.Width = size.width; in Texture() 236 resourceDescriptor.Height = size.height; in Texture() 238 resourceDescriptor.DepthOrArraySize = GetDepthOrArraySize(); in Texture() 239 resourceDescriptor.MipLevels = static_cast<UINT16>(GetNumMipLevels()); in Texture() 240 resourceDescriptor.Format = D3D12TextureFormat(GetFormat().format); in Texture() 241 resourceDescriptor.SampleDesc.Count = descriptor->sampleCount; in Texture() 243 resourceDescriptor.SampleDesc.Quality = 0; in Texture() [all …]
|
D | ResourceAllocator.cpp | 40 const D3D12_RESOURCE_DESC& resourceDescriptor, in Allocate() argument 61 heapProperties, D3D12_HEAP_FLAG_NONE, &resourceDescriptor, initialUsage, nullptr, in Allocate()
|
D | ResourceAllocator.h | 31 const D3D12_RESOURCE_DESC& resourceDescriptor,
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | StagingBufferD3D12.cpp | 29 D3D12_RESOURCE_DESC resourceDescriptor; in Initialize() local 30 resourceDescriptor.Dimension = D3D12_RESOURCE_DIMENSION_BUFFER; in Initialize() 31 resourceDescriptor.Alignment = 0; in Initialize() 32 resourceDescriptor.Width = GetSize(); in Initialize() 33 resourceDescriptor.Height = 1; in Initialize() 34 resourceDescriptor.DepthOrArraySize = 1; in Initialize() 35 resourceDescriptor.MipLevels = 1; in Initialize() 36 resourceDescriptor.Format = DXGI_FORMAT_UNKNOWN; in Initialize() 37 resourceDescriptor.SampleDesc.Count = 1; in Initialize() 38 resourceDescriptor.SampleDesc.Quality = 0; in Initialize() [all …]
|
D | ResourceAllocatorManagerD3D12.cpp | 152 bool IsClearValueOptimizable(const D3D12_RESOURCE_DESC& resourceDescriptor) { in IsClearValueOptimizable() argument 157 return !IsTypeless(resourceDescriptor.Format) && in IsClearValueOptimizable() 158 resourceDescriptor.Dimension != D3D12_RESOURCE_DIMENSION_BUFFER && in IsClearValueOptimizable() 159 (resourceDescriptor.Flags & (D3D12_RESOURCE_FLAG_ALLOW_RENDER_TARGET | in IsClearValueOptimizable() 184 const D3D12_RESOURCE_DESC& resourceDescriptor, in AllocateMemory() argument 192 if (IsClearValueOptimizable(resourceDescriptor)) { in AllocateMemory() 193 zero.Format = resourceDescriptor.Format; in AllocateMemory() 203 DAWN_TRY_ASSIGN(subAllocation, CreatePlacedResource(heapType, resourceDescriptor, in AllocateMemory() 212 CreateCommittedResource(heapType, resourceDescriptor, optimizedClearValue, in AllocateMemory() 259 const D3D12_RESOURCE_DESC resourceDescriptor = allocation.GetD3D12Resource()->GetDesc(); in FreeMemory() local [all …]
|
D | BufferD3D12.cpp | 119 D3D12_RESOURCE_DESC resourceDescriptor; in Initialize() local 120 resourceDescriptor.Dimension = D3D12_RESOURCE_DIMENSION_BUFFER; in Initialize() 121 resourceDescriptor.Alignment = 0; in Initialize() 122 resourceDescriptor.Width = mAllocatedSize; in Initialize() 123 resourceDescriptor.Height = 1; in Initialize() 124 resourceDescriptor.DepthOrArraySize = 1; in Initialize() 125 resourceDescriptor.MipLevels = 1; in Initialize() 126 resourceDescriptor.Format = DXGI_FORMAT_UNKNOWN; in Initialize() 127 resourceDescriptor.SampleDesc.Count = 1; in Initialize() 128 resourceDescriptor.SampleDesc.Quality = 0; in Initialize() [all …]
|
D | TextureD3D12.cpp | 587 D3D12_RESOURCE_DESC resourceDescriptor; in InitializeAsInternalTexture() local 588 resourceDescriptor.Dimension = D3D12TextureDimension(GetDimension()); in InitializeAsInternalTexture() 589 resourceDescriptor.Alignment = 0; in InitializeAsInternalTexture() 592 resourceDescriptor.Width = size.width; in InitializeAsInternalTexture() 593 resourceDescriptor.Height = size.height; in InitializeAsInternalTexture() 594 resourceDescriptor.DepthOrArraySize = size.depthOrArrayLayers; in InitializeAsInternalTexture() 606 resourceDescriptor.MipLevels = static_cast<UINT16>(GetNumMipLevels()); in InitializeAsInternalTexture() 607 resourceDescriptor.Format = dxgiFormat; in InitializeAsInternalTexture() 608 resourceDescriptor.SampleDesc.Count = GetSampleCount(); in InitializeAsInternalTexture() 609 resourceDescriptor.SampleDesc.Quality = 0; in InitializeAsInternalTexture() [all …]
|
D | ResourceAllocatorManagerD3D12.h | 65 const D3D12_RESOURCE_DESC& resourceDescriptor, 85 const D3D12_RESOURCE_DESC& resourceDescriptor,
|
D | DeviceD3D12.cpp | 527 const D3D12_RESOURCE_DESC& resourceDescriptor, in AllocateMemory() argument 529 return mResourceAllocatorManager->AllocateMemory(heapType, resourceDescriptor, in AllocateMemory()
|
D | DeviceD3D12.h | 110 const D3D12_RESOURCE_DESC& resourceDescriptor,
|