From: Chia-I Wu Date: Tue, 13 Apr 2010 10:17:52 +0000 (+0800) Subject: gallium: Remove pipe_screen::update_buffer. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1e7f191d3a320d14fa6fff161d57ddb7e9299e48;p=mesa.git gallium: Remove pipe_screen::update_buffer. It has no user after the removal of st_public. Plus, it has never been implemented by a pipe driver or winsys. --- diff --git a/src/gallium/auxiliary/util/u_simple_screen.h b/src/gallium/auxiliary/util/u_simple_screen.h index de6325fe2ab..b52232f025c 100644 --- a/src/gallium/auxiliary/util/u_simple_screen.h +++ b/src/gallium/auxiliary/util/u_simple_screen.h @@ -52,11 +52,6 @@ struct pipe_winsys /** Returns name of this winsys interface */ const char *(*get_name)( struct pipe_winsys *ws ); - /** - * Do any special operations to ensure buffer size is correct - */ - void (*update_buffer)( struct pipe_winsys *ws, - void *context_private ); /** * Do any special operations to ensure frontbuffer contents are * displayed, eg copy fake frontbuffer. diff --git a/src/gallium/include/pipe/p_screen.h b/src/gallium/include/pipe/p_screen.h index dd7c35e12c5..06ab4a848a4 100644 --- a/src/gallium/include/pipe/p_screen.h +++ b/src/gallium/include/pipe/p_screen.h @@ -169,13 +169,6 @@ struct pipe_screen { unsigned bytes, unsigned bind_flags); - /** - * Do any special operations to ensure buffer size is correct - * \param context_private the private data of the calling context - */ - void (*update_buffer)( struct pipe_screen *ws, - void *context_private ); - /** * Do any special operations to ensure frontbuffer contents are * displayed, eg copy fake frontbuffer.