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

Łukasz Kuryło lukasz.kurylo at gmail.com
Wed Jun 17 18:38:28 CEST 2009


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20090617/55fd8891/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20090617/55fd8891/attachment.sig>


More information about the Intel-gfx mailing list