Home
last modified time | relevance | path

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

12345678910>>...14

/external/angle/src/tests/gl_tests/
DMultiDrawTest.cpp327 glMultiDrawArraysInstancedANGLE(GL_TRIANGLES, firsts.data(), counts.data(), in DoDrawArrays()
332 glMultiDrawArraysANGLE(GL_TRIANGLES, firsts.data(), counts.data(), kTriCount); in DoDrawArrays()
356 glMultiDrawElementsInstancedANGLE(GL_TRIANGLES, counts.data(), GL_UNSIGNED_SHORT, in DoDrawElements()
361 glMultiDrawElementsANGLE(GL_TRIANGLES, counts.data(), GL_UNSIGNED_SHORT, indices.data(), in DoDrawElements()
642 glDrawArraysInstancedEXT(GL_TRIANGLES, 0, 3 * kTriCount, 4); in TEST_P()
646 glDrawArraysInstancedANGLE(GL_TRIANGLES, 0, 3 * kTriCount, 4); in TEST_P()
652 glDrawArrays(GL_TRIANGLES, 0, 3 * kTriCount); in TEST_P()
704 glMultiDrawArraysIndirectEXT(GL_TRIANGLES, nullptr, 0, 0); in TEST_P()
706 glMultiDrawArraysIndirectEXT(GL_TRIANGLES, nullptr, -1, 0); in TEST_P()
708 glMultiDrawArraysIndirectEXT(GL_TRIANGLES, nullptr, 1, 2); in TEST_P()
[all …]
DDrawElementsTest.cpp104 glDrawElements(GL_TRIANGLES, 1, GL_UNSIGNED_BYTE, nullptr); in TEST_P()
108 glDrawElements(GL_TRIANGLES, 0, GL_UNSIGNED_BYTE, nullptr); in TEST_P()
142 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, nullptr); in TEST_P()
197 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_INT, nullptr); in TEST_P()
208 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_INT, nullptr); in TEST_P()
257 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_INT, nullptr); in TEST_P()
375 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_INT, nullptr); in TEST_P()
379 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_INT, nullptr); in TEST_P()
383 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_INT, nullptr); in TEST_P()
389 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_INT, nullptr); in TEST_P()
[all …]
DProvokingVertexTest.cpp172 glBeginTransformFeedback(GL_TRIANGLES); in TEST_P()
383 glDrawArrays(GL_TRIANGLES, 0, 3); in TEST_P()
489 glDrawArrays(GL_TRIANGLES, 0, 3); in TEST_P()
491 glDrawArrays(GL_TRIANGLES, 0, 3); in TEST_P()
493 glDrawArrays(GL_TRIANGLES, 0, 3); in TEST_P()
495 glDrawArrays(GL_TRIANGLES, 0, 3); in TEST_P()
634 glDrawElements(GL_TRIANGLES, mNumVertsToDraw, GL_UNSIGNED_SHORT, nullptr); in TEST_P()
645 glDrawElements(GL_TRIANGLES, mNumVertsToDraw, GL_UNSIGNED_SHORT, nullptr); in TEST_P()
648 glDrawElements(GL_TRIANGLES, mNumVertsToDraw, GL_UNSIGNED_SHORT, nullptr); in TEST_P()
661 glDrawElements(GL_TRIANGLES, mNumVertsToDraw, GL_UNSIGNED_SHORT, nullptr); in TEST_P()
[all …]
DIndexBufferOffsetTest.cpp180 glDrawElements(GL_TRIANGLES, 6, type, reinterpret_cast<void *>(indexDataWidth)); in runTest()
211 glDrawElements(GL_TRIANGLES, 6, type, reinterpret_cast<void *>(indexDataWidth * 2)); in runTest()
380 glDrawElements(GL_TRIANGLES, 3, GL_UNSIGNED_SHORT, 0); in TEST_P()
381 glDrawElements(GL_TRIANGLES, 3, GL_UNSIGNED_SHORT, in TEST_P()
418 glDrawElements(GL_TRIANGLES, 3, GL_UNSIGNED_BYTE, reinterpret_cast<void *>(2)); in TEST_P()
424 glDrawElements(GL_TRIANGLES, 3, GL_UNSIGNED_SHORT, in TEST_P()
460 glDrawElements(GL_TRIANGLES, 3, GL_UNSIGNED_BYTE, reinterpret_cast<void *>(0)); in TEST_P()
462 glDrawElements(GL_TRIANGLES, 3, GL_UNSIGNED_SHORT, reinterpret_cast<void *>(512)); in TEST_P()
498 glDrawElements(GL_TRIANGLES, 3, GL_UNSIGNED_SHORT, reinterpret_cast<void *>(512)); in TEST_P()
530 glDrawElements(GL_TRIANGLES, 3, GL_UNSIGNED_INT, reinterpret_cast<void *>(0)); in TEST_P()
[all …]
DDebugMarkerTest.cpp114 glDrawArrays(GL_TRIANGLES, 0, 6); in TEST_P()
121 glDrawArrays(GL_TRIANGLES, 0, 6); in TEST_P()
127 glDrawArrays(GL_TRIANGLES, 0, 6); in TEST_P()
131 glDrawArrays(GL_TRIANGLES, 0, 6); in TEST_P()
135 glDrawArrays(GL_TRIANGLES, 0, 6); in TEST_P()
DMultiviewDrawTest.cpp574 glDrawArraysIndirect(GL_TRIANGLES, nullptr); in TEST_P()
577 glDrawElementsIndirect(GL_TRIANGLES, GL_UNSIGNED_INT, nullptr); in TEST_P()
599 glDrawArraysIndirect(GL_TRIANGLES, nullptr); in TEST_P()
602 glDrawElementsIndirect(GL_TRIANGLES, GL_UNSIGNED_INT, nullptr); in TEST_P()
652 glDrawArrays(GL_TRIANGLES, 0, 3); in TEST_P()
655 glDrawElements(GL_TRIANGLES, 3, GL_UNSIGNED_INT, nullptr); in TEST_P()
667 glDrawArrays(GL_TRIANGLES, 0, 3); in TEST_P()
670 glDrawElements(GL_TRIANGLES, 3, GL_UNSIGNED_INT, nullptr); in TEST_P()
709 glDrawArrays(GL_TRIANGLES, 0, 3); in TEST_P()
712 glDrawElements(GL_TRIANGLES, 3, GL_UNSIGNED_INT, nullptr); in TEST_P()
[all …]
DStateChangeTest.cpp351 glDrawArrays(GL_TRIANGLES, 0, 6); in TEST_P()
356 glDrawArrays(GL_TRIANGLES, 0, 6); in TEST_P()
363 glDrawArrays(GL_TRIANGLES, 0, 6); in TEST_P()
406 glDrawArrays(GL_TRIANGLES, 0, 6); in TEST_P()
440 glBeginTransformFeedback(GL_TRIANGLES); in TEST_P()
442 glDrawArrays(GL_TRIANGLES, 0, 6); in TEST_P()
476 glDrawArrays(GL_TRIANGLES, 0, 6); in TEST_P()
503 glDrawArrays(GL_TRIANGLES, 0, 6); in TEST_P()
514 glDrawArrays(GL_TRIANGLES, 0, 6); in TEST_P()
520 glDrawArrays(GL_TRIANGLES, 0, 6); in TEST_P()
[all …]
DDrawRangeElementsTest.cpp44 glDrawRangeElements(GL_TRIANGLES, 0, 1000, count, GL_UNSIGNED_BYTE, nullptr); in drawRangeElementsVariant()
47 glDrawRangeElementsBaseVertex(GL_TRIANGLES, 0, 1000, count, GL_UNSIGNED_BYTE, in drawRangeElementsVariant()
51 glDrawRangeElementsBaseVertexEXT(GL_TRIANGLES, 0, 1000, count, GL_UNSIGNED_BYTE, in drawRangeElementsVariant()
55 glDrawRangeElementsBaseVertexOES(GL_TRIANGLES, 0, 1000, count, GL_UNSIGNED_BYTE, in drawRangeElementsVariant()
DRobustBufferAccessBehaviorTest.cpp283 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, 0); in TEST_P()
286 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, in TEST_P()
290 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, 0); in TEST_P()
293 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, in TEST_P()
333 glDrawElements(GL_TRIANGLES, kIndexCount, GL_UNSIGNED_INT, nullptr); in TEST_P()
438 glDrawArrays(GL_TRIANGLES, 0, 10000); in TEST_P()
449 glDrawArrays(GL_TRIANGLES, (kNumQuads - 1) * 6, 6); in TEST_P()
500 glDrawArrays(GL_TRIANGLES, 0, 3); in TEST_P()
514 glDrawArrays(GL_TRIANGLES, 0, 3); in TEST_P()
569 glDrawArrays(GL_TRIANGLES, 0, 10000); in TEST_P()
[all …]
DDifferentStencilMasksTest.cpp62 glDrawArrays(GL_TRIANGLES, 0, 3); in TEST_P()
75 glDrawArrays(GL_TRIANGLES, 0, 3); in TEST_P()
96 glDrawArrays(GL_TRIANGLES, 0, 3); in TEST_P()
DMultisampleCompatibilityTest.cpp193 glDrawArrays(GL_TRIANGLES, 0, 3); in TEST_P()
197 glDrawArrays(GL_TRIANGLES, 3, 3); in TEST_P()
205 glDrawArrays(GL_TRIANGLES, 6, 3); in TEST_P()
254 glDrawArrays(GL_TRIANGLES, 0, 3); in TEST_P()
257 glDrawArrays(GL_TRIANGLES, 3, 3); in TEST_P()
261 glDrawArrays(GL_TRIANGLES, 6, 3); in TEST_P()
DMemoryBarrierTest.cpp646 glDrawArrays(GL_TRIANGLES, 0, 3); in noopOp()
797 glDrawArrays(GL_TRIANGLES, 0, 6); in vertexAttribArrayBitBufferWriteThenVertexRead()
879 glDrawArrays(GL_TRIANGLES, 0, 6); in vertexAttribArrayBitVertexReadThenBufferWrite()
955 glDrawArrays(GL_TRIANGLES, 0, 6); in elementArrayBitBufferWriteThenIndexRead()
1028 glDrawArrays(GL_TRIANGLES, 0, 6); in elementArrayBitIndexReadThenBufferWrite()
1104 glDrawArrays(GL_TRIANGLES, 0, 6); in uniformBitBufferWriteThenUBORead()
1176 glDrawArrays(GL_TRIANGLES, 0, 6); in uniformBitUBOReadThenBufferWrite()
1251 glDrawArrays(GL_TRIANGLES, 0, 6); in commandBitBufferWriteThenIndirectRead()
1331 glDrawArrays(GL_TRIANGLES, 0, 6); in commandBitIndirectReadThenBufferWrite()
1371 glDrawArrays(GL_TRIANGLES, 0, 6); in pixelBufferBitBufferWriteThenPack()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_render.c73 [GL_TRIANGLES] = PRIM3D_TRILIST,
86 [GL_TRIANGLES] = GL_TRIANGLES,
87 [GL_TRIANGLE_STRIP] = GL_TRIANGLES,
88 [GL_TRIANGLE_FAN] = GL_TRIANGLES,
89 [GL_QUADS] = GL_TRIANGLES,
90 [GL_QUAD_STRIP] = GL_TRIANGLES,
91 [GL_POLYGON] = GL_TRIANGLES,
99 [GL_TRIANGLES] = 1,
/external/angle/src/tests/perf_tests/
DDrawCallPerf.cpp349 glDrawArrays(GL_TRIANGLES, 0, numElements); in ClearThenDraw()
357 glDrawArrays(GL_TRIANGLES, 0, numElements); in JustDraw()
371 glDrawArrays(GL_TRIANGLES, 0, numElements); in ChangeVertexAttribThenDraw()
377 glDrawArrays(GL_TRIANGLES, 0, numElements); in ChangeVertexAttribThenDraw()
393 glDrawArrays(GL_TRIANGLES, 0, numElements); in ChangeArrayBuffersThenDraw()
400 glDrawArrays(GL_TRIANGLES, 0, numElements); in ChangeArrayBuffersThenDraw()
412 glDrawArrays(GL_TRIANGLES, 0, numElements); in ChangeTextureThenDraw()
415 glDrawArrays(GL_TRIANGLES, 0, numElements); in ChangeTextureThenDraw()
427 glDrawArrays(GL_TRIANGLES, 0, numElements); in ChangeProgramThenDraw()
430 glDrawArrays(GL_TRIANGLES, 0, numElements); in ChangeProgramThenDraw()
[all …]
DGenerateMipmapPerf.cpp164 glDrawArrays(GL_TRIANGLES, 0, 3); in initializeBenchmark()
208 glDrawArrays(GL_TRIANGLES, 0, 3); in initializeBenchmark()
230 glDrawArrays(GL_TRIANGLES, 0, 3); in drawBenchmark()
254 glDrawArrays(GL_TRIANGLES, 0, 3); in drawBenchmark()
268 glDrawArrays(GL_TRIANGLES, 0, 3); in drawBenchmark()
/external/angle/samples/stencil_operations/
DStencilOperations.cpp136 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_BYTE, indices[0]); in draw()
150 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_BYTE, indices[1]); in draw()
164 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_BYTE, indices[2]); in draw()
179 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_BYTE, indices[3]); in draw()
197 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_BYTE, indices[4]); in draw()
/external/deqp/modules/gles3/functional/
Des3fNegativeVertexArrayApiTests.cpp369 glDrawArrays(GL_TRIANGLES, 0, -1); in init()
377 glDrawArrays(GL_TRIANGLES, 0, 1); in init()
508 glDrawElements(GL_TRIANGLES, 1, -1, vertices); in init()
510 glDrawElements(GL_TRIANGLES, 1, GL_FLOAT, vertices); in init()
515 glDrawElements(GL_TRIANGLES, -1, GL_UNSIGNED_BYTE, vertices); in init()
523 glDrawElements(GL_TRIANGLES, 1, GL_UNSIGNED_BYTE, vertices); in init()
544 glBeginTransformFeedback (GL_TRIANGLES); in init()
547 glDrawElements (GL_TRIANGLES, 1, GL_UNSIGNED_BYTE, vertices); in init()
551 glDrawElements (GL_TRIANGLES, 1, GL_UNSIGNED_BYTE, vertices); in init()
641 glDrawArraysInstanced(GL_TRIANGLES, 0, -1, 1); in init()
[all …]
Des3fPolygonOffsetTests.cpp400 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
409 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
551 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
560 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
650 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
656 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
667 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
673 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
801 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
808 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
[all …]
/external/angle/src/tests/gl_tests/gles1/
DBasicDrawTest.cpp43 glDrawArrays(GL_TRIANGLES, 0, 6); in drawRedQuad()
79 glDrawArrays(GL_TRIANGLES, 0, 6); in TEST_P()
108 glDrawArrays(GL_TRIANGLES, 0, 3); in TEST_P()
114 glDrawArrays(GL_TRIANGLES, 0, 3); in TEST_P()
/external/angle/samples/multiple_draw_buffers/
DMultipleDrawBuffers.cpp168 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); in draw()
177 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); in draw()
181 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); in draw()
185 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); in draw()
189 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); in draw()
/external/deqp/modules/gles31/functional/
Des31fNegativeVertexArrayApiTests.cpp512 ctx.glDrawArrays(GL_TRIANGLES, 0, -1); in draw_arrays_incomplete_primitive()
520 ctx.glDrawArrays(GL_TRIANGLES, 0, 1); in draw_arrays_incomplete_primitive()
666 ctx.glDrawElements(GL_TRIANGLES, 1, -1, indices); in draw_elements_incomplete_primitive()
668 ctx.glDrawElements(GL_TRIANGLES, 1, GL_FLOAT, indices); in draw_elements_incomplete_primitive()
673 ctx.glDrawElements(GL_TRIANGLES, -1, GL_UNSIGNED_BYTE, indices); in draw_elements_incomplete_primitive()
681 ctx.glDrawElements(GL_TRIANGLES, 1, GL_UNSIGNED_BYTE, indices); in draw_elements_incomplete_primitive()
702 ctx.glBeginTransformFeedback(GL_TRIANGLES); in draw_elements_incomplete_primitive()
705 ctx.glDrawElements(GL_TRIANGLES, 1, GL_UNSIGNED_BYTE, indices); in draw_elements_incomplete_primitive()
709 ctx.glDrawElements(GL_TRIANGLES, 1, GL_UNSIGNED_BYTE, indices); in draw_elements_incomplete_primitive()
776 ctx.glDrawElementsBaseVertex(GL_TRIANGLES, 1, GL_UNSIGNED_INT, indices, 1); in draw_elements_base_vertex_primitive_mode_mismatch()
[all …]
Des31fNegativeAdvancedBlendEquationTests.cpp205 ctx.glDrawElements(GL_TRIANGLES, 0, GL_UNSIGNED_INT, 0); in blend_qualifier_mismatch()
209 ctx.glDrawElements(GL_TRIANGLES, 0, GL_UNSIGNED_INT, 0); in blend_qualifier_mismatch()
258 ctx.glDrawElements(GL_TRIANGLES, 0, GL_UNSIGNED_INT, 0); in attachment_advanced_equation()
268 ctx.glDrawElements(GL_TRIANGLES, 0, GL_UNSIGNED_INT, 0); in attachment_advanced_equation()
277 ctx.glDrawElements(GL_TRIANGLES, 0, GL_UNSIGNED_INT, 0); in attachment_advanced_equation()
/external/deqp/modules/gles2/functional/
Des2fPolygonOffsetTests.cpp397 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
406 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
548 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
557 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
648 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
654 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
665 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
671 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
799 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
806 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
[all …]
/external/angle/samples/mip_map_2d/
DMipMap2D.cpp122 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); in draw()
127 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); in draw()
133 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); in draw()
/external/angle/samples/texture_wrap/
DTextureWrap.cpp112 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); in draw()
118 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); in draw()
124 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); in draw()

12345678910>>...14