@@ -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> | |||
@@ -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; |
@@ -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, |
@@ -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) | |||
{ |