Lines Matching refs:DrawBuffer
134 buffer = _mesa_back_to_front_if_single_buffered(ctx->DrawBuffer, buffer); in draw_buffer_enum_to_bitmask()
317 if (fb == ctx->DrawBuffer) { in draw_buffer()
318 if (ctx->Driver.DrawBuffer) in draw_buffer()
319 ctx->Driver.DrawBuffer(ctx); in draw_buffer()
346 draw_buffer_no_error(ctx, ctx->DrawBuffer, buffer, "glDrawBuffer"); in _mesa_DrawBuffer_no_error()
354 draw_buffer_error(ctx, ctx->DrawBuffer, buffer, "glDrawBuffer"); in _mesa_DrawBuffer()
626 if (fb == ctx->DrawBuffer) { in draw_buffers()
627 if (ctx->Driver.DrawBuffer) in draw_buffers()
628 ctx->Driver.DrawBuffer(ctx); in draw_buffers()
655 draw_buffers_no_error(ctx, ctx->DrawBuffer, n, buffers, "glDrawBuffers"); in _mesa_DrawBuffers_no_error()
663 draw_buffers_error(ctx, ctx->DrawBuffer, n, buffers, "glDrawBuffers"); in _mesa_DrawBuffers()
831 if (ctx->Color.DrawBuffer[buf] != fb->ColorDrawBuffer[buf]) { in _mesa_drawbuffers()
833 ctx->Color.DrawBuffer[buf] = fb->ColorDrawBuffer[buf]; in _mesa_drawbuffers()
849 assert(_mesa_is_winsys_fbo(ctx->DrawBuffer)); in _mesa_update_draw_buffers()
851 _mesa_drawbuffers(ctx, ctx->DrawBuffer, ctx->Const.MaxDrawBuffers, in _mesa_update_draw_buffers()
852 ctx->Color.DrawBuffer, NULL); in _mesa_update_draw_buffers()