[PATCH] DRI2: track drawable serial numbers

2010-07-02 Thread Jesse Barnes
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. Fixes bug https://bugs.free

Re: [PATCH] DRI2: track drawable serial numbers

2010-07-02 Thread Keith Packard
On Fri, 2 Jul 2010 12:26:34 -0700, Jesse Barnes 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 w

Re: [PATCH] DRI2: track drawable serial numbers

2010-07-02 Thread Keith Packard
On Fri, 2 Jul 2010 12:26:34 -0700, Jesse Barnes 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

Re: [PATCH] DRI2: track drawable serial numbers

2010-07-03 Thread Jesse Barnes
On Fri, 02 Jul 2010 23:54:26 -0400 Keith Packard wrote: > On Fri, 2 Jul 2010 12:26:34 -0700, Jesse Barnes > 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 DRI