Lines Matching defs:buffer
55 * This value depends on the Z buffer resolution.
61 /* Special case. Even if we don't have a depth buffer we need
182 * Deallocate buffer and everything attached to it.
305 /* Signal new buffer state so that swrast will update its clipping
352 * \param buffer Framebuffer to be checked against
364 const struct gl_framebuffer *buffer,
369 bbox[1] = buffer->Width;
370 bbox[3] = buffer->Height;
379 * Update the context's current drawing buffer's Xmin, Xmax, Ymin, Ymax fields.
380 * These values are computed from the buffer's width and height and
386 struct gl_framebuffer *buffer)
390 if (!buffer)
394 scissor_bounding_box(ctx, buffer, 0, bbox);
395 buffer->_Xmin = bbox[0];
396 buffer->_Ymin = bbox[2];
397 buffer->_Xmax = bbox[1];
398 buffer->_Ymax = bbox[3];
548 /* set 0th buffer to NULL now in case _NumColorDrawBuffers is zero */
587 * don't usually allocate a front color buffer when using a double-buffered
589 * that buffer. Note, this is only for window system buffers, not user-
635 /* Call device driver function if fb is the bound draw buffer. */
684 * \param reading if TRUE, we're going to read from the buffer,
685 if FALSE, we're going to write to the buffer.
686 * \return GL_TRUE if buffer exists, GL_FALSE otherwise
732 /* about to read from a color buffer */
790 * \return GL_TRUE if buffer exists, GL_FALSE otherwise
836 * read buffer (see section 18.2.1) has no image attached.
837 * * the selected read buffer is NONE."
1000 _mesa_geometric_nonvalidated_samples(const struct gl_framebuffer *buffer)
1002 return buffer->_HasAttachments ?
1003 buffer->Visual.samples :
1004 buffer->DefaultGeometry.NumSamples;