Gallium: Add format PIPE_FORMAT_R8_SRGB
[mesa.git] / src / gallium / drivers / svga / svga_swtnl.h
index 8724690f7e1da2489255801024d8da624e46db27..0661b718fd3b138e1db3ee057cb56c873d0a8e1b 100644 (file)
@@ -30,7 +30,6 @@
 
 struct svga_context;
 struct pipe_context;
-struct pipe_buffer;
 struct vbuf_render;
 
 
@@ -39,15 +38,10 @@ void svga_destroy_swtnl( struct svga_context *svga );
 
 
 enum pipe_error
-svga_swtnl_draw_range_elements(struct svga_context *svga,
-                               struct pipe_resource *indexBuffer,
-                               unsigned indexSize,
-                               int indexBias,
-                               unsigned min_index,
-                               unsigned max_index,
-                               unsigned prim, 
-                               unsigned start, 
-                               unsigned count);
+svga_swtnl_draw_vbo(struct svga_context *svga,
+                    const struct pipe_draw_info *info,
+                    struct pipe_resource *indexbuf,
+                    unsigned index_offset);
 
 
 #endif