D | gluDrawUtil.cpp | 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() [all …]
|