Surface transformations in the Pixman renderer (Re: [PATCH 1/3] Add missing pixman-renderer.h to Makefile.am)

Pekka Paalanen ppaalanen at gmail.com
Mon Jan 21 00:43:56 PST 2013


On Sat, 19 Jan 2013 08:28:26 +0300
Vasily Khoruzhick <anarsoul at gmail.com> wrote:

> On Sat, Jan 19, 2013 at 5:10 AM, nerdopolis
> <bluescreen_avenger at verizon.net> wrote:
> > Hi.
> >
> > I played around in Weston with the Pixman renderer enabled, and it seems
> > that using the Weston window rotate feature seems to result in some
> > interesting glitches (as well as the Weston zoom animation).
> >
> > This is a screenshot of an attempt to rotate a window.
> >
> > http://imagebin.org/243342
> 
> Hi, pixman renderer does not handle any surface transformations except
> translate yet.
> I can take a look next week if you really need these fancy
> transformations for software rendering

Another solution is to add a flag that a backend can set, which will
make Weston core and shells avoid all transformations beyond
translation, i.e. disable features that need scaling or rotation.

I have this in my TODO, since the rpi backend will be needing it
(DispmanX cannot do rotations, at least), but I am unsure when I will
get to it.

Of course, it would be cool to have both, so a user would have the
option to choose between "guaranteed" performace and feature
completeness.


Thanks,
pq


More information about the wayland-devel mailing list