On 24.03.2011 15:41, Adam Jackson wrote:
There's still one semantic difference between this and the original:
 you're not adding the initial region to the Damage.  I'm not
completely sure if that matters in any existing app, but it's
probably better to assume it does.

It looks like damageReportDamage() might do what we want.

Thanks for the pointer!

I made a version that uses damageReportDamage instead. I'm not quite
sure how this affects anything (or how it changes the operation),
though, because wouldn't the region be empty to begin with..

Unfortunately this change also requires an addition to the damage
interface (DamageInitialDamage), because the
information is not available otherwise.
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to