/external/deqp/modules/gles3/functional/ |
D | es3fIndexedStateQueryTests.cpp | 401 glBindBuffer(GL_UNIFORM_BUFFER, buffers[ndx]); in testUniformBuffers() 402 glBufferData(GL_UNIFORM_BUFFER, 32, DE_NULL, GL_DYNAMIC_DRAW); in testUniformBuffers() 403 glBindBufferBase(GL_UNIFORM_BUFFER, uniformIndices[ndx], buffers[ndx]); in testUniformBuffers() 452 glBindBuffer(GL_UNIFORM_BUFFER, buffers[0]); in testUniformBuffers() 453 glBufferData(GL_UNIFORM_BUFFER, 32, DE_NULL, GL_DYNAMIC_DRAW); in testUniformBuffers() 454 glBindBufferBase(GL_UNIFORM_BUFFER, uniformIndices[0], buffers[0]); in testUniformBuffers() 457 glBindBuffer(GL_UNIFORM_BUFFER, buffers[1]); in testUniformBuffers() 458 glBufferData(GL_UNIFORM_BUFFER, rangeBufferTotalSize, DE_NULL, GL_DYNAMIC_DRAW); in testUniformBuffers() 459 …glBindBufferRange(GL_UNIFORM_BUFFER, uniformIndices[1], buffers[1], rangeBufferOffset, rangeBuffer… in testUniformBuffers()
|
D | es3fNegativeBufferApiTests.cpp | 313 glBindBuffer(GL_UNIFORM_BUFFER, bufU); in init() 314 glBufferData(GL_UNIFORM_BUFFER, 16, NULL, GL_STREAM_DRAW); in init() 336 glBindBufferRange(GL_UNIFORM_BUFFER, maxUSize, bufU, 0, 4); in init() 341 glBindBufferRange(GL_UNIFORM_BUFFER, 0, bufU, 0, -1); in init() 343 glBindBufferRange(GL_UNIFORM_BUFFER, 0, bufU, 0, 0); in init() 362 glBindBufferRange(GL_UNIFORM_BUFFER, 0, bufU, alignment+1, 4); in init() 374 glBindBuffer(GL_UNIFORM_BUFFER, bufU); in init() 375 glBufferData(GL_UNIFORM_BUFFER, 16, NULL, GL_STREAM_DRAW); in init() 393 glBindBufferBase(GL_UNIFORM_BUFFER, maxUSize, bufU); in init()
|
D | es3fBufferWriteTests.cpp | 446 GL_UNIFORM_BUFFER in iterate() 568 GL_UNIFORM_BUFFER in init() 635 << DataStoreSpec(GL_UNIFORM_BUFFER, GL_STATIC_DRAW, 504) in init() 720 …PARTIAL_SPECIFY_CASE(whole_2, "Whole buffer specification with two calls", GL_UNIFORM_BUFFER, GL_D… in init()
|
D | es3fBufferCopyTests.cpp | 250 GL_UNIFORM_BUFFER in init()
|
D | es3fBufferObjectQueryTests.cpp | 238 GL_TRANSFORM_FEEDBACK_BUFFER, GL_UNIFORM_BUFFER, in test()
|
D | es3fBufferMapTests.cpp | 561 GL_UNIFORM_BUFFER in init()
|
/external/deqp/external/openglcts/modules/glesext/gpu_shader5/ |
D | esextcGPUShader5UniformBlocksArrayIndexing.cpp | 195 gl.bindBuffer(GL_UNIFORM_BUFFER, m_uniform_buffer_ids[index_value]); in iterate() 198 gl.bufferData(GL_UNIFORM_BUFFER, m_n_position_components * sizeof(float), in iterate() 202 gl.bindBufferBase(GL_UNIFORM_BUFFER, index_value, m_uniform_buffer_ids[index_value]); in iterate() 308 gl.bindBuffer(GL_UNIFORM_BUFFER, 0); in deinit()
|
/external/deqp/modules/gles31/functional/ |
D | es31fNegativeBufferApiTests.cpp | 375 ctx.glBindBuffer(GL_UNIFORM_BUFFER, bufU); in bind_buffer_range() 376 ctx.glBufferData(GL_UNIFORM_BUFFER, 16, NULL, GL_STREAM_DRAW); in bind_buffer_range() 399 ctx.glBindBufferRange(GL_UNIFORM_BUFFER, maxUSize, bufU, 0, 4); in bind_buffer_range() 404 ctx.glBindBufferRange(GL_UNIFORM_BUFFER, 0, bufU, 0, -1); in bind_buffer_range() 406 ctx.glBindBufferRange(GL_UNIFORM_BUFFER, 0, bufU, 0, 0); in bind_buffer_range() 411 ctx.glBindBufferRange(GL_UNIFORM_BUFFER, 0, bufU, -1, 0); in bind_buffer_range() 426 ctx.glBindBufferRange(GL_UNIFORM_BUFFER, 0, bufU, uAlignment+1, 4); in bind_buffer_range() 474 ctx.glBindBuffer(GL_UNIFORM_BUFFER, bufU); in bind_buffer_base() 475 ctx.glBufferData(GL_UNIFORM_BUFFER, 16, NULL, GL_STREAM_DRAW); in bind_buffer_base() 491 ctx.glBindBufferBase(GL_UNIFORM_BUFFER, maxUSize, bufU); in bind_buffer_base()
|
D | es31fBasicComputeShaderTests.cpp | 181 gl.bindBuffer(GL_UNIFORM_BUFFER, *inputBuffer); in iterate() 182 gl.bufferData(GL_UNIFORM_BUFFER, (glw::GLsizeiptr)blockInfo.dataSize, DE_NULL, GL_STATIC_DRAW); in iterate() 185 const BufferMemMap bufMap(gl, GL_UNIFORM_BUFFER, 0, (int)blockInfo.dataSize, GL_MAP_WRITE_BIT); in iterate() 192 gl.bindBufferBase(GL_UNIFORM_BUFFER, 0, *inputBuffer); in iterate()
|
D | es31fLayoutBindingTests.cpp | 1700 gl.bindBuffer(GL_UNIFORM_BUFFER, m_buffers[bufNdx]); in init() 1701 gl.bufferData(GL_UNIFORM_BUFFER, 2*sizeof(Vec4), &(m_expectedColors[2*bufNdx]), GL_STATIC_DRAW); in init() 1702 gl.bindBufferBase(GL_UNIFORM_BUFFER, m_bindings[bufNdx], m_buffers[bufNdx]); in init() 1718 m_context.getRenderContext().getFunctions().bindBuffer(GL_UNIFORM_BUFFER, 0); in deinit()
|
/external/deqp/framework/opengl/ |
D | gluStateReset.cpp | 458 gl.bindBuffer (GL_UNIFORM_BUFFER, 0); in resetStateES() 461 gl.bindBufferBase(GL_UNIFORM_BUFFER, ndx, 0); in resetStateES() 1080 gl.bindBuffer(GL_UNIFORM_BUFFER, 0); in resetStateGLCore() 1083 gl.bindBufferBase(GL_UNIFORM_BUFFER, ndx, 0); in resetStateGLCore()
|
/external/deqp/modules/gles3/performance/ |
D | es3pStateChangeCallTests.cpp | 1003 GL_UNIFORM_BUFFER in init() 1022 GL_UNIFORM_BUFFER in init()
|
/external/deqp/external/openglcts/modules/common/ |
D | glcUniformBlockCase.cpp | 1465 gl.bindBuffer(GL_UNIFORM_BUFFER, buffer); in iterate() 1466 gl.bufferData(GL_UNIFORM_BUFFER, (glw::GLsizeiptr)glData[blockNdx].size(), &glData[blockNdx][0], in iterate() 1470 gl.bindBufferBase(GL_UNIFORM_BUFFER, binding, buffer); in iterate() 1507 gl.bindBuffer(GL_UNIFORM_BUFFER, buffer); in iterate() 1509 gl.bufferData(GL_UNIFORM_BUFFER, (glw::GLsizeiptr)glData.size(), &glData[0], GL_STATIC_DRAW); in iterate() 1518 gl.bindBufferRange(GL_UNIFORM_BUFFER, binding, buffer, (glw::GLintptr)glBlockOffsets[blockNdx], in iterate()
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cMapBufferAlignmentTests.cpp | 198 { GL_UNIFORM_BUFFER, GL_MAX_UNIFORM_BLOCK_SIZE } in iterate()
|
D | gl4cBufferStorageTests.cpp | 475 GL_UNIFORM_BUFFER, /* 12 */ 3499 …rectangles.InitStorage(GL_UNIFORM_BUFFER, GL_MAP_PERSISTENT_BIT | GL_MAP_WRITE_BIT, rectangles_dat… in iterate() 3567 Buffer::Bind(gl, 0, GL_UNIFORM_BUFFER); in iterate() 3571 Buffer::BindBase(gl, rectangles.m_id, GL_UNIFORM_BUFFER, rectangles_binding); in iterate() 3587 gl.flushMappedBufferRange(GL_UNIFORM_BUFFER, 0, rectangles_data_size); in iterate() 3644 gl.flushMappedBufferRange(GL_UNIFORM_BUFFER, 0, rectangles_data_size); in iterate()
|
D | gl4cMultiBindTests.cpp | 1346 …{ GL_UNIFORM_BUFFER, GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT, GL_UNIFORM_BUFFER_BINDING, GL_MAX_UNIFORM… 3436 uni_buffer[i].InitData(m_context, GL_UNIFORM_BUFFER, GL_DYNAMIC_COPY, buffer_size, data); in iterate() 3441 gl.bindBuffersBase(GL_UNIFORM_BUFFER, 0 /* first */, max_buffers /* count */, &uni_buffer_ids[0]); in iterate() 3599 uni_buffer.InitData(m_context, GL_UNIFORM_BUFFER, GL_DYNAMIC_COPY, buffer_size, &uni_data[0]); in iterate() 3608 …gl.bindBuffersRange(GL_UNIFORM_BUFFER, 0 /* first */, n_buffers /* count */, &uni_buffer_ids[0], &… in iterate()
|
D | gl3cTransformFeedbackTests.cpp | 5867 gl.bindBuffer(GL_UNIFORM_BUFFER, m_bo_id_uniform); in prepareObjects() 5870 …gl.bufferData(GL_UNIFORM_BUFFER, s_bo_uniform_size, s_bo_uniform_data, GL_DYNAMIC_COPY); /* alloca… in prepareObjects() 5873 gl.bindBufferBase(GL_UNIFORM_BUFFER, 0, m_bo_id_uniform); in prepareObjects() 6321 gl.bindBuffer(GL_UNIFORM_BUFFER, m_bo_id_uniform); in prepareObjects() 6324 …gl.bufferData(GL_UNIFORM_BUFFER, s_bo_uniform_size, s_bo_uniform_data, GL_DYNAMIC_COPY); /* alloca… in prepareObjects() 6327 gl.bindBufferBase(GL_UNIFORM_BUFFER, 0, m_bo_id_uniform); in prepareObjects()
|
D | gl4cComputeShaderTests.cpp | 828 glBindBufferBase(GL_UNIFORM_BUFFER, i, m_uniform_buffer[i]); in RunIteration() 829 glBufferData(GL_UNIFORM_BUFFER, sizeof(vec4) * kBufferSize, &data[0], GL_DYNAMIC_DRAW); in RunIteration() 831 glBindBuffer(GL_UNIFORM_BUFFER, 0); in RunIteration() 5198 glBindBufferBase(GL_UNIFORM_BUFFER, i, m_uniform_buffer[i]); in RunIteration() 5199 glBufferData(GL_UNIFORM_BUFFER, sizeof(data), &data, GL_STATIC_DRAW); in RunIteration() 5402 glBindBufferBase(GL_UNIFORM_BUFFER, i, m_uniform_buffer[i]); in Run() 5403 glBufferData(GL_UNIFORM_BUFFER, sizeof(data), &data, GL_STATIC_DRAW); in Run()
|
D | gl4cShaderAtomicCountersTests.cpp | 2876 glBindBuffer(GL_UNIFORM_BUFFER, uniform_buffer_); in Run() 2877 …glBufferData(GL_UNIFORM_BUFFER, (GLsizeiptr)(sizeof(UVec4) * init_data.size()), &init_data[0], GL_… in Run() 2878 glBindBuffer(GL_UNIFORM_BUFFER, 0); in Run() 2902 glBindBufferBase(GL_UNIFORM_BUFFER, 1, uniform_buffer_); in Run()
|
/external/deqp/external/openglcts/modules/glesext/geometry_shader/ |
D | esextcGeometryShaderLimits.cpp | 1439 gl.bindBuffer(GL_UNIFORM_BUFFER, 0); in clean() 1446 gl.bindBufferBase(GL_UNIFORM_BUFFER, i, 0); in clean() 1554 gl.bindBuffer(GL_UNIFORM_BUFFER, m_uniform_blocks[i].buffer_object_id); in prepareProgramInput() 1563 gl.bufferData(GL_UNIFORM_BUFFER, sizeof(glw::GLint), &m_uniform_blocks[i].data, GL_STATIC_DRAW); in prepareProgramInput() 1567 gl.bindBufferBase(GL_UNIFORM_BUFFER, i, m_uniform_blocks[i].buffer_object_id); in prepareProgramInput()
|
/external/deqp/modules/glshared/ |
D | glsUniformBlockCase.cpp | 1510 gl.bindBuffer(GL_UNIFORM_BUFFER, buffer); in iterate() 1511 …gl.bufferData(GL_UNIFORM_BUFFER, (glw::GLsizeiptr)glData[blockNdx].size(), &glData[blockNdx][0], G… in iterate() 1514 gl.bindBufferBase(GL_UNIFORM_BUFFER, binding, buffer); in iterate() 1553 gl.bindBuffer(GL_UNIFORM_BUFFER, buffer); in iterate() 1555 gl.bufferData(GL_UNIFORM_BUFFER, (glw::GLsizeiptr)glData.size(), &glData[0], GL_STATIC_DRAW); in iterate() 1563 …gl.bindBufferRange(GL_UNIFORM_BUFFER, binding, buffer, (glw::GLintptr)glBlockOffsets[blockNdx], (g… in iterate()
|
/external/mesa3d/src/mesa/main/ |
D | bufferobj.c | 158 case GL_UNIFORM_BUFFER: in get_buffer_target() 4282 case GL_UNIFORM_BUFFER: in bind_buffer_range() 4315 case GL_UNIFORM_BUFFER: in bind_buffer_range() 4406 case GL_UNIFORM_BUFFER: in _mesa_BindBufferBase() 4439 case GL_UNIFORM_BUFFER: in _mesa_BindBuffersRange() 4474 case GL_UNIFORM_BUFFER: in _mesa_BindBuffersBase()
|
/external/deqp/external/openglcts/modules/gles31/ |
D | es31cLayoutBindingTests.cpp | 3067 gl().bindBufferBase(GL_UNIFORM_BUFFER, binding, m_buffername); in bind() 3073 gl().bindBufferBase(GL_UNIFORM_BUFFER, binding, 0); in unbind() 3081 gl().bindBuffer(GL_UNIFORM_BUFFER, m_buffername); in setupTest() 3082 gl().bufferData(GL_UNIFORM_BUFFER, sizeof(f), f, GL_STATIC_DRAW); in setupTest() 3088 gl().bindBuffer(GL_UNIFORM_BUFFER, 0); in teardownTest()
|
D | es31cShaderAtomicCountersTests.cpp | 2638 glBindBuffer(GL_UNIFORM_BUFFER, uniform_buffer_); in Run() 2639 …glBufferData(GL_UNIFORM_BUFFER, (GLsizeiptr)(sizeof(UVec4) * init_data.size()), &init_data[0], GL_… in Run() 2640 glBindBuffer(GL_UNIFORM_BUFFER, 0); in Run() 2649 glBindBufferBase(GL_UNIFORM_BUFFER, 1, uniform_buffer_); in Run()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_cb_bufferobjects.c | 226 case GL_UNIFORM_BUFFER: in bufferobj_data()
|