diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-01-24 19:02:56 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-01-24 19:02:56 +0000 |
commit | 5312ee90ad80eda1c6ff72fbef60f77f03094972 (patch) | |
tree | 19e3ca39a32b98ceb05d942965f85c86fff0fda3 | |
parent | 69d3fc91f4a397f704b9971f97a905626e86eb3c (diff) |
sna: mark the pixmap as no longer clear after rendering video
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/sna/gen3_render.c | 1 | ||||
-rw-r--r-- | src/sna/gen4_render.c | 1 | ||||
-rw-r--r-- | src/sna/gen5_render.c | 1 | ||||
-rw-r--r-- | src/sna/gen6_render.c | 1 | ||||
-rw-r--r-- | src/sna/gen7_render.c | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/src/sna/gen3_render.c b/src/sna/gen3_render.c index acccf0ae..618f6946 100644 --- a/src/sna/gen3_render.c +++ b/src/sna/gen3_render.c @@ -3745,6 +3745,7 @@ gen3_render_video(struct sna *sna, pix_xoff, pix_yoff); } } + priv->clear = false; return TRUE; } diff --git a/src/sna/gen4_render.c b/src/sna/gen4_render.c index 5ffd4a70..c1ceb33a 100644 --- a/src/sna/gen4_render.c +++ b/src/sna/gen4_render.c @@ -1785,6 +1785,7 @@ gen4_render_video(struct sna *sna, } box++; } + priv->clear = false; gen4_vertex_flush(sna, &tmp); return TRUE; diff --git a/src/sna/gen5_render.c b/src/sna/gen5_render.c index 768a5db0..6308d103 100644 --- a/src/sna/gen5_render.c +++ b/src/sna/gen5_render.c @@ -1816,6 +1816,7 @@ gen5_render_video(struct sna *sna, } box++; } + priv->clear = false; gen5_vertex_flush(sna); return TRUE; diff --git a/src/sna/gen6_render.c b/src/sna/gen6_render.c index 371e999b..5cbdd748 100644 --- a/src/sna/gen6_render.c +++ b/src/sna/gen6_render.c @@ -2028,6 +2028,7 @@ gen6_render_video(struct sna *sna, } box++; } + priv->clear = false; gen6_vertex_flush(sna); return TRUE; diff --git a/src/sna/gen7_render.c b/src/sna/gen7_render.c index 209d8a0d..ee546e18 100644 --- a/src/sna/gen7_render.c +++ b/src/sna/gen7_render.c @@ -2094,6 +2094,7 @@ gen7_render_video(struct sna *sna, } box++; } + priv->clear = false; gen7_vertex_flush(sna); return TRUE; |