Lines Matching refs:buffer
2304 /* Check that the source buffer is complete */
2396 "glCopyTexImage%dD(read buffer)", dimensions);
2455 * framebuffer attachment corresponding to the read buffer
2489 * buffer is not an integer format, or if the internalformat is not an
2490 * integer format and the read color buffer is an integer format."
2515 * format of the current color buffer is not signed integer; if
2517 * current color buffer is not unsigned integer; or if fixed-point
2518 * RGBA data is required and the format of the current color buffer
2571 /* Check that the source buffer is complete */
2652 * and the read color buffer is not an integer format, or if the
2653 * internalformat is not an integer format and the read color buffer
4073 /* reading from depth/stencil buffer */
4078 /* copying from color buffer */
4318 /* First check if reallocating the texture buffer can be avoided.
4346 /* Conversion from GL_RGB10_A2 source buffer format is not allowed in
4351 "glCopyTexImage%uD(Reading from GL_RGB10_A2 buffer"
4361 * buffer’s effective internal format, described below, an
4364 * format of the source buffer, and this is also the new texel array’s
4989 "%s(buffer texture)", function);
6377 * Make sure the texture buffer target is GL_TEXTURE_BUFFER.
6396 * Check for errors related to the texture buffer range.
6409 * than the value of BUFFER_SIZE for the buffer bound to target."
6447 _mesa_TexBuffer(GLenum target, GLenum internalFormat, GLuint buffer)
6460 if (buffer) {
6461 bufObj = _mesa_lookup_bufferobj_err(ctx, buffer, "glTexBuffer");
6472 buffer ? -1 : 0, "glTexBuffer");
6478 _mesa_TexBufferRange(GLenum target, GLenum internalFormat, GLuint buffer,
6492 if (buffer) {
6493 bufObj = _mesa_lookup_bufferobj_err(ctx, buffer, "glTexBufferRange");
6504 * "If buffer is zero, then any buffer object attached to the buffer
6506 * the state for offset and size for the buffer texture are reset to
6526 GLuint buffer, GLintptr offset, GLsizeiptr size)
6541 if (buffer) {
6542 bufObj = _mesa_lookup_bufferobj_err(ctx, buffer, "glTextureBufferRangeEXT");
6553 * "If buffer is zero, then any buffer object attached to the buffer
6555 * the state for offset and size for the buffer texture are reset to
6569 _mesa_TextureBuffer(GLuint texture, GLenum internalFormat, GLuint buffer)
6576 if (buffer) {
6577 bufObj = _mesa_lookup_bufferobj_err(ctx, buffer, "glTextureBuffer");
6592 bufObj, 0, buffer ? -1 : 0, "glTextureBuffer");
6597 GLenum internalFormat, GLuint buffer)
6604 if (buffer) {
6605 bufObj = _mesa_lookup_bufferobj_err(ctx, buffer, "glTextureBuffer");
6621 bufObj, 0, buffer ? -1 : 0, "glTextureBufferEXT");
6626 GLenum internalFormat, GLuint buffer)
6633 if (buffer) {
6634 bufObj = _mesa_lookup_bufferobj_err(ctx, buffer, "glMultiTexBufferEXT");
6651 bufObj, 0, buffer ? -1 : 0, "glMultiTexBufferEXT");
6655 _mesa_TextureBufferRange(GLuint texture, GLenum internalFormat, GLuint buffer,
6663 if (buffer) {
6664 bufObj = _mesa_lookup_bufferobj_err(ctx, buffer,
6676 * "If buffer is zero, then any buffer object attached to the buffer
6678 * the state for offset and size for the buffer texture are reset to