Lines Matching defs:count

64  * We count the number of buffer modification calls to check for
1021 p_atomic_add(&obj->buffer->reference.count,
1083 /* Update the private ref count. */
1192 /* Move private non-atomic context references to the global ref count. */
1213 * For all zombie buffers, decrement the reference count if the current
1231 * When a context creates buffers, it holds a global buffer reference count
4317 GLuint first, GLsizei count,
4328 * "An INVALID_OPERATION error is generated if <first> + <count> is
4332 if (first + count > ctx->Const.MaxUniformBufferBindings) {
4334 "%s(first=%u + count=%d > the value of "
4336 caller, first, count,
4346 GLuint first, GLsizei count,
4357 * "An INVALID_OPERATION error is generated if <first> + <count> is
4361 if (first + count > ctx->Const.MaxShaderStorageBufferBindings) {
4363 "%s(first=%u + count=%d > the value of "
4365 caller, first, count,
4375 * <first> through <first>+<count>-1
4378 unbind_uniform_buffers(struct gl_context *ctx, GLuint first, GLsizei count)
4380 for (int i = 0; i < count; i++)
4387 * <first> through <first>+<count>-1
4391 GLsizei count)
4393 for (int i = 0; i < count; i++)
4399 bind_uniform_buffers(struct gl_context *ctx, GLuint first, GLsizei count,
4405 if (!error_check_bind_uniform_buffers(ctx, first, count, caller))
4416 * <first>+<count>-1 are reset to their unbound (zero) state.
4421 unbind_uniform_buffers(ctx, first, count);
4438 * one of the <count> binding points are invalid, that binding point
4447 for (int i = 0; i < count; i++) {
4502 GLsizei count, const GLuint *buffers,
4508 if (!error_check_bind_shader_storage_buffers(ctx, first, count, caller))
4519 * <first>+<count>-1 are reset to their unbound (zero) state.
4524 unbind_shader_storage_buffers(ctx, first, count);
4541 * one of the <count> binding points are invalid, that binding point
4550 for (int i = 0; i < count; i++) {
4606 GLuint first, GLsizei count, const char *caller)
4634 * "An INVALID_OPERATION error is generated if <first> + <count> is
4638 if (first + count > ctx->Const.MaxTransformFeedbackBuffers) {
4640 "%s(first=%u + count=%d > the value of "
4642 caller, first, count,
4652 * <first> through <first>+<count>-1
4657 GLuint first, GLsizei count)
4659 for (int i = 0; i < count; i++)
4666 GLuint first, GLsizei count,
4676 if (!error_check_bind_xfb_buffers(ctx, tfObj, first, count, caller))
4686 * <first>+<count>-1 are reset to their unbound (zero) state.
4691 unbind_xfb_buffers(ctx, tfObj, first, count);
4708 * one of the <count> binding points are invalid, that binding point
4717 for (int i = 0; i < count; i++) {
4788 GLuint first, GLsizei count,
4799 * "An INVALID_OPERATION error is generated if <first> + <count> is
4803 if (first + count > ctx->Const.MaxAtomicBufferBindings) {
4805 "%s(first=%u + count=%d > the value of "
4807 caller, first, count, ctx->Const.MaxAtomicBufferBindings);
4816 * <first> through <first>+<count>-1
4819 unbind_atomic_buffers(struct gl_context *ctx, GLuint first, GLsizei count)
4821 for (int i = 0; i < count; i++)
4829 GLsizei count,
4836 if (!error_check_bind_atomic_buffers(ctx, first, count, caller))
4847 * <first>+<count>-1 are reset to their unbound (zero) state.
4852 unbind_atomic_buffers(ctx, first, count);
4869 * one of the <count> binding points are invalid, that binding point
4878 for (int i = 0; i < count; i++) {
5102 _mesa_BindBuffersRange(GLenum target, GLuint first, GLsizei count,
5110 _mesa_enum_to_string(target), first, count,
5116 bind_xfb_buffers(ctx, first, count, buffers, true, offsets, sizes,
5120 bind_uniform_buffers(ctx, first, count, buffers, true, offsets, sizes,
5124 bind_shader_storage_buffers(ctx, first, count, buffers, true, offsets, sizes,
5128 bind_atomic_buffers(ctx, first, count, buffers, true, offsets, sizes,
5139 _mesa_BindBuffersBase(GLenum target, GLuint first, GLsizei count,
5146 _mesa_enum_to_string(target), first, count, buffers);
5151 bind_xfb_buffers(ctx, first, count, buffers, false, NULL, NULL,
5155 bind_uniform_buffers(ctx, first, count, buffers, false, NULL, NULL,
5159 bind_shader_storage_buffers(ctx, first, count, buffers, false, NULL, NULL,
5163 bind_atomic_buffers(ctx, first, count, buffers, false, NULL, NULL,