Home
last modified time | relevance | path

Searched refs:GrVkBackendMemory (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/include/gpu/vk/
DGrVkMemoryAllocator.h56 virtual bool allocateMemoryForImage(VkImage, AllocationPropertyFlags, GrVkBackendMemory*) { in allocateMemoryForImage() argument
63 GrVkBackendMemory* memory) { in allocateImageMemory()
74 GrVkBackendMemory*) { in allocateMemoryForBuffer() argument
83 GrVkBackendMemory* memory) { in allocateBufferMemory()
94 virtual void getAllocInfo(const GrVkBackendMemory&, GrVkAlloc*) const = 0;
99 virtual void* mapMemory(const GrVkBackendMemory&) { return nullptr; } in mapMemory() argument
100 virtual VkResult mapMemory(const GrVkBackendMemory& memory, void** data) { in mapMemory()
108 virtual void unmapMemory(const GrVkBackendMemory&) = 0;
115 virtual void flushMappedMemory(const GrVkBackendMemory&, VkDeviceSize, VkDeviceSize) {} in flushMappedMemory() argument
116 virtual VkResult flushMemory(const GrVkBackendMemory& memory, VkDeviceSize offset, in flushMemory()
[all …]
DGrVkTypes.h22 typedef intptr_t GrVkBackendMemory; typedef
34 GrVkBackendMemory fBackendMemory = 0; // handle to memory allocated via GrVkMemoryAllocator.
/third_party/skia/src/gpu/vk/
DGrVkAMDMemoryAllocator.h46 GrVkBackendMemory*) override;
49 AllocationPropertyFlags flags, GrVkBackendMemory*) override;
51 void freeMemory(const GrVkBackendMemory&) override;
53 void getAllocInfo(const GrVkBackendMemory&, GrVkAlloc*) const override;
55 VkResult mapMemory(const GrVkBackendMemory&, void** data) override;
56 void unmapMemory(const GrVkBackendMemory&) override;
58 VkResult flushMemory(const GrVkBackendMemory&, VkDeviceSize offset, VkDeviceSize size) override;
59 VkResult invalidateMemory(const GrVkBackendMemory&, VkDeviceSize offset,
DGrVkAMDMemoryAllocator.cpp106 GrVkBackendMemory* backendMemory) { in allocateImageMemory()
132 *backendMemory = (GrVkBackendMemory)allocation; in allocateImageMemory()
139 GrVkBackendMemory* backendMemory) { in allocateBufferMemory()
201 *backendMemory = (GrVkBackendMemory)allocation; in allocateBufferMemory()
207 void GrVkAMDMemoryAllocator::freeMemory(const GrVkBackendMemory& memoryHandle) { in freeMemory()
213 void GrVkAMDMemoryAllocator::getAllocInfo(const GrVkBackendMemory& memoryHandle, in getAllocInfo()
240 VkResult GrVkAMDMemoryAllocator::mapMemory(const GrVkBackendMemory& memoryHandle, void** data) { in mapMemory()
246 void GrVkAMDMemoryAllocator::unmapMemory(const GrVkBackendMemory& memoryHandle) { in unmapMemory()
252 VkResult GrVkAMDMemoryAllocator::flushMemory(const GrVkBackendMemory& memoryHandle, in flushMemory()
259 VkResult GrVkAMDMemoryAllocator::invalidateMemory(const GrVkBackendMemory& memoryHandle, in invalidateMemory()
DGrVkMemory.cpp21 GrVkBackendMemory memory = 0; in AllocAndBindBufferMemory()
63 GrVkBackendMemory memory = 0; in AllocAndBindImageMemory()