diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-07-12 23:57:42 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-07-13 00:01:08 +0100 |
commit | 0230ef72cbb2d3bcf7157548ddd52a71c0c771c5 (patch) | |
tree | faddb5936e645583f1efd88c2c1f99e9a8e7a494 /src/sna/sna_render.h | |
parent | 2b16eaefb38b4a6efe50a397e68793ab9a1cb2ef (diff) |
sna: Skip copying to the intermediate target if we will completely overwrite it
Occasionally when forced to use an intermediate destination surface, we
know that we will completely overwrite the contents of the surface and
so we can forgo the initial copy from the target.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_render.h')
-rw-r--r-- | src/sna/sna_render.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sna/sna_render.h b/src/sna/sna_render.h index ab69fe02..aace869e 100644 --- a/src/sna/sna_render.h +++ b/src/sna/sna_render.h @@ -727,7 +727,8 @@ inline static void sna_render_composite_redirect_init(struct sna_composite_op *o bool sna_render_composite_redirect(struct sna *sna, struct sna_composite_op *op, - int x, int y, int width, int height); + int x, int y, int width, int height, + bool partial); void sna_render_composite_redirect_done(struct sna *sna, |