diff options
author | Keith Whitwell <[email protected]> | 2010-03-08 19:23:10 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2010-03-08 19:23:10 +0000 |
commit | 3ab8211be40e3cd835bd1f6947b2c56f9a0c7a59 (patch) | |
tree | 66d487e3f3ed11186303fb1cb98464010be4d5ea /src/gallium/include | |
parent | c867c58c7340eb5d56f7cc3edf95cce94600f858 (diff) |
gallium: remove xlib_driver::display_surface
Just use flush_frontbuffer directly. The flush_frontbuffer routine has
been somewhat devalued recently, but it is actually just the right
interface for our needs.
It is in pipe_screen, meaning that any wrapping (eg trace module)
will get properly unwrapped before we try and use the pipe_surface
argument for real.
If a particular co-state-tracker needs to implement this itself, it
should organize a way to allow the winsys to call back up to its
level, rather than hijacking the driver-supplied implementation.
Diffstat (limited to 'src/gallium/include')
-rw-r--r-- | src/gallium/include/state_tracker/xlib_sw_winsys.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/include/state_tracker/xlib_sw_winsys.h b/src/gallium/include/state_tracker/xlib_sw_winsys.h index c703d3b66ca..915a7b37fb5 100644 --- a/src/gallium/include/state_tracker/xlib_sw_winsys.h +++ b/src/gallium/include/state_tracker/xlib_sw_winsys.h @@ -22,9 +22,6 @@ struct xlib_drawable { struct xm_driver { struct pipe_screen *(*create_pipe_screen)( Display *display ); - - void (*display_surface)( struct xlib_drawable *, - struct pipe_surface * ); }; /* Called by the libgl-xlib target code to build the rendering stack. |