Home
last modified time | relevance | path

Searched refs:descriptorVector (Results 1 – 2 of 2) sorted by relevance

/external/angle/src/libANGLE/renderer/vulkan/
DShareGroupVk.cpp312 void UpdateDescriptorSetsBuilder::growDescriptorCapacity(std::vector<T> *descriptorVector, in growDescriptorCapacity() argument
315 const T *const oldInfoStart = descriptorVector->empty() ? nullptr : &(*descriptorVector)[0]; in growDescriptorCapacity()
316 size_t newCapacity = std::max(descriptorVector->capacity() << 1, newSize); in growDescriptorCapacity()
317 descriptorVector->reserve(newCapacity); in growDescriptorCapacity()
327 set.*pInfo = &(*descriptorVector)[index]; in growDescriptorCapacity()
334 T *UpdateDescriptorSetsBuilder::allocDescriptorInfos(std::vector<T> *descriptorVector, size_t count) in allocDescriptorInfos() argument
336 size_t oldSize = descriptorVector->size(); in allocDescriptorInfos()
338 if (newSize > descriptorVector->capacity()) in allocDescriptorInfos()
342 growDescriptorCapacity<T, pInfo>(descriptorVector, newSize); in allocDescriptorInfos()
344 descriptorVector->resize(newSize); in allocDescriptorInfos()
[all …]
DShareGroupVk.h60 T *allocDescriptorInfos(std::vector<T> *descriptorVector, size_t count);
62 void growDescriptorCapacity(std::vector<T> *descriptorVector, size_t newSize);