Home
last modified time | relevance | path

Searched refs:glDrawElements (Results 1 – 25 of 165) sorted by relevance

1234567

/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 …]
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()
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()
322 glDrawElements(GL_POINTS, indices.size(), GL_UNSIGNED_BYTE, indices.data()); in TEST_P()
DLineLoopTest.cpp126 glDrawElements(GL_LINE_LOOP, 4, indexType, indexPtr); in runTest()
131 glDrawElements(GL_LINE_STRIP, 5, GL_UNSIGNED_BYTE, stripIndices); in runTest()
437 glDrawElements(GL_LINE_STRIP, 5, GL_UNSIGNED_SHORT, lineloopAsStripIndices); in TEST_P()
467 glDrawElements(GL_LINE_LOOP, ArraySize(lineloopWithRestartIndices), GL_UNSIGNED_SHORT, 0); in TEST_P()
575 glDrawElements(GL_LINE_STRIP, 5, GL_UNSIGNED_BYTE, stripIndices); in runTest()
DSimpleOperationTest.cpp580 glDrawElements(GL_TRIANGLE_FAN, static_cast<GLsizei>(indices.size()), GL_UNSIGNED_BYTE, 0); in TEST_P()
600 glDrawElements(GL_TRIANGLE_FAN, static_cast<GLsizei>(indices.size()), GL_UNSIGNED_BYTE, 0); in TEST_P()
624 glDrawElements(GL_TRIANGLE_FAN, 4, GL_UNSIGNED_BYTE, 0); in TEST_P()
625 glDrawElements(GL_TRIANGLE_FAN, 4, GL_UNSIGNED_BYTE, in TEST_P()
646 glDrawElements(GL_TRIANGLE_FAN, static_cast<GLsizei>(indices.size()), GL_UNSIGNED_BYTE, 0); in TEST_P()
960 glDrawElements(GL_LINE_LOOP, 4, indexType, indices.data()); in testDrawElementsLineLoopUsingClientSideMemory()
1110 glDrawElements(GL_TRIANGLES, static_cast<GLsizei>(kElementsData.size()), GL_UNSIGNED_SHORT, in TEST_P()
/external/deqp/modules/gles2/functional/
Des2fNegativeVertexArrayApiTests.cpp214 glDrawElements(-1, 1, GL_UNSIGNED_BYTE, vertices); in init()
219 glDrawElements(GL_POINTS, 1, -1, vertices); in init()
224 glDrawElements(GL_POINTS, -1, GL_UNSIGNED_BYTE, vertices); in init()
233 glDrawElements(GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices); in init()
247 glDrawElements(-1, 1, GL_UNSIGNED_BYTE, vertices); in init()
252 glDrawElements(GL_POINTS, 1, -1, vertices); in init()
257 glDrawElements(GL_POINTS, -1, GL_UNSIGNED_BYTE, vertices); in init()
266 glDrawElements(GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices); in init()
279 glDrawElements(-1, 1, GL_UNSIGNED_BYTE, vertices); in init()
284 glDrawElements(GL_TRIANGLES, 1, -1, vertices); in init()
[all …]
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()
367glDrawElements(GL_TRIANGLES, DE_LENGTH_OF_ARRAY(quadIndices), GL_UNSIGNED_SHORT, &quadIndices[0]); in iterate()
/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/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/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()
/external/deqp/modules/gles3/functional/
Des3fNegativeVertexArrayApiTests.cpp353 glDrawElements(-1, 1, GL_UNSIGNED_BYTE, vertices); in init()
358 glDrawElements(GL_POINTS, 1, -1, vertices); in init()
360 glDrawElements(GL_POINTS, 1, GL_FLOAT, vertices); in init()
365 glDrawElements(GL_POINTS, -1, GL_UNSIGNED_BYTE, vertices); in init()
373 glDrawElements(GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices); in init()
397 glDrawElements (GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices); in init()
401 glDrawElements (GL_POINTS, 1, GL_UNSIGNED_BYTE, vertices); in init()
420 glDrawElements(-1, 1, GL_UNSIGNED_BYTE, vertices); in init()
425 glDrawElements(GL_POINTS, 1, -1, vertices); in init()
427 glDrawElements(GL_POINTS, 1, GL_FLOAT, vertices); in init()
[all …]
/external/deqp/modules/gles31/functional/
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()
Des31fNegativeVertexArrayApiTests.cpp547 ctx.glDrawElements(-1, 1, GL_UNSIGNED_BYTE, indices); in draw_elements()
552 ctx.glDrawElements(GL_POINTS, 1, -1, indices); in draw_elements()
554 ctx.glDrawElements(GL_POINTS, 1, GL_FLOAT, indices); in draw_elements()
559 ctx.glDrawElements(GL_POINTS, -1, GL_UNSIGNED_BYTE, indices); in draw_elements()
567 ctx.glDrawElements(GL_POINTS, 1, GL_UNSIGNED_BYTE, indices); in draw_elements()
591 ctx.glDrawElements(GL_POINTS, 1, GL_UNSIGNED_BYTE, indices); in draw_elements()
595 ctx.glDrawElements(GL_POINTS, 1, GL_UNSIGNED_BYTE, indices); in draw_elements()
616 ctx.glDrawElements(-1, 1, GL_UNSIGNED_BYTE, indices); in draw_elements_invalid_program()
621 ctx.glDrawElements(GL_POINTS, 1, -1, indices); in draw_elements_invalid_program()
623 ctx.glDrawElements(GL_POINTS, 1, GL_FLOAT, indices); in draw_elements_invalid_program()
[all …]
/external/angle/samples/tex_redef_microbench/
DTexRedefMicroBench.cpp191 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); in draw()
209 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); in draw()
227 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); in draw()
/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/angle/src/tests/perf_tests/
DIndexConversionPerf.cpp158 glDrawElements(GL_TRIANGLES, static_cast<GLsizei>(params.numIndexTris * 3 - 1), in drawConversion()
179 glDrawElements(GL_TRIANGLES, static_cast<GLsizei>(indexCount), GL_UNSIGNED_SHORT, in drawIndexRange()
DDrawElementsPerf.cpp191 glDrawElements(GL_TRIANGLES, static_cast<GLsizei>(mCount), params.type, 0); in drawBenchmark()
198 glDrawElements(GL_TRIANGLES, static_cast<GLsizei>(mCount), params.type, 0); in drawBenchmark()
/external/angle/samples/gles1/
DSimpleTexture2D.cpp74 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); in draw()
DFlatShading.cpp85 glDrawElements(GL_TRIANGLES, sizeof(indices) / sizeof(GLuint), GL_UNSIGNED_INT, in draw()
DSimpleLighting.cpp98 glDrawElements(GL_TRIANGLES, 3 * 8, GL_UNSIGNED_INT, indices); in draw()
/external/angle/src/tests/egl_tests/
DEGLPreRotationTest.cpp219 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, nullptr); in testDrawingAndReadPixels()
229 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, nullptr); in testDrawingAndReadPixels()
480 glDrawElements(GL_TRIANGLES, indices.size(), GL_UNSIGNED_SHORT, nullptr); in TEST_P()
496 glDrawElements(GL_TRIANGLES, indices.size(), GL_UNSIGNED_SHORT, nullptr); in TEST_P()
609 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, nullptr); in TEST_P()
871 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, nullptr); in TEST_P()
1517 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, nullptr); in TEST_P()
1635 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, nullptr); in TEST_P()
1754 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, nullptr); in TEST_P()
1877 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, nullptr); in TEST_P()
[all …]
/external/angle/samples/simple_texture_2d/
DSimpleTexture2D.cpp112 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); in draw()
/external/angle/samples/multiview/
DMultiview.cpp319 glDrawElements(GL_TRIANGLES, static_cast<GLsizei>(mCube.indices.size()), in draw()
325 glDrawElements(GL_TRIANGLES, static_cast<GLsizei>(mCube.indices.size()), in draw()
/external/deqp/framework/egl/
DegluStaticES20Library.inl47 { "glDrawElements", (deFunctionPtr)glDrawElements },

1234567