gallium: move softpipe_get_tex_surface() prototype
authorBrian <brian.paul@tungstengraphics.com>
Tue, 22 Jan 2008 03:23:48 +0000 (20:23 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Tue, 22 Jan 2008 04:17:20 +0000 (21:17 -0700)
src/mesa/pipe/softpipe/sp_surface.h
src/mesa/pipe/softpipe/sp_texture.h

index b652e7598e89e04f42c80d24ea73e808fa72bc8c..f06a325dae921e6faf88665497ae8ce47422dac7 100644 (file)
 
 struct pipe_context;
 struct softpipe_context;
-struct softpipe_tile_cache;
-
-
-extern struct pipe_surface *
-softpipe_get_tex_surface(struct pipe_context *pipe,
-                         struct pipe_texture *pt,
-                         unsigned face, unsigned level, unsigned zslice);
 
 
 extern void
index d142bdddac6868101d063cc09707307f07a24813..0494bf365b69754fe6965e8513f911f1e3dc925c 100644 (file)
@@ -61,7 +61,10 @@ softpipe_texture_create(struct pipe_context *pipe, struct pipe_texture **pt);
 extern void
 softpipe_texture_release(struct pipe_context *pipe, struct pipe_texture **pt);
 
-
-#endif /* SP_TEXTURE */
+extern struct pipe_surface *
+softpipe_get_tex_surface(struct pipe_context *pipe,
+                         struct pipe_texture *pt,
+                         unsigned face, unsigned level, unsigned zslice);
 
 
+#endif /* SP_TEXTURE */