Home
last modified time | relevance | path

Searched refs:GL_TRIANGLES (Results 1 – 25 of 183) sorted by relevance

12345678

/external/deqp/modules/gles3/functional/
Des3fNegativeVertexArrayApiTests.cpp327 glDrawArrays(GL_TRIANGLES, 0, -1); in init()
335 glDrawArrays(GL_TRIANGLES, 0, 1); in init()
461 glDrawElements(GL_TRIANGLES, 1, -1, vertices); in init()
463 glDrawElements(GL_TRIANGLES, 1, GL_FLOAT, vertices); in init()
468 glDrawElements(GL_TRIANGLES, -1, GL_UNSIGNED_BYTE, vertices); in init()
476 glDrawElements(GL_TRIANGLES, 1, GL_UNSIGNED_BYTE, vertices); in init()
497 glBeginTransformFeedback (GL_TRIANGLES); in init()
500 glDrawElements (GL_TRIANGLES, 1, GL_UNSIGNED_BYTE, vertices); in init()
504 glDrawElements (GL_TRIANGLES, 1, GL_UNSIGNED_BYTE, vertices); in init()
591 glDrawArraysInstanced(GL_TRIANGLES, 0, -1, 1); in init()
[all …]
Des3fPolygonOffsetTests.cpp401 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
410 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
550 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
559 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
649 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
655 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
666 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
672 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
798 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
805 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
[all …]
Des3fRasterizerDiscardTests.cpp80 …ion, int numPrimitives, CaseType caseType, deUint32 caseOptions, deUint32 drawMode = GL_TRIANGLES);
137 case GL_TRIANGLES: numVertices = 3*numPrimitives; break; in generateVertices()
448 …ardCase(m_context, "write_depth_triangles", "triangles", 4, CASE_WRITE_DEPTH, 0, GL_TRIANGLES)); in init()
456 …ase(m_context, "write_stencil_triangles", "triangles", 4, CASE_WRITE_STENCIL, 0, GL_TRIANGLES)); in init()
470 …, "write_depth_triangles", "triangles", 4, CASE_WRITE_DEPTH, CASEOPTION_SCISSOR, GL_TRIANGLES)); in init()
478 …write_stencil_triangles", "triangles", 4, CASE_WRITE_STENCIL, CASEOPTION_SCISSOR, GL_TRIANGLES)); in init()
492 …text, "write_depth_triangles", "triangles", 4, CASE_WRITE_DEPTH, CASEOPTION_FBO, GL_TRIANGLES)); in init()
500 …t, "write_stencil_triangles", "triangles", 4, CASE_WRITE_STENCIL, CASEOPTION_FBO, GL_TRIANGLES)); in init()
Des3fVertexArrayObjectTests.cpp577 GLU_CHECK_CALL(glDrawElements(GL_TRIANGLES, m_spec.count, m_spec.indexType, m_indices)); in makeDrawCall()
579 …GLU_CHECK_CALL(glDrawElementsInstanced(GL_TRIANGLES, m_spec.count, m_spec.indexType, m_indices, m_… in makeDrawCall()
584 …GLU_CHECK_CALL(glDrawElements(GL_TRIANGLES, m_spec.count, m_spec.indexType, (GLvoid*)((GLintptr)m_… in makeDrawCall()
586 …GLU_CHECK_CALL(glDrawElementsInstanced(GL_TRIANGLES, m_spec.count, m_spec.indexType, (GLvoid*)((GL… in makeDrawCall()
592 GLU_CHECK_CALL(glDrawArrays(GL_TRIANGLES, 0, m_spec.count)); in makeDrawCall()
594 GLU_CHECK_CALL(glDrawArraysInstanced(GL_TRIANGLES, 0, m_spec.count, m_spec.instances)); in makeDrawCall()
1154 GLU_CHECK_CALL(glDrawElements(GL_TRIANGLES, m_spec.count, m_spec.indexType, m_indices)); in makeDrawCall()
1156 …GLU_CHECK_CALL(glDrawElementsInstanced(GL_TRIANGLES, m_spec.count, m_spec.indexType, m_indices, m_… in makeDrawCall()
1161 …GLU_CHECK_CALL(glDrawElements(GL_TRIANGLES, m_spec.count, m_spec.indexType, (GLvoid*)((GLintptr)m_… in makeDrawCall()
1163 …GLU_CHECK_CALL(glDrawElementsInstanced(GL_TRIANGLES, m_spec.count, m_spec.indexType, (GLvoid*)((GL… in makeDrawCall()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_render.c90 GL_TRIANGLES,
91 GL_TRIANGLES,
92 GL_TRIANGLES,
93 GL_TRIANGLES,
94 GL_TRIANGLES,
95 GL_TRIANGLES
Dintel_tris.c1038 GL_TRIANGLES,
1039 GL_TRIANGLES,
1040 GL_TRIANGLES,
1041 GL_TRIANGLES,
1042 GL_TRIANGLES,
1043 GL_TRIANGLES
1160 if (reduced_prim[prim] == GL_TRIANGLES && in intelRenderPrimitive()
/external/deqp/modules/gles31/functional/
Des31fNegativeVertexArrayApiTests.cpp459 ctx.glDrawArrays(GL_TRIANGLES, 0, -1); in draw_arrays_incomplete_primitive()
467 ctx.glDrawArrays(GL_TRIANGLES, 0, 1); in draw_arrays_incomplete_primitive()
606 ctx.glDrawElements(GL_TRIANGLES, 1, -1, vertices); in draw_elements_incomplete_primitive()
608 ctx.glDrawElements(GL_TRIANGLES, 1, GL_FLOAT, vertices); in draw_elements_incomplete_primitive()
613 ctx.glDrawElements(GL_TRIANGLES, -1, GL_UNSIGNED_BYTE, vertices); in draw_elements_incomplete_primitive()
621 ctx.glDrawElements(GL_TRIANGLES, 1, GL_UNSIGNED_BYTE, vertices); in draw_elements_incomplete_primitive()
642 ctx.glBeginTransformFeedback(GL_TRIANGLES); in draw_elements_incomplete_primitive()
645 ctx.glDrawElements(GL_TRIANGLES, 1, GL_UNSIGNED_BYTE, vertices); in draw_elements_incomplete_primitive()
649 ctx.glDrawElements(GL_TRIANGLES, 1, GL_UNSIGNED_BYTE, vertices); in draw_elements_incomplete_primitive()
782 ctx.glDrawArraysInstanced(GL_TRIANGLES, 0, -1, 1); in draw_arrays_instanced_incomplete_primitive()
[all …]
Des31fNegativeAdvancedBlendEquationTests.cpp197 ctx.glDrawElements(GL_TRIANGLES, 0, GL_UNSIGNED_INT, 0); in blend_qualifier_mismatch()
201 ctx.glDrawElements(GL_TRIANGLES, 0, GL_UNSIGNED_INT, 0); in blend_qualifier_mismatch()
239 ctx.glDrawElements(GL_TRIANGLES, 0, GL_UNSIGNED_INT, 0); in attachment_advanced_equation()
246 ctx.glDrawElements(GL_TRIANGLES, 0, GL_UNSIGNED_INT, 0); in attachment_advanced_equation()
255 ctx.glDrawElements(GL_TRIANGLES, 0, GL_UNSIGNED_INT, 0); in attachment_advanced_equation()
Des31fFboNoAttachmentTests.cpp138 gl.drawArrays(GL_TRIANGLES, 0, 6); in checkFramebufferSize()
146 gl.drawArrays(GL_TRIANGLES, 0, 6); in checkFramebufferSize()
154 gl.drawArrays(GL_TRIANGLES, 0, 6); in checkFramebufferSize()
237 gl.drawArrays(GL_TRIANGLES, 0, 6); in checkFramebufferRenderable()
/external/deqp/modules/gles2/functional/
Des2fPolygonOffsetTests.cpp398 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
407 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
547 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
556 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
646 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
652 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
663 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
669 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
795 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
802 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
[all …]
Des2fNegativeVertexArrayApiTests.cpp190 glDrawArrays(GL_TRIANGLES, 0, -1); in init()
199 glDrawArrays(GL_TRIANGLES, 0, 1); in init()
284 glDrawElements(GL_TRIANGLES, 1, -1, vertices); in init()
289 glDrawElements(GL_TRIANGLES, -1, GL_UNSIGNED_BYTE, vertices); in init()
298 glDrawElements(GL_TRIANGLES, 1, GL_UNSIGNED_BYTE, vertices); in init()
Des2fDepthRangeTests.cpp198 glDrawElements(GL_TRIANGLES, DE_LENGTH_OF_ARRAY(quadIndices), GL_UNSIGNED_SHORT, &quadIndices[0]); in iterate()
201 glDrawElements(GL_TRIANGLES, DE_LENGTH_OF_ARRAY(quadIndices), GL_UNSIGNED_SHORT, &quadIndices[0]); in iterate()
221 glDrawElements(GL_TRIANGLES, DE_LENGTH_OF_ARRAY(quadIndices), GL_UNSIGNED_SHORT, &quadIndices[0]); in iterate()
341 glDrawElements(GL_TRIANGLES, DE_LENGTH_OF_ARRAY(quadIndices), GL_UNSIGNED_SHORT, &quadIndices[0]); in iterate()
367 … glDrawElements(GL_TRIANGLES, DE_LENGTH_OF_ARRAY(quadIndices), GL_UNSIGNED_SHORT, &quadIndices[0]); in iterate()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_draw.c74 GL_TRIANGLES,
75 GL_TRIANGLES,
76 GL_TRIANGLES,
77 GL_TRIANGLES,
78 GL_TRIANGLES,
79 GL_TRIANGLES
365 case GL_TRIANGLES: in verts_per_prim()
Dbrw_clip.c93 case GL_TRIANGLES: in compile_clip_prog()
162 if (key.primitive == GL_TRIANGLES) { in brw_upload_clip_prog()
/external/deqp/modules/gles2/performance/
Des2pDrawCallBatchingTests.cpp643 gl.drawElements(GL_TRIANGLES, m_spec.triangleCount * 3, GL_UNSIGNED_BYTE, NULL); in renderUnbatched()
647 gl.drawElements(GL_TRIANGLES, m_spec.triangleCount * 3, GL_UNSIGNED_BYTE, NULL); in renderUnbatched()
652 …gl.drawElements(GL_TRIANGLES, m_spec.triangleCount * 3, GL_UNSIGNED_BYTE, &(m_dynamicIndexData[dra… in renderUnbatched()
654 …gl.drawElements(GL_TRIANGLES, m_spec.triangleCount * 3, GL_UNSIGNED_BYTE, &(m_staticIndexData[0])); in renderUnbatched()
658 gl.drawArrays(GL_TRIANGLES, 0, 3 * m_spec.triangleCount); in renderUnbatched()
747 …gl.drawElements(GL_TRIANGLES, m_spec.triangleCount * 3 * m_spec.drawCallCount, GL_UNSIGNED_BYTE, N… in renderBatched()
751 …gl.drawElements(GL_TRIANGLES, m_spec.triangleCount * 3 * m_spec.drawCallCount, GL_UNSIGNED_BYTE, N… in renderBatched()
756 …gl.drawElements(GL_TRIANGLES, m_spec.triangleCount * 3 * m_spec.drawCallCount, GL_UNSIGNED_BYTE, &… in renderBatched()
758 …gl.drawElements(GL_TRIANGLES, m_spec.triangleCount * 3 * m_spec.drawCallCount, GL_UNSIGNED_BYTE, &… in renderBatched()
762 gl.drawArrays(GL_TRIANGLES, 0, 3 * m_spec.triangleCount * m_spec.drawCallCount); in renderBatched()
/external/mesa3d/src/mesa/tnl_dd/
Dt_dd_dmatmp2.h305 EMIT_PRIM( ctx, GL_TRIANGLES, HW_TRIANGLES, start, count ); in TAG()
327 ELT_INIT( GL_TRIANGLES, HW_TRIANGLES ); in TAG()
371 ELT_INIT( GL_TRIANGLES, HW_TRIANGLES ); in TAG()
433 ELT_INIT( GL_TRIANGLES, HW_TRIANGLES ); in TAG()
486 ELT_INIT( GL_TRIANGLES, HW_TRIANGLES ); in TAG()
700 ELT_INIT( GL_TRIANGLES, HW_TRIANGLES ); in TAG()
825 ELT_INIT( GL_TRIANGLES, HW_TRIANGLES ); in TAG()
879 ELT_INIT( GL_TRIANGLES, HW_TRIANGLES ); in TAG()
Dt_dd_dmatmp.h280 INIT(GL_TRIANGLES); in TAG()
461 ELT_INIT( GL_TRIANGLES ); in TAG()
584 ELT_INIT( GL_TRIANGLES ); in TAG()
630 INIT(GL_TRIANGLES); in TAG()
870 ELT_INIT( GL_TRIANGLES ); in TAG()
1033 ELT_INIT( GL_TRIANGLES ); in TAG()
1087 ELT_INIT( GL_TRIANGLES ); in TAG()
1109 ELT_INIT( GL_TRIANGLES ); in TAG()
1208 case GL_TRIANGLES: in TAG()
/external/replicaisland/src/com/replica/replicaisland/
DGrid.java246 gl.glDrawElements(GL10.GL_TRIANGLES, count, in drawStrip()
250 gl11.glDrawElements(GL11.GL_TRIANGLES, count, in drawStrip()
264 gl.glDrawElements(GL10.GL_TRIANGLES, mIndexCount, in draw()
276 gl11.glDrawElements(GL11.GL_TRIANGLES, mIndexCount, in draw()
/external/deqp/framework/opengl/simplereference/
DsglrContextUtil.cpp104 ctx.drawElements(GL_TRIANGLES, DE_LENGTH_OF_ARRAY(indices), GL_UNSIGNED_SHORT, 0); in drawQuadWithVaoBuffers()
150 ctx.drawElements(GL_TRIANGLES, DE_LENGTH_OF_ARRAY(indices), GL_UNSIGNED_SHORT, &indices[0]); in drawQuadWithClientPointers()
DsglrReferenceUtils.cpp150 case GL_TRIANGLES: return rr::PRIMITIVETYPE_TRIANGLES; in mapGLPrimitiveType()
202 case GL_TRIANGLES: return rr::GEOMETRYSHADERINPUTTYPE_TRIANGLES; in mapGLGeometryShaderInputType()
/external/autotest/client/deps/glbench/src/
Dtestbase.cc225 glDrawElements(GL_TRIANGLES, count_, GL_UNSIGNED_SHORT, 0); in TestFunc()
228 glDrawElements(GL_TRIANGLES, count_, GL_UNSIGNED_SHORT, 0); in TestFunc()
Dglinterfacetest.cc81 glDrawElements(GL_TRIANGLES, num_indices_, GL_UNSIGNED_SHORT, 0); in RenderGLSimple()
/external/mesa3d/src/mesa/tnl/
Dt_vb_render.c155 tnl_render_func render_tris = tnl->Driver.Render.PrimTabElts[GL_TRIANGLES]; in clip_elt_triangles()
163 tnl->Driver.Render.PrimitiveNotify( ctx, GL_TRIANGLES ); in clip_elt_triangles()
295 clip_render_tab_elts[GL_TRIANGLES] = clip_elt_triangles; in run_render()
/external/deqp/modules/gles3/stress/
Des3sOcclusionQueryTests.cpp226 glDrawArrays (GL_TRIANGLES, 0, numOccluderIndicesPerDraw); in iterate()
241 glDrawArrays (GL_TRIANGLES, 0, numTargetIndicesPerDraw); in iterate()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_gldefs.h206 case GL_TRIANGLES: in nvgl_primitive()

12345678