DescriptionMove early outs to the top of View::Paint and OnPaintLayer
This makes the CullSet check into an early out instead of
an if-block wrapping a whole function.
It also moves the |visible_| early out to the same place
from PaintCommon(). This hints at combining Paint() and
PaintCommont().
This also moves the |visible_| early out to the other caller
of PaintCommon() which is OnPaintLayer(), and can early
out before doing the solid color clear.
BUG=466426
Committed: https://crrev.com/dfc1488dea1301d4656e2a5c73b586a5058c4ce6
Cr-Commit-Position: refs/heads/master@{#322220}
Patch Set 1 #Patch Set 2 : paint-visible-earlyouts: . #
Total comments: 2
Patch Set 3 : paint-visible-earlyouts: onpaintlayer #Patch Set 4 : paint-visible-earlyouts: rebase #Messages
Total messages: 23 (12 generated)
|