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

Łukasz Kuryło lukasz.kurylo at gmail.com
Wed Jun 17 09:38:28 PDT 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.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
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.pgp 


More information about the Intel-gfx mailing list