summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2016-06-20 12:41:23 -0600
committerBrian Paul <[email protected]>2016-06-23 07:31:20 -0600
commit4f5d513755be8608eb0a01973eec16f28c6b4b40 (patch)
treeb07e1708e9421bb5da3629875412a21909c47183 /src/gallium/drivers/svga
parent743ff588f27dc3c4a69c63da2a76c69631704ebf (diff)
svga: rename svga_surface_copy() to svga_resource_copy_region()
To be consistent with the pipe_context function name. Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga')
-rw-r--r--src/gallium/drivers/svga/svga_pipe_blit.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gallium/drivers/svga/svga_pipe_blit.c b/src/gallium/drivers/svga/svga_pipe_blit.c
index 8050b1330cd..4eec9272e51 100644
--- a/src/gallium/drivers/svga/svga_pipe_blit.c
+++ b/src/gallium/drivers/svga/svga_pipe_blit.c
@@ -37,14 +37,14 @@
static void
-svga_surface_copy(struct pipe_context *pipe,
- struct pipe_resource* dst_tex,
- unsigned dst_level,
- unsigned dstx, unsigned dsty, unsigned dstz,
- struct pipe_resource* src_tex,
- unsigned src_level,
- const struct pipe_box *src_box)
- {
+svga_resource_copy_region(struct pipe_context *pipe,
+ struct pipe_resource* dst_tex,
+ unsigned dst_level,
+ unsigned dstx, unsigned dsty, unsigned dstz,
+ struct pipe_resource* src_tex,
+ unsigned src_level,
+ const struct pipe_box *src_box)
+{
struct svga_context *svga = svga_context(pipe);
struct svga_texture *stex, *dtex;
unsigned dst_face_layer, dst_z, src_face_layer, src_z;
@@ -167,7 +167,7 @@ svga_flush_resource(struct pipe_context *pipe,
void
svga_init_blit_functions(struct svga_context *svga)
{
- svga->pipe.resource_copy_region = svga_surface_copy;
+ svga->pipe.resource_copy_region = svga_resource_copy_region;
svga->pipe.blit = svga_blit;
svga->pipe.flush_resource = svga_flush_resource;
}