Browse Source

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.
tags/mesa-7.9-rc1
Chia-I Wu 15 years ago
parent
commit
1e7f191d3a

+ 0
- 5
src/gallium/auxiliary/util/u_simple_screen.h View File

@@ -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.

+ 0
- 7
src/gallium/include/pipe/p_screen.h View File

@@ -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.

Loading…
Cancel
Save