diff options
author | Keith Whitwell <keithw@vmware.com> | 2010-03-14 22:41:17 +0000 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2010-03-14 22:41:17 +0000 |
commit | 65757a143f8e3fcd7afbc1ff92db44a823edf46c (patch) | |
tree | f6a54322858ea7bbc95d4745fb82c04b505ecfc2 /src/gallium/drivers/svga | |
parent | 2f5435220501d4b3050cab2bb1dce6174cd13ff6 (diff) |
svga: build fixes
Diffstat (limited to 'src/gallium/drivers/svga')
-rw-r--r-- | src/gallium/drivers/svga/svga_sampler_view.c | 1 | ||||
-rw-r--r-- | src/gallium/drivers/svga/svga_state_constants.c | 1 | ||||
-rw-r--r-- | src/gallium/drivers/svga/svga_surface.c | 2 | ||||
-rw-r--r-- | 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 f445e31b46..0019b8b062 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 eeffa03cd2..558031592f 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 8ae80a0dcc..6051eb4e07 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 618445927d..b50ecdc994 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) { |