[Intel-gfx] [patch] Fix XV scan line calculation when rotated

Barry Scott barry.scott at onelan.co.uk
Wed Jun 17 18:52:48 CEST 2009


Łukasz Kuryło wrote:
> Wednesday 17 of June 2009 18:18:33 Barry Scott napisał(a):
> > The attached patch fixes the problems I was seeing with XV when rotated.
> >
> > The box is in screen coordinates and must be transformed into crtc
> > coordinates
> > to calculate the correct scan line numbers.
> >
> > Barry
> >
> >
>
>
> Hi Barry,
> another issue is multiple monitor configuration.
> What if box is not entirely in one crtc.
> Are those
> y1 = box_in_crtc_coordinates.y1 - crtc->y;
> y2 = box_in_crtc_coordinates.y2 - crtc->y;
> correct then?
If it is a problem then the original and patched versions have the same 
problem.

Barry




More information about the Intel-gfx mailing list