xf86-video-intel: src/i915_video.c

Chris Wilson ickle at kemper.freedesktop.org
Wed Mar 16 08:21:05 PDT 2011


On Wed, 16 Mar 2011 07:59:27 -0700, Keith Packard <keithp at keithp.com> wrote:
> On Wed, 16 Mar 2011 01:41:03 -0700 (PDT), ickle at kemper.freedesktop.org (Chris Wilson) wrote:
> 
> > -					      drw_w, drw_h,
> > +					      dstRegion->extents.x2 - dxo,
> > +					      dstRegion->extents.y2 -
> > dyo,
> 
> Don't you want to use the smaller of the two sizes?

On the normal render onto the front-buffer path, we simply use the boxes
from the region without further clipping against drw_w/drw_h. Similarly
for i965_video. Fortunately, dstRegion is constructed by xf86xv.c as the
intersection of the draw box with the CompositeClip.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the xorg-commit mailing list