[PATCH 10/13] composite: Fix COW creation for Xinerama (v2)

Keith Packard keithp at keithp.com
Mon Dec 9 08:58:33 PST 2013


Adam Jackson <ajax at redhat.com> writes:

> Say you have two 800x600 screens left/right of each other.  A window
> that's 200x200 at +700+0 in protocol coordinate space will appear to be
> at -100+0 in the coordinate space of the right hand screen.  Put another
> way: windows are in the coordinate space of their root window pixmap.
>
> We weren't doing this translation for the COW, so when rendering came in
> to it you'd see the top-left chunk of the COW on all screens.  Cool
> effect and all, but wrong.
>
> v2: Only translate when Xinerama is active [keithp]

Reviewed-by: Keith Packard <keithp at keithp.com>

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20131209/49f6c7bf/attachment.pgp>


More information about the xorg-devel mailing list