/external/deqp/modules/gles3/functional/ |
D | es3fNegativeVertexArrayApiTests.cpp | 327 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 …]
|
D | es3fPolygonOffsetTests.cpp | 401 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 …]
|
D | es3fRasterizerDiscardTests.cpp | 80 …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()
|
D | es3fVertexArrayObjectTests.cpp | 577 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/ |
D | intel_render.c | 90 GL_TRIANGLES, 91 GL_TRIANGLES, 92 GL_TRIANGLES, 93 GL_TRIANGLES, 94 GL_TRIANGLES, 95 GL_TRIANGLES
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/ |
D | ModelBuilder.java | 188 return createBox(width, height, depth, GL20.GL_TRIANGLES, material, attributes); in createBox() 208 …00, z00, x10, y10, z10, x11, y11, z11, x01, y01, z01, normalX, normalY, normalZ, GL20.GL_TRIANGLES, in createRect() 231 return createCylinder(width, height, depth, divisions, GL20.GL_TRIANGLES, material, attributes); in createCylinder() 249 …return createCylinder(width, height, depth, divisions, GL20.GL_TRIANGLES, material, attributes, an… in createCylinder() 268 return createCone(width, height, depth, divisions, GL20.GL_TRIANGLES, material, attributes); in createCone() 286 …return createCone(width, height, depth, divisions, GL20.GL_TRIANGLES, material, attributes, angleF… in createCone() 306 …return createSphere(width, height, depth, divisionsU, divisionsV, GL20.GL_TRIANGLES, material, att… in createSphere() 324 …return createSphere(width, height, depth, divisionsU, divisionsV, GL20.GL_TRIANGLES, material, att… in createSphere() 345 return createCapsule(radius, height, divisions, GL20.GL_TRIANGLES, material, attributes); in createCapsule() 406 return createXYZCoordinates(axisLength, 0.1f, 0.1f, 5, GL20.GL_TRIANGLES, material, attributes); in createXYZCoordinates() [all …]
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/ |
D | MeshBuilderTest.java | 57 …n(Usage.Position | Usage.Normal | Usage.ColorPacked | Usage.TextureCoordinates, GL20.GL_TRIANGLES); in create() 67 …MeshPartBuilder mpb = modelBuilder.part("box", GL20.GL_TRIANGLES, Usage.Position | Usage.Normal | … in create() 73 …mpb = modelBuilder.part("sphere", GL20.GL_TRIANGLES, Usage.Position | Usage.Normal | Usage.Texture… in create() 78 …mpb = modelBuilder.part("cone", GL20.GL_TRIANGLES, Usage.Position | Usage.Normal | Usage.TextureCo… in create() 84 …mpb = modelBuilder.part("cylinder", GL20.GL_TRIANGLES, Usage.Position | Usage.Normal | Usage.Textu… in create() 90 mpb = modelBuilder.part("mesh", GL20.GL_TRIANGLES, mesh.getVertexAttributes(), material); in create()
|
D | ShaderTest.java | 225 builder.part("testCone", GL20.GL_TRIANGLES, Usage.Position, testMaterial1).cone(5, 5, 5, 20); in create() 229 builder.part("redSphere", GL20.GL_TRIANGLES, Usage.Position, redMaterial).sphere(5, 5, 5, 20, 20); in create() 234 builder.part("testCone", GL20.GL_TRIANGLES, Usage.Position, testMaterial2).cone(5, 5, 5, 20); in create()
|
/external/deqp/modules/gles31/functional/ |
D | es31fNegativeVertexArrayApiTests.cpp | 459 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 …]
|
D | es31fNegativeAdvancedBlendEquationTests.cpp | 197 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()
|
/external/deqp/modules/gles2/functional/ |
D | es2fPolygonOffsetTests.cpp | 398 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 …]
|
D | es2fNegativeVertexArrayApiTests.cpp | 190 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()
|
D | es2fDepthRangeTests.cpp | 198 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/ |
D | brw_draw.c | 74 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()
|
D | brw_clip.c | 93 case GL_TRIANGLES: in compile_clip_prog() 162 if (key.primitive == GL_TRIANGLES) { in brw_upload_clip_prog()
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
D | FloatTextureTest.java | 118 quad.render(fbshader, GL20.GL_TRIANGLES); in render() 126 quad.render(fbshader, GL20.GL_TRIANGLES); in render() 136 screenQuad.render(shader, GL20.GL_TRIANGLES); in render()
|
D | FrameBufferTest.java | 69 mesh.render(meshShader, GL20.GL_TRIANGLES); in render() 90 stencilMesh.render(meshShader, GL20.GL_TRIANGLES); in render() 99 mesh.render(meshShader, GL20.GL_TRIANGLES); in render()
|
/external/deqp/modules/gles2/performance/ |
D | es2pDrawCallBatchingTests.cpp | 643 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/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/gles2/ |
D | MipMap2D.java | 94 mesh.render(shader, GL20.GL_TRIANGLES); in render() 98 mesh.render(shader, GL20.GL_TRIANGLES); in render()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | Grid.java | 246 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/mesa3d/src/mesa/tnl_dd/ |
D | t_dd_dmatmp2.h | 305 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()
|
D | t_dd_dmatmp.h | 280 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/deqp/framework/opengl/simplereference/ |
D | sglrContextUtil.cpp | 104 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()
|
/external/autotest/client/deps/glbench/src/ |
D | testbase.cc | 223 glDrawElements(GL_TRIANGLES, count_, GL_UNSIGNED_SHORT, 0); in TestFunc() 226 glDrawElements(GL_TRIANGLES, count_, GL_UNSIGNED_SHORT, 0); in TestFunc()
|
/external/mesa3d/src/mesa/tnl/ |
D | t_vb_render.c | 155 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()
|