Home
last modified time | relevance | path

Searched refs:glBindBuffer (Results 1 – 25 of 151) sorted by relevance

1234567

/external/deqp/external/openglcts/modules/gles31/
Des31cShaderAtomicCountersTests.cpp192 glBindBuffer(GL_ARRAY_BUFFER, *vbo); in CreateQuad()
194 glBindBuffer(GL_ARRAY_BUFFER, 0); in CreateQuad()
204 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, *ebo); in CreateQuad()
206 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); in CreateQuad()
211 glBindBuffer(GL_ARRAY_BUFFER, *vbo); in CreateQuad()
216 glBindBuffer(GL_ARRAY_BUFFER, 0); in CreateQuad()
223 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, *ebo); in CreateQuad()
238 glBindBuffer(GL_ARRAY_BUFFER, *vbo); in CreateTriangle()
240 glBindBuffer(GL_ARRAY_BUFFER, 0); in CreateTriangle()
250 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, *ebo); in CreateTriangle()
[all …]
Des31cVertexAttribBindingTests.cpp374 glBindBuffer(GL_ARRAY_BUFFER, m_vbo); in Run()
376 glBindBuffer(GL_ARRAY_BUFFER, 0); in Run()
560 glBindBuffer(GL_ARRAY_BUFFER, m_vbo); in Run()
564 glBindBuffer(GL_ARRAY_BUFFER, 0); in Run()
606 glBindBuffer(GL_ARRAY_BUFFER, m_vbo); in Run()
610 glBindBuffer(GL_ARRAY_BUFFER, 0); in Run()
668 glBindBuffer(GL_ARRAY_BUFFER, m_vbo); in Run()
684 glBindBuffer(GL_ARRAY_BUFFER, 0); in Run()
737 glBindBuffer(GL_ARRAY_BUFFER, m_vbo[0]); in Run()
769 glBindBuffer(GL_ARRAY_BUFFER, m_vbo[1]); in Run()
[all …]
Des31cDrawIndirectTests.cpp907 glBindBuffer(GL_DRAW_INDIRECT_BUFFER, 0); in Run()
939 glBindBuffer(GL_DRAW_INDIRECT_BUFFER, _buffer); in Run()
990 glBindBuffer(GL_DRAW_INDIRECT_BUFFER, _buffers[i]); in Run()
1033 glBindBuffer(GL_DRAW_INDIRECT_BUFFER, _buffer); in Run()
1079 glBindBuffer(GL_DRAW_INDIRECT_BUFFER, _buffers[1]); in Run()
1091 glBindBuffer(GL_DRAW_INDIRECT_BUFFER, _buffers[2]); in Run()
1100 glBindBuffer(GL_DRAW_INDIRECT_BUFFER, _buffers[3]); in Run()
1104 glBindBuffer(GL_DRAW_INDIRECT_BUFFER, _buffers[4]); in Run()
1111 glBindBuffer(GL_DRAW_INDIRECT_BUFFER, _buffers[5]); in Run()
1123 glBindBuffer(GL_DRAW_INDIRECT_BUFFER, _buffers[6]); in Run()
[all …]
Des31cComputeShaderTests.cpp533 glBindBuffer(GL_SHADER_STORAGE_BUFFER, 0); in Setup()
544 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffer); in Run()
553 glBindBuffer(GL_SHADER_STORAGE_BUFFER, 0); in Run()
639 glBindBuffer(GL_SHADER_STORAGE_BUFFER, 0); in RunIteration()
647 glBindBuffer(GL_DISPATCH_INDIRECT_BUFFER, m_dispatch_buffer); in RunIteration()
657 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_storage_buffer); in RunIteration()
680 glBindBuffer(GL_SHADER_STORAGE_BUFFER, 0); in RunIteration()
816 glBindBuffer(GL_SHADER_STORAGE_BUFFER, 0); in RunIteration()
830 glBindBuffer(GL_UNIFORM_BUFFER, 0); in RunIteration()
837 glBindBuffer(GL_DISPATCH_INDIRECT_BUFFER, m_dispatch_buffer); in RunIteration()
[all …]
Des31cShaderStorageBufferObjectTests.cpp513 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffer); in Run()
515 glBindBuffer(GL_SHADER_STORAGE_BUFFER, 0); in Run()
564 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffer); in Run()
982 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffer[0]); in RunIteration()
1059 glBindBuffer(GL_SHADER_STORAGE_BUFFER, 0); in Run()
1236 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffer[1]); in Run()
2238 glBindBuffer(GL_ARRAY_BUFFER, m_vertex_buffer); in Run()
2240 glBindBuffer(GL_ARRAY_BUFFER, 0); in Run()
2245 glBindBuffer(GL_ARRAY_BUFFER, m_vertex_buffer); in Run()
2247 glBindBuffer(GL_ARRAY_BUFFER, 0); in Run()
[all …]
/external/deqp/external/openglcts/modules/gl/
Dgl4cShaderAtomicCountersTests.cpp221 glBindBuffer(GL_ARRAY_BUFFER, *vbo); in CreateQuad()
223 glBindBuffer(GL_ARRAY_BUFFER, 0); in CreateQuad()
233 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, *ebo); in CreateQuad()
235 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); in CreateQuad()
240 glBindBuffer(GL_ARRAY_BUFFER, *vbo); in CreateQuad()
249 glBindBuffer(GL_ARRAY_BUFFER, 0); in CreateQuad()
256 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, *ebo); in CreateQuad()
271 glBindBuffer(GL_ARRAY_BUFFER, *vbo); in CreateTriangle()
273 glBindBuffer(GL_ARRAY_BUFFER, 0); in CreateTriangle()
283 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, *ebo); in CreateTriangle()
[all …]
Dgl4cVertexAttribBindingTests.cpp331 glBindBuffer(GL_ARRAY_BUFFER, m_vbo); in Run()
333 glBindBuffer(GL_ARRAY_BUFFER, 0); in Run()
497 glBindBuffer(GL_ARRAY_BUFFER, m_vbo); in Run()
501 glBindBuffer(GL_ARRAY_BUFFER, 0); in Run()
544 glBindBuffer(GL_ARRAY_BUFFER, m_vbo); in Run()
548 glBindBuffer(GL_ARRAY_BUFFER, 0); in Run()
606 glBindBuffer(GL_ARRAY_BUFFER, m_vbo); in Run()
620 glBindBuffer(GL_ARRAY_BUFFER, 0); in Run()
673 glBindBuffer(GL_ARRAY_BUFFER, m_vbo[0]); in Run()
699 glBindBuffer(GL_ARRAY_BUFFER, m_vbo[1]); in Run()
[all …]
Dgl4cComputeShaderTests.cpp524 glBindBuffer(GL_SHADER_STORAGE_BUFFER, 0); in Setup()
535 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffer); in Run()
544 glBindBuffer(GL_SHADER_STORAGE_BUFFER, 0); in Run()
630 glBindBuffer(GL_SHADER_STORAGE_BUFFER, 0); in RunIteration()
638 glBindBuffer(GL_DISPATCH_INDIRECT_BUFFER, m_dispatch_buffer); in RunIteration()
648 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_storage_buffer); in RunIteration()
672 glBindBuffer(GL_SHADER_STORAGE_BUFFER, 0); in RunIteration()
817 glBindBuffer(GL_SHADER_STORAGE_BUFFER, 0); in RunIteration()
831 glBindBuffer(GL_UNIFORM_BUFFER, 0); in RunIteration()
838 glBindBuffer(GL_DISPATCH_INDIRECT_BUFFER, m_dispatch_buffer); in RunIteration()
[all …]
Dgl4cShaderStorageBufferObjectTests.cpp669 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffer); in Run()
671 glBindBuffer(GL_SHADER_STORAGE_BUFFER, 0); in Run()
718 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffer); in Run()
1305 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffer[1]); in Run()
2318 glBindBuffer(GL_ARRAY_BUFFER, m_vertex_buffer); in Run()
2320 glBindBuffer(GL_ARRAY_BUFFER, 0); in Run()
2325 glBindBuffer(GL_ARRAY_BUFFER, m_vertex_buffer); in Run()
2327 glBindBuffer(GL_ARRAY_BUFFER, 0); in Run()
2342 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_storage_buffer[ii * 2 + 0]); in Run()
2357 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_storage_buffer[ii * 2 + 1]); in Run()
[all …]
Dgl4cES31CompatibilityShaderStorageBufferObjectTests.cpp517 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffer); in Run()
519 glBindBuffer(GL_SHADER_STORAGE_BUFFER, 0); in Run()
568 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffer); in Run()
986 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffer[0]); in RunIteration()
1063 glBindBuffer(GL_SHADER_STORAGE_BUFFER, 0); in Run()
1241 glBindBuffer(GL_SHADER_STORAGE_BUFFER, m_buffer[1]); in Run()
2243 glBindBuffer(GL_ARRAY_BUFFER, m_vertex_buffer); in Run()
2245 glBindBuffer(GL_ARRAY_BUFFER, 0); in Run()
2250 glBindBuffer(GL_ARRAY_BUFFER, m_vertex_buffer); in Run()
2252 glBindBuffer(GL_ARRAY_BUFFER, 0); in Run()
[all …]
/external/replicaisland/src/com/replica/replicaisland/
DGrid.java229 gl11.glBindBuffer(GL11.GL_ARRAY_BUFFER, mVertBufferIndex); in beginDrawingStrips()
232 gl11.glBindBuffer(GL11.GL_ARRAY_BUFFER, mTextureCoordBufferIndex); in beginDrawingStrips()
235 gl11.glBindBuffer(GL11.GL_ELEMENT_ARRAY_BUFFER, mIndexBufferIndex); in beginDrawingStrips()
269 gl11.glBindBuffer(GL11.GL_ARRAY_BUFFER, mVertBufferIndex); in draw()
272 gl11.glBindBuffer(GL11.GL_ARRAY_BUFFER, mTextureCoordBufferIndex); in draw()
275 gl11.glBindBuffer(GL11.GL_ELEMENT_ARRAY_BUFFER, mIndexBufferIndex); in draw()
279 gl11.glBindBuffer(GL11.GL_ARRAY_BUFFER, 0); in draw()
280 gl11.glBindBuffer(GL11.GL_ELEMENT_ARRAY_BUFFER, 0); in draw()
345 gl11.glBindBuffer(GL11.GL_ARRAY_BUFFER, mVertBufferIndex); in generateHardwareBuffers()
356 gl11.glBindBuffer(GL11.GL_ARRAY_BUFFER, in generateHardwareBuffers()
[all …]
/external/autotest/client/deps/glbench/src/
Dwindowmanagercompositingtest.cc140 glBindBuffer(GL_ARRAY_BUFFER, vertex_buffer); in BasicTextureShaderProgram()
146 glBindBuffer(GL_ARRAY_BUFFER, texture_buffer); in BasicTextureShaderProgram()
190 glBindBuffer(GL_ARRAY_BUFFER, vertex_buffer); in DoubleTextureBlendShaderProgram()
196 glBindBuffer(GL_ARRAY_BUFFER, texture_buffer_0); in DoubleTextureBlendShaderProgram()
201 glBindBuffer(GL_ARRAY_BUFFER, texture_buffer_1); in DoubleTextureBlendShaderProgram()
256 glBindBuffer(GL_ARRAY_BUFFER, vertex_buffer); in TripleTextureBlendShaderProgram()
262 glBindBuffer(GL_ARRAY_BUFFER, texture_buffer_0); in TripleTextureBlendShaderProgram()
267 glBindBuffer(GL_ARRAY_BUFFER, texture_buffer_1); in TripleTextureBlendShaderProgram()
272 glBindBuffer(GL_ARRAY_BUFFER, texture_buffer_2); in TripleTextureBlendShaderProgram()
/external/swiftshader/third_party/PowerVR_SDK/Examples/Intermediate/ColourGrading/OGLES3/
DOGLES3ColourGrading.cpp350 glBindBuffer(GL_ARRAY_BUFFER, m_puiMaskVBO[i]); in LoadVbos()
359 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_puiMaskIBO[i]); in LoadVbos()
406 glBindBuffer(GL_ARRAY_BUFFER, m_ui32FullScreenRectVBO); in LoadVbos()
440 glBindBuffer(GL_ARRAY_BUFFER, m_ui32BackgroundVBO); in LoadVbos()
446 glBindBuffer(GL_ARRAY_BUFFER, 0); in LoadVbos()
447 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); in LoadVbos()
706 glBindBuffer(GL_ARRAY_BUFFER, m_ui32BackgroundVBO); in RenderScene()
756 glBindBuffer(GL_ARRAY_BUFFER, 0); in RenderScene()
778 glBindBuffer(GL_ARRAY_BUFFER, m_ui32FullScreenRectVBO); in RenderScene()
809 glBindBuffer(GL_ARRAY_BUFFER, 0); in RenderScene()
[all …]
/external/swiftshader/third_party/PowerVR_SDK/Examples/Beginner/04_BasicTnL/OGLES/
DOGLESBasicTnL.cpp164 glBindBuffer(GL_ARRAY_BUFFER, m_ui32Vbo); in InitView()
170 glBindBuffer(GL_ARRAY_BUFFER, 0); in InitView()
228 glBindBuffer(GL_ARRAY_BUFFER, m_ui32Vbo); in RenderScene()
245 glBindBuffer(GL_ARRAY_BUFFER, 0); in RenderScene()
/external/swiftshader/third_party/PowerVR_SDK/Examples/Intermediate/DisplacementMap/OGLES2/
DOGLES2DisplacementMap.cpp273 glBindBuffer(GL_ARRAY_BUFFER, m_puiVbo[i]); in LoadVbos()
282 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_puiIndexVbo[i]); in LoadVbos()
286 glBindBuffer(GL_ARRAY_BUFFER, 0); in LoadVbos()
287 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); in LoadVbos()
600 glBindBuffer(GL_ARRAY_BUFFER, 0); in RenderScene()
601 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); in RenderScene()
622 glBindBuffer(GL_ARRAY_BUFFER, m_puiVbo[i32MeshIndex]); in DrawMesh()
624 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_puiIndexVbo[i32MeshIndex]); in DrawMesh()
/external/deqp/modules/glshared/
DglsMemoryStressCase.cpp199 GLU_CHECK_CALL(glBindBuffer(GL_ARRAY_BUFFER, m_coordBuffer)); in TextureRenderer()
203 GLU_CHECK_CALL(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_indexBuffer)); in TextureRenderer()
236 GLU_CHECK_CALL(glBindBuffer(GL_ARRAY_BUFFER, m_coordBuffer)); in render()
248 GLU_CHECK_CALL(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_indexBuffer)); in render()
361 GLU_CHECK_CALL(glBindBuffer(GL_ARRAY_BUFFER, m_coordBuffer)); in BufferRenderer()
365 GLU_CHECK_CALL(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_indexBuffer)); in BufferRenderer()
400 GLU_CHECK_CALL(glBindBuffer(GL_ARRAY_BUFFER, m_coordBuffer)); in render()
403 GLU_CHECK_CALL(glBindBuffer(GL_ARRAY_BUFFER, buffer)); in render()
405 GLU_CHECK_CALL(glBindBuffer(GL_ARRAY_BUFFER, 0)); in render()
407 GLU_CHECK_CALL(glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_indexBuffer)); in render()
[all …]
DglsBufferTestUtil.cpp309 glBindBuffer(target, buffer); in write()
311 glBindBuffer(target, 0); in write()
324 glBindBuffer(target, buffer); in write()
332 glBindBuffer(target, 0); in write()
400 glBindBuffer(target, buffer); in verify()
410 glBindBuffer(target, 0); in verify()
593 glBindBuffer (GL_PIXEL_PACK_BUFFER, 0); in verify()
602 glBindBuffer (GL_ARRAY_BUFFER, m_positionBuf); in verify()
608 glBindBuffer (GL_ELEMENT_ARRAY_BUFFER, m_indexBuf); in verify()
612 glBindBuffer (GL_ARRAY_BUFFER, buffer); in verify()
[all …]
/external/deqp/modules/gles3/functional/
Des3fBufferCopyTests.cpp98 glBindBuffer(m_srcTarget, srcBuf); in iterate()
104 glBindBuffer(m_dstTarget, dstBuf); in iterate()
115 glBindBuffer(m_srcTarget, srcBuf); in iterate()
116 glBindBuffer(m_dstTarget, dstBuf); in iterate()
178 glBindBuffer(m_srcTarget, buf); in iterate()
202 glBindBuffer(m_srcTarget, buf); in iterate()
209 glBindBuffer(m_dstTarget, buf); in iterate()
Des3fNegativeBufferApiTests.cpp58 glBindBuffer(-1, 0); in init()
80 glBindBuffer(GL_ARRAY_BUFFER, buffer); in init()
98 glBindBuffer(GL_ARRAY_BUFFER, 0); in init()
109 glBindBuffer(GL_ARRAY_BUFFER, buffer); in init()
118 glBindBuffer(GL_ARRAY_BUFFER, 0); in init()
124 glBindBuffer(GL_ARRAY_BUFFER, buffer); in init()
137 glBindBuffer(GL_ARRAY_BUFFER, buffer); in init()
313 glBindBuffer(GL_UNIFORM_BUFFER, bufU); in init()
318 glBindBuffer(GL_TRANSFORM_FEEDBACK_BUFFER, bufTF); in init()
374 glBindBuffer(GL_UNIFORM_BUFFER, bufU); in init()
[all …]
Des3fIndexedStateQueryTests.cpp157 glBindBuffer(GL_TRANSFORM_FEEDBACK_BUFFER, feedbackBuffers[ndx]); in testTransformFeedback()
202 glBindBuffer(GL_TRANSFORM_FEEDBACK_BUFFER, feedbackBuffers[0]); in testTransformFeedback()
207 glBindBuffer(GL_TRANSFORM_FEEDBACK_BUFFER, feedbackBuffers[1]); in testTransformFeedback()
322 glBindBuffer(GL_UNIFORM_BUFFER, buffers[ndx]); in testUniformBuffers()
373 glBindBuffer(GL_UNIFORM_BUFFER, buffers[0]); in testUniformBuffers()
378 glBindBuffer(GL_UNIFORM_BUFFER, buffers[1]); in testUniformBuffers()
Des3fBufferMapTests.cpp77 glBindBuffer(m_bufferTarget, buf); in iterate()
81 glBindBuffer(m_bufferTarget, buf); in iterate()
130 glBindBuffer(m_bufferTarget, buf); in iterate()
181 glBindBuffer(m_bufferTarget, buf); in iterate()
242 glBindBuffer(m_bufferTarget, buf); in iterate()
301 glBindBuffer(m_bufferTarget, buf); in iterate()
362 glBindBuffer(m_bufferTarget, buf); in iterate()
434 glBindBuffer(m_bufferTarget, buf); in iterate()
442 glBindBuffer(m_bufferTarget, buf); in iterate()
499 glBindBuffer(m_bufferTarget, buf); in iterate()
[all …]
/external/swiftshader/third_party/PowerVR_SDK/Examples/Advanced/ChameleonMan/OGLES2/
DOGLES2ChameleonMan.cpp363 glBindBuffer(GL_ARRAY_BUFFER, m_puiVbo[i]); in LoadVbos()
373 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_puiIndexVbo[i]); in LoadVbos()
378 glBindBuffer(GL_ARRAY_BUFFER, 0); in LoadVbos()
379 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); in LoadVbos()
692 glBindBuffer(GL_ARRAY_BUFFER, m_puiVbo[Node.nIdx]); in RenderScene()
695 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_puiIndexVbo[Node.nIdx]); in RenderScene()
749 glBindBuffer(GL_ARRAY_BUFFER, 0); in RenderScene()
750 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); in RenderScene()
778 glBindBuffer(GL_ARRAY_BUFFER, m_puiVbo[Node.nIdx]); in DrawSkinnedMesh()
780 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_puiIndexVbo[Node.nIdx]); in DrawSkinnedMesh()
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/
DPVRTBackground.cpp203 glBindBuffer(GL_ARRAY_BUFFER, m_pAPI->m_ui32VertexBufferObject); in Init()
207 glBindBuffer(GL_ARRAY_BUFFER, 0); in Init()
237 glBindBuffer(GL_ARRAY_BUFFER, m_pAPI->m_ui32VertexBufferObject); in Draw()
252 glBindBuffer(GL_ARRAY_BUFFER, 0); in Draw()
/external/deqp/modules/gles2/functional/
Des2fNegativeBufferApiTests.cpp56 glBindBuffer(-1, 0); in init()
78 glBindBuffer(GL_ARRAY_BUFFER, buffer); in init()
96 glBindBuffer(GL_ARRAY_BUFFER, 0); in init()
107 glBindBuffer(GL_ARRAY_BUFFER, buffer); in init()
116 glBindBuffer(GL_ARRAY_BUFFER, 0); in init()
127 glBindBuffer(GL_ARRAY_BUFFER, buffer); in init()
/external/deqp/modules/gles31/functional/
Des31fNegativeVertexArrayApiTests.cpp167 ctx.glBindBuffer(GL_ARRAY_BUFFER, 0); in vertex_attrib_pointer()
211 ctx.glBindBuffer(GL_ARRAY_BUFFER, 0); in vertex_attrib_i_pointer()
232 ctx.glBindBuffer(GL_ARRAY_BUFFER, 0); in vertex_attrib_format()
240 ctx.glBindBuffer(GL_ARRAY_BUFFER, 0); in vertex_attrib_format()
248 ctx.glBindBuffer(GL_ARRAY_BUFFER, 0); in vertex_attrib_format()
256 ctx.glBindBuffer(GL_ARRAY_BUFFER, 0); in vertex_attrib_format()
264 ctx.glBindBuffer(GL_ARRAY_BUFFER, 0); in vertex_attrib_format()
272 ctx.glBindBuffer(GL_ARRAY_BUFFER, 0); in vertex_attrib_format()
280 ctx.glBindBuffer(GL_ARRAY_BUFFER, 0); in vertex_attrib_format()
295 ctx.glBindBuffer(GL_ARRAY_BUFFER, 0); in vertex_attrib_i_format()
[all …]

1234567