/external/skia/src/gpu/ |
D | GrGeometryBuffer.h | 95 bool updateData(const void* src, size_t srcSizeInBytes) { in updateData() argument 97 SkASSERT(srcSizeInBytes <= fGpuMemorySize); in updateData() 98 return this->onUpdateData(src, srcSizeInBytes); in updateData() 114 virtual bool onUpdateData(const void* src, size_t srcSizeInBytes) = 0;
|
/external/skia/src/gpu/gl/ |
D | GrGLBufferImpl.cpp | 90 bool GrGLBufferImpl::updateData(GrGLGpu* gpu, const void* src, size_t srcSizeInBytes) { in updateData() argument 94 if (srcSizeInBytes > fDesc.fSizeInBytes) { in updateData() 98 memcpy(fCPUData, src, srcSizeInBytes); in updateData() 102 srcSizeInBytes); in updateData() 106 fGLSizeInBytes = srcSizeInBytes; in updateData()
|
D | GrGLVertexBuffer.cpp | 46 bool GrGLVertexBuffer::onUpdateData(const void* src, size_t srcSizeInBytes) { in onUpdateData() argument 48 return fImpl.updateData(this->getGpuGL(), src, srcSizeInBytes); in onUpdateData()
|
D | GrGLIndexBuffer.cpp | 46 bool GrGLIndexBuffer::onUpdateData(const void* src, size_t srcSizeInBytes) { in onUpdateData() argument 48 return fImpl.updateData(this->getGpuGL(), src, srcSizeInBytes); in onUpdateData()
|
D | GrGLVertexBuffer.h | 36 bool onUpdateData(const void* src, size_t srcSizeInBytes) override;
|
D | GrGLIndexBuffer.h | 36 bool onUpdateData(const void* src, size_t srcSizeInBytes) override;
|
D | GrGLBufferImpl.h | 54 bool updateData(GrGLGpu* gpu, const void* src, size_t srcSizeInBytes);
|
D | GrGLGpu.h | 112 const void* src, size_t srcSizeInBytes);
|
D | GrGLGpu.cpp | 1976 size_t currentSize, const void* src, size_t srcSizeInBytes) { in bufferData() argument 1977 SkASSERT(srcSizeInBytes <= currentSize); in bufferData() 1983 if (currentSize == srcSizeInBytes) { in bufferData() 1984 GL_CALL(BufferData(type, (GrGLsizeiptr) srcSizeInBytes, src, glUsage)); in bufferData() 1994 GL_CALL(BufferSubData(type, 0, (GrGLsizeiptr) srcSizeInBytes, src)); in bufferData() 2000 GL_CALL(BufferData(type, srcSizeInBytes, src, glUsage)); in bufferData()
|
/external/skia/src/gpu/vk/ |
D | GrVkBuffer.cpp | 151 bool GrVkBuffer::vkUpdateData(const GrVkGpu* gpu, const void* src, size_t srcSizeInBytes) { in vkUpdateData() argument 154 if (srcSizeInBytes > fDesc.fSizeInBytes) { in vkUpdateData() 159 VkResult err = VK_CALL(gpu, MapMemory(gpu->device(), alloc(), 0, srcSizeInBytes, 0, &mapPtr)); in vkUpdateData() 165 memcpy(mapPtr, src, srcSizeInBytes); in vkUpdateData()
|
D | GrVkUniformBuffer.h | 27 bool updateData(const GrVkGpu* gpu, const void* src, size_t srcSizeInBytes) { in updateData() argument 28 return this->vkUpdateData(gpu, src, srcSizeInBytes); in updateData()
|
D | GrVkIndexBuffer.cpp | 64 bool GrVkIndexBuffer::onUpdateData(const void* src, size_t srcSizeInBytes) { in onUpdateData() argument 66 return this->vkUpdateData(this->getVkGpu(), src, srcSizeInBytes); in onUpdateData()
|
D | GrVkVertexBuffer.cpp | 63 bool GrVkVertexBuffer::onUpdateData(const void* src, size_t srcSizeInBytes) { in onUpdateData() argument 65 return this->vkUpdateData(this->getVkGpu(), src, srcSizeInBytes); in onUpdateData()
|
D | GrVkIndexBuffer.h | 32 bool onUpdateData(const void* src, size_t srcSizeInBytes) override;
|
D | GrVkVertexBuffer.h | 31 bool onUpdateData(const void* src, size_t srcSizeInBytes) override;
|
D | GrVkBuffer.h | 76 bool vkUpdateData(const GrVkGpu* gpu, const void* src, size_t srcSizeInBytes);
|