mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 02:30:12 +01:00
gallium: updated comment in xm_flush_frontbuffer()
This commit is contained in:
parent
62a29412b9
commit
d0b2561c57
1 changed files with 3 additions and 4 deletions
|
|
@ -296,10 +296,9 @@ xm_flush_frontbuffer(struct pipe_winsys *pws,
|
||||||
struct pipe_surface *surf,
|
struct pipe_surface *surf,
|
||||||
void *context_private)
|
void *context_private)
|
||||||
{
|
{
|
||||||
/* The Xlib driver's front color surfaces are actually X Windows so
|
/*
|
||||||
* this flush is a no-op.
|
* The front color buffer is actually just another XImage buffer.
|
||||||
* If we instead did front buffer rendering to a temporary XImage,
|
* This function copies that XImage to the actual X Window.
|
||||||
* this would be the place to copy the Ximage to the on-screen Window.
|
|
||||||
*/
|
*/
|
||||||
XMesaContext xmctx = (XMesaContext) context_private;
|
XMesaContext xmctx = (XMesaContext) context_private;
|
||||||
xmesa_display_surface(xmctx->xm_buffer, surf);
|
xmesa_display_surface(xmctx->xm_buffer, surf);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue