Home
last modified time | relevance | path

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

/external/skia/src/gpu/gl/
DGrGLBuffer.cpp12 #define GL_CALL(X) GR_GL_CALL(this->glGpu()->glInterface(), X)
13 #define GL_CALL_RET(RET, X) GR_GL_CALL_RET(this->glGpu()->glInterface(), RET, X)
115 inline GrGLGpu* GrGLBuffer::glGpu() const { in glGpu() function in GrGLBuffer
121 return this->glGpu()->glCaps(); in glCaps()
132 this->glGpu()->notifyBufferReleased(this); in onRelease()
165 GrGLenum target = this->glGpu()->bindBuffer(fIntendedType, this); in onMap()
174 GrGLenum target = this->glGpu()->bindBuffer(fIntendedType, this); in onMap()
189 GrGLenum target = this->glGpu()->bindBuffer(fIntendedType, this); in onMap()
221 GrGLenum target = this->glGpu()->bindBuffer(fIntendedType, this); in onUnmap()
226 this->glGpu()->bindBuffer(fIntendedType, this); // TODO: Is this needed? in onUnmap()
[all …]
DGrGLUniformHandler.cpp14 #define GL_CALL(X) GR_GL_CALL(this->glGpu()->glInterface(), X)
15 #define GL_CALL_RET(R, X) GR_GL_CALL_RET(this->glGpu()->glInterface(), R, X)
166 const GrGLGpu* GrGLUniformHandler::glGpu() const { in glGpu() function in GrGLUniformHandler
DGrGLBuffer.h47 GrGLGpu* glGpu() const;
DGrGLUniformHandler.h70 const GrGLGpu* glGpu() const;
/external/skia/src/gpu/instanced/
DGLInstancedRendering.cpp14 #define GL_CALL(X) GR_GL_CALL(this->glGpu()->glInterface(), X)
56 this->glGpu()->notifyVertexArrayDelete(fVertexArrayID); in ~GLInstancedRendering()
60 inline GrGLGpu* GLInstancedRendering::glGpu() const { in glGpu() function in gr_instanced::GLInstancedRendering
92 this->glGpu()->bindVertexArray(fVertexArrayID); in onBeginFlush()
100 this->glGpu()->bindBuffer(kVertex_GrBufferType, this->vertexBuffer()); in onBeginFlush()
123 if (this->glGpu()->glCaps().drawIndirectSupport()) { in onBeginFlush()
145 bool baseInstanceSupport = this->glGpu()->glCaps().baseInstanceSupport(); in onBeginFlush()
208 if (!this->glGpu()->flushGLState(pipeline, instProc, false)) { in onDraw()
213 this->glGpu()->bindBuffer(kDrawIndirect_GrBufferType, fDrawIndirectBuffer.get()); in onDraw()
216 const GrGLCaps& glCaps = this->glGpu()->glCaps(); in onDraw()
[all …]
DGLInstancedRendering.h34 GrGLGpu* glGpu() const;
/external/skia/tests/
DSRGBMipMapTest.cpp161 GrGLGpu* glGpu = static_cast<GrGLGpu*>(context->getGpu()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
162 if (glGpu->glCaps().srgbDecodeDisableSupport() && in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
163 glGpu->glCaps().srgbDecodeDisableAffectsMipmaps()) { in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()