Home
last modified time | relevance | path

Searched refs:baseInstanceSupport (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/gpu/instanced/
DGLInstancedRendering.cpp145 bool baseInstanceSupport = this->glGpu()->glCaps().baseInstanceSupport(); in onBeginFlush() local
146 SkASSERT(!baseInstanceSupport || fDrawIndirectBuffer); in onBeginFlush()
149 if (GR_GL_LOG_INSTANCED_OPS || !baseInstanceSupport) { in onBeginFlush()
159 op->fEmulatedBaseInstance = baseInstanceSupport ? 0 : glInstancesIdx; in onBeginFlush()
180 glCmd.fBaseInstance = baseInstanceSupport ? glInstancesIdx : 0; in onBeginFlush()
183 if (GR_GL_LOG_INSTANCED_OPS || !baseInstanceSupport) { in onBeginFlush()
230 SkASSERT(SkToBool(fGLDrawCmdsInfo) == !glCaps.baseInstanceSupport()); in onDraw()
233 if (numCommands > 1 && glCaps.multiDrawIndirectSupport() && glCaps.baseInstanceSupport()) { in onDraw()
257 if (!glCaps.baseInstanceSupport()) { in onDraw()
/external/skia/src/gpu/gl/
DGrGLCaps.h320 bool baseInstanceSupport() const { return fBaseInstanceSupport; } in baseInstanceSupport() function