Lines Matching refs:glGpu
14 #define GL_CALL(X) GR_GL_CALL(this->glGpu()->glInterface(), X)
57 this->glGpu()->notifyVertexArrayDelete(fVertexArrayID); in ~GLInstancedRendering()
61 inline GrGLGpu* GLInstancedRendering::glGpu() const { in glGpu() function in gr_instanced::GLInstancedRendering
93 this->glGpu()->bindVertexArray(fVertexArrayID); in onBeginFlush()
101 this->glGpu()->bindBuffer(kVertex_GrBufferType, this->vertexBuffer()); in onBeginFlush()
124 if (this->glGpu()->glCaps().drawIndirectSupport()) { in onBeginFlush()
146 bool baseInstanceSupport = this->glGpu()->glCaps().baseInstanceSupport(); in onBeginFlush()
209 if (!this->glGpu()->flushGLState(pipeline, instProc, false)) { in onDraw()
214 this->glGpu()->bindBuffer(kDrawIndirect_GrBufferType, fDrawIndirectBuffer.get()); in onDraw()
217 const GrGLCaps& glCaps = this->glGpu()->glCaps(); in onDraw()
267 this->glGpu()->bindVertexArray(fVertexArrayID); in flushInstanceAttribs()
274 this->glGpu()->bindBuffer(kVertex_GrBufferType, fInstanceBuffer.get()); in flushInstanceAttribs()
318 this->glGpu()->notifyVertexArrayDelete(fVertexArrayID); in onResetGpuResources()