Lines Matching refs:primitives

454 …alid (int numVertexArrays, const VertexArrayBinding* vertexArrays, const PrimitiveList& primitives)  in isDrawCallValid()  argument
459 if ((primitives.indexType == INDEXTYPE_LAST) != (primitives.indices == 0)) in isDrawCallValid()
462 if (primitives.numElements < 0) in isDrawCallValid()
465 if (!primitives.indices) in isDrawCallValid()
469 if (primitives.numElements > vertexArrays[ndx].pointer.numElements) in isDrawCallValid()
495 …exArrays, const VertexArrayBinding* vertexArrays, const PrimitiveList& primitives, DrawUtilCallbac… in drawFromUserPointers() argument
500 DE_ASSERT(isDrawCallValid(numVertexArrays, vertexArrays, primitives)); in drawFromUserPointers()
515 if (primitives.indices) in drawFromUserPointers()
516 …drawIndexed(gl, primitives.type, primitives.numElements, primitives.indexType, primitives.indices); in drawFromUserPointers()
518 drawNonIndexed(gl, primitives.type, primitives.numElements); in drawFromUserPointers()
527 …exArrays, const VertexArrayBinding* vertexArrays, const PrimitiveList& primitives, DrawUtilCallbac… in drawFromBuffers() argument
532 DE_ASSERT(isDrawCallValid(numVertexArrays, vertexArrays, primitives)); in drawFromBuffers()
547 if (primitives.indices) in drawFromBuffers()
549 …IndexBuffer indexBuffer(context, primitives.indexType, primitives.numElements, primitives.indices); in drawFromBuffers()
556 drawIndexed(gl, primitives.type, primitives.numElements, primitives.indexType, 0); in drawFromBuffers()
568 drawNonIndexed(gl, primitives.type, primitives.numElements); in drawFromBuffers()
580 …exArrays, const VertexArrayBinding* vertexArrays, const PrimitiveList& primitives, DrawUtilCallbac… in drawFromVAOBuffers() argument
586 drawFromBuffers(context, program, numVertexArrays, vertexArrays, primitives, callback); in drawFromVAOBuffers()
590 …exArrays, const VertexArrayBinding* vertexArrays, const PrimitiveList& primitives, DrawUtilCallbac… in draw() argument
595 drawFromVAOBuffers(context, program, numVertexArrays, vertexArrays, primitives, callback); in draw()
599 drawFromUserPointers(context, program, numVertexArrays, vertexArrays, primitives, callback); in draw()