/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 …]
|
D | es2fBufferTestUtil.cpp | 142 case GL_ELEMENT_ARRAY_BUFFER: return "element_array"; in getBufferTargetName() 432 glBindBuffer (GL_ELEMENT_ARRAY_BUFFER, 0); in verify() 596 glBindBuffer (GL_ELEMENT_ARRAY_BUFFER, buffer); in verify()
|
D | es2fBufferObjectQueryTests.cpp | 158 GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER in test()
|
/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/swiftshader/third_party/PowerVR_SDK/Examples/Intermediate/DisplacementMap/OGLES2/ |
D | OGLES2DisplacementMap.cpp | 282 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_puiIndexVbo[i]); in LoadVbos() 283 glBufferData(GL_ELEMENT_ARRAY_BUFFER, uiSize, Mesh.sFaces.pData, GL_STATIC_DRAW); in LoadVbos() 287 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); in LoadVbos() 601 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); in RenderScene() 624 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_puiIndexVbo[i32MeshIndex]); in DrawMesh()
|
/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/autotest/client/deps/glbench/src/ |
D | trianglesetuptest.cc | 72 index_buffer = SetupVBO(GL_ELEMENT_ARRAY_BUFFER, in Run() 90 index_buffer = SetupVBO(GL_ELEMENT_ARRAY_BUFFER, in Run()
|
D | glinterfacetest.cc | 52 SetupVBO(GL_ELEMENT_ARRAY_BUFFER, sizeof(kIndices), kIndices); in SetupGLRendering()
|
D | attributefetchtest.cc | 110 index_buffer = SetupVBO(GL_ELEMENT_ARRAY_BUFFER, in Run()
|
D | varyingsandddxytest.cc | 180 index_buffer = SetupVBO(GL_ELEMENT_ARRAY_BUFFER, in Run()
|
/external/swiftshader/third_party/PowerVR_SDK/Examples/Advanced/ChameleonMan/OGLES2/ |
D | OGLES2ChameleonMan.cpp | 373 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_puiIndexVbo[i]); in LoadVbos() 374 glBufferData(GL_ELEMENT_ARRAY_BUFFER, uiSize, Mesh.sFaces.pData, GL_STATIC_DRAW); in LoadVbos() 379 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); in LoadVbos() 695 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_puiIndexVbo[Node.nIdx]); in RenderScene() 750 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); in RenderScene() 780 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_puiIndexVbo[Node.nIdx]); in DrawSkinnedMesh()
|
/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()
|
D | glsShaderPerformanceMeasurer.cpp | 187 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_indexBuffer); in init() 188 …gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, (GLsizeiptr)(indices.size()*sizeof(deUint16)), &indices[0],… in init()
|
D | glsStateChangePerfTestCases.cpp | 251 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, buffer); in requireIndexBuffers() 253 …gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, (GLsizeiptr)(indices.size() * sizeof(GLushort)), &(indices[… in requireIndexBuffers() 255 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); in requireIndexBuffers()
|
D | glsBufferTestUtil.cpp | 142 case GL_ELEMENT_ARRAY_BUFFER: return "element_array"; in getBufferTargetName() 608 glBindBuffer (GL_ELEMENT_ARRAY_BUFFER, m_indexBuf); in verify() 609 …glBufferData (GL_ELEMENT_ARRAY_BUFFER, (glw::GLsizeiptr)(indices.size()*sizeof(indices[0])), &i… in verify() 786 glBindBuffer (GL_ELEMENT_ARRAY_BUFFER, buffer); in verify()
|
D | glsLongStressCase.cpp | 109 GL_ELEMENT_ARRAY_BUFFER, 122 GL_ELEMENT_ARRAY_BUFFER 420 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); in render() 1356 …bilities.randomBufferUploadTarget ? randomBufferTarget(m_rnd, m_isGLES3) : GL_ELEMENT_ARRAY_BUFFER; in iterate() 1464 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); in iterate() 1469 m_buffers->get(indexBufferName).bind(GL_ELEMENT_ARRAY_BUFFER); in iterate()
|
/external/swiftshader/third_party/PowerVR_SDK/Examples/Intermediate/ColourGrading/OGLES3/ |
D | OGLES3ColourGrading.cpp | 359 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_puiMaskIBO[i]); in LoadVbos() 360 glBufferData(GL_ELEMENT_ARRAY_BUFFER, uiSize, Mesh.sFaces.pData, GL_STATIC_DRAW); in LoadVbos() 447 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); in LoadVbos() 832 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_puiMaskIBO[i32MeshIndex]); in DrawMesh() 853 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); in DrawMesh()
|
/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()
|
/external/deqp/modules/gles31/functional/ |
D | es31fNegativeVertexArrayApiTests.cpp | 711 ctx.glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, buf); in draw_elements_base_vertex_invalid_map() 712 ctx.glBufferData(GL_ELEMENT_ARRAY_BUFFER, 10, 0, GL_STATIC_DRAW); in draw_elements_base_vertex_invalid_map() 713 ctx.glMapBufferRange(GL_ELEMENT_ARRAY_BUFFER, 0, 5, GL_MAP_READ_BIT); in draw_elements_base_vertex_invalid_map() 717 ctx.glUnmapBuffer(GL_ELEMENT_ARRAY_BUFFER); in draw_elements_base_vertex_invalid_map() 1095 ctx.glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, buf); in draw_elements_instanced_base_vertex_invalid_map() 1096 ctx.glBufferData(GL_ELEMENT_ARRAY_BUFFER, 10, 0, GL_STATIC_DRAW); in draw_elements_instanced_base_vertex_invalid_map() 1097 ctx.glMapBufferRange(GL_ELEMENT_ARRAY_BUFFER, 0, 5, GL_MAP_READ_BIT); in draw_elements_instanced_base_vertex_invalid_map() 1101 ctx.glUnmapBuffer(GL_ELEMENT_ARRAY_BUFFER); in draw_elements_instanced_base_vertex_invalid_map() 1381 ctx.glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, buf); in draw_range_elements_base_vertex_invalid_map() 1382 ctx.glBufferData(GL_ELEMENT_ARRAY_BUFFER, 10, 0, GL_STATIC_DRAW); in draw_range_elements_base_vertex_invalid_map() [all …]
|
D | es31fDrawTests.cpp | 879 ctx.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, indexBuf); in renderTo() 880 ctx.bufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(indices), indices, GL_STATIC_DRAW); in renderTo() 1487 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_indexBufferID); in createDrawIndices() 1488 …gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, (int)(buffer.size() * sizeof(deUint32)), &buffer[0], GL_STA… in createDrawIndices() 1514 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_indexBufferID); in renderTo() 2346 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, indexBuf); in iterate() 2347 gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(indices), indices, GL_STATIC_DRAW); in iterate() 2525 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, indexBufferID); in iterate() 2526 gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(indices), indices, GL_STATIC_DRAW); in iterate() 2650 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, indexBufferID); in iterate() [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fBufferWriteTests.cpp | 442 GL_ELEMENT_ARRAY_BUFFER, in iterate() 564 GL_ELEMENT_ARRAY_BUFFER, in init() 631 << DataStoreSpec(GL_ELEMENT_ARRAY_BUFFER, GL_STATIC_DRAW, 504) in init() 732 …IFY_CASE(low_1, "Low part of buffer specified with single call", GL_ELEMENT_ARRAY_BUFFER, GL_DYNAM… in init() 752 …CASE(middle_2, "Middle part of buffer specified with two calls", GL_ELEMENT_ARRAY_BUFFER, GL_STATI… in init()
|
/external/deqp/modules/gles3/performance/ |
D | es3pBufferDataUploadTests.cpp | 4256 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_indexBufferID); in uploadScene() 4257 …gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, (int)(indexData.size() * sizeof(deUint32)), &indexData[0], … in uploadScene() 4357 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, *indexBuffer); in runSample() 4358 …gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, (int)(indexData.size() * sizeof(deUint32)), &indexData[0], … in runSample() 4492 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, *indexBuffer); in runSample() 4493 …gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, (int)(indexData.size() * sizeof(deUint32)), &indexData[0], … in runSample() 4843 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, *indexBuffer); in runSample() 4864 …gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, (glw::GLsizeiptr)(indexData.size() * sizeof(deUint32)), &in… in runSample() 4879 …gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, (glw::GLsizeiptr)(indexData.size() * sizeof(deUint32)), &in… in runSample() 4923 target = GL_ELEMENT_ARRAY_BUFFER; in runSample() [all …]
|
/external/deqp/modules/gles3/stress/ |
D | es3sDrawTests.cpp | 123 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_indexBuffer); in init() 124 …gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, int(m_numIndices * sizeof(deUint32)), &indices[0], GL_STATI… in init() 196 gl.glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_indexBuffer); in iterate()
|
/external/deqp/modules/egl/ |
D | teglGLES2SharedRenderingPerfTests.cpp | 249 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, buffer); in createIndexBuffer() 251 …gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, (GLsizei)(data.size() * sizeof(deUint16)), &(data[0]), GL_S… in createIndexBuffer() 253 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); in createIndexBuffer() 690 m_gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_indexBuffer); in render()
|