[PATCH 12/14] composite: Fix COW creation for Xinerama

Keith Packard keithp at keithp.com
Mon Dec 2 15:40:45 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.

You should probably pull the x and y out of the scree only in the
PANORAMIX case, just as w and h are? Seems more consistent to me.

-- 
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/20131202/22af496e/attachment.pgp>


More information about the xorg-devel mailing list