diff options
author | Adam Jackson <ajax@redhat.com> | 2016-04-05 15:53:02 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2016-04-07 11:02:55 -0400 |
commit | 7d3ad6904fbde155a04a5803550c28f00a724911 (patch) | |
tree | 8fa0061ce686381b2af12024db0b15d6e543b85c /dbe | |
parent | 980fd34f4767e0c73b73b4bad092e972499a84d8 (diff) |
damage: Make damageRegionProcessPending take a damage not a drawableperformance
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. 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 refer to it.
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'dbe')
0 files changed, 0 insertions, 0 deletions