Home
last modified time | relevance | path

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

/external/chromium_org/third_party/skia/src/gpu/gl/
DGrGLBufferImpl.cpp107 bool GrGLBufferImpl::updateData(GrGpuGL* gpu, const void* src, size_t srcSizeInBytes) { in updateData() argument
110 if (srcSizeInBytes > fDesc.fSizeInBytes) { in updateData()
114 memcpy(fCPUData, src, srcSizeInBytes); in updateData()
121 if (fDesc.fSizeInBytes == srcSizeInBytes) { in updateData()
122 GL_CALL(gpu, BufferData(fBufferType, (GrGLsizeiptr) srcSizeInBytes, src, usage)); in updateData()
131 GL_CALL(gpu, BufferSubData(fBufferType, 0, (GrGLsizeiptr) srcSizeInBytes, src)); in updateData()
150 GL_CALL(gpu, BufferData(fBufferType, srcSizeInBytes + 1, NULL, usage)); in updateData()
151 GL_CALL(gpu, BufferSubData(fBufferType, 0, srcSizeInBytes, src)); in updateData()
153 GL_CALL(gpu, BufferData(fBufferType, srcSizeInBytes, src, usage)); in updateData()
DGrGLVertexBuffer.cpp52 bool GrGLVertexBuffer::updateData(const void* src, size_t srcSizeInBytes) { in updateData() argument
54 return fImpl.updateData(this->getGpuGL(), src, srcSizeInBytes); in updateData()
DGrGLIndexBuffer.cpp51 bool GrGLIndexBuffer::updateData(const void* src, size_t srcSizeInBytes) { in updateData() argument
53 return fImpl.updateData(this->getGpuGL(), src, srcSizeInBytes); in updateData()
DGrGLBufferImpl.h47 bool updateData(GrGpuGL* gpu, const void* src, size_t srcSizeInBytes);
DGrGLIndexBuffer.h39 virtual bool updateData(const void* src, size_t srcSizeInBytes);
DGrGLVertexBuffer.h39 virtual bool updateData(const void* src, size_t srcSizeInBytes);
/external/skia/src/gpu/gl/
DGrGLBufferImpl.cpp107 bool GrGLBufferImpl::updateData(GrGpuGL* gpu, const void* src, size_t srcSizeInBytes) { in updateData() argument
110 if (srcSizeInBytes > fDesc.fSizeInBytes) { in updateData()
114 memcpy(fCPUData, src, srcSizeInBytes); in updateData()
121 if (fDesc.fSizeInBytes == srcSizeInBytes) { in updateData()
122 GL_CALL(gpu, BufferData(fBufferType, (GrGLsizeiptr) srcSizeInBytes, src, usage)); in updateData()
131 GL_CALL(gpu, BufferSubData(fBufferType, 0, (GrGLsizeiptr) srcSizeInBytes, src)); in updateData()
150 GL_CALL(gpu, BufferData(fBufferType, srcSizeInBytes + 1, NULL, usage)); in updateData()
151 GL_CALL(gpu, BufferSubData(fBufferType, 0, srcSizeInBytes, src)); in updateData()
153 GL_CALL(gpu, BufferData(fBufferType, srcSizeInBytes, src, usage)); in updateData()
DGrGLVertexBuffer.cpp52 bool GrGLVertexBuffer::updateData(const void* src, size_t srcSizeInBytes) { in updateData() argument
54 return fImpl.updateData(this->getGpuGL(), src, srcSizeInBytes); in updateData()
DGrGLIndexBuffer.cpp51 bool GrGLIndexBuffer::updateData(const void* src, size_t srcSizeInBytes) { in updateData() argument
53 return fImpl.updateData(this->getGpuGL(), src, srcSizeInBytes); in updateData()
DGrGLBufferImpl.h47 bool updateData(GrGpuGL* gpu, const void* src, size_t srcSizeInBytes);
DGrGLIndexBuffer.h39 virtual bool updateData(const void* src, size_t srcSizeInBytes);
DGrGLVertexBuffer.h39 virtual bool updateData(const void* src, size_t srcSizeInBytes);
/external/skia/src/gpu/
DGrGeometryBuffer.h83 virtual bool updateData(const void* src, size_t srcSizeInBytes) = 0;
/external/chromium_org/third_party/skia/src/gpu/
DGrGeometryBuffer.h83 virtual bool updateData(const void* src, size_t srcSizeInBytes) = 0;