Home
last modified time | relevance | path

Searched refs:GL_ELEMENT_ARRAY_BUFFER (Results 1 – 25 of 103) sorted by relevance

12345

/external/deqp/modules/gles2/performance/
Des2pDrawCallBatchingTests.cpp433 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/
Des2fBufferWriteTests.cpp440 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 …]
Des2fBufferTestUtil.cpp142 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()
/external/replicaisland/src/com/replica/replicaisland/
DGrid.java235 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/
DOGLES2DisplacementMap.cpp282 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/
DsglrContextUtil.cpp101 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/deqp/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderAdjacency.cpp333 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/autotest/client/deps/glbench/src/
Dtrianglesetuptest.cc72 index_buffer = SetupVBO(GL_ELEMENT_ARRAY_BUFFER, in Run()
90 index_buffer = SetupVBO(GL_ELEMENT_ARRAY_BUFFER, in Run()
Dglinterfacetest.cc52 SetupVBO(GL_ELEMENT_ARRAY_BUFFER, sizeof(kIndices), kIndices); in SetupGLRendering()
Dattributefetchtest.cc110 index_buffer = SetupVBO(GL_ELEMENT_ARRAY_BUFFER, in Run()
Dvaryingsandddxytest.cc180 index_buffer = SetupVBO(GL_ELEMENT_ARRAY_BUFFER, in Run()
/external/swiftshader/third_party/PowerVR_SDK/Examples/Advanced/ChameleonMan/OGLES2/
DOGLES2ChameleonMan.cpp373 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/external/openglcts/modules/gles31/
Des31cDrawIndirectTests.cpp2013 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, _ebo); in Run()
2014 …glBufferData(GL_ELEMENT_ARRAY_BUFFER, (GLsizeiptr)(elements.size() * sizeof(elements[0])), &elemen… in Run()
2047 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); in Cleanup()
2202 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, _ebo); in Run()
2203 …glBufferData(GL_ELEMENT_ARRAY_BUFFER, (GLsizeiptr)(elements.size() * sizeof(elements[0])), &elemen… in Run()
2253 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); in Cleanup()
2499 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, _ebo); in Run()
2500 …glBufferData(GL_ELEMENT_ARRAY_BUFFER, (GLsizeiptr)(elements.size() * sizeof(elements[0])), &elemen… in Run()
2537 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); in Cleanup()
3121 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, _ebo); in Run()
[all …]
Des31cVertexAttribBindingTests.cpp2520 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_ebo[0]); in Run()
2524 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(data), data, GL_STATIC_DRAW); in Run()
2526 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_ebo[1]); in Run()
2530 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(data), data, GL_STATIC_DRAW); in Run()
2532 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); in Run()
2563 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_ebo[1]); in Run()
2584 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_ebo[0]); in Run()
2598 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_ebo[1]); in Run()
2615 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_ebo[0]); in Run()
2636 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_ebo[0]); in Run()
/external/deqp/modules/glshared/
DglsMemoryStressCase.cpp203 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()
DglsShaderPerformanceMeasurer.cpp187 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()
DglsStateChangePerfTestCases.cpp251 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()
DglsBufferTestUtil.cpp142 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()
/external/swiftshader/third_party/PowerVR_SDK/Examples/Intermediate/ColourGrading/OGLES3/
DOGLES3ColourGrading.cpp359 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/
DgluDrawUtil.cpp379 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/gles3/functional/
Des3fBufferWriteTests.cpp442 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/external/openglcts/modules/gl/
Dgl4cVertexAttribBindingTests.cpp3057 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_ebo[0]); in Run()
3060 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(data), data, GL_STATIC_DRAW); in Run()
3062 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_ebo[1]); in Run()
3065 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(data), data, GL_STATIC_DRAW); in Run()
3067 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); in Run()
3099 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_ebo[1]); in Run()
3110 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_ebo[0]); in Run()
3125 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_ebo[1]); in Run()
3142 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_ebo[0]); in Run()
3163 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_ebo[0]); in Run()
[all …]
/external/deqp/modules/gles3/performance/
Des3pBufferDataUploadTests.cpp4256 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/gles31/functional/
Des31fDrawTests.cpp879 ctx.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, indexBuf); in renderTo()
880 ctx.bufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(indices), indices, GL_STATIC_DRAW); in renderTo()
1488 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_indexBufferID); in createDrawIndices()
1489 …gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, (int)(buffer.size() * sizeof(deUint32)), &buffer[0], GL_STA… in createDrawIndices()
1515 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_indexBufferID); in renderTo()
2347 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, indexBuf); in iterate()
2348 gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(indices), indices, GL_STATIC_DRAW); in iterate()
2526 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, indexBufferID); in iterate()
2527 gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(indices), indices, GL_STATIC_DRAW); in iterate()
2651 gl.bindBuffer(GL_ELEMENT_ARRAY_BUFFER, indexBufferID); in iterate()
[all …]
/external/deqp/modules/gles3/stress/
Des3sDrawTests.cpp123 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()

12345