xserver-multidpi/miext
Adam Jackson 32e632e858 Revert "damage: Make damageRegionProcessPending take a damage not a drawable"
The commit message makes the assertion that the code below damage is not
allowed to change whether there's a damage monitor for the drawable.
That turns out not to be the case! exa's mixed code, at least, will
create and destroy a damage in PrepareAccess. The destroy path can then
be catastrophic, as damageRegionProcessPending will attempt to
RegionEmpty memory from the middle of a freed block.

I'd wanted that invariant for performance, but faster isn't worth
broken, so revert it. I think what exa's doing is reasonable, so the
better way to improve performance for the unmonitored case is to either
revisit dynamically wrapping into the GC, or inline damage into dix.

This reverts commit 4e124203f2.

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1389886
Signed-off-by: Adam Jackson <ajax@redhat.com>
2016-12-13 09:21:36 -05:00
..
damage Revert "damage: Make damageRegionProcessPending take a damage not a drawable" 2016-12-13 09:21:36 -05:00
rootless Remove fd_set from Block/Wakeup handler API 2016-07-18 15:27:51 -04:00
shadow shadow: Remove unused shadowAlloc 2016-12-12 14:10:44 -05:00
sync Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
Makefile.am rootless: Build unconditionally 2015-07-08 16:41:28 -04:00