Home
last modified time | relevance | path

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

/external/skia/src/gpu/instanced/
DGLInstancedRendering.cpp137 int glInstancesIdx = 0; in onBeginFlush() local
160 op->fEmulatedBaseInstance = baseInstanceSupport ? 0 : glInstancesIdx; in onBeginFlush()
171 glMappedInstances[glInstancesIdx + instanceCount++] = draw->fInstance; in onBeginFlush()
181 glCmd.fBaseInstance = baseInstanceSupport ? glInstancesIdx : 0; in onBeginFlush()
190 glInstancesIdx += instanceCount; in onBeginFlush()
200 SkASSERT(glInstancesIdx == numGLInstances); in onBeginFlush()