Lines Matching refs:DrawBuffer
140 buffer = _mesa_back_to_front_if_single_buffered(ctx->DrawBuffer, buffer); in draw_buffer_enum_to_bitmask()
323 if (fb == ctx->DrawBuffer) { in draw_buffer()
324 if (_mesa_is_winsys_fbo(ctx->DrawBuffer)) in draw_buffer()
350 draw_buffer_no_error(ctx, ctx->DrawBuffer, buffer, "glDrawBuffer"); in _mesa_DrawBuffer_no_error()
358 draw_buffer_error(ctx, ctx->DrawBuffer, buffer, "glDrawBuffer"); in _mesa_DrawBuffer()
630 if (fb == ctx->DrawBuffer) { in draw_buffers()
631 if (_mesa_is_winsys_fbo(ctx->DrawBuffer)) in draw_buffers()
657 draw_buffers_no_error(ctx, ctx->DrawBuffer, n, buffers, "glDrawBuffers"); in _mesa_DrawBuffers_no_error()
665 draw_buffers_error(ctx, ctx->DrawBuffer, n, buffers, "glDrawBuffers"); in _mesa_DrawBuffers()
833 if (ctx->Color.DrawBuffer[buf] != fb->ColorDrawBuffer[buf]) { in _mesa_drawbuffers()
835 ctx->Color.DrawBuffer[buf] = fb->ColorDrawBuffer[buf]; in _mesa_drawbuffers()
851 assert(_mesa_is_winsys_fbo(ctx->DrawBuffer)); in _mesa_update_draw_buffers()
853 _mesa_drawbuffers(ctx, ctx->DrawBuffer, ctx->Const.MaxDrawBuffers, in _mesa_update_draw_buffers()
854 ctx->Color.DrawBuffer, NULL); in _mesa_update_draw_buffers()