[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: =?gb2312?Q?=B4=F0=B8=B4=3A?= =?gb2312?Q?_=B4=F0=B8=B4=3A?=
From:       Alan Hourihane <alanh () fairlite ! co ! uk>
Date:       2008-10-31 11:26:43
Message-ID: 1225452403.4744.158.camel () jetpack ! demon ! co ! uk
[Download RAW message or body]

Yes, use the damage extension.

Look at the Intel driver as an example.

Alan.

On Fri, 2008-10-31 at 19:14 +0800, FloraGui@viatech.com.cn wrote:
> Dear Alan:
> 	If it action like this, what is feature of xrandr?
> Do you mean we could realize some part function of xrandr rotate use damage \
> extension? 
> -----邮件原件-----
> 发件人: Alan Hourihane [mailto:alanh@fairlite.co.uk] 
> 发送时间: 2008年10月31日 19:09
> 收件人: Flora Gui
> 抄送: xorg@lists.freedesktop.org
> 主题: Re: 答复: XRandR rotate support HW rotateor not?
> 
> You do accelerated drawing to the new offscreen framebuffer, and rotate
> blit the damaged regions.
> 
> Again, you should look at the intel driver for an example.
> 
> Alan.
> 
> On Fri, 2008-10-31 at 19:05 +0800, FloraGui@viatech.com.cn wrote:
> > Dear Alan:
> > 	Do you mean we can use damage extension to draw the update screen, so the draw \
> > speed can up a litter.  But the rotation action still use xrandr's software \
> > rotation method, is it right? 
> > -----邮件原件-----
> > 发件人: Alan Hourihane [mailto:alanh@fairlite.co.uk] 
> > 发送时间: 2008年10月31日 18:47
> > 收件人: Flora Gui
> > 抄送: xorg@lists.freedesktop.org
> > 主题: Re: XRandR rotate support HW rotate or not?
> > 
> > On Fri, 2008-10-31 at 17:50 +0800, FloraGui@viatech.com.cn wrote:
> > > Dear Keith Packard:
> > > 
> > > I have recently study RandR,  I found if we use RandR rotate no
> > > matter static rotate or dynamic rotate,we always use RandR's own
> > > software rotate.
> > > 
> > > We draw the screen desktop very slow,  how can we support HW
> > > rotate using RandR or it is a RandR limitation, if it is, RandR1.3 has
> > > support HW rotate or not ?
> > > 
> > > Thanks a lot!
> > 
> > It is possible to support HW accelerated rotation.
> > 
> > You can use the damage extension to get rectangular regions to do
> > rotated blits.
> > 
> > You can look at the Intel driver to see how this is done for an example.
> > 
> > Alan.
> > 
> > 
> 

_______________________________________________
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic