Lines Matching refs:DrawBuffer
139 buffer = _mesa_back_to_front_if_single_buffered(ctx->DrawBuffer, buffer); in draw_buffer_enum_to_bitmask()
324 if (fb == ctx->DrawBuffer) { in draw_buffer()
325 if (ctx->Driver.DrawBuffer) in draw_buffer()
326 ctx->Driver.DrawBuffer(ctx); in draw_buffer()
353 draw_buffer_no_error(ctx, ctx->DrawBuffer, buffer, "glDrawBuffer"); in _mesa_DrawBuffer_no_error()
361 draw_buffer_error(ctx, ctx->DrawBuffer, buffer, "glDrawBuffer"); in _mesa_DrawBuffer()
633 if (fb == ctx->DrawBuffer) { in draw_buffers()
634 if (ctx->Driver.DrawBuffer) in draw_buffers()
635 ctx->Driver.DrawBuffer(ctx); in draw_buffers()
662 draw_buffers_no_error(ctx, ctx->DrawBuffer, n, buffers, "glDrawBuffers"); in _mesa_DrawBuffers_no_error()
670 draw_buffers_error(ctx, ctx->DrawBuffer, n, buffers, "glDrawBuffers"); in _mesa_DrawBuffers()
838 if (ctx->Color.DrawBuffer[buf] != fb->ColorDrawBuffer[buf]) { in _mesa_drawbuffers()
840 ctx->Color.DrawBuffer[buf] = fb->ColorDrawBuffer[buf]; in _mesa_drawbuffers()
856 assert(_mesa_is_winsys_fbo(ctx->DrawBuffer)); in _mesa_update_draw_buffers()
858 _mesa_drawbuffers(ctx, ctx->DrawBuffer, ctx->Const.MaxDrawBuffers, in _mesa_update_draw_buffers()
859 ctx->Color.DrawBuffer, NULL); in _mesa_update_draw_buffers()