/external/skqp/src/gpu/vk/ |
D | GrVkBuffer.cpp | 117 delete[] (unsigned char*)fMapPtr; in vkRelease() 119 fMapPtr = nullptr; in vkRelease() 127 delete[] (unsigned char*)fMapPtr; in vkAbandon() 129 fMapPtr = nullptr; in vkAbandon() 160 SkASSERT(fMapPtr); in internalMap() 176 fMapPtr = GrVkMemory::MapAlloc(gpu, alloc); in internalMap() 178 if (!fMapPtr) { in internalMap() 179 fMapPtr = new unsigned char[this->size()]; in internalMap() 199 fMapPtr = nullptr; in internalUnmap() 204 gpu->updateBuffer(this, fMapPtr, this->offset(), size); in internalUnmap() [all …]
|
D | GrVkBuffer.h | 25 delete [] (unsigned char*)fMapPtr; in ~GrVkBuffer() 84 : fDesc(desc), fResource(resource), fOffset(0), fMapPtr(nullptr) { in GrVkBuffer() 89 return fMapPtr; in vkMap() 116 void* fMapPtr; variable
|
D | GrVkTransferBuffer.h | 34 this->GrBuffer::fMapPtr = this->vkMap(this->getVkGpu()); in onMap()
|
D | GrVkVertexBuffer.cpp | 52 this->GrBuffer::fMapPtr = this->vkMap(this->getVkGpu()); in onMap()
|
D | GrVkIndexBuffer.cpp | 53 this->GrBuffer::fMapPtr = this->vkMap(this->getVkGpu()); in onMap()
|
/external/skia/src/gpu/vk/ |
D | GrVkBuffer.cpp | 118 delete[] (unsigned char*)fMapPtr; in vkRelease() 120 fMapPtr = nullptr; in vkRelease() 128 delete[] (unsigned char*)fMapPtr; in vkAbandon() 130 fMapPtr = nullptr; in vkAbandon() 161 SkASSERT(fMapPtr); in internalMap() 177 fMapPtr = GrVkMemory::MapAlloc(gpu, alloc); in internalMap() 179 if (!fMapPtr) { in internalMap() 180 fMapPtr = new unsigned char[this->size()]; in internalMap() 227 fMapPtr = nullptr; in internalUnmap() 229 SkASSERT(fMapPtr); in internalUnmap() [all …]
|
D | GrVkBuffer.h | 25 delete [] (unsigned char*)fMapPtr; in ~GrVkBuffer() 84 : fDesc(desc), fResource(resource), fOffset(0), fMapPtr(nullptr) { in GrVkBuffer() 89 return fMapPtr; in vkMap() 117 void* fMapPtr; variable
|
D | GrVkTransferBuffer.h | 33 this->GrGpuBuffer::fMapPtr = this->vkMap(this->getVkGpu()); in onMap()
|
D | GrVkVertexBuffer.cpp | 52 this->GrGpuBuffer::fMapPtr = this->vkMap(this->getVkGpu()); in onMap()
|
D | GrVkIndexBuffer.cpp | 53 this->GrGpuBuffer::fMapPtr = this->vkMap(this->getVkGpu()); in onMap()
|
/external/skqp/src/gpu/ |
D | GrBuffer.h | 55 if (!fMapPtr) { in map() 58 return fMapPtr; in map() 67 SkASSERT(fMapPtr); in unmap() 69 fMapPtr = nullptr; in unmap() 77 bool isMapped() const { return SkToBool(fMapPtr); } in isMapped() 106 void* fMapPtr; variable 114 virtual void onMap() { SkASSERT(this->isCPUBacked()); fMapPtr = fCPUData; } in onMap()
|
D | GrBuffer.cpp | 29 , fMapPtr(nullptr) in GrBuffer() 39 , fMapPtr(nullptr) in GrBuffer()
|
/external/skia/src/gpu/ |
D | GrGpuBuffer.h | 47 if (!fMapPtr) { in map() 50 return fMapPtr; in map() 59 SkASSERT(fMapPtr); in unmap() 61 fMapPtr = nullptr; in unmap() 69 bool isMapped() const { return SkToBool(fMapPtr); } in isMapped() 97 void* fMapPtr; variable
|
D | GrGpuBuffer.cpp | 15 , fMapPtr(nullptr) in GrGpuBuffer()
|
/external/skia/src/gpu/gl/ |
D | GrGLBuffer.cpp | 145 fMapPtr = nullptr; in onRelease() 155 fMapPtr = nullptr; in onAbandon() 182 GL_CALL_RET(fMapPtr, MapBuffer(target, readOnly ? GR_GL_READ_ONLY : GR_GL_WRITE_ONLY)); in onMap() 196 GL_CALL_RET(fMapPtr, MapBufferRange(target, 0, this->size(), in onMap() 206 GL_CALL_RET(fMapPtr, MapBufferSubData(target, 0, this->size(), in onMap() 224 fMapPtr = nullptr; in onUnmap() 240 GL_CALL(UnmapBufferSubData(fMapPtr)); in onUnmap() 243 fMapPtr = nullptr; in onUnmap() 299 SkASSERT(nullptr == fMapPtr || fGLSizeInBytes <= this->size()); in validate()
|
/external/skqp/src/gpu/gl/ |
D | GrGLBuffer.cpp | 143 fMapPtr = nullptr; in onRelease() 153 fMapPtr = nullptr; in onAbandon() 180 GL_CALL_RET(fMapPtr, MapBuffer(target, readOnly ? GR_GL_READ_ONLY : GR_GL_WRITE_ONLY)); in onMap() 194 GL_CALL_RET(fMapPtr, MapBufferRange(target, 0, this->sizeInBytes(), in onMap() 204 GL_CALL_RET(fMapPtr, MapBufferSubData(target, 0, this->sizeInBytes(), in onMap() 222 fMapPtr = nullptr; in onUnmap() 238 GL_CALL(UnmapBufferSubData(fMapPtr)); in onUnmap() 241 fMapPtr = nullptr; in onUnmap() 297 SkASSERT(nullptr == fMapPtr || fGLSizeInBytes <= this->sizeInBytes()); in validate()
|
/external/skia/src/gpu/mtl/ |
D | GrMtlBuffer.mm | 53 SkASSERT(fMapPtr == nullptr); 66 if (fMapPtr == nil) { 71 memcpy(fMapPtr, src, srcInBytes); 86 fMapPtr = nullptr; 96 fMapPtr = nullptr; 113 fMapPtr = fMappedBuffer.contents; 126 fMapPtr = fMappedBuffer.contents; 141 fMapPtr = nullptr; 162 fMapPtr = nullptr;
|
/external/skqp/src/gpu/mtl/ |
D | GrMtlBuffer.mm | 57 SkASSERT(fMapPtr == nullptr); 74 if (fMapPtr == nil) { 79 memcpy(fMapPtr, src, srcInBytes); 94 fMapPtr = nullptr; 104 fMapPtr = nullptr; 121 fMapPtr = fMappedBuffer.contents; 133 fMapPtr = fMappedBuffer.contents; 147 fMapPtr = nullptr; 166 fMapPtr = nullptr;
|
/external/skia/src/gpu/mock/ |
D | GrMockBuffer.h | 26 fMapPtr = sk_malloc_throw(this->size()); in onMap() 29 void onUnmap() override { sk_free(fMapPtr); } in onUnmap()
|
/external/skqp/src/gpu/mock/ |
D | GrMockBuffer.h | 26 fMapPtr = sk_malloc_throw(this->sizeInBytes()); in onMap() 29 void onUnmap() override { sk_free(fMapPtr); } in onUnmap()
|