[SPv2] Decomposite otherwise-compositable animations that paint nothing.
In SPv1 we create cc layers for composited animations even if they
paint no content.
In SPv2, we only create cc layers when something is painted,
a.k.a., there is a PaintChunk.
This means that in SPv1 we could be assured that a composited
animation that painted no content would still have a cc layer
with the animation's compositor element id set on it, but in
SPv2 such an animation will have no cc layer and accordingly
it is impossible to run it as a composited animation.
In SPv2, we choose to not composite such animations.
To do otherwise would require:
1. code complexity to identify when this is the case,
through a dummy PaintChunk or similar, and ensure that
we create a cc layer even though there's nothing in need
of painting.
2. compositor resource overhead to maintain a layer
solely for the purpose of executing a composited animation
even though it is not producing any visible content.
BUG=
692310
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Review-Url:
https://codereview.chromium.org/2724083002
Cr-Commit-Position: refs/heads/master@{#462748}
Committed:
https://chromium.googlesource.com/chromium/src/+/efeb13b3ba0f7604fe7f61a69d83870d1a5f51fa