summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/softpipe/sp_context.c
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-08-20 16:31:12 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-08-20 16:31:12 -0600
commit8175eaa3b49f3b62f7ab251c4e0fbd14dd9f7e2b (patch)
tree9f49d51df082f2e2033bf6c624e3d2c9b35af2f8 /src/mesa/pipe/softpipe/sp_context.c
parent51da8ee85eccf0df3721cbd863cd174382d1ddfd (diff)
Checkpoint: remove more of the old draw_vb() code.
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_context.c')
-rw-r--r--src/mesa/pipe/softpipe/sp_context.c42
1 files changed, 0 insertions, 42 deletions
diff --git a/src/mesa/pipe/softpipe/sp_context.c b/src/mesa/pipe/softpipe/sp_context.c
index 91ede05c05..ab9becc99e 100644
--- a/src/mesa/pipe/softpipe/sp_context.c
+++ b/src/mesa/pipe/softpipe/sp_context.c
@@ -195,44 +195,6 @@ static void softpipe_destroy( struct pipe_context *pipe )
}
-#if 0
-static void softpipe_draw_vb( struct pipe_context *pipe,
- struct vertex_buffer *VB )
-{
- struct softpipe_context *softpipe = softpipe_context( pipe );
-
- if (softpipe->dirty)
- softpipe_update_derived( softpipe );
-
- /* XXX move mapping/unmapping to higher/coarser level? */
- softpipe_map_surfaces(softpipe);
- draw_vb( softpipe->draw, VB );
- softpipe_unmap_surfaces(softpipe);
-}
-#endif
-
-
-static void
-softpipe_draw_vertices(struct pipe_context *pipe,
- unsigned mode,
- unsigned numVertex, const float *verts,
- unsigned numAttribs, const unsigned attribs[])
-{
- struct softpipe_context *softpipe = softpipe_context( pipe );
-
- if (softpipe->dirty)
- softpipe_update_derived( softpipe );
-
- /* XXX move mapping/unmapping to higher/coarser level? */
- softpipe_map_surfaces(softpipe);
-#if 0
- draw_vertices(softpipe->draw, mode, numVertex, verts, numAttribs, attribs);
-#endif
- softpipe_unmap_surfaces(softpipe);
-}
-
-
-
static void softpipe_reset_occlusion_counter(struct pipe_context *pipe)
{
struct softpipe_context *softpipe = softpipe_context( pipe );
@@ -289,10 +251,6 @@ struct pipe_context *softpipe_create( struct pipe_winsys *pipe_winsys,
softpipe->pipe.set_vertex_buffer = softpipe_set_vertex_buffer;
softpipe->pipe.set_vertex_element = softpipe_set_vertex_element;
-#if 0
- softpipe->pipe.draw_vb = softpipe_draw_vb;
- softpipe->pipe.draw_vertices = softpipe_draw_vertices;
-#endif
softpipe->pipe.draw_arrays = softpipe_draw_arrays;
softpipe->pipe.draw_elements = softpipe_draw_elements;