[PATCH 2/7] composite: Add exception mechanism for implicit redirection policy

2014-04-01 Thread Kristian Høgsberg
Normally composite will decide to add implicit redirection when a window with an alternate visual is a parent of a window with a regular visual or vice versa. This uses extra pixmap memory and incurs an extra copy. This exception mechanism provides a way for a DDX to override this if the DDX

Re: [PATCH 2/7] composite: Add exception mechanism for implicit redirection policy

2014-04-01 Thread Jasper St. Pierre
Does this mean this mean that reparenting an RGB24 visual window into an ARGB32 visual window will only be copy-free on Xwayland and not Xorg? On Tue, Apr 1, 2014 at 2:53 AM, Kristian Høgsberg k...@bitplanet.net wrote: Normally composite will decide to add implicit redirection when a window

Re: [PATCH 2/7] composite: Add exception mechanism for implicit redirection policy

2014-04-01 Thread Keith Packard
Jasper St. Pierre jstpie...@mecheye.net writes: Does this mean this mean that reparenting an RGB24 visual window into an ARGB32 visual window will only be copy-free on Xwayland and not Xorg? Until someone makes it work, yes. It's not completely trivial; you have to make sure the rendering code