summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2016-05-03 11:24:58 -0400
committerAdam Jackson <ajax@redhat.com>2016-05-18 15:25:44 -0400
commit4e124203f2260daaf54155f4a05fe469733e0b97 (patch)
tree7e332cb1b313f9e406e92dc278927eae2d303c3d /configure.ac
parent1bb932bf1417ff319a594d7e40f6813a26936784 (diff)
damage: Make damageRegionProcessPending take a damage not a drawable
In the case where there's no damage monitor on the drawable, we look that fact up twice: once before rendering to decide whether to compute damage, and again after to decide whether to append it. This is wasted effort, as the layer below us is effectively not allowed to change whether there's a damage monitor for the drawable, but there's no way the compiler can know that. Instead, look it up once up front, and change the check macros and damageRegionProcessPending to take a damage not a drawable. v2: Explicitly pass pDamage to the macros as well (Michel Dänzer) Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions