[RFC PATCH] damageproto: Explicitly document Damage lifetimes

Keith Packard keithp at keithp.com
Thu Mar 29 21:25:36 PDT 2012


<#part sign=pgpmime>
On Thu, 29 Mar 2012 16:39:13 -0400, Adam Jackson <ajax at redhat.com> wrote:

> Changing the lifetime would mean needing to change the extension major
> number, since otherwise currently legal 1.x clients would leak
> themselves to death, and that's not nice.

My thought was that we'd add a new request that would change the
lifetime, leaving things compatible for old apps, and allowing new apps
to get the right answer.

> And then you'd basically have
> to support both at runtime anyway, and boo to that.

Yeah, a pain tbs.

> DamageDestroyed would be 1.2 not 2.0, and gives you "PixmapDestroyed"
> for nearly free.  Completely free if we add DamageReportLevelNone.

We could add PixmapDestroyed events to XFixes.

-- 
keith.packard at intel.com


More information about the xorg-devel mailing list