Home
last modified time | relevance | path

Searched refs:GrGLBufferImpl (Results 1 – 11 of 11) sorted by relevance

/external/skia/src/gpu/gl/
DGrGLBufferImpl.cpp19 GrGLBufferImpl::GrGLBufferImpl(GrGLGpu* gpu, const Desc& desc, GrGLenum bufferType) in GrGLBufferImpl() function in GrGLBufferImpl
38 void GrGLBufferImpl::release(GrGLGpu* gpu) { in release()
53 void GrGLBufferImpl::abandon() { in abandon()
62 void* GrGLBufferImpl::map(GrGLGpu* gpu) { in map()
76 void GrGLBufferImpl::unmap(GrGLGpu* gpu) { in unmap()
85 bool GrGLBufferImpl::isMapped() const { in isMapped()
90 bool GrGLBufferImpl::updateData(GrGLGpu* gpu, const void* src, size_t srcSizeInBytes) { in updateData()
112 void GrGLBufferImpl::validate() const { in validate()
DGrGLBufferImpl.h20 class GrGLBufferImpl : SkNoncopyable {
38 GrGLBufferImpl(GrGLGpu*, const Desc&, GrGLenum bufferType);
39 ~GrGLBufferImpl() { in ~GrGLBufferImpl()
DGrGLVertexBuffer.h20 typedef GrGLBufferImpl::Desc Desc;
43 GrGLBufferImpl fImpl;
DGrGLIndexBuffer.h20 typedef GrGLBufferImpl::Desc Desc;
43 GrGLBufferImpl fImpl;
DGrGLTransferBuffer.h20 typedef GrGLBufferImpl::Desc Desc;
43 GrGLBufferImpl fImpl;
DGrGLVertexBuffer.cpp13 : INHERITED(gpu, desc.fSizeInBytes, GrGLBufferImpl::kDynamicDraw_Usage == desc.fUsage, in GrGLVertexBuffer()
DGrGLIndexBuffer.cpp13 : INHERITED(gpu, desc.fSizeInBytes, GrGLBufferImpl::kDynamicDraw_Usage == desc.fUsage, in GrGLIndexBuffer()
DGrGLGpu.h106 void* mapBuffer(GrGLuint id, GrGLenum type, GrGLBufferImpl::Usage usage, size_t currentSize,
111 void bufferData(GrGLuint id, GrGLenum type, GrGLBufferImpl::Usage usage, size_t currentSize,
DGrGLGpu.cpp1652 desc.fUsage = dynamic ? GrGLBufferImpl::kDynamicDraw_Usage : GrGLBufferImpl::kStaticDraw_Usage; in onCreateVertexBuffer()
1685 desc.fUsage = dynamic ? GrGLBufferImpl::kDynamicDraw_Usage : GrGLBufferImpl::kStaticDraw_Usage; in onCreateIndexBuffer()
1724 desc.fUsage = toGpu ? GrGLBufferImpl::kStreamDraw_Usage : GrGLBufferImpl::kStreamRead_Usage; in onCreateTransferBuffer()
1915 static GrGLenum get_gl_usage(GrGLBufferImpl::Usage usage) { in get_gl_usage()
1922 static_assert(SK_ARRAY_COUNT(grToGL) == GrGLBufferImpl::kUsageCount, "array_size_mismatch"); in get_gl_usage()
1927 void* GrGLGpu::mapBuffer(GrGLuint id, GrGLenum type, GrGLBufferImpl::Usage usage, in mapBuffer()
1931 bool readOnly = (GrGLBufferImpl::kStreamRead_Usage == usage); in mapBuffer()
1953 if (GrGLBufferImpl::kStreamDraw_Usage != usage) { in mapBuffer()
1975 void GrGLGpu::bufferData(GrGLuint id, GrGLenum type, GrGLBufferImpl::Usage usage, in bufferData()
/external/skia/gyp/
Dgpu.gypi316 '<(skia_src_path)/gpu/gl/GrGLBufferImpl.cpp',
317 '<(skia_src_path)/gpu/gl/GrGLBufferImpl.h',
/external/skia/
DAndroid.mk495 src/gpu/gl/GrGLBufferImpl.cpp \