Add pipe buffer managment functions.

The state_tracker driver needs these to implement, eg. pixel buffer objects,
vertex buffer objects.
This commit is contained in:
Keith Whitwell
2007-08-06 10:15:30 +01:00
parent 1d1b9e6be4
commit 95794abec4
17 changed files with 520 additions and 200 deletions

View File

@@ -36,6 +36,7 @@
#include "sp_context.h"
#include "sp_clear.h"
#include "sp_region.h"
#include "sp_buffer.h"
#include "sp_state.h"
#include "sp_surface.h"
#include "sp_prim_setup.h"
@@ -219,6 +220,7 @@ struct pipe_context *softpipe_create( struct softpipe_winsys *sws )
assert(softpipe->draw);
draw_set_setup_stage(softpipe->draw, sp_draw_render_stage(softpipe));
sp_init_buffer_functions(softpipe);
sp_init_region_functions(softpipe);
sp_init_surface_functions(softpipe);