Lines Matching refs:buffer

177    /* Name exists but buffer is not initialized */
258 * the depth buffer attachment point.
354 * allocation hasn't happened yet. In such case, use the back buffer,
387 * identifying a color buffer; DEPTH, identifying the depth buffer; or
388 * STENCIL, identifying the stencil buffer."
396 * DEPTH_BUFFER, or STENCIL_BUFFER, identifying a color buffer, the
397 * depth buffer, or the stencil buffer, and <pname> may be
453 /* Invalidate buffer state so that the pipe's framebuffer state
1192 fbo_invalid("Different Depth/Stencil buffer formats");
1297 * -2: depth buffer
1298 * -1: stencil buffer
1299 * >=0: color buffer
1446 /* Update flags describing color buffer datatypes */
1763 /* No need to flush here since the render buffer binding has no
2313 * Given an internal format token for a render buffer, return the
3465 struct gl_framebuffer *buffer)
3469 if (_mesa_is_winsys_fbo(buffer)) {
3471 if (buffer != &IncompleteFramebuffer) {
3480 if (buffer->_Status != GL_FRAMEBUFFER_COMPLETE) {
3481 _mesa_test_framebuffer_completeness(ctx, buffer);
3484 return buffer->_Status;
4556 struct gl_framebuffer *buffer,
4581 if (_mesa_is_winsys_fbo(buffer)) {
4625 att = get_fb0_attachment(ctx, buffer, attachment);
4629 att = get_attachment(ctx, buffer, attachment, &is_color_attachment);
4667 /* the depth and stencil attachments must point to the same buffer */
4668 depthAtt = get_attachment(ctx, buffer, GL_DEPTH_ATTACHMENT, NULL);
4669 stencilAtt = get_attachment(ctx, buffer, GL_STENCIL_ATTACHMENT, NULL);
4692 *params = (_mesa_is_winsys_fbo(buffer) && att->Type != GL_NONE) ?
4766 if (_mesa_is_winsys_fbo(buffer) &&
4909 struct gl_framebuffer *buffer;
4911 buffer = get_framebuffer_target(ctx, target);
4912 if (!buffer) {
4919 get_framebuffer_attachment_parameter(ctx, buffer, attachment, pname,
4931 struct gl_framebuffer *buffer;
4934 buffer = _mesa_lookup_framebuffer_err(ctx, framebuffer,
4936 if (!buffer)
4946 buffer = ctx->WinSysDrawBuffer;
4949 get_framebuffer_attachment_parameter(ctx, buffer, attachment, pname,
4961 struct gl_framebuffer *buffer;
4964 buffer = _mesa_lookup_framebuffer_dsa(ctx, framebuffer,
4966 if (!buffer)
4976 buffer = ctx->WinSysDrawBuffer;
4979 get_framebuffer_attachment_parameter(ctx, buffer, attachment, pname,
5100 unsigned buffer = pname - GL_DRAW_BUFFER0;
5101 if (buffer < ARRAY_SIZE(fb->ColorDrawBuffer))
5102 *param = fb->ColorDrawBuffer[buffer];