Home
last modified time | relevance | path

Searched refs:srcSizeInBytes (Results 1 – 16 of 16) sorted by relevance

/external/skia/src/gpu/
DGrGeometryBuffer.h95 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/
DGrGLBufferImpl.cpp90 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()
DGrGLVertexBuffer.cpp46 bool GrGLVertexBuffer::onUpdateData(const void* src, size_t srcSizeInBytes) { in onUpdateData() argument
48 return fImpl.updateData(this->getGpuGL(), src, srcSizeInBytes); in onUpdateData()
DGrGLIndexBuffer.cpp46 bool GrGLIndexBuffer::onUpdateData(const void* src, size_t srcSizeInBytes) { in onUpdateData() argument
48 return fImpl.updateData(this->getGpuGL(), src, srcSizeInBytes); in onUpdateData()
DGrGLVertexBuffer.h36 bool onUpdateData(const void* src, size_t srcSizeInBytes) override;
DGrGLIndexBuffer.h36 bool onUpdateData(const void* src, size_t srcSizeInBytes) override;
DGrGLBufferImpl.h54 bool updateData(GrGLGpu* gpu, const void* src, size_t srcSizeInBytes);
DGrGLGpu.h112 const void* src, size_t srcSizeInBytes);
DGrGLGpu.cpp1976 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/
DGrVkBuffer.cpp151 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()
DGrVkUniformBuffer.h27 bool updateData(const GrVkGpu* gpu, const void* src, size_t srcSizeInBytes) { in updateData() argument
28 return this->vkUpdateData(gpu, src, srcSizeInBytes); in updateData()
DGrVkIndexBuffer.cpp64 bool GrVkIndexBuffer::onUpdateData(const void* src, size_t srcSizeInBytes) { in onUpdateData() argument
66 return this->vkUpdateData(this->getVkGpu(), src, srcSizeInBytes); in onUpdateData()
DGrVkVertexBuffer.cpp63 bool GrVkVertexBuffer::onUpdateData(const void* src, size_t srcSizeInBytes) { in onUpdateData() argument
65 return this->vkUpdateData(this->getVkGpu(), src, srcSizeInBytes); in onUpdateData()
DGrVkIndexBuffer.h32 bool onUpdateData(const void* src, size_t srcSizeInBytes) override;
DGrVkVertexBuffer.h31 bool onUpdateData(const void* src, size_t srcSizeInBytes) override;
DGrVkBuffer.h76 bool vkUpdateData(const GrVkGpu* gpu, const void* src, size_t srcSizeInBytes);