Home
last modified time | relevance | path

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

123456

/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()
Dvaryingsandddxytest.cc129 glBindBuffer(GL_ARRAY_BUFFER, vertex_buffer); in VaryingsShaderProgram()
157 glBindBuffer(GL_ARRAY_BUFFER, vertex_buffer); in DdxDdyShaderProgram()
Dmain.h24 F(glBindBuffer, PFNGLBINDBUFFERPROC) \
54 F(glBindBuffer, PFNGLBINDBUFFERPROC) \
/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 …]
Des3fNegativeVertexArrayApiTests.cpp162 glBindBuffer(GL_ARRAY_BUFFER, 0); in init()
205 glBindBuffer(GL_ARRAY_BUFFER, 0); in init()
391 glBindBuffer (GL_TRANSFORM_FEEDBACK_BUFFER, buf); in init()
494 glBindBuffer (GL_TRANSFORM_FEEDBACK_BUFFER, buf); in init()
661 glBindBuffer (GL_TRANSFORM_FEEDBACK_BUFFER, buf); in init()
772 glBindBuffer (GL_TRANSFORM_FEEDBACK_BUFFER, buf); in init()
850 glBindBuffer (GL_TRANSFORM_FEEDBACK_BUFFER, buf); in init()
967 glBindBuffer (GL_TRANSFORM_FEEDBACK_BUFFER, buf); in init()
Des3fNegativeStateApiTests.cpp792 glBindBuffer(GL_ARRAY_BUFFER, buf); in init()
804 glBindBuffer(GL_ARRAY_BUFFER, 0); in init()
816 glBindBuffer(GL_ARRAY_BUFFER, buf); in init()
828 glBindBuffer(GL_ARRAY_BUFFER, 0); in init()
840 glBindBuffer(GL_ARRAY_BUFFER, buf); in init()
850 glBindBuffer(GL_ARRAY_BUFFER, 0); in init()
1086 glBindBuffer (GL_ARRAY_BUFFER, buffer); in init()
1090 glBindBuffer (GL_ARRAY_BUFFER, 0); in init()
/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/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/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 …]
Des31fNegativeBufferApiTests.cpp48 ctx.glBindBuffer(-1, 0); in bind_buffer()
73 ctx.glBindBuffer(GL_ARRAY_BUFFER, buffer); in buffer_data()
91 ctx.glBindBuffer(GL_ARRAY_BUFFER, 0); in buffer_data()
103 ctx.glBindBuffer(GL_ARRAY_BUFFER, buffer); in buffer_sub_data()
112 ctx.glBindBuffer(GL_ARRAY_BUFFER, 0); in buffer_sub_data()
118 ctx.glBindBuffer(GL_ARRAY_BUFFER, buffer); in buffer_sub_data()
132 ctx.glBindBuffer(GL_ARRAY_BUFFER, buffer); in buffer_sub_data_size_offset()
375 ctx.glBindBuffer(GL_UNIFORM_BUFFER, bufU); in bind_buffer_range()
379 ctx.glBindBuffer(GL_TRANSFORM_FEEDBACK_BUFFER, bufTF); in bind_buffer_range()
383 ctx.glBindBuffer(GL_ATOMIC_COUNTER_BUFFER, bufAC); in bind_buffer_range()
[all …]
/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()
Des2fBufferTestUtil.cpp432 glBindBuffer (GL_ELEMENT_ARRAY_BUFFER, 0); in verify()
433 glBindBuffer (GL_ARRAY_BUFFER, 0); in verify()
442 glBindBuffer (GL_ARRAY_BUFFER, buffer); in verify()
595 glBindBuffer (GL_ARRAY_BUFFER, 0); in verify()
596 glBindBuffer (GL_ELEMENT_ARRAY_BUFFER, buffer); in verify()
/external/autotest/client/site_tests/graphics_SanAngeles/src/
Dimportgl.h61 FNDEF(void, glBindBuffer, (GLenum target, GLuint buffer));
112 #define glBindBuffer FNPTR(glBindBuffer) macro
Dimportvbo.h34 #define glBindBuffer FP_glBindBufferARB macro
Dimportgl.c55 IMPORT_FUNC_GL(glBindBuffer); in importGLInit()
/external/deqp/modules/gles31/stress/
Des31sDrawTests.cpp203 gl.glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_indexBufferID); in iterate()
214 gl.glBindBuffer(GL_ARRAY_BUFFER, m_dataBufferID); in iterate()
226 gl.glBindBuffer(GL_ARRAY_BUFFER, m_colorBufferID); in iterate()
253 gl.glBindBuffer(GL_DRAW_INDIRECT_BUFFER, m_cmdBufferID); in iterate()
277 gl.glBindBuffer(GL_DRAW_INDIRECT_BUFFER, m_cmdBufferID); in iterate()

123456