Lines Matching refs:GrVkBuffer
22 const GrVkBuffer::Resource* GrVkBuffer::Create(const GrVkGpu* gpu, const Desc& desc) { in Create()
73 const GrVkBuffer::Resource* resource = new GrVkBuffer::Resource(buffer, alloc, desc.fType); in Create()
83 void GrVkBuffer::addMemoryBarrier(const GrVkGpu* gpu, in addMemoryBarrier()
105 void GrVkBuffer::Resource::freeGPUData(GrVkGpu* gpu) const { in freeGPUData()
112 void GrVkBuffer::vkRelease(const GrVkGpu* gpu) { in vkRelease()
123 void GrVkBuffer::vkAbandon() { in vkAbandon()
133 VkAccessFlags buffer_type_to_access_flags(GrVkBuffer::Type type) { in buffer_type_to_access_flags()
135 case GrVkBuffer::kIndex_Type: in buffer_type_to_access_flags()
137 case GrVkBuffer::kVertex_Type: in buffer_type_to_access_flags()
147 void GrVkBuffer::internalMap(GrVkGpu* gpu, size_t size, bool* createdNewBuffer) { in internalMap()
186 void GrVkBuffer::internalUnmap(GrVkGpu* gpu, size_t size) { in internalUnmap()
207 GrVkTransferBuffer::Make(gpu, size, GrVkBuffer::kCopyRead_Type); in internalUnmap()
227 bool GrVkBuffer::vkIsMapped() const { in vkIsMapped()
232 bool GrVkBuffer::vkUpdateData(GrVkGpu* gpu, const void* src, size_t srcSizeInBytes, in vkUpdateData()
250 void GrVkBuffer::validate() const { in validate()