diff options
author | Carl Worth <cworth@cworth.org> | 2009-04-06 14:36:33 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2009-04-07 12:33:41 -0700 |
commit | 7b74b77557aa4100017ef3f9d344fb4071ae8470 (patch) | |
tree | 3948754219c97d99ff6e2330a67f85d77fa61e36 | |
parent | d8ce818c4e4ca0c348c16ead1b747165bce4bedb (diff) |
Don't clip video to CRTC in the case of textured video
Since we're not limited by a single overlay plane on a single pipe,
we want to not clip at all, (so that the correct video appears on
both pipes).
This fixes bug #20980 which shows a video spanning two pipes
being rendered incorrectly.
(cherry picked from commit 940c2aad4d174b6609bdc49f8c99a4bc37926516)
-rw-r--r-- | src/i830_video.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/i830_video.c b/src/i830_video.c index 13f3ab14..4ed30478 100644 --- a/src/i830_video.c +++ b/src/i830_video.c @@ -2146,7 +2146,8 @@ i830_clip_video_helper (ScrnInfoPtr pScrn, pPriv->desired_crtc, &crtc_box); - if (crtc) + /* For textured video, we don't actually want to clip at all. */ + if (crtc && !pPriv->textured) { REGION_INIT (pScreen, &crtc_region_local, &crtc_box, 1); crtc_region = &crtc_region_local; |