Home
last modified time | relevance | path

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

/external/skia/src/gpu/gl/
DGrGLBufferImpl.cpp163 bool GrGLBufferImpl::updateData(GrGLGpu* gpu, const void* src, size_t srcSizeInBytes) { in updateData() argument
166 if (srcSizeInBytes > fDesc.fSizeInBytes) { in updateData()
170 memcpy(fCPUData, src, srcSizeInBytes); in updateData()
177 if (fDesc.fSizeInBytes == srcSizeInBytes) { in updateData()
178 GL_CALL(gpu, BufferData(fBufferType, (GrGLsizeiptr) srcSizeInBytes, src, usage)); in updateData()
188 GL_CALL(gpu, BufferSubData(fBufferType, 0, (GrGLsizeiptr) srcSizeInBytes, src)); in updateData()
207 fGLSizeInBytes = srcSizeInBytes + 1; in updateData()
209 GL_CALL(gpu, BufferSubData(fBufferType, 0, srcSizeInBytes, src)); in updateData()
211 fGLSizeInBytes = srcSizeInBytes; in updateData()
DGrGLIndexBuffer.cpp44 bool GrGLIndexBuffer::onUpdateData(const void* src, size_t srcSizeInBytes) { in onUpdateData() argument
46 return fImpl.updateData(this->getGpuGL(), src, srcSizeInBytes); in onUpdateData()
DGrGLVertexBuffer.cpp44 bool GrGLVertexBuffer::onUpdateData(const void* src, size_t srcSizeInBytes) { in onUpdateData() argument
46 return fImpl.updateData(this->getGpuGL(), src, srcSizeInBytes); in onUpdateData()
DGrGLIndexBuffer.h40 bool onUpdateData(const void* src, size_t srcSizeInBytes) override;
DGrGLVertexBuffer.h40 bool onUpdateData(const void* src, size_t srcSizeInBytes) override;
DGrGLBufferImpl.h45 bool updateData(GrGLGpu* gpu, const void* src, size_t srcSizeInBytes);
/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;