sna: mark the pixmap as no longer clear after rendering video

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2012-01-24 19:02:56 +00:00
parent 69d3fc91f4
commit 5312ee90ad
5 changed files with 5 additions and 0 deletions

View File

@ -3745,6 +3745,7 @@ gen3_render_video(struct sna *sna,
pix_xoff, pix_yoff);
}
}
priv->clear = false;
return TRUE;
}

View File

@ -1785,6 +1785,7 @@ gen4_render_video(struct sna *sna,
}
box++;
}
priv->clear = false;
gen4_vertex_flush(sna, &tmp);
return TRUE;

View File

@ -1816,6 +1816,7 @@ gen5_render_video(struct sna *sna,
}
box++;
}
priv->clear = false;
gen5_vertex_flush(sna);
return TRUE;

View File

@ -2028,6 +2028,7 @@ gen6_render_video(struct sna *sna,
}
box++;
}
priv->clear = false;
gen6_vertex_flush(sna);
return TRUE;

View File

@ -2094,6 +2094,7 @@ gen7_render_video(struct sna *sna,
}
box++;
}
priv->clear = false;
gen7_vertex_flush(sna);
return TRUE;