Lines Matching refs:glCaps
35 GrCaps::InstancedSupport GLInstancedRendering::CheckSupport(const GrGLCaps& glCaps) { in CheckSupport() argument
37 SkASSERT(GrCaps::InstancedSupport::kNone == glCaps.instancedSupport()); in CheckSupport()
38 if (!glCaps.vertexArrayObjectSupport() || in CheckSupport()
39 (!glCaps.drawIndirectSupport() && !glCaps.drawInstancedSupport())) { in CheckSupport()
42 return InstanceProcessor::CheckSupport(*glCaps.shaderCaps(), glCaps); in CheckSupport()
123 if (this->glGpu()->glCaps().drawIndirectSupport()) { in onBeginFlush()
145 bool baseInstanceSupport = this->glGpu()->glCaps().baseInstanceSupport(); in onBeginFlush()
216 const GrGLCaps& glCaps = this->glGpu()->glCaps(); in onDraw() local
230 SkASSERT(SkToBool(fGLDrawCmdsInfo) == !glCaps.baseInstanceSupport()); in onDraw()
233 if (numCommands > 1 && glCaps.multiDrawIndirectSupport() && glCaps.baseInstanceSupport()) { in onDraw()
257 if (!glCaps.baseInstanceSupport()) { in onDraw()