Home
last modified time | relevance | path

Searched refs:fDescriptorHeaps (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/gpu/d3d/
DGrD3DDescriptorTableManager.cpp96 fDescriptorHeaps.push_back(heap); in HeapPool()
105 while (fDescriptorHeaps.size() > 0) { in allocateTable()
106 if (fDescriptorHeaps[fDescriptorHeaps.size() - 1]->canAllocate(count)) { in allocateTable()
107 return fDescriptorHeaps[fDescriptorHeaps.size() - 1]->allocateTable(count); in allocateTable()
110 fDescriptorHeaps.pop_back(); in allocateTable()
117 fDescriptorHeaps.push_back(heap); in allocateTable()
118 return fDescriptorHeaps[fDescriptorHeaps.size() - 1]->allocateTable(count); in allocateTable()
123 SkASSERT(fDescriptorHeaps.size() > 0); in currentDescriptorHeap()
124 return fDescriptorHeaps[fDescriptorHeaps.size() - 1]; in currentDescriptorHeap()
129 if (fDescriptorHeaps[fDescriptorHeaps.size() - 1]->used()) { in prepForSubmit()
[all …]
DGrD3DCpuDescriptorManager.cpp155 fDescriptorHeaps.push_back(std::move(heap)); in HeapPool()
160 for (unsigned int i = 0; i < fDescriptorHeaps.size(); ++i) { in allocateHandle()
161 if (fDescriptorHeaps[i]->canAllocate()) { in allocateHandle()
162 GrD3DDescriptorHeap::CPUHandle handle = fDescriptorHeaps[i]->allocateCPUHandle(); in allocateHandle()
174 fDescriptorHeaps.push_back(std::move(heap)); in allocateHandle()
177 fDescriptorHeaps[fDescriptorHeaps.size() - 1]->allocateCPUHandle(); in allocateHandle()
183 for (unsigned int i = 0; i < fDescriptorHeaps.size(); ++i) { in releaseHandle()
184 if (fDescriptorHeaps[i]->ownsHandle(dsvDescriptor)) { in releaseHandle()
185 fDescriptorHeaps[i]->freeCPUHandle(dsvDescriptor); in releaseHandle()
DGrD3DCpuDescriptorManager.h84 std::vector<std::unique_ptr<Heap>> fDescriptorHeaps;
DGrD3DDescriptorTableManager.h110 std::vector<sk_sp<Heap>> fDescriptorHeaps; variable