gallium: Remove pipe_screen::update_buffer.
authorChia-I Wu <olv@lunarg.com>
Tue, 13 Apr 2010 10:17:52 +0000 (18:17 +0800)
committerChia-I Wu <olv@lunarg.com>
Tue, 13 Apr 2010 13:47:23 +0000 (21:47 +0800)
It has no user after the removal of st_public.  Plus, it has never been
implemented by a pipe driver or winsys.

src/gallium/auxiliary/util/u_simple_screen.h
src/gallium/include/pipe/p_screen.h

index de6325f..b52232f 100644 (file)
@@ -53,11 +53,6 @@ struct pipe_winsys
    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.
     */
index dd7c35e..06ab4a8 100644 (file)
@@ -170,13 +170,6 @@ struct pipe_screen {
                                               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.
     * \param winsys_drawable_handle  an opaque handle that the calling context