svga: rename svga_surface_copy() to svga_resource_copy_region()
To be consistent with the pipe_context function name. Reviewed-by: Charmaine Lee <charmainel@vmware.com>
This commit is contained in:
@@ -37,7 +37,7 @@
|
|||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
svga_surface_copy(struct pipe_context *pipe,
|
svga_resource_copy_region(struct pipe_context *pipe,
|
||||||
struct pipe_resource* dst_tex,
|
struct pipe_resource* dst_tex,
|
||||||
unsigned dst_level,
|
unsigned dst_level,
|
||||||
unsigned dstx, unsigned dsty, unsigned dstz,
|
unsigned dstx, unsigned dsty, unsigned dstz,
|
||||||
@@ -167,7 +167,7 @@ svga_flush_resource(struct pipe_context *pipe,
|
|||||||
void
|
void
|
||||||
svga_init_blit_functions(struct svga_context *svga)
|
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.blit = svga_blit;
|
||||||
svga->pipe.flush_resource = svga_flush_resource;
|
svga->pipe.flush_resource = svga_flush_resource;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user