[PATCH] DRI2: track drawable serial numbers
Keith Packard
keithp at keithp.com
Fri Jul 2 20:23:04 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.
The serial number changes whenever the cliplist changes for the window,
which is probably a lot more often than you want to do this
operation. What are you trying to detect? Changes in the pixmap?
Wrapping SetWindowPixmap would give you that.
--
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/442f16ba/attachment.pgp>
More information about the xorg-devel
mailing list