Home
last modified time | relevance | path

Searched refs:heapType (Results 1 – 20 of 20) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DShaderVisibleDescriptorAllocatorD3D12.cpp30 uint32_t GetD3D12ShaderVisibleHeapMinSize(D3D12_DESCRIPTOR_HEAP_TYPE heapType, in GetD3D12ShaderVisibleHeapMinSize() argument
33 return kShaderVisibleSmallHeapSizes[heapType]; in GetD3D12ShaderVisibleHeapMinSize()
40 switch (heapType) { in GetD3D12ShaderVisibleHeapMinSize()
50 uint32_t GetD3D12ShaderVisibleHeapMaxSize(D3D12_DESCRIPTOR_HEAP_TYPE heapType, in GetD3D12ShaderVisibleHeapMaxSize() argument
53 return kShaderVisibleSmallHeapSizes[heapType]; in GetD3D12ShaderVisibleHeapMaxSize()
56 switch (heapType) { in GetD3D12ShaderVisibleHeapMaxSize()
66 D3D12_DESCRIPTOR_HEAP_FLAGS GetD3D12HeapFlags(D3D12_DESCRIPTOR_HEAP_TYPE heapType) { in GetD3D12HeapFlags() argument
67 switch (heapType) { in GetD3D12HeapFlags()
78 ShaderVisibleDescriptorAllocator::Create(Device* device, D3D12_DESCRIPTOR_HEAP_TYPE heapType) { in Create() argument
80 std::make_unique<ShaderVisibleDescriptorAllocator>(device, heapType); in Create()
[all …]
DResourceAllocatorManagerD3D12.cpp26 MemorySegment GetMemorySegment(Device* device, D3D12_HEAP_TYPE heapType) { in GetMemorySegment() argument
32 device->GetD3D12Device()->GetCustomHeapProperties(0, heapType); in GetMemorySegment()
79 D3D12_HEAP_TYPE heapType, in GetResourceHeapKind() argument
83 switch (heapType) { in GetResourceHeapKind()
97 switch (heapType) { in GetResourceHeapKind()
112 switch (heapType) { in GetResourceHeapKind()
183 D3D12_HEAP_TYPE heapType, in AllocateMemory() argument
203 DAWN_TRY_ASSIGN(subAllocation, CreatePlacedResource(heapType, resourceDescriptor, in AllocateMemory()
212 CreateCommittedResource(heapType, resourceDescriptor, optimizedClearValue, in AllocateMemory()
269 D3D12_HEAP_TYPE heapType, in CreatePlacedResource() argument
[all …]
DResourceAllocatorManagerD3D12.h64 D3D12_HEAP_TYPE heapType,
78 D3D12_HEAP_TYPE heapType,
84 D3D12_HEAP_TYPE heapType,
DStagingDescriptorAllocatorD3D12.cpp26 D3D12_DESCRIPTOR_HEAP_TYPE heapType) in StagingDescriptorAllocator() argument
28 mSizeIncrement(device->GetD3D12Device()->GetDescriptorHandleIncrementSize(heapType)), in StagingDescriptorAllocator()
31 mHeapType(heapType) { in StagingDescriptorAllocator()
DHeapAllocatorD3D12.cpp24 D3D12_HEAP_TYPE heapType, in HeapAllocator() argument
28 mHeapType(heapType), in HeapAllocator()
DShaderVisibleDescriptorAllocatorD3D12.h51 D3D12_DESCRIPTOR_HEAP_TYPE heapType);
53 ShaderVisibleDescriptorAllocator(Device* device, D3D12_DESCRIPTOR_HEAP_TYPE heapType);
DBufferD3D12.cpp134 auto heapType = D3D12HeapType(GetUsage()); in Initialize() local
139 if (heapType == D3D12_HEAP_TYPE_READBACK) { in Initialize()
147 if (heapType == D3D12_HEAP_TYPE_UPLOAD) { in Initialize()
155 ToBackend(GetDevice())->AllocateMemory(heapType, resourceDescriptor, bufferUsage)); in Initialize()
DHeapAllocatorD3D12.h30 D3D12_HEAP_TYPE heapType,
DStagingDescriptorAllocatorD3D12.h43 D3D12_DESCRIPTOR_HEAP_TYPE heapType);
DDeviceD3D12.cpp526 D3D12_HEAP_TYPE heapType, in AllocateMemory() argument
529 return mResourceAllocatorManager->AllocateMemory(heapType, resourceDescriptor, in AllocateMemory()
DDeviceD3D12.h109 D3D12_HEAP_TYPE heapType,
/third_party/skia/third_party/externals/d3d12allocator/src/
DD3D12MemAlloc.cpp2246 D3D12_HEAP_TYPE heapType,
2290 D3D12_HEAP_TYPE heapType,
2323 D3D12_HEAP_TYPE heapType,
2497 D3D12_HEAP_TYPE heapType,
2518 void GetBudgetForHeapType(Budget& outBudget, D3D12_HEAP_TYPE heapType);
2602 …static UINT CalcDefaultPoolIndex(D3D12_HEAP_TYPE heapType, D3D12_HEAP_FLAGS heapFlags, bool suppor…
2603 UINT CalcDefaultPoolIndex(D3D12_HEAP_TYPE heapType, D3D12_HEAP_FLAGS heapFlags) const in CalcDefaultPoolIndex() argument
2605 return CalcDefaultPoolIndex(heapType, heapFlags, SupportsResourceHeapTier2()); in CalcDefaultPoolIndex()
2614 void RegisterCommittedAllocation(Allocation* alloc, D3D12_HEAP_TYPE heapType);
2616 void UnregisterCommittedAllocation(Allocation* alloc, D3D12_HEAP_TYPE heapType);
[all …]
DD3D12MemAlloc.h898 D3D12_HEAP_TYPE heapType; member
909 D3D12_HEAP_TYPE heapType; member
942 void InitCommitted(D3D12_HEAP_TYPE heapType);
944 void InitHeap(D3D12_HEAP_TYPE heapType, ID3D12Heap* heap);
1315 D3D12_HEAP_TYPE heapType,
/third_party/skia/src/gpu/d3d/
DGrD3DBuffer.cpp25 D3D12_HEAP_TYPE heapType; in make_d3d_buffer() local
29 heapType = D3D12_HEAP_TYPE_DEFAULT; in make_d3d_buffer()
34 heapType = D3D12_HEAP_TYPE_READBACK; in make_d3d_buffer()
38 heapType = D3D12_HEAP_TYPE_UPLOAD; in make_d3d_buffer()
59 heapType, &bufferDesc, *resourceState, alloc, nullptr); in make_d3d_buffer()
DGrD3DAMDMemoryAllocator.cpp28 D3D12_HEAP_TYPE heapType, const D3D12_RESOURCE_DESC* resourceDesc, in createResource() argument
32 allocationDesc.HeapType = heapType; in createResource()
DGrD3DDescriptorTableManager.cpp81 GrD3DDescriptorTableManager::HeapPool::HeapPool(GrD3DGpu* gpu, D3D12_DESCRIPTOR_HEAP_TYPE heapType) in HeapPool() argument
82 : fHeapType(heapType) in HeapPool()
DGrD3DCpuDescriptorManager.cpp150 GrD3DCpuDescriptorManager::HeapPool::HeapPool(GrD3DGpu* gpu, D3D12_DESCRIPTOR_HEAP_TYPE heapType) in HeapPool() argument
152 , fHeapType(heapType) { in HeapPool()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DBufferD3D12.cpp89 auto heapType = D3D12HeapType(GetUsage()); in Buffer() local
94 if (heapType == D3D12_HEAP_TYPE_READBACK) { in Buffer()
102 if (heapType == D3D12_HEAP_TYPE_UPLOAD) { in Buffer()
109 device->GetResourceAllocator()->Allocate(heapType, resourceDescriptor, bufferUsage); in Buffer()
DResourceAllocator.cpp39 D3D12_HEAP_TYPE heapType, in Allocate() argument
43 switch (heapType) { in Allocate()
DResourceAllocator.h30 ComPtr<ID3D12Resource> Allocate(D3D12_HEAP_TYPE heapType,