Home
last modified time | relevance | path

Searched refs:GrVkBackendMemory (Results 1 – 10 of 10) 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/flutter/skia/include/gpu/vk/
DGrVkMemoryAllocator.h54 GrVkBackendMemory*) = 0;
57 AllocationPropertyFlags flags, GrVkBackendMemory*) = 0;
60 virtual void getAllocInfo(const GrVkBackendMemory&, GrVkAlloc*) const = 0;
65 virtual void* mapMemory(const GrVkBackendMemory&) = 0;
66 virtual void unmapMemory(const GrVkBackendMemory&) = 0;
73 virtual void flushMappedMemory(const GrVkBackendMemory&, VkDeviceSize offset,
75 virtual void invalidateMappedMemory(const GrVkBackendMemory&, VkDeviceSize offset,
78 virtual void freeMemory(const GrVkBackendMemory&) = 0;
DGrVkTypes.h22 typedef intptr_t GrVkBackendMemory; typedef
49 GrVkBackendMemory fBackendMemory; // handle to memory allocated via GrVkMemoryAllocator.
/third_party/flutter/skia/src/gpu/vk/
DGrVkAMDMemoryAllocator.h25 …bool allocateMemoryForImage(VkImage image, AllocationPropertyFlags flags, GrVkBackendMemory*) over…
28 AllocationPropertyFlags flags, GrVkBackendMemory*) override;
30 void freeMemory(const GrVkBackendMemory&) override;
32 void getAllocInfo(const GrVkBackendMemory&, GrVkAlloc*) const override;
34 void* mapMemory(const GrVkBackendMemory&) override;
35 void unmapMemory(const GrVkBackendMemory&) override;
37 void flushMappedMemory(const GrVkBackendMemory&, VkDeviceSize offset,
39 void invalidateMappedMemory(const GrVkBackendMemory&, VkDeviceSize offset,
DGrVkAMDMemoryAllocator.cpp68 GrVkBackendMemory* backendMemory) { in allocateMemoryForImage()
97 *backendMemory = (GrVkBackendMemory)allocation; in allocateMemoryForImage()
103 GrVkBackendMemory* backendMemory) { in allocateMemoryForBuffer()
162 *backendMemory = (GrVkBackendMemory)allocation; in allocateMemoryForBuffer()
166 void GrVkAMDMemoryAllocator::freeMemory(const GrVkBackendMemory& memoryHandle) { in freeMemory()
172 void GrVkAMDMemoryAllocator::getAllocInfo(const GrVkBackendMemory& memoryHandle, in getAllocInfo()
215 void* GrVkAMDMemoryAllocator::mapMemory(const GrVkBackendMemory& memoryHandle) { in mapMemory()
223 void GrVkAMDMemoryAllocator::unmapMemory(const GrVkBackendMemory& memoryHandle) { in unmapMemory()
229 void GrVkAMDMemoryAllocator::flushMappedMemory(const GrVkBackendMemory& memoryHandle, in flushMappedMemory()
248 void GrVkAMDMemoryAllocator::invalidateMappedMemory(const GrVkBackendMemory& memoryHandle, in invalidateMappedMemory()
DGrVkMemory.cpp39 GrVkBackendMemory memory = 0; in AllocAndBindBufferMemory()
94 GrVkBackendMemory memory = 0; in AllocAndBindImageMemory()
/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()