From: Brian Date: Tue, 22 Jan 2008 03:23:48 +0000 (-0700) Subject: gallium: move softpipe_get_tex_surface() prototype X-Git-Tag: android-x86-1.6~16^2~1465^2~390^2~2922 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=4211d2d4618ace01c70b86f69d8d0d297f83d74d;p=android-x86%2Fexternal-mesa.git gallium: move softpipe_get_tex_surface() prototype --- diff --git a/src/mesa/pipe/softpipe/sp_surface.h b/src/mesa/pipe/softpipe/sp_surface.h index b652e7598e8..f06a325dae9 100644 --- a/src/mesa/pipe/softpipe/sp_surface.h +++ b/src/mesa/pipe/softpipe/sp_surface.h @@ -36,13 +36,6 @@ 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 diff --git a/src/mesa/pipe/softpipe/sp_texture.h b/src/mesa/pipe/softpipe/sp_texture.h index d142bdddac6..0494bf365b6 100644 --- a/src/mesa/pipe/softpipe/sp_texture.h +++ b/src/mesa/pipe/softpipe/sp_texture.h @@ -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 */