Home
last modified time | relevance | path

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

12

/third_party/flutter/skia/src/gpu/vk/
DGrVkBuffer.cpp119 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 …]
DGrVkBuffer.h25 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
DGrVkTransferBuffer.h31 void onMap() override { this->GrGpuBuffer::fMapPtr = this->vkMap(this->getVkGpu()); } in onMap()
DGrVkIndexBuffer.cpp51 void GrVkIndexBuffer::onMap() { this->GrGpuBuffer::fMapPtr = this->vkMap(this->getVkGpu()); } in onMap()
DGrVkVertexBuffer.cpp52 this->GrGpuBuffer::fMapPtr = this->vkMap(this->getVkGpu()); in onMap()
/third_party/flutter/skia/src/gpu/
DGrGpuBuffer.cpp15 , 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()
DGrGpuBuffer.h87 void* fMapPtr; variable
/third_party/skia/src/gpu/
DGrGpuBuffer.cpp15 , 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()
DGrStagingBufferManager.h54 , fMapPtr(mapPtr) {} in StagingBuffer()
57 void* fMapPtr; member
DGrGpuBuffer.h87 void* fMapPtr; variable
/third_party/skia/src/gpu/mtl/
DGrMtlBuffer.mm81 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/flutter/skia/src/gpu/gl/
DGrGLBuffer.cpp144 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/flutter/skia/src/gpu/mtl/
DGrMtlBuffer.mm53 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/skia/src/gpu/gl/
DGrGLBuffer.cpp152 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/
DGrVkBuffer.cpp156 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()
DGrVkBuffer.h47 bool vkIsMapped() const { return SkToBool(fMapPtr); } in vkIsMapped()
/third_party/skia/src/gpu/d3d/
DGrD3DBuffer.cpp120 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/
DBuffer.cpp16 return fMapPtr; in map()
22 fMapPtr = nullptr; in unmap()
DBuffer.h23 bool isMapped() const { return fMapPtr; } in isMapped()
29 void* fMapPtr = nullptr; variable
/third_party/flutter/skia/src/gpu/mock/
DGrMockBuffer.h26 fMapPtr = sk_malloc_throw(this->size()); in onMap()
29 void onUnmap() override { sk_free(fMapPtr); } in onUnmap()
/third_party/skia/src/gpu/mock/
DGrMockBuffer.h26 fMapPtr = sk_malloc_throw(this->size()); in onMap()
29 void onUnmap() override { sk_free(fMapPtr); } in onUnmap()
/third_party/skia/src/gpu/dawn/
DGrDawnBuffer.cpp49 fMapPtr = fBuffer.GetMappedRange(); in GrDawnBuffer()
69 fMapPtr = slice.fOffsetMapPtr; in onMap()
96 memcpy(fMapPtr, src, srcSizeInBytes); in onUpdateData()
DGrDawnBuffer.h33 fMapPtr = mapPtr; in setMapPtr()
/third_party/skia/experimental/graphite/src/mtl/
DMtlBuffer.mm76 fMapPtr = static_cast<char*>((*fBuffer).contents);
87 fMapPtr = nullptr;
/third_party/flutter/skia/src/gpu/dawn/
DGrDawnBuffer.cpp50 fMapPtr = fData; in onMap()

12