DescriptionHandle ui::Layer's visibility using cc::Layer's m_isDrawable flag
Currently, ui::Layers make themselves invisible by setting the opacity
of their corresponding cc::Layer to 0. This is problematic when we
want to animate opacity on the compositor thread but we want to still
allow visibility to concurrently be animated on the main thread. This
CL makes ui::Layers handle visibility changes by recursively setting/
unsetting the m_isDrawable flag of all cc::Layers in the subtree rooted
at the layer whose visibility changed.
BUG=164206
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=180310
Patch Set 1 #
Total comments: 1
Patch Set 2 : Use the existing m_isDrawable flag #
Total comments: 4
Patch Set 3 : Address review comments #
Total comments: 4
Patch Set 4 : Fix nits #
Messages
Total messages: 21 (0 generated)
|