[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cairo x11 surfaces
From: |
Niels Grewe |
Subject: |
Re: cairo x11 surfaces |
Date: |
Fri, 14 Oct 2011 15:50:00 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20111005 Icedove/3.1.15 |
Hi Eric,
Am 13.10.2011 23:26, schrieb Eric Wasylishen:
> I had a look at implementing it today, and it turned out to be easier than
> expected so I finished & committed it.
>
> If we run in to problems we can switch back to XGCairoXImageSurface before
> the next release, but it looks promising. In particular, I tried X forwarding
> to Apple's X11.app, which only supports 24-bit windows, and the new surface
> is significantly faster than XGCairoXImageSurface, and the alpha channel of
> images is correctly preserved (unlike XGCairoSurface).
This is a nice change; things seem a lot faster now in the normal case.
But (at least for me) it seems to have quite the opposite effect once I
turn on compositing in the window manager (kwin, in this case). I'm
guessing that is because the compositing manager does its own
double-buffering, though the effects are a bit more servere than I would
expect from just that.
A possible workaround would be to check whether a compositing manager
has taken the _NET_WM_CM_S${ScreenNum} [0] selection and avoid the
double buffering in that case. But then we'd also have to keep track of
when compositing is enabled and disabled.
Cheers,
Niels
[0] http://standards.freedesktop.org/wm-spec/wm-spec-latest.html#id2552745
- Re: cairo x11 surfaces, (continued)
- Re: cairo x11 surfaces, Eric Wasylishen, 2011/10/13
- Re: cairo x11 surfaces, Wolfgang Lux, 2011/10/14
- Re: cairo x11 surfaces, Eric Wasylishen, 2011/10/14
- Re: cairo x11 surfaces, Wolfgang Lux, 2011/10/15
- Re: cairo x11 surfaces, David Chisnall, 2011/10/15
- Re: cairo x11 surfaces, Wolfgang Lux, 2011/10/15
- Re: cairo x11 surfaces,
Niels Grewe <=
- Re: cairo x11 surfaces, Riccardo Mottola, 2011/10/16
- Re: cairo x11 surfaces, Riccardo Mottola, 2011/10/17