[PATCH] DRI2: track drawable serial numbers

Keith Packard keithp at keithp.com
Fri Jul 2 20:54:26 PDT 2010


On Fri, 2 Jul 2010 12:26:34 -0700, Jesse Barnes <jbarnes at virtuousgeek.org> wrote:

> If a pixmap header is modified or the drawable serial changes, some
> aspects of the drawable are likely to have changed so we should
> re-allocate the corresponding DRI2 drawable in that case.  This is one
> way of catching when the root window pixmap changes through xrandr.

For windows, you might use the serial number of the window pixmap
instead of the window serial number.

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


More information about the xorg-devel mailing list