Home
last modified time | relevance | path

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

1234567

/external/angle/src/tests/gl_tests/
DDrawElementsTest.cpp102 glDrawElements(GL_TRIANGLES, 1, GL_UNSIGNED_BYTE, nullptr); in TEST_P()
106 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()
329 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_BYTE, reinterpret_cast<const void *>(6)); in TEST_P()
332 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_BYTE, nullptr); in TEST_P()
335 glDrawElements(GL_TRIANGLES, 12, GL_UNSIGNED_BYTE, nullptr); in TEST_P()
343 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_BYTE, nullptr); in TEST_P()
[all …]
DIndexBufferOffsetTest.cpp93 glDrawElements(GL_TRIANGLES, 6, type, reinterpret_cast<void *>(indexDataWidth)); in runTest()
101 glDrawElements(GL_TRIANGLES, 6, type, reinterpret_cast<void *>(indexDataWidth * 2)); in runTest()
163 glDrawElements(GL_TRIANGLES, 3, GL_UNSIGNED_SHORT, 0); in TEST_P()
164 glDrawElements(GL_TRIANGLES, 3, GL_UNSIGNED_SHORT, in TEST_P()
196 glDrawElements(GL_TRIANGLES, 3, GL_UNSIGNED_BYTE, reinterpret_cast<void *>(1)); in TEST_P()
197 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.cpp84 glDrawElements(GL_LINE_LOOP, 4, indexType, indexPtr); in runTest()
89 glDrawElements(GL_LINE_STRIP, 5, GL_UNSIGNED_BYTE, stripIndices); in runTest()
281 glDrawElements(GL_LINE_STRIP, 5, GL_UNSIGNED_BYTE, stripIndices); in runTest()
/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/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/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/gles31/functional/
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()
249 ctx.glDrawElements(GL_TRIANGLES, 0, GL_UNSIGNED_INT, 0); in attachment_advanced_equation()
258 ctx.glDrawElements(GL_TRIANGLES, 0, GL_UNSIGNED_INT, 0); in attachment_advanced_equation()
Des31fNegativeVertexArrayApiTests.cpp498 ctx.glDrawElements(-1, 1, GL_UNSIGNED_BYTE, indices); in draw_elements()
503 ctx.glDrawElements(GL_POINTS, 1, -1, indices); in draw_elements()
505 ctx.glDrawElements(GL_POINTS, 1, GL_FLOAT, indices); in draw_elements()
510 ctx.glDrawElements(GL_POINTS, -1, GL_UNSIGNED_BYTE, indices); in draw_elements()
518 ctx.glDrawElements(GL_POINTS, 1, GL_UNSIGNED_BYTE, indices); in draw_elements()
542 ctx.glDrawElements(GL_POINTS, 1, GL_UNSIGNED_BYTE, indices); in draw_elements()
546 ctx.glDrawElements(GL_POINTS, 1, GL_UNSIGNED_BYTE, indices); in draw_elements()
566 ctx.glDrawElements(-1, 1, GL_UNSIGNED_BYTE, indices); in draw_elements_invalid_program()
571 ctx.glDrawElements(GL_POINTS, 1, -1, indices); in draw_elements_invalid_program()
573 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/samples/simple_texture_2d/
DSimpleTexture2D.cpp112 glDrawElements(GL_TRIANGLES, 6, GL_UNSIGNED_SHORT, indices); in draw()
/external/deqp/framework/egl/
DegluStaticES20Library.inl47 { "glDrawElements", (deFunctionPtr)glDrawElements },
/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/angle/doc/
DDirtyBits.md5 `glDrawElements`:
12 glDrawElements(GL_TRIANGLES, obj.eleCount, GL_UNSIGNED_SHORT, obj.eleOffset);
24 glDrawElements(GL_TRIANGLES, obj.eleCount, GL_UNSIGNED_SHORT, obj.eleOffset);
/external/angle/samples/simple_texture_cubemap/
DSimpleTextureCubemap.cpp106 glDrawElements(GL_TRIANGLES, static_cast<GLsizei>(mSphere.indices.size()), in draw()

1234567