Home
last modified time | relevance | path

Searched refs:GrVkAlloc (Results 1 – 11 of 11) sorted by relevance

/external/skia/src/gpu/vk/
DGrVkMemory.h28 GrVkAlloc* alloc);
29 void FreeBufferMemory(const GrVkGpu* gpu, GrVkBuffer::Type type, const GrVkAlloc& alloc);
34 GrVkAlloc* alloc);
35 void FreeImageMemory(const GrVkGpu* gpu, bool linearTiling, const GrVkAlloc& alloc);
41 void FlushMappedAlloc(const GrVkGpu* gpu, const GrVkAlloc& alloc);
42 void InvalidateMappedAlloc(const GrVkGpu* gpu, const GrVkAlloc& alloc);
103 bool alloc(VkDeviceSize requestedSize, GrVkAlloc* alloc);
104 void free(const GrVkAlloc& alloc);
142 uint32_t heapIndex, GrVkAlloc* alloc) { in alloc()
146 bool free(const GrVkAlloc& alloc);
[all …]
DGrVkMemory.cpp61 GrVkAlloc* alloc) { in AllocAndBindBufferMemory()
89 : GrVkAlloc::kNoncoherent_Flag; in AllocAndBindBufferMemory()
125 const GrVkAlloc& alloc) { in FreeBufferMemory()
145 GrVkAlloc* alloc) { in AllocAndBindImageMemory()
174 : GrVkAlloc::kNoncoherent_Flag; in AllocAndBindImageMemory()
218 const GrVkAlloc& alloc) { in FreeImageMemory()
289 void GrVkMemory::FlushMappedAlloc(const GrVkGpu* gpu, const GrVkAlloc& alloc) { in FlushMappedAlloc()
290 if (alloc.fFlags & GrVkAlloc::kNoncoherent_Flag) { in FlushMappedAlloc()
302 void GrVkMemory::InvalidateMappedAlloc(const GrVkGpu* gpu, const GrVkAlloc& alloc) { in InvalidateMappedAlloc()
303 if (alloc.fFlags & GrVkAlloc::kNoncoherent_Flag) { in InvalidateMappedAlloc()
[all …]
DGrVkImage.h44 const GrVkAlloc& alloc() const { return fInfo.fAlloc; } in alloc()
98 void setNewResource(VkImage image, const GrVkAlloc& alloc, VkImageTiling tiling);
115 Resource(VkImage image, const GrVkAlloc& alloc, VkImageTiling tiling) in Resource()
146 GrVkAlloc fAlloc;
155 BorrowedResource(VkImage image, const GrVkAlloc& alloc, VkImageTiling tiling) in BorrowedResource()
DGrVkBuffer.h30 const GrVkAlloc& alloc() const { return fResource->fAlloc; } in alloc()
60 Resource(VkBuffer buf, const GrVkAlloc& alloc, Type type) in Resource()
69 GrVkAlloc fAlloc;
DGrVkImage.cpp72 GrVkAlloc alloc; in InitImageInfo()
132 void GrVkImage::setNewResource(VkImage image, const GrVkAlloc& alloc, VkImageTiling tiling) { in setNewResource()
DGrVkBuffer.cpp23 GrVkAlloc alloc; in Create()
170 const GrVkAlloc& alloc = this->alloc(); in internalMap()
DGrVkUniformBuffer.h40 Resource(VkBuffer buf, const GrVkAlloc& alloc) in Resource()
DGrVkUniformBuffer.cpp48 GrVkAlloc alloc; in CreateResource()
DGrVkGpu.cpp593 const GrVkAlloc& alloc = tex->alloc(); in uploadTexDataLinear()
1102 bool copy_testing_data(GrVkGpu* gpu, void* srcData, const GrVkAlloc& alloc, in copy_testing_data()
1168 GrVkAlloc alloc = { VK_NULL_HANDLE, 0, 0, 0 }; in createTestingOnlyBackendTexture()
1246 GrVkAlloc bufferAlloc = { VK_NULL_HANDLE, 0, 0, 0 }; in createTestingOnlyBackendTexture()
/external/skia/include/gpu/vk/
DGrVkTypes.h33 struct GrVkAlloc { struct
50 GrVkAlloc fAlloc; argument
/external/skia/tests/
DVkHeapTests.cpp26 GrVkAlloc alloc0, alloc1, alloc2, alloc3; in subheap_test()
123 GrVkAlloc alloc0, alloc1, alloc2, alloc3; in suballoc_test()
183 GrVkAlloc alloc0, alloc1, alloc2, alloc3; in singlealloc_test()