<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'DejaVu Sans'; font-size:8pt; font-weight:400; font-style:normal;">On czwartek 18 czerwca 2009 18:04:35 Barry Scott wrote:<br>
> Łukasz Kuryło wrote:<br>
> > On środa 17 czerwca 2009 18:52:48 you wrote:<br>
> > > Łukasz Kuryło wrote:<br>
> > > > Wednesday 17 of June 2009 18:18:33 Barry Scott napisał(a):<br>
> > > > > The attached patch fixes the problems I was seeing with XV when <br>
> > rotated.<br>
> > > > ><br>
> > > > > The box is in screen coordinates and must be transformed into crtc<br>
> > > > > coordinates<br>
> > > > > to calculate the correct scan line numbers.<br>
> > > > ><br>
> > > > > Barry<br>
> > > > ><br>
> > > > ><br>
> > > ><br>
> > > ><br>
> > > > Hi Barry,<br>
> > > > another issue is multiple monitor configuration.<br>
> > > > What if box is not entirely in one crtc.<br>
> > > > Are those<br>
> > > > y1 = box_in_crtc_coordinates.y1 - crtc->y;<br>
> > > > y2 = box_in_crtc_coordinates.y2 - crtc->y;<br>
> > > > correct then?<br>
> > > If it is a problem then the original and patched versions have the same<br>
> > > problem.<br>
> > ><br>
> > > Barry<br>
> > ><br>
> > ><br>
> > Barry have you checked that patch?<br>
> Yes I'm running with it applied.<br>
> > Does it work when screen is inverted (upside down), <br>
> Yes it works for all four rotations.<br>
> > also isn't crtc->y in screen coordinates as well?<br>
> I don't know, one of the intel developers would be best to comment on that.<br>
> The value while I was testing was always 0.<br>
> <br>
> Did you mean to reply off list?<br>
> <br>
> Barry<br>
> <br>
> <br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Hi Barry,<br>
in commit <br>
<table border="0" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px;" cellspacing="2" cellpadding="0"><tr><td colspan="2"><a href="http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=e5bfa2702a31566fa94fa75f7289d7cbe9825420"><span style=" text-decoration: underline; color:#0057ae;">e5bfa2702a31566fa94fa75f7289d7cbe9825420</span></a></p></td></tr></table>I've added clipping of scanlines I think in i830_video it would be useful as well.  But what bothers me is crtc->y value. As long as you have one screen crtc->y is 0 and thats not a problem but please have a look at this odg file.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>I hit reply instead of repry to list.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p></body></html>