diff options
author | Jakob Bornecrantz <[email protected]> | 2009-03-13 10:38:41 +0000 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2009-03-13 01:38:20 +0100 |
commit | f500f3a72c6be61ff9b8e1166f734e408d00aded (patch) | |
tree | d299b32bba7cc7d2d06380a5ef72d17269da1137 /src/gallium/drivers/nv10/nv10_surface.c | |
parent | f786e46cf4fbf50a1cacfb81e22ee155ffe6edd3 (diff) |
gallium: Remove do_flip argument from surface_copy
I should have gotten most uses and implementation
correctly fixed, but things might break.
Feel free to blame me.
Diffstat (limited to 'src/gallium/drivers/nv10/nv10_surface.c')
-rw-r--r-- | src/gallium/drivers/nv10/nv10_surface.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/gallium/drivers/nv10/nv10_surface.c b/src/gallium/drivers/nv10/nv10_surface.c index 25381510638..5b52246a9ca 100644 --- a/src/gallium/drivers/nv10/nv10_surface.c +++ b/src/gallium/drivers/nv10/nv10_surface.c @@ -33,7 +33,7 @@ #include "util/u_tile.h" static void -nv10_surface_copy(struct pipe_context *pipe, boolean do_flip, +nv10_surface_copy(struct pipe_context *pipe, struct pipe_surface *dest, unsigned destx, unsigned desty, struct pipe_surface *src, unsigned srcx, unsigned srcy, unsigned width, unsigned height) @@ -41,15 +41,6 @@ nv10_surface_copy(struct pipe_context *pipe, boolean do_flip, struct nv10_context *nv10 = nv10_context(pipe); struct nv04_surface_2d *eng2d = nv10->screen->eng2d; - if (do_flip) { - desty += height; - while (height--) { - eng2d->copy(eng2d, dest, destx, desty--, src, - srcx, srcy++, width, 1); - } - return; - } - eng2d->copy(eng2d, dest, destx, desty, src, srcx, srcy, width, height); } |