/external/skqp/src/gpu/gl/ |
D | GrGLBuffer.cpp | 244 bool GrGLBuffer::onUpdateData(const void* src, size_t srcSizeInBytes) { in onUpdateData() argument 252 if (srcSizeInBytes > this->sizeInBytes()) { in onUpdateData() 255 SkASSERT(srcSizeInBytes <= this->sizeInBytes()); in onUpdateData() 260 if (this->sizeInBytes() == 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 | 52 bool onUpdateData(const void* src, size_t srcSizeInBytes) override;
|
/external/skqp/src/gpu/ |
D | GrBuffer.h | 93 bool updateData(const void* src, size_t srcSizeInBytes) { in updateData() argument 95 SkASSERT(srcSizeInBytes <= fSizeInBytes); in updateData() 96 return this->onUpdateData(src, srcSizeInBytes); in updateData() 116 virtual bool onUpdateData(const void* src, size_t srcSizeInBytes);
|
D | GrBuffer.cpp | 61 bool GrBuffer::onUpdateData(const void* src, size_t srcSizeInBytes) { in onUpdateData() argument 63 memcpy(fCPUData, src, srcSizeInBytes); in onUpdateData()
|
/external/skia/src/gpu/gl/ |
D | GrGLBuffer.cpp | 260 bool GrGLBuffer::onUpdateData(const void* src, size_t srcSizeInBytes) { in onUpdateData() argument 268 if (srcSizeInBytes > this->size()) { in onUpdateData() 271 SkASSERT(srcSizeInBytes <= this->size()); in onUpdateData() 276 if (this->size() == srcSizeInBytes) { in onUpdateData() 278 GL_ALLOC_CALL(BufferData(target, (GrGLsizeiptr)srcSizeInBytes, src, fUsage)); in onUpdateData() 295 GL_CALL(BufferSubData(target, 0, (GrGLsizeiptr) srcSizeInBytes, src)); in onUpdateData() 303 GL_ALLOC_CALL(BufferData(target, (GrGLsizeiptr)srcSizeInBytes, src, fUsage)); in onUpdateData() 307 fGLSizeInBytes = srcSizeInBytes; in onUpdateData()
|
D | GrGLBuffer.h | 53 bool onUpdateData(const void* src, size_t srcSizeInBytes) override;
|
/external/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;
|
/external/skqp/src/gpu/vk/ |
D | GrVkBuffer.cpp | 232 bool GrVkBuffer::vkUpdateData(GrVkGpu* gpu, const void* src, size_t srcSizeInBytes, in vkUpdateData() argument 234 if (srcSizeInBytes > fDesc.fSizeInBytes) { in vkUpdateData() 238 this->internalMap(gpu, srcSizeInBytes, createdNewBuffer); in vkUpdateData() 243 memcpy(fMapPtr, src, srcSizeInBytes); in vkUpdateData() 245 this->internalUnmap(gpu, 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 | 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.cpp | 63 bool GrVkIndexBuffer::onUpdateData(const void* src, size_t srcSizeInBytes) { in onUpdateData() argument 65 return this->vkUpdateData(this->getVkGpu(), src, srcSizeInBytes); in onUpdateData()
|
D | GrVkIndexBuffer.h | 31 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 | 44 bool onUpdateData(const void* src, size_t srcSizeInBytes) override { in onUpdateData() argument
|
D | GrVkBuffer.h | 95 bool vkUpdateData(GrVkGpu* gpu, const void* src, size_t srcSizeInBytes,
|
/external/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()
|
D | GrVkBuffer.h | 55 bool onUpdateData(const void* src, size_t srcSizeInBytes) override;
|
/external/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;
|
/external/skqp/src/gpu/mock/ |
D | GrMockBuffer.h | 30 bool onUpdateData(const void* src, size_t srcSizeInBytes) override { return true; } in onUpdateData() argument
|
/external/skia/src/gpu/mock/ |
D | GrMockBuffer.h | 30 bool onUpdateData(const void* src, size_t srcSizeInBytes) override { return true; } in onUpdateData() argument
|
/external/skqp/src/gpu/mtl/ |
D | GrMtlBuffer.h | 38 bool onUpdateData(const void* src, size_t srcSizeInBytes) override;
|
/external/skia/src/gpu/mtl/ |
D | GrMtlBuffer.h | 40 bool onUpdateData(const void* src, size_t srcSizeInBytes) override;
|
/external/skia/src/gpu/d3d/ |
D | GrD3DBuffer.h | 43 bool onUpdateData(const void* src, size_t srcSizeInBytes) override;
|