/third_party/flutter/skia/src/gpu/gl/ |
D | GrGLBuffer.cpp | 244 bool GrGLBuffer::onUpdateData(const void* src, size_t srcSizeInBytes) { in onUpdateData() argument 252 if (srcSizeInBytes > this->size()) { in onUpdateData() 255 SkASSERT(srcSizeInBytes <= this->size()); in onUpdateData() 260 if (this->size() == srcSizeInBytes) { in onUpdateData() 261 GL_CALL(BufferData(target, (GrGLsizeiptr) srcSizeInBytes, src, fUsage)); in onUpdateData() 271 GL_CALL(BufferSubData(target, 0, (GrGLsizeiptr) srcSizeInBytes, src)); in onUpdateData() 278 GL_CALL(BufferData(target, srcSizeInBytes, src, fUsage)); in onUpdateData() 279 fGLSizeInBytes = srcSizeInBytes; in onUpdateData()
|
D | GrGLBuffer.h | 53 bool onUpdateData(const void* src, size_t srcSizeInBytes) override;
|
/third_party/skia/src/gpu/gl/ |
D | GrGLBuffer.cpp | 262 bool GrGLBuffer::onUpdateData(const void* src, size_t srcSizeInBytes) { in onUpdateData() argument 270 if (srcSizeInBytes > this->size()) { in onUpdateData() 273 SkASSERT(srcSizeInBytes <= this->size()); in onUpdateData() 278 if (this->size() == srcSizeInBytes) { in onUpdateData() 280 GL_ALLOC_CALL(BufferData(target, (GrGLsizeiptr)srcSizeInBytes, src, fUsage)); in onUpdateData() 297 GL_CALL(BufferSubData(target, 0, (GrGLsizeiptr) srcSizeInBytes, src)); in onUpdateData() 305 GL_ALLOC_CALL(BufferData(target, (GrGLsizeiptr)srcSizeInBytes, src, fUsage)); in onUpdateData() 309 fGLSizeInBytes = srcSizeInBytes; in onUpdateData()
|
D | GrGLBuffer.h | 53 bool onUpdateData(const void* src, size_t srcSizeInBytes) override;
|
/third_party/flutter/skia/src/gpu/vk/ |
D | GrVkBuffer.cpp | 242 bool GrVkBuffer::vkUpdateData(GrVkGpu* gpu, const void* src, size_t srcSizeInBytes, in vkUpdateData() argument 244 if (srcSizeInBytes > fDesc.fSizeInBytes) { in vkUpdateData() 249 this->internalMap(gpu, srcSizeInBytes, createdNewBuffer); in vkUpdateData() 254 memcpy(fMapPtr, src, srcSizeInBytes); in vkUpdateData() 255 this->internalUnmap(gpu, srcSizeInBytes); in vkUpdateData() 257 this->copyCpuDataToGpuBuffer(gpu, src, srcSizeInBytes); in vkUpdateData()
|
D | GrVkUniformBuffer.h | 31 bool updateData(GrVkGpu* gpu, const void* src, size_t srcSizeInBytes, in updateData() argument 33 return this->vkUpdateData(gpu, src, srcSizeInBytes, createdNewBuffer); in updateData()
|
D | GrVkIndexBuffer.cpp | 55 bool GrVkIndexBuffer::onUpdateData(const void* src, size_t srcSizeInBytes) { in onUpdateData() argument 56 return this->vkUpdateData(this->getVkGpu(), src, srcSizeInBytes); in onUpdateData()
|
D | GrVkVertexBuffer.cpp | 62 bool GrVkVertexBuffer::onUpdateData(const void* src, size_t srcSizeInBytes) { in onUpdateData() argument 64 return this->vkUpdateData(this->getVkGpu(), src, srcSizeInBytes); in onUpdateData()
|
D | GrVkIndexBuffer.h | 30 bool onUpdateData(const void* src, size_t srcSizeInBytes) override;
|
D | GrVkVertexBuffer.h | 30 bool onUpdateData(const void* src, size_t srcSizeInBytes) override;
|
D | GrVkTransferBuffer.h | 35 bool onUpdateData(const void* src, size_t srcSizeInBytes) override { in onUpdateData() argument
|
/third_party/flutter/skia/src/gpu/ |
D | GrGpuBuffer.cpp | 41 bool GrGpuBuffer::updateData(const void* src, size_t srcSizeInBytes) { in updateData() argument 43 SkASSERT(srcSizeInBytes <= fSizeInBytes); in updateData() 47 return this->onUpdateData(src, srcSizeInBytes); in updateData()
|
D | GrGpuBuffer.h | 81 bool updateData(const void* src, size_t srcSizeInBytes); 92 virtual bool onUpdateData(const void* src, size_t srcSizeInBytes) = 0;
|
/third_party/skia/src/gpu/vk/ |
D | GrVkBuffer.cpp | 296 bool GrVkBuffer::onUpdateData(const void* src, size_t srcSizeInBytes) { in onUpdateData() argument 301 if (srcSizeInBytes > this->size()) { in onUpdateData() 306 this->vkMap(srcSizeInBytes); in onUpdateData() 310 memcpy(fMapPtr, src, srcSizeInBytes); in onUpdateData() 311 this->vkUnmap(srcSizeInBytes); in onUpdateData() 314 this->copyCpuDataToGpuBuffer(src, srcSizeInBytes); in onUpdateData()
|
/third_party/skia/src/gpu/ |
D | GrGpuBuffer.cpp | 45 bool GrGpuBuffer::updateData(const void* src, size_t srcSizeInBytes) { in updateData() argument 48 SkASSERT(srcSizeInBytes <= fSizeInBytes); in updateData() 52 bool result = this->onUpdateData(src, srcSizeInBytes); in updateData()
|
D | GrGpuBuffer.h | 81 bool updateData(const void* src, size_t srcSizeInBytes); 92 virtual bool onUpdateData(const void* src, size_t srcSizeInBytes) = 0;
|
/third_party/flutter/skia/src/gpu/dawn/ |
D | GrDawnBuffer.cpp | 62 bool GrDawnBuffer::onUpdateData(const void* src, size_t srcSizeInBytes) { in onUpdateData() argument 66 fBuffer.SetSubData(0, srcSizeInBytes, static_cast<const uint8_t*>(src)); in onUpdateData()
|
D | GrDawnBuffer.h | 23 bool onUpdateData(const void* src, size_t srcSizeInBytes) override;
|
/third_party/skia/src/gpu/dawn/ |
D | GrDawnBuffer.cpp | 91 bool GrDawnBuffer::onUpdateData(const void* src, size_t srcSizeInBytes) { in onUpdateData() argument 96 memcpy(fMapPtr, src, srcSizeInBytes); in onUpdateData()
|
D | GrDawnBuffer.h | 24 bool onUpdateData(const void* src, size_t srcSizeInBytes) override;
|
/third_party/flutter/skia/src/gpu/mock/ |
D | GrMockBuffer.h | 30 bool onUpdateData(const void* src, size_t srcSizeInBytes) override { return true; } in onUpdateData() argument
|
/third_party/skia/src/gpu/mock/ |
D | GrMockBuffer.h | 30 bool onUpdateData(const void* src, size_t srcSizeInBytes) override { return true; } in onUpdateData() argument
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlBuffer.h | 39 bool onUpdateData(const void* src, size_t srcSizeInBytes) override;
|
/third_party/flutter/skia/src/gpu/mtl/ |
D | GrMtlBuffer.h | 40 bool onUpdateData(const void* src, size_t srcSizeInBytes) override;
|
/third_party/skia/src/gpu/d3d/ |
D | GrD3DBuffer.h | 45 bool onUpdateData(const void* src, size_t srcSizeInBytes) override;
|