Home
last modified time | relevance | path

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

12345678910>>...14

/external/angle/src/tests/gl_tests/
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()
219 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_INT, nullptr); in TEST_P()
223 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_INT, nullptr); in TEST_P()
227 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_INT, nullptr); in TEST_P()
233 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_INT, nullptr); in TEST_P()
326 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_BYTE, reinterpret_cast<const void *>(6)); in TEST_P()
329 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_BYTE, nullptr); in TEST_P()
332 glDrawElements(GL_TRIANGLES, 12, GL_UNSIGNED_BYTE, nullptr); in TEST_P()
340 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_BYTE, nullptr); in TEST_P()
[all …]
DStateChangeTest.cpp343 glDrawArrays(GL_TRIANGLES, 0, 6); in TEST_P()
348 glDrawArrays(GL_TRIANGLES, 0, 6); in TEST_P()
355 glDrawArrays(GL_TRIANGLES, 0, 6); in TEST_P()
398 glDrawArrays(GL_TRIANGLES, 0, 6); in TEST_P()
432 glBeginTransformFeedback(GL_TRIANGLES); in TEST_P()
434 glDrawArrays(GL_TRIANGLES, 0, 6); in TEST_P()
468 glDrawArrays(GL_TRIANGLES, 0, 6); in TEST_P()
495 glDrawArrays(GL_TRIANGLES, 0, 6); in TEST_P()
506 glDrawArrays(GL_TRIANGLES, 0, 6); in TEST_P()
512 glDrawArrays(GL_TRIANGLES, 0, 6); in TEST_P()
[all …]
DMultiviewDrawTest.cpp585 glDrawArraysIndirect(GL_TRIANGLES, nullptr); in TEST_P()
588 glDrawElementsIndirect(GL_TRIANGLES, GL_UNSIGNED_INT, nullptr); in TEST_P()
610 glDrawArraysIndirect(GL_TRIANGLES, nullptr); in TEST_P()
613 glDrawElementsIndirect(GL_TRIANGLES, GL_UNSIGNED_INT, nullptr); in TEST_P()
663 glDrawArrays(GL_TRIANGLES, 0, 3); in TEST_P()
666 glDrawElements(GL_TRIANGLES, 3, GL_UNSIGNED_INT, nullptr); in TEST_P()
678 glDrawArrays(GL_TRIANGLES, 0, 3); in TEST_P()
681 glDrawElements(GL_TRIANGLES, 3, GL_UNSIGNED_INT, nullptr); in TEST_P()
720 glDrawArrays(GL_TRIANGLES, 0, 3); in TEST_P()
723 glDrawElements(GL_TRIANGLES, 3, GL_UNSIGNED_INT, nullptr); in TEST_P()
[all …]
DRobustBufferAccessBehaviorTest.cpp248 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, 0); in TEST_P()
251 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, in TEST_P()
255 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, 0); in TEST_P()
258 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, in TEST_P()
298 glDrawElements(GL_TRIANGLES, kIndexCount, GL_UNSIGNED_INT, nullptr); in TEST_P()
407 glDrawArrays(GL_TRIANGLES, 0, 10000); in TEST_P()
418 glDrawArrays(GL_TRIANGLES, (kNumQuads - 1) * 6, 6); in TEST_P()
475 glDrawArrays(GL_TRIANGLES, 0, 3); in TEST_P()
489 glDrawArrays(GL_TRIANGLES, 0, 3); in TEST_P()
544 glDrawArrays(GL_TRIANGLES, 0, 10000); in TEST_P()
[all …]
DIndexBufferOffsetTest.cpp160 glDrawElements(GL_TRIANGLES, 6, type, reinterpret_cast<void *>(indexDataWidth)); in runTest()
178 glDrawElements(GL_TRIANGLES, 6, type, reinterpret_cast<void *>(indexDataWidth * 2)); in runTest()
343 glDrawElements(GL_TRIANGLES, 3, GL_UNSIGNED_SHORT, 0); in TEST_P()
344 glDrawElements(GL_TRIANGLES, 3, GL_UNSIGNED_SHORT, in TEST_P()
381 glDrawElements(GL_TRIANGLES, 3, GL_UNSIGNED_BYTE, reinterpret_cast<void *>(2)); in TEST_P()
387 glDrawElements(GL_TRIANGLES, 3, GL_UNSIGNED_SHORT, in TEST_P()
419 glDrawElements(GL_TRIANGLES, 3, GL_UNSIGNED_BYTE, reinterpret_cast<void *>(1)); in TEST_P()
420 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_BYTE, reinterpret_cast<void *>(1)); in TEST_P()
DDifferentStencilMasksTest.cpp62 glDrawArrays(GL_TRIANGLES, 0, 3); in TEST_P()
78 glDrawArrays(GL_TRIANGLES, 0, 3); in TEST_P()
99 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.cpp631 glDrawArrays(GL_TRIANGLES, 0, 3); in noopOp()
782 glDrawArrays(GL_TRIANGLES, 0, 6); in vertexAttribArrayBitBufferWriteThenVertexRead()
864 glDrawArrays(GL_TRIANGLES, 0, 6); in vertexAttribArrayBitVertexReadThenBufferWrite()
940 glDrawArrays(GL_TRIANGLES, 0, 6); in elementArrayBitBufferWriteThenIndexRead()
1013 glDrawArrays(GL_TRIANGLES, 0, 6); in elementArrayBitIndexReadThenBufferWrite()
1089 glDrawArrays(GL_TRIANGLES, 0, 6); in uniformBitBufferWriteThenUBORead()
1161 glDrawArrays(GL_TRIANGLES, 0, 6); in uniformBitUBOReadThenBufferWrite()
1236 glDrawArrays(GL_TRIANGLES, 0, 6); in commandBitBufferWriteThenIndirectRead()
1316 glDrawArrays(GL_TRIANGLES, 0, 6); in commandBitIndirectReadThenBufferWrite()
1356 glDrawArrays(GL_TRIANGLES, 0, 6); in pixelBufferBitBufferWriteThenPack()
[all …]
DVertexAttributeTest.cpp1133 glDrawArrays(GL_TRIANGLES, 0, 6); in TEST_P()
1137 glDrawArrays(GL_TRIANGLES, 0, 6); in TEST_P()
1303 glDrawArrays(GL_TRIANGLES, 0, 6); in TEST_P()
1307 glDrawArrays(GL_TRIANGLES, 1, 6); in TEST_P()
1344 glDrawArrays(GL_TRIANGLES, 0, 6); in TEST_P()
1348 glDrawArrays(GL_TRIANGLES, 1, 6); in TEST_P()
1397 glDrawArrays(GL_TRIANGLES, 0, 6); in TEST_P()
1401 glDrawArrays(GL_TRIANGLES, 1, 6); in TEST_P()
1453 glDrawArrays(GL_TRIANGLES, 0, 6); in TEST_P()
1457 glDrawArrays(GL_TRIANGLES, 1, 6); in TEST_P()
[all …]
DFramebufferMixedSamplesTest.cpp203 glDrawArrays(GL_TRIANGLES, 0, 3); in TEST_P()
206 glDrawArrays(GL_TRIANGLES, 3, 3); in TEST_P()
251 glDrawArrays(GL_TRIANGLES, 0, 3); in TEST_P()
254 glDrawArrays(GL_TRIANGLES, 3, 3); in TEST_P()
/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.cpp286 glDrawArrays(GL_TRIANGLES, 0, numElements); in ClearThenDraw()
294 glDrawArrays(GL_TRIANGLES, 0, numElements); in JustDraw()
308 glDrawArrays(GL_TRIANGLES, 0, numElements); in ChangeVertexAttribThenDraw()
314 glDrawArrays(GL_TRIANGLES, 0, numElements); in ChangeVertexAttribThenDraw()
330 glDrawArrays(GL_TRIANGLES, 0, numElements); in ChangeArrayBuffersThenDraw()
337 glDrawArrays(GL_TRIANGLES, 0, numElements); in ChangeArrayBuffersThenDraw()
349 glDrawArrays(GL_TRIANGLES, 0, numElements); in ChangeTextureThenDraw()
352 glDrawArrays(GL_TRIANGLES, 0, numElements); in ChangeTextureThenDraw()
364 glDrawArrays(GL_TRIANGLES, 0, numElements); in ChangeProgramThenDraw()
367 glDrawArrays(GL_TRIANGLES, 0, numElements); in ChangeProgramThenDraw()
[all …]
DGenerateMipmapPerf.cpp169 glDrawArrays(GL_TRIANGLES, 0, 3); in initializeBenchmark()
213 glDrawArrays(GL_TRIANGLES, 0, 3); in initializeBenchmark()
235 glDrawArrays(GL_TRIANGLES, 0, 3); in drawBenchmark()
259 glDrawArrays(GL_TRIANGLES, 0, 3); in drawBenchmark()
273 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.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.cpp402 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
411 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
553 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
562 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
652 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
658 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
669 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
675 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
803 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
810 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/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()
/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/deqp/modules/gles2/functional/
Des2fPolygonOffsetTests.cpp399 gl.drawArrays (GL_TRIANGLES, 0, 3); in testPolygonOffset()
408 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()
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/libepoxy/test/
Dglx_beginend.c38 glBegin(GL_TRIANGLES); in test_with_epoxy()
69 glBegin(GL_TRIANGLES); in test_without_epoxy()
/external/deqp/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderPrimitiveCounter.cpp131 testConfiguration.m_feedbackMode = GL_TRIANGLES; in init()
188 testConfiguration.m_feedbackMode = GL_TRIANGLES; in init()
199 testConfiguration.m_drawMode = GL_TRIANGLES; in init()
214 testConfiguration.m_drawMode = GL_TRIANGLES; in init()
233 testConfiguration.m_drawMode = GL_TRIANGLES; in init()
245 testConfiguration.m_feedbackMode = GL_TRIANGLES; in init()
304 testConfiguration.m_feedbackMode = GL_TRIANGLES; in init()
351 testConfiguration.m_feedbackMode = GL_TRIANGLES; in init()
373 testConfiguration.m_drawMode = GL_TRIANGLES; in init()
388 testConfiguration.m_drawMode = GL_TRIANGLES; in init()
[all …]

12345678910>>...14