Searched refs:srcSizeInBytes (Results 1 – 7 of 7) sorted by relevance
/external/skia/src/gpu/gl/ |
D | GrGLBufferImpl.cpp | 163 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()
|
D | GrGLIndexBuffer.cpp | 44 bool GrGLIndexBuffer::onUpdateData(const void* src, size_t srcSizeInBytes) { in onUpdateData() argument 46 return fImpl.updateData(this->getGpuGL(), src, srcSizeInBytes); in onUpdateData()
|
D | GrGLVertexBuffer.cpp | 44 bool GrGLVertexBuffer::onUpdateData(const void* src, size_t srcSizeInBytes) { in onUpdateData() argument 46 return fImpl.updateData(this->getGpuGL(), src, srcSizeInBytes); in onUpdateData()
|
D | GrGLIndexBuffer.h | 40 bool onUpdateData(const void* src, size_t srcSizeInBytes) override;
|
D | GrGLVertexBuffer.h | 40 bool onUpdateData(const void* src, size_t srcSizeInBytes) override;
|
D | GrGLBufferImpl.h | 45 bool updateData(GrGLGpu* gpu, const void* src, size_t srcSizeInBytes);
|
/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;
|