Lines Matching refs:DrawBuffer
75 if (_mesa_is_user_fbo(ctx->DrawBuffer)) in color_mask()
78 xmbuf = XMESA_BUFFER(ctx->DrawBuffer); in color_mask()
110 XMesaBuffer xmbuf = XMESA_BUFFER(ctx->DrawBuffer); in clear_pixmap()
246 if (_mesa_is_winsys_fbo(ctx->DrawBuffer)) { in clear_buffers()
249 XMesaBuffer b = XMESA_BUFFER(ctx->DrawBuffer); in clear_buffers()
250 const GLint x = ctx->DrawBuffer->_Xmin; in clear_buffers()
251 const GLint y = ctx->DrawBuffer->_Ymin; in clear_buffers()
252 const GLint width = ctx->DrawBuffer->_Xmax - x; in clear_buffers()
253 const GLint height = ctx->DrawBuffer->_Ymax - y; in clear_buffers()
271 = ctx->DrawBuffer->Attachment[BUFFER_FRONT_LEFT].Renderbuffer; in clear_buffers()
284 = ctx->DrawBuffer->Attachment[BUFFER_BACK_LEFT].Renderbuffer; in clear_buffers()
309 ctx->DrawBuffer && in can_do_DrawPixels_8R8G8B()
310 _mesa_is_winsys_fbo(ctx->DrawBuffer) && in can_do_DrawPixels_8R8G8B()
320 struct gl_renderbuffer *rb = ctx->DrawBuffer->_ColorDrawBuffers[0]; in can_do_DrawPixels_8R8G8B()
381 XMesaBuffer xmbuf = XMESA_BUFFER(ctx->DrawBuffer); in xmesa_DrawPixels_8R8G8B()
384 = xmesa_renderbuffer(ctx->DrawBuffer->_ColorDrawBuffers[0]); in xmesa_DrawPixels_8R8G8B()
440 ctx->DrawBuffer && in can_do_DrawPixels_5R6G5B()
441 _mesa_is_winsys_fbo(ctx->DrawBuffer) && in can_do_DrawPixels_5R6G5B()
451 struct gl_renderbuffer *rb = ctx->DrawBuffer->_ColorDrawBuffers[0]; in can_do_DrawPixels_5R6G5B()
513 XMesaBuffer xmbuf = XMESA_BUFFER(ctx->DrawBuffer); in xmesa_DrawPixels_5R6G5B()
516 = xmesa_renderbuffer(ctx->DrawBuffer->_ColorDrawBuffers[0]); in xmesa_DrawPixels_5R6G5B()
571 ctx->Color.DrawBuffer[0] == GL_FRONT && /* copy to front buf */ in can_do_CopyPixels()
574 ctx->DrawBuffer->_ColorDrawBuffers[0]) { in can_do_CopyPixels()
583 ctx->DrawBuffer && in can_do_CopyPixels()
584 ctx->DrawBuffer->_ColorDrawBuffers[0]) { in can_do_CopyPixels()
588 = xmesa_renderbuffer(ctx->DrawBuffer->_ColorDrawBuffers[0]); in can_do_CopyPixels()
611 XMesaBuffer xmbuf = XMESA_BUFFER(ctx->DrawBuffer); in xmesa_CopyPixels()
616 = xmesa_renderbuffer(ctx->DrawBuffer->_ColorDrawBuffers[0]); in xmesa_CopyPixels()
689 _mesa_update_draw_buffer_bounds(ctx, ctx->DrawBuffer); in xmesa_update_state()
698 if (_mesa_is_user_fbo(ctx->DrawBuffer)) in xmesa_update_state()
707 XMesaBuffer xmbuf = XMESA_BUFFER(ctx->DrawBuffer); in xmesa_update_state()