Lines Matching refs:fDescriptorHeaps
96 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()
130 fDescriptorHeaps.pop_back(); in prepForSubmit()
133 if (fDescriptorHeaps.size() == 0) { in prepForSubmit()
137 fDescriptorHeaps.push_back(heap); in prepForSubmit()
147 fDescriptorHeaps.push_back(heap); in recycle()