Lines Matching refs:half_index
2452 GLint half_index = max_buffers / 2; in iterate() local
2453 gl.bindBuffersBase(target, 0 /* first */, half_index /* count */, 0); in iterate()
2456 for (GLint j = 0; j < half_index; ++j) in iterate()
2461 for (GLint j = half_index; j < max_buffers; ++j) in iterate()
2466 gl.bindBuffersBase(target, half_index /* first */, max_buffers - half_index /* count */, 0); in iterate()
2624 GLint half_index = max_buffers / 2; in iterate() local
2625 gl.bindBuffersRange(target, 0 /* first */, half_index /* count */, 0, &offsets[0], &sizes[0]); in iterate()
2628 for (GLint j = 0; j < half_index; ++j) in iterate()
2633 for (GLint j = half_index; j < max_buffers; ++j) in iterate()
2638 …gl.bindBuffersRange(target, half_index /* first */, max_buffers - half_index /* count */, 0, &offs… in iterate()
2808 GLint half_index = max_textures / 2; in iterate() local
2815 gl.bindTextures(0, half_index, &t_texture_ids[0]); in iterate()
2818 for (GLint i = 0; i < half_index; ++i) in iterate()
2823 for (GLint i = half_index; i < max_textures; ++i) in iterate()
2834 gl.bindTextures(half_index, max_textures - half_index, 0); in iterate()
2947 GLint half_index = max_samplers / 2; in iterate() local
2949 gl.bindSamplers(0, half_index, &t_sampler_ids[0]); in iterate()
2952 for (GLint i = 0; i < half_index; ++i) in iterate()
2957 for (GLint i = half_index; i < max_samplers; ++i) in iterate()
2966 gl.bindSamplers(half_index, max_samplers - half_index, 0); in iterate()
3133 GLint half_index = max_textures / 2; in iterate() local
3140 gl.bindImageTextures(0, half_index, &t_texture_ids[0]); in iterate()
3143 for (GLint i = 0; i < half_index; ++i) in iterate()
3148 for (GLint i = half_index; i < max_textures; ++i) in iterate()
3159 gl.bindImageTextures(half_index, max_textures - half_index, 0); in iterate()
3290 GLint half_index = max_buffers / 2; in iterate() local
3292 gl.bindVertexBuffers(0, half_index, &t_buffer_ids[0], &offsets[0], &strides[0]); in iterate()
3295 for (GLint i = 0; i < half_index; ++i) in iterate()
3300 for (GLint i = half_index; i < max_buffers; ++i) in iterate()
3309 gl.bindVertexBuffers(half_index, max_buffers - half_index, 0, &offsets[0], &strides[0]); in iterate()