diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2009-01-13 18:08:24 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2009-01-13 19:46:18 +0000 |
commit | 2f19fecd583a4406385708de6362b3bdef23811e (patch) | |
tree | ea10148c44d8d65ccd091a16759249ca5da44e9a /src/gallium/winsys/xlib/xlib_brw.h | |
parent | a2d5031b1e133523591f1683527c2c96f58aa606 (diff) |
xlib: allow winsys's to register themselves with glx/xlib state tracker
Diffstat (limited to 'src/gallium/winsys/xlib/xlib_brw.h')
-rw-r--r-- | src/gallium/winsys/xlib/xlib_brw.h | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/src/gallium/winsys/xlib/xlib_brw.h b/src/gallium/winsys/xlib/xlib_brw.h index aad3f229bf..be2dd147db 100644 --- a/src/gallium/winsys/xlib/xlib_brw.h +++ b/src/gallium/winsys/xlib/xlib_brw.h @@ -6,20 +6,6 @@ struct pipe_buffer; struct pipe_surface; struct xmesa_buffer; -struct pipe_winsys *xlib_create_brw_winsys( void ); - -struct pipe_screen *xlib_create_brw_screen( struct pipe_winsys * ); - -struct pipe_context *xlib_create_brw_context( struct pipe_screen *, - void *priv ); - -void xlib_brw_display_surface(struct xmesa_buffer *b, - struct pipe_surface *surf); - -/*********************************************************************** - * Internal functions - */ - unsigned xlib_brw_get_buffer_offset( struct pipe_winsys *pws, struct pipe_buffer *buf, unsigned access_flags ); @@ -37,4 +23,8 @@ void xlib_brw_commands_aub(struct pipe_winsys *winsys, unsigned *cmds, unsigned nr_dwords); +struct pipe_context * +xlib_create_brw_context( struct pipe_screen *screen, + void *unused ); + #endif |