/external/angle/src/tests/gl_tests/ |
D | DrawElementsTest.cpp | 175 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffers[0]); in TEST_P() 176 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(GLuint) * indexData[0].size(), &indexData[0][0], in TEST_P() 179 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffers[2]); in TEST_P() 180 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(GLuint) * indexData[0].size(), &indexData[0][0], in TEST_P() 183 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffers[1]); in TEST_P() 184 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(GLuint) * indexData[1].size(), &indexData[1][0], in TEST_P() 190 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffers[1]); in TEST_P() 206 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffers[0]); in TEST_P() 304 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffers[0]); in TEST_P() 305 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(GLubyte) * indexData[0].size(), &indexData[0][0], in TEST_P() [all …]
|
D | LineLoopTest.cpp | 122 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, indexBuffer); in runTest() 128 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); in runTest() 183 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, buf); in TEST_P() 184 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(indices), indices, GL_STATIC_DRAW); in TEST_P() 197 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, buf); in TEST_P() 198 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(indices), indices, GL_STATIC_DRAW); in TEST_P() 216 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, buf); in TEST_P() 217 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(indices), indices, GL_STATIC_DRAW); in TEST_P() 240 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, buf); in TEST_P() 241 glBufferSubData(GL_ELEMENT_ARRAY_BUFFER, 0, sizeof(indices), indices); in TEST_P() [all …]
|
D | IndexBufferOffsetTest.cpp | 60 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in testSetUp() 134 glBufferData(GL_ELEMENT_ARRAY_BUFFER, 3 * indexDataWidth, nullptr, GL_DYNAMIC_DRAW); in runTest() 139 glBufferSubData(GL_ELEMENT_ARRAY_BUFFER, 0, indexDataWidth, indexData.data()); in runTest() 140 glBufferSubData(GL_ELEMENT_ARRAY_BUFFER, indexDataWidth, indexDataWidth, in runTest() 142 glBufferSubData(GL_ELEMENT_ARRAY_BUFFER, 2 * indexDataWidth, indexDataWidth, in runTest() 147 glBufferSubData(GL_ELEMENT_ARRAY_BUFFER, 0, 3 * indexDataWidth, indexData.data()); in runTest() 166 glBufferSubData(GL_ELEMENT_ARRAY_BUFFER, indexDataWidth, indexDataWidth, in runTest() 168 glBufferSubData(GL_ELEMENT_ARRAY_BUFFER, 2 * indexDataWidth, indexDataWidth, in runTest() 173 glBufferSubData(GL_ELEMENT_ARRAY_BUFFER, indexDataWidth, 2 * indexDataWidth, in runTest() 334 glBufferData(GL_ELEMENT_ARRAY_BUFFER, indexDataWidth, indexData, GL_DYNAMIC_DRAW); in TEST_P() [all …]
|
D | BindGeneratesResourceTest.cpp | 59 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 2); in TEST_P() 62 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); in TEST_P()
|
D | BuiltinVariableTest.cpp | 86 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in runTest() 87 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(GLint) * indices.size(), indices.data(), in runTest() 106 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in runTest()
|
D | SimpleOperationTest.cpp | 575 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, indexBuffer.get()); in TEST_P() 576 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(indices[0]) * indices.size(), indices.data(), in TEST_P() 595 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, indexBuffer.get()); in TEST_P() 596 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(indices[0]) * indices.size(), indices.data(), in TEST_P() 619 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, indexBuffer.get()); in TEST_P() 620 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(indices[0]) * indices.size(), indices.data(), in TEST_P() 641 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, indexBuffer.get()); in TEST_P() 642 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(indices[0]) * indices.size(), indices.data(), in TEST_P() 1107 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, elementBuffer); in TEST_P() 1108 glBufferData(GL_ELEMENT_ARRAY_BUFFER, kElementsData.size() * sizeof(GLushort), in TEST_P()
|
D | IndexedPointsTest.cpp | 97 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in testSetUp() 98 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(indices), &indices[0], GL_STATIC_DRAW); in testSetUp() 144 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in runTest()
|
D | MultiDrawTest.cpp | 242 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in SetupBuffers() 243 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(GLushort) * mIndices.size(), mIndices.data(), in SetupBuffers() 298 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in DoDrawElements() 513 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in TEST_P()
|
D | RobustBufferAccessBehaviorTest.cpp | 211 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, ib); in TEST_P() 212 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(indicies), indicies.data(), GL_STATIC_DRAW); in TEST_P() 277 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, indexBuffer); in TEST_P() 278 glBufferData(GL_ELEMENT_ARRAY_BUFFER, indices.size() * sizeof(GLuint), indices.data(), in TEST_P()
|
/external/angle/src/tests/perf_tests/ |
D | DrawElementsPerf.cpp | 23 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, buffer); in CreateElementArrayBuffer() 24 glBufferData(GL_ELEMENT_ARRAY_BUFFER, count * sizeof(type), nullptr, usage); in CreateElementArrayBuffer() 132 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in initializeBenchmark() 138 glBufferSubData(GL_ELEMENT_ARRAY_BUFFER, 0, mBufferSize, mIntIndexData.data()); in initializeBenchmark() 142 glBufferSubData(GL_ELEMENT_ARRAY_BUFFER, 0, mBufferSize, mShortIndexData.data()); in initializeBenchmark() 190 glBufferSubData(GL_ELEMENT_ARRAY_BUFFER, 0, mBufferSize, bufferData); in drawBenchmark()
|
D | VulkanBarriersPerf.cpp | 253 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in createResources() 254 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(indices), indices, GL_STATIC_DRAW); in createResources() 291 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in drawBenchmark()
|
D | DynamicPromotionPerfTest.cpp | 112 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mElementArrayBuffer); in initializeBenchmark() 120 glBufferData(GL_ELEMENT_ARRAY_BUFFER, elementArraySize, indexData.data(), GL_DYNAMIC_DRAW); in initializeBenchmark()
|
D | IndexConversionPerf.cpp | 113 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in initializeBenchmark() 124 glBufferData(GL_ELEMENT_ARRAY_BUFFER, mIndexData.size() * sizeof(mIndexData[0]), &mIndexData[0], in updateBufferData()
|
/external/deqp/modules/gles2/performance/ |
D | es2pDrawCallBatchingTests.cpp | 433 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, buffer); in createIndexBuffer() 434 …gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, 3 * m_spec.triangleCount, &(m_dynamicIndexData[drawNdx * m_… in createIndexBuffer() 435 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); in createIndexBuffer() 445 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, buffer); in createIndexBuffer() 446 …gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, 3 * m_spec.triangleCount * m_spec.drawCallCount, &(m_dynami… in createIndexBuffer() 447 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); in createIndexBuffer() 459 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, buffer); in createIndexBuffer() 460 …gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, 3 * m_spec.triangleCount * m_spec.drawCallCount, &(m_static… in createIndexBuffer() 461 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); in createIndexBuffer() 471 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, buffer); in createIndexBuffer() [all …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fBufferWriteTests.cpp | 440 GL_ELEMENT_ARRAY_BUFFER in iterate() 549 GL_ELEMENT_ARRAY_BUFFER in init() 631 << DataStoreSpec(GL_ELEMENT_ARRAY_BUFFER, GL_STATIC_DRAW, 72) in init() 632 << DataStoreSpec(GL_ELEMENT_ARRAY_BUFFER, GL_STATIC_DRAW, 72) in init() 633 << DataStoreSpec(GL_ELEMENT_ARRAY_BUFFER, GL_STATIC_DRAW, 72)); in init() 637 << DataStoreSpec(GL_ELEMENT_ARRAY_BUFFER, GL_STATIC_DRAW, 504)); in init() 640 << DataStoreSpec(GL_ELEMENT_ARRAY_BUFFER, GL_STATIC_DRAW, 716) in init() 642 << DataStoreSpec(GL_ELEMENT_ARRAY_BUFFER, GL_STATIC_DRAW, 716)); in init() 720 …ECIFY_CASE(whole_2, "Whole buffer specification with two calls", GL_ELEMENT_ARRAY_BUFFER, GL_DYNAM… in init() 727 …IFY_CASE(whole_4, "Whole buffer specification with three calls", GL_ELEMENT_ARRAY_BUFFER, GL_STREA… in init() [all …]
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | Grid.java | 235 gl11.glBindBuffer(GL11.GL_ELEMENT_ARRAY_BUFFER, mIndexBufferIndex); in beginDrawingStrips() 275 gl11.glBindBuffer(GL11.GL_ELEMENT_ARRAY_BUFFER, mIndexBufferIndex); in draw() 280 gl11.glBindBuffer(GL11.GL_ELEMENT_ARRAY_BUFFER, 0); in draw() 370 gl11.glBindBuffer(GL11.GL_ELEMENT_ARRAY_BUFFER, in generateHardwareBuffers() 376 gl11.glBufferData(GL11.GL_ELEMENT_ARRAY_BUFFER, indexSize, mIndexBuffer, in generateHardwareBuffers() 380 gl11.glBindBuffer(GL11.GL_ELEMENT_ARRAY_BUFFER, 0); in generateHardwareBuffers()
|
/external/deqp/framework/opengl/simplereference/ |
D | sglrContextUtil.cpp | 101 ctx.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, ndxID); in drawQuadWithVaoBuffers() 102 …ctx.bufferData(GL_ELEMENT_ARRAY_BUFFER, DE_LENGTH_OF_ARRAY(indices)*sizeof(deUint16), &indices[0],… in drawQuadWithVaoBuffers() 106 ctx.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); in drawQuadWithVaoBuffers()
|
/external/angle/samples/torus_lighting/ |
D | TorusLightingES1.cpp | 76 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in draw() 81 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); in draw()
|
D | TorusLightingES2.cpp | 101 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, mIndexBuffer); in draw() 104 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); in draw()
|
D | torus.h | 83 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, *indexBuffer); in GenerateTorus() 84 glBufferData(GL_ELEMENT_ARRAY_BUFFER, indices.size() * sizeof(GLushort), indices.data(), in GenerateTorus()
|
/external/deqp/external/openglcts/modules/glesext/geometry_shader/ |
D | esextcGeometryShaderAdjacency.cpp | 333 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_index_data_bo_id); in initTest() 334 gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, m_test_data.m_index_data_bo_size, m_test_data.m_index_data, in initTest() 336 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); in initTest() 379 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_index_data_bo_id); in iterate()
|
/external/deqp/modules/glshared/ |
D | glsMemoryStressCase.cpp | 203 GLU_CHECK_CALL(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_indexBuffer)); in TextureRenderer() 204 …GLU_CHECK_CALL(glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(s_quadIndices), s_quadIndices, GL_STAT… in TextureRenderer() 248 GLU_CHECK_CALL(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_indexBuffer)); in render() 365 GLU_CHECK_CALL(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_indexBuffer)); in BufferRenderer() 366 …GLU_CHECK_CALL(glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(s_quadIndices), s_quadIndices, GL_STAT… in BufferRenderer() 407 GLU_CHECK_CALL(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_indexBuffer)); in render()
|
/external/deqp/external/openglcts/modules/gles31/ |
D | es31cDrawIndirectTests.cpp | 2051 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, _ebo); in Run() 2052 …glBufferData(GL_ELEMENT_ARRAY_BUFFER, (GLsizeiptr)(elements.size() * sizeof(elements[0])), &elemen… in Run() 2085 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); in Cleanup() 2240 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, _ebo); in Run() 2241 …glBufferData(GL_ELEMENT_ARRAY_BUFFER, (GLsizeiptr)(elements.size() * sizeof(elements[0])), &elemen… in Run() 2291 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); in Cleanup() 2537 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, _ebo); in Run() 2538 …glBufferData(GL_ELEMENT_ARRAY_BUFFER, (GLsizeiptr)(elements.size() * sizeof(elements[0])), &elemen… in Run() 2575 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); in Cleanup() 3159 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, _ebo); in Run() [all …]
|
/external/zstd/contrib/single_file_libs/examples/ |
D | emscripten.c | 319 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, indexBuf); in main() 320 glBufferData(GL_ELEMENT_ARRAY_BUFFER, in main()
|
/external/deqp/framework/opengl/ |
D | gluDrawUtil.cpp | 379 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_object); in IndexBuffer() 380 gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, numIndices*getIndexSize(indexType), indices, usage); in IndexBuffer() 381 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); in IndexBuffer() 551 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, *indexBuffer); in drawFromBuffers() 561 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); in drawFromBuffers()
|