[PATCH] DRI2: use ConfigNotify to re-allocate buffers if root window changes

Keith Packard keithp at keithp.com
Thu Jul 8 14:06:02 PDT 2010


On Thu, 8 Jul 2010 15:47:14 -0400, Kristian Høgsberg <krh at bitplanet.net> wrote:

> So the current code handles it as it is, but only because we don't
> swap window pixmaps for redirected windows.  If we want to handle
> that, we need to check if the window in ConfigureNotify has a DRI2
> subwindow and do stuff if so, which doesn't sound like a good
> approach.  Maybe we're better off hooking pScreen->SetWindowPixmap and
> marking the buffers as invalid there.

Presumably we'd need to get RandR to call the SetWindowPixmap function
when the root window changed size?

-- 
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/20100708/1f287ad1/attachment.pgp>


More information about the xorg-devel mailing list