/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/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.cpp | 15 , fMapPtr(nullptr) in GrGpuBuffer() 25 if (!fMapPtr) { in map() 28 return fMapPtr; in map() 35 SkASSERT(fMapPtr); in unmap() 37 fMapPtr = nullptr; in unmap() 43 bool GrGpuBuffer::isMapped() const { return SkToBool(fMapPtr); } in isMapped()
|
D | GrStagingBufferManager.h | 54 , fMapPtr(mapPtr) {} in StagingBuffer() 57 void* fMapPtr; member
|
D | GrGpuBuffer.h | 87 void* fMapPtr; variable
|
D | GrStagingBufferManager.cpp | 50 char* offsetMapPtr = static_cast<char*>(buffer->fMapPtr) + offset; in allocateStagingBufferSlice()
|
/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/gl/ |
D | GrGLBuffer.cpp | 150 fMapPtr = nullptr; in onRelease() 160 fMapPtr = nullptr; in onAbandon() 190 GL_CALL_RET(fMapPtr, MapBuffer(target, readOnly ? GR_GL_READ_ONLY : GR_GL_WRITE_ONLY)); in onMap() 212 GL_CALL_RET(fMapPtr, MapBufferRange(target, 0, this->size(), access)); in onMap() 224 GL_CALL_RET(fMapPtr, MapBufferSubData(target, 0, this->size(), in onMap() 238 fMapPtr = nullptr; in onUnmap() 254 GL_CALL(UnmapBufferSubData(fMapPtr)); in onUnmap() 257 fMapPtr = nullptr; in onUnmap() 325 SkASSERT(nullptr == fMapPtr || fGLSizeInBytes <= this->size()); in validate()
|
/external/skia/src/gpu/mtl/ |
D | GrMtlBuffer.mm | 67 SkASSERT(fMapPtr == nullptr); 82 if (fMapPtr == nil) { 89 memcpy(fMapPtr, src, srcInBytes); 104 fMapPtr = nullptr; 114 fMapPtr = nullptr; 128 fMapPtr = static_cast<char*>(fMtlBuffer.contents) + fOffset; 143 fMapPtr = fMappedBuffer.contents; 157 fMapPtr = nullptr; 179 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/d3d/ |
D | GrD3DBuffer.cpp | 120 fMapPtr = nullptr; in onRelease() 131 fMapPtr = nullptr; in onAbandon() 155 if (!fMapPtr) { in onUpdateData() 163 memcpy(fMapPtr, src, size); in onUpdateData() 189 fMapPtr = slice.fOffsetMapPtr; in internalMap() 194 fD3DResource->Map(0, &range, &fMapPtr); in internalMap() 228 fMapPtr = nullptr; in internalUnmap()
|
/external/skia/src/gpu/vk/ |
D | GrVkBuffer.cpp | 156 SkASSERT(!fMapPtr); in vkMap() 165 fMapPtr = GrVkMemory::MapAlloc(this->getVkGpu(), fAlloc); in vkMap() 166 if (fMapPtr && this->intendedType() == GrGpuBufferType::kXferGpuToCpu) { in vkMap() 173 SkASSERT(fMapPtr && this->isVkMappable()); in vkUnmap() 254 if (fMapPtr) { in vkRelease() 256 fMapPtr = nullptr; in vkRelease() 307 if (!fMapPtr) { in onUpdateData() 310 memcpy(fMapPtr, src, srcSizeInBytes); in onUpdateData() 312 fMapPtr = nullptr; in onUpdateData()
|
D | GrVkBuffer.h | 47 bool vkIsMapped() const { return SkToBool(fMapPtr); } in vkIsMapped()
|
/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()
|
/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/skia/src/gpu/dawn/ |
D | GrDawnBuffer.cpp | 49 fMapPtr = fBuffer.GetMappedRange(); in GrDawnBuffer() 69 fMapPtr = slice.fOffsetMapPtr; in onMap() 96 memcpy(fMapPtr, src, srcSizeInBytes); in onUpdateData()
|
D | GrDawnBuffer.h | 33 fMapPtr = mapPtr; in setMapPtr()
|