svga: rename svga_surface_copy() to svga_resource_copy_region()
authorBrian Paul <brianp@vmware.com>
Mon, 20 Jun 2016 18:41:23 +0000 (12:41 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 23 Jun 2016 13:31:20 +0000 (07:31 -0600)
To be consistent with the pipe_context function name.

Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/drivers/svga/svga_pipe_blit.c

index 8050b1330cdb44d37a58e52e6f56e179aa2aeadf..4eec9272e518cd5d730e5857f36419ba0e0a74a5 100644 (file)
 
 
 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;
 }