compositedEffectsApplied property
Opacities and image filters the pass applied — the two effects a repaint
boundary carries in updateCompositedLayer, where a direct paint()
call cannot see them. Zero here on a tree containing an Opacity means
the pass dropped its transparency.
One rule on every route, so the number means the same whichever one a
tree happens to use: an effect is counted when the pass actually applies
it, whether it came off a composited boundary, through pushOpacity or
through pushLayer. An alpha of 255 and a missing filter apply nothing
and are not counted; an alpha of 0 hides its content and is.
Implementation
int compositedEffectsApplied = 0;