/external/skia/src/gpu/gl/ |
D | GrGLBuffer.cpp | 246 bool GrGLBuffer::onUpdateData(const void* src, size_t srcSizeInBytes) { in onUpdateData() argument 254 if (srcSizeInBytes > this->size()) { in onUpdateData() 257 SkASSERT(srcSizeInBytes <= this->size()); in onUpdateData() 262 if (this->size() == srcSizeInBytes) { in onUpdateData() 263 GL_CALL(BufferData(target, (GrGLsizeiptr) srcSizeInBytes, src, fUsage)); in onUpdateData() 273 GL_CALL(BufferSubData(target, 0, (GrGLsizeiptr) srcSizeInBytes, src)); in onUpdateData() 280 GL_CALL(BufferData(target, srcSizeInBytes, src, fUsage)); in onUpdateData() 281 fGLSizeInBytes = srcSizeInBytes; in onUpdateData()
|
D | GrGLBuffer.h | 53 bool onUpdateData(const void* src, size_t srcSizeInBytes) override;
|
/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/skia/src/gpu/ |
D | GrGpuBuffer.h | 87 bool updateData(const void* src, size_t srcSizeInBytes) { in updateData() argument 89 SkASSERT(srcSizeInBytes <= fSizeInBytes); in updateData() 90 return this->onUpdateData(src, srcSizeInBytes); in updateData() 102 virtual bool onUpdateData(const void* src, size_t srcSizeInBytes) = 0;
|
/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/vk/ |
D | GrVkBuffer.cpp | 239 bool GrVkBuffer::vkUpdateData(GrVkGpu* gpu, const void* src, size_t srcSizeInBytes, in vkUpdateData() argument 241 if (srcSizeInBytes > fDesc.fSizeInBytes) { in vkUpdateData() 246 this->internalMap(gpu, srcSizeInBytes, createdNewBuffer); in vkUpdateData() 251 memcpy(fMapPtr, src, srcSizeInBytes); in vkUpdateData() 252 this->internalUnmap(gpu, srcSizeInBytes); in vkUpdateData() 254 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 | 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 | GrVkVertexBuffer.h | 30 bool onUpdateData(const void* src, size_t srcSizeInBytes) override;
|
D | GrVkIndexBuffer.h | 30 bool onUpdateData(const void* src, size_t srcSizeInBytes) override;
|
D | GrVkTransferBuffer.h | 43 bool onUpdateData(const void* src, size_t srcSizeInBytes) override { in onUpdateData() argument
|
/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
|
/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/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 | 38 bool onUpdateData(const void* src, size_t srcSizeInBytes) override;
|