Home
last modified time | relevance | path

Searched refs:GrVkMemory (Results 1 - 5 of 5) sorted by relevance

/third_party/skia/src/gpu/vk/
H A DGrVkMemory.cpp7 #include "src/gpu/vk/GrVkMemory.h"
44 bool GrVkMemory::AllocAndBindBufferMemory(GrVkGpu* gpu,
90 bool GrVkMemory::ImportAndBindBufferMemory(GrVkGpu* gpu,
146 void GrVkMemory::FreeBufferMemory(const GrVkGpu* gpu, const GrVkAlloc& alloc) {
162 bool GrVkMemory::AllocAndBindImageMemory(GrVkGpu* gpu,
231 void GrVkMemory::FreeImageMemory(const GrVkGpu* gpu, const GrVkAlloc& alloc) {
243 void* GrVkMemory::MapAlloc(GrVkGpu* gpu, const GrVkAlloc& alloc) {
258 void GrVkMemory::UnmapAlloc(const GrVkGpu* gpu, const GrVkAlloc& alloc) {
267 void GrVkMemory::GetNonCoherentMappedMemoryRange(const GrVkAlloc& alloc, VkDeviceSize offset,
290 void GrVkMemory
[all...]
H A DGrVkBuffer.cpp15 #include "src/gpu/vk/GrVkMemory.h"
139 if (!GrVkMemory::AllocAndBindBufferMemory(gpu, buffer, allocUsage, &alloc, size)) {
141 if (!GrVkMemory::AllocAndBindBufferMemory(gpu, buffer, allocUsage, &alloc)) {
215 if (!GrVkMemory::ImportAndBindBufferMemory(gpu, nativeBuffer, buffer, &alloc)) {
227 GrVkMemory::FreeBufferMemory(gpu, alloc);
240 fMapPtr = GrVkMemory::MapAlloc(this->getVkGpu(), fAlloc);
242 GrVkMemory::InvalidateMappedAlloc(this->getVkGpu(), fAlloc, 0, size);
254 GrVkMemory::FlushMappedAlloc(gpu, fAlloc, 0, size);
255 GrVkMemory::UnmapAlloc(gpu, fAlloc);
H A DGrVkMemory.h21 namespace GrVkMemory { namespace
69 } // namespace GrVkMemory
H A DGrVkImage.cpp12 #include "src/gpu/vk/GrVkMemory.h"
212 GrVkMemory::FreeImageMemory(gpu, alloc); in DestroyAndFreeImageMemory()
532 if (!GrVkMemory::AllocAndBindImageMemory(gpu, image, memoryless, &alloc, in InitImageInfo()
H A DGrVkGpu.cpp39 #include "src/gpu/vk/GrVkMemory.h"
797 void* mapPtr = GrVkMemory::MapAlloc(this, alloc); in uploadTexDataLinear()
810 GrVkMemory::FlushMappedAlloc(this, alloc, offset, size); in uploadTexDataLinear()
811 GrVkMemory::UnmapAlloc(this, alloc); in uploadTexDataLinear()

Completed in 7 milliseconds