Lines Matching refs:buffer
230 * Fill in the correct Size value for each buffer in \c obj.
235 * BindBufferBase binds the entire buffer, even when the size of the buffer
238 * the bound buffer at the time the binding is used.
242 * buffer. In some cases this constraint may result in visibly different
243 * behavior when a buffer overflow would otherwise result, such as described
259 /* No size was specified at the time the buffer was bound, so allow
260 * writing to all available space in the buffer.
264 /* A size was specified at the time the buffer was bound, however
265 * it's possible that the buffer has shrunk since then. So only
393 "have a buffer object bound)", i);
409 * feedback buffer and report INVALID_OPERATION if a draw call tries to
435 if (bo && bo->buffer) {
442 obj->targets[i]->buffer != bo->buffer ||
447 pipe->create_stream_output_target(pipe, bo->buffer,
576 * Validate the buffer object to receive transform feedback results. Plus,
639 * generated by BindBufferRange if buffer is non-zero and size is less
656 * Specify a buffer object to receive transform feedback results.
713 GLuint buffer, const char* func,
720 /* OpenGL 4.5 core profile, 13.2, pdf page 444: buffer must be zero or the
721 * name of an existing buffer object.
723 if (buffer) {
724 bufObj = _mesa_lookup_bufferobj(ctx, buffer);
726 _mesa_error(ctx, GL_INVALID_VALUE, "%s(invalid buffer=%u)", func,
727 buffer);
736 _mesa_TransformFeedbackBufferBase(GLuint xfb, GLuint index, GLuint buffer)
749 bufObj = lookup_transform_feedback_bufferobj_err(ctx, buffer,
760 _mesa_TransformFeedbackBufferRange(GLuint xfb, GLuint index, GLuint buffer,
774 bufObj = lookup_transform_feedback_bufferobj_err(ctx, buffer,
791 * Specify a buffer object to receive transform feedback results, plus the
792 * offset in the buffer to start placing results.
798 GLuint buffer, GLintptr offset, bool no_error)
802 if (buffer == 0) {
805 bufObj = _mesa_lookup_bufferobj(ctx, buffer);
808 "glBindBufferOffsetEXT(invalid buffer=%u)", buffer);
818 _mesa_BindBufferOffsetEXT_no_error(GLenum target, GLuint index, GLuint buffer,
822 bind_buffer_offset(ctx, ctx->TransformFeedback.CurrentObject, index, buffer,
828 _mesa_BindBufferOffsetEXT(GLenum target, GLuint index, GLuint buffer,
860 bind_buffer_offset(ctx, obj, index, buffer, offset, false);
866 * to the feedback buffer(s), and in what order.
996 * to the feedback buffer(s).
1422 * "To query the starting offset or size of the range of a buffer
1427 * starting offset or size was not specified when the buffer object
1429 * buffer object is bound to the target array at index, zero is