Home
last modified time | relevance | path

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

1234

/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()
Des2fBufferObjectQueryTests.cpp158 GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER in test()
/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/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/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()
DglsLongStressCase.cpp109 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/
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/gles31/functional/
Des31fNegativeVertexArrayApiTests.cpp711 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 …]
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()
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/
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/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/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()
/external/deqp/modules/egl/
DteglGLES2SharedRenderingPerfTests.cpp249 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()

1234