xf86-video-intel: src/i915_video.c
Chris Wilson
ickle at kemper.freedesktop.org
Wed Mar 16 01:41:03 PDT 2011
src/i915_video.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit ee740778f5d5355c04f6fc4564f598993b106d62
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Wed Mar 16 08:37:24 2011 +0000
i915/video: Clip indirect Xv output
In the case of a singular clip box and rendering onto the front buffer
larger than 2048, the clip extents were being ignored. Here we can
simply reduce the size of the indirect pixmap to the clip extents.
Reported-by: Michael Chang <mchang at novell.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=35346
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
diff --git a/src/i915_video.c b/src/i915_video.c
index 861bea6..d46c6d1 100644
--- a/src/i915_video.c
+++ b/src/i915_video.c
@@ -69,7 +69,8 @@ I915DisplayVideoTextured(ScrnInfoPtr scrn,
ScreenPtr screen = pixmap->drawable.pScreen;
target = screen->CreatePixmap(screen,
- drw_w, drw_h,
+ dstRegion->extents.x2 - dxo,
+ dstRegion->extents.y2 - dyo,
pixmap->drawable.depth,
CREATE_PIXMAP_USAGE_SCRATCH);
More information about the xorg-commit
mailing list