Module: Mesa Branch: gallium-resources Commit: 65757a143f8e3fcd7afbc1ff92db44a823edf46c URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=65757a143f8e3fcd7afbc1ff92db44a823edf46c
Author: Keith Whitwell <[email protected]> Date: Sun Mar 14 22:41:17 2010 +0000 svga: build fixes --- src/gallium/drivers/svga/svga_sampler_view.c | 1 + src/gallium/drivers/svga/svga_state_constants.c | 1 - src/gallium/drivers/svga/svga_surface.c | 2 +- src/gallium/drivers/svga/svga_surface.h | 12 ++++++++++++ 4 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/svga/svga_sampler_view.c b/src/gallium/drivers/svga/svga_sampler_view.c index f445e31..0019b8b 100644 --- a/src/gallium/drivers/svga/svga_sampler_view.c +++ b/src/gallium/drivers/svga/svga_sampler_view.c @@ -39,6 +39,7 @@ #include "svga_sampler_view.h" #include "svga_winsys.h" #include "svga_debug.h" +#include "svga_surface.h" #include <util/u_string.h> diff --git a/src/gallium/drivers/svga/svga_state_constants.c b/src/gallium/drivers/svga/svga_state_constants.c index eeffa03..5580315 100644 --- a/src/gallium/drivers/svga/svga_state_constants.c +++ b/src/gallium/drivers/svga/svga_state_constants.c @@ -83,7 +83,6 @@ static int emit_consts( struct svga_context *svga, int unit ) { struct pipe_transfer *transfer = NULL; - struct pipe_screen *screen = svga->pipe.screen; unsigned count; const float (*data)[4] = NULL; unsigned i; diff --git a/src/gallium/drivers/svga/svga_surface.c b/src/gallium/drivers/svga/svga_surface.c index 8ae80a0..6051eb4 100644 --- a/src/gallium/drivers/svga/svga_surface.c +++ b/src/gallium/drivers/svga/svga_surface.c @@ -43,7 +43,7 @@ #include <util/u_string.h> -static void +void svga_texture_copy_handle(struct svga_context *svga, struct svga_screen *ss, struct svga_winsys_surface *src_handle, diff --git a/src/gallium/drivers/svga/svga_surface.h b/src/gallium/drivers/svga/svga_surface.h index 6184459..b50ecdc 100644 --- a/src/gallium/drivers/svga/svga_surface.h +++ b/src/gallium/drivers/svga/svga_surface.h @@ -72,6 +72,18 @@ svga_texture_view_surface(struct pipe_context *pipe, struct svga_host_surface_cache_key *key); /* OUT */ +void +svga_texture_copy_handle(struct svga_context *svga, + struct svga_screen *ss, + struct svga_winsys_surface *src_handle, + unsigned src_x, unsigned src_y, unsigned src_z, + unsigned src_level, unsigned src_face, + struct svga_winsys_surface *dst_handle, + unsigned dst_x, unsigned dst_y, unsigned dst_z, + unsigned dst_level, unsigned dst_face, + unsigned width, unsigned height, unsigned depth); + + static INLINE struct svga_surface * svga_surface(struct pipe_surface *surface) { _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
