/third_party/flutter/skia/src/gpu/vk/ |
D | GrVkBuffer.cpp | 119 delete[] (unsigned char*)fMapPtr; in vkRelease() 121 fMapPtr = nullptr; in vkRelease() 129 delete[] (unsigned char*)fMapPtr; in vkAbandon() 131 fMapPtr = nullptr; in vkAbandon() 162 SkASSERT(fMapPtr); in internalMap() 178 fMapPtr = GrVkMemory::MapAlloc(gpu, alloc); in internalMap() 180 if (!fMapPtr) { in internalMap() 181 fMapPtr = new unsigned char[this->size()]; in internalMap() 230 fMapPtr = nullptr; in internalUnmap() 232 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 | 31 void onMap() override { this->GrGpuBuffer::fMapPtr = this->vkMap(this->getVkGpu()); } in onMap()
|
D | GrVkIndexBuffer.cpp | 51 void GrVkIndexBuffer::onMap() { this->GrGpuBuffer::fMapPtr = this->vkMap(this->getVkGpu()); } in onMap()
|
/third_party/flutter/skia/src/gpu/ |
D | GrGpuBuffer.cpp | 15 , fMapPtr(nullptr) in GrGpuBuffer() 24 if (!fMapPtr) { in map() 27 return fMapPtr; in map() 34 SkASSERT(fMapPtr); in unmap() 36 fMapPtr = nullptr; in unmap() 39 bool GrGpuBuffer::isMapped() const { return SkToBool(fMapPtr); } in isMapped()
|
D | GrGpuBuffer.h | 87 void* fMapPtr; variable
|
/third_party/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()
|
/third_party/flutter/skia/src/gpu/mtl/ |
D | GrMtlBuffer.mm | 53 SkASSERT(fMapPtr == nullptr); 68 if (fMapPtr == nil) { 75 memcpy(fMapPtr, src, srcInBytes); 90 fMapPtr = nullptr; 100 fMapPtr = nullptr; 115 fMapPtr = static_cast<char*>(fMtlBuffer.contents) + fOffset; 122 fMapPtr = fMappedBuffer.contents; 136 fMapPtr = nullptr; 154 fMapPtr = nullptr;
|
/third_party/flutter/skia/src/gpu/gl/ |
D | GrGLBuffer.cpp | 144 fMapPtr = nullptr; in onRelease() 154 fMapPtr = nullptr; in onAbandon() 180 GL_CALL_RET(fMapPtr, MapBuffer(target, readOnly ? GR_GL_READ_ONLY : GR_GL_WRITE_ONLY)); in onMap() 199 GL_CALL_RET(fMapPtr, MapBufferRange(target, 0, this->size(), access)); in onMap() 208 GL_CALL_RET(fMapPtr, MapBufferSubData(target, 0, this->size(), 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->size()); in validate()
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlBuffer.mm | 81 SkASSERT(!fMapPtr); 95 if (!fMapPtr) { 98 memcpy(fMapPtr, src, sizeInBytes); 134 fMapPtr = nullptr; 143 fMapPtr = nullptr; 154 fMapPtr = static_cast<char*>(fMtlBuffer.contents); 170 fMapPtr = nullptr; 195 SkASSERT((fMapPtr && fMtlBuffer) || !fMapPtr);
|
/third_party/skia/src/gpu/gl/ |
D | GrGLBuffer.cpp | 152 fMapPtr = nullptr; in onRelease() 162 fMapPtr = nullptr; in onAbandon() 192 GL_CALL_RET(fMapPtr, MapBuffer(target, readOnly ? GR_GL_READ_ONLY : GR_GL_WRITE_ONLY)); in onMap() 214 GL_CALL_RET(fMapPtr, MapBufferRange(target, 0, this->size(), access)); in onMap() 226 GL_CALL_RET(fMapPtr, MapBufferSubData(target, 0, this->size(), in onMap() 240 fMapPtr = nullptr; in onUnmap() 256 GL_CALL(UnmapBufferSubData(fMapPtr)); in onUnmap() 259 fMapPtr = nullptr; in onUnmap() 327 SkASSERT(nullptr == fMapPtr || fGLSizeInBytes <= this->size()); in validate()
|
/third_party/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()
|
/third_party/skia/src/gpu/d3d/ |
D | GrD3DBuffer.cpp | 120 if (fMapPtr) { in releaseResource() 122 fMapPtr = nullptr; in releaseResource() 159 if (!fMapPtr) { in onUpdateData() 167 memcpy(fMapPtr, src, size); in onUpdateData() 193 fMapPtr = slice.fOffsetMapPtr; in internalMap() 198 fD3DResource->Map(0, &range, &fMapPtr); in internalMap() 232 fMapPtr = nullptr; in internalUnmap()
|
/third_party/skia/experimental/graphite/src/ |
D | Buffer.cpp | 16 return fMapPtr; in map() 22 fMapPtr = nullptr; in unmap()
|
D | Buffer.h | 23 bool isMapped() const { return fMapPtr; } in isMapped() 29 void* fMapPtr = nullptr; variable
|
/third_party/flutter/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()
|
/third_party/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()
|
/third_party/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()
|
/third_party/skia/experimental/graphite/src/mtl/ |
D | MtlBuffer.mm | 76 fMapPtr = static_cast<char*>((*fBuffer).contents); 87 fMapPtr = nullptr;
|
/third_party/flutter/skia/src/gpu/dawn/ |
D | GrDawnBuffer.cpp | 50 fMapPtr = fData; in onMap()
|