Home
last modified time | relevance | path

Searched refs:fMapPtr (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/gpu/gl/
DGrGLBufferImpl.cpp22 , fMapPtr(nullptr) { in GrGLBufferImpl()
49 fMapPtr = nullptr; in release()
56 fMapPtr = nullptr; in abandon()
66 fMapPtr = fCPUData; in map()
68 fMapPtr = gpu->mapBuffer(fDesc.fID, fBufferType, fDesc.fUsage, fGLSizeInBytes, in map()
73 return fMapPtr; in map()
80 gpu->unmapBuffer(fDesc.fID, fBufferType, fMapPtr); in unmap()
82 fMapPtr = nullptr; in unmap()
87 return SkToBool(fMapPtr); in isMapped()
120 SkASSERT(nullptr == fMapPtr || fCPUData || fGLSizeInBytes <= fDesc.fSizeInBytes); in validate()
[all …]
DGrGLBufferImpl.h62 void* fMapPtr; variable
/external/skia/src/gpu/
DGrGeometryBuffer.h53 void* map() { return (fMapPtr = this->onMap()); } in map()
61 SkASSERT(fMapPtr); in unmap()
63 fMapPtr = nullptr; in unmap()
72 void* mapPtr() const { return fMapPtr; } in mapPtr()
79 bool isMapped() const { return SkToBool(fMapPtr); } in isMapped()
104 , fMapPtr(nullptr) in GrGeometryBuffer()
116 void* fMapPtr; variable
DGrTransferBuffer.h30 void* map() { return (fMapPtr = this->onMap()); } in map()
38 SkASSERT(fMapPtr); in unmap()
40 fMapPtr = nullptr; in unmap()
49 void* mapPtr() const { return fMapPtr; } in mapPtr()
56 bool isMapped() const { return SkToBool(fMapPtr); } in isMapped()
70 void* fMapPtr; variable
/external/skia/src/gpu/vk/
DGrVkBuffer.cpp114 fMapPtr = nullptr; in vkRelease()
120 fMapPtr = nullptr; in vkAbandon()
128 VkResult err = VK_CALL(gpu, MapMemory(gpu->device(), alloc(), 0, VK_WHOLE_SIZE, 0, &fMapPtr)); in vkMap()
130 fMapPtr = nullptr; in vkMap()
134 return fMapPtr; in vkMap()
143 fMapPtr = nullptr; in vkUnmap()
148 return SkToBool(fMapPtr); in vkIsMapped()
DGrVkBuffer.h71 : fDesc(desc), fResource(resource), fMapPtr(nullptr) { in GrVkBuffer()
87 void* fMapPtr; variable