答复: 答复: XRandR rotate support HW rotateor not?

FloraGui at viatech.com.cn FloraGui at viatech.com.cn
Fri Oct 31 04:14:37 PDT 2008


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 at fairlite.co.uk] 
发送时间: 2008年10月31日 19:09
收件人: Flora Gui
抄送: xorg at 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 at 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 at fairlite.co.uk] 
> 发送时间: 2008年10月31日 18:47
> 收件人: Flora Gui
> 抄送: xorg at lists.freedesktop.org
> 主题: Re: XRandR rotate support HW rotate or not?
> 
> On Fri, 2008-10-31 at 17:50 +0800, FloraGui at 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.
> 
> 




More information about the xorg mailing list