Lines Matching refs:glCaps
111 if (fGpu->glCaps().baseVertexBaseInstanceSupport()) { in onBindBuffers()
120 if ((indexBuffer && fGpu->glCaps().baseVertexBaseInstanceSupport()) || in onBindBuffers()
121 (!indexBuffer && !fGpu->glCaps().drawArraysBaseVertexIsBroken())) { in onBindBuffers()
167 SkASSERT(fDidBindVertexBuffer || fGpu->glCaps().drawArraysBaseVertexIsBroken()); in onDraw()
169 if (fGpu->glCaps().drawArraysBaseVertexIsBroken()) { in onDraw()
179 if (fGpu->glCaps().baseVertexBaseInstanceSupport()) { in onDrawIndexed()
180 SkASSERT(fGpu->glCaps().drawInstancedSupport()); in onDrawIndexed()
192 if (fGpu->glCaps().drawRangeElementsSupport()) { in onDrawIndexed()
203 SkASSERT(fDidBindVertexBuffer || fGpu->glCaps().drawArraysBaseVertexIsBroken()); in onDrawInstanced()
204 if (fGpu->glCaps().drawArraysBaseVertexIsBroken()) { in onDrawInstanced()
209 int maxInstances = fGpu->glCaps().maxInstancesPerDrawWithoutCrashing(instanceCount); in onDrawInstanced()
214 if (fGpu->glCaps().baseVertexBaseInstanceSupport()) { in onDrawInstanced()
227 int maxInstances = fGpu->glCaps().maxInstancesPerDrawWithoutCrashing(instanceCount); in onDrawIndexedInstanced()
232 if (fGpu->glCaps().baseVertexBaseInstanceSupport()) { in onDrawIndexedInstanced()
261 SkASSERT(fGpu->glCaps().baseVertexBaseInstanceSupport()); in onDrawIndirect()
262 SkASSERT(fDidBindVertexBuffer || fGpu->glCaps().drawArraysBaseVertexIsBroken()); in onDrawIndirect()
264 if (fGpu->glCaps().drawArraysBaseVertexIsBroken()) { in onDrawIndirect()
270 if (fGpu->glCaps().multiDrawType() == MultiDrawType::kANGLEOrWebGL) { in onDrawIndirect()
278 if (drawCount > 1 && fGpu->glCaps().multiDrawType() == MultiDrawType::kMultiDrawIndirect) { in onDrawIndirect()
296 SkASSERT(fGpu->glCaps().multiDrawType() == GrGLCaps::MultiDrawType::kANGLEOrWebGL); in multiDrawArraysANGLEOrWebGL()
337 SkASSERT(fGpu->glCaps().baseVertexBaseInstanceSupport()); in onDrawIndexedIndirect()
342 if (fGpu->glCaps().multiDrawType() == MultiDrawType::kANGLEOrWebGL) { in onDrawIndexedIndirect()
350 if (drawCount > 1 && fGpu->glCaps().multiDrawType() == MultiDrawType::kMultiDrawIndirect) { in onDrawIndexedIndirect()
368 SkASSERT(fGpu->glCaps().multiDrawType() == GrGLCaps::MultiDrawType::kANGLEOrWebGL); in multiDrawElementsANGLEOrWebGL()