diff options
author | Adam Jackson <ajax@redhat.com> | 2016-05-03 11:24:58 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2016-05-18 15:25:44 -0400 |
commit | 4e124203f2260daaf54155f4a05fe469733e0b97 (patch) | |
tree | 7e332cb1b313f9e406e92dc278927eae2d303c3d /configure.ac | |
parent | 1bb932bf1417ff319a594d7e40f6813a26936784 (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