Compute if a layer is clipped outside CalcDrawProps
commitd36e7fa1ce7503fa9c64e3271e1a831c5f3aec50
authorjaydasika <jaydasika@chromium.org>
Tue, 14 Jul 2015 15:15:04 +0000 (14 08:15 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 14 Jul 2015 15:16:04 +0000 (14 15:16 +0000)
treeeedacbefb51ef514b84e78ad8ef7b98deb397052
parenta8c375bf808b8b169e4303deeac4cce20c786d29
Compute if a layer is clipped outside CalcDrawProps

We need to know if a layer is clipped to compute its drawable
visible rect. So, we need to compute it outside CalcDrawProps to move
drawable visible rect computation outside CalcDrawProps.

Committed: https://crrev.com/2af7226e29be65a8ea4a279b9358a6fcfada5cd3
Cr-Commit-Position: refs/heads/master@{#338515}
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

Review URL: https://codereview.chromium.org/1231453002

Cr-Commit-Position: refs/heads/master@{#338691}
15 files changed:
cc/layers/delegated_renderer_layer_impl_unittest.cc
cc/layers/draw_properties.h
cc/layers/layer.cc
cc/layers/layer.h
cc/layers/layer_impl.cc
cc/layers/layer_impl.h
cc/layers/layer_impl_unittest.cc
cc/layers/picture_layer_impl_unittest.cc
cc/test/fake_layer_tree_host_impl.cc
cc/trees/layer_tree_host_common.cc
cc/trees/layer_tree_host_common_unittest.cc
cc/trees/layer_tree_host_impl_unittest.cc
cc/trees/layer_tree_impl.cc
cc/trees/layer_tree_impl_unittest.cc
cc/trees/property_tree_builder.cc