Descriptionviews: Early out of painting Views with empty bounds.
They are empty so they aren't visible. Trying to paint a view with
empty bounds actually leads to DCHECK fails when they try to use the
empty size incorrectly. With slimming paint this could happen for the
first frame when we paint /everything/ to try cache it all until
invalidation. Instead, defer painting empty things until they actually
have something to paint. This also means less wasted time painting
subtrees that aren't visible.
R=sky@chromium.org, weiliangc@chromium.org, sky, weiliangc
BUG=498066
Committed: https://chromium.googlesource.com/chromium/src/+/980b6840952ecfd1d23dd30e536c020d5d9641be
Patch Set 1 #
Total comments: 2
Patch Set 2 : emptyview: size #
Messages
Total messages: 14 (4 generated)
|