cc: Synchronize num copy requests to LayerImpl
commitf6ec8ed9184e75502fff67325e9fd03aed61aec4
authorenne <enne@chromium.org>
Tue, 22 Sep 2015 07:45:38 +0000 (22 00:45 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 22 Sep 2015 07:46:25 +0000 (22 07:46 +0000)
tree2c5123574b262505833e780ae8c205948ef2cd98
parentad0c0ac625cc4bb6edbb80e41131ecabbc1b0a92
cc: Synchronize num copy requests to LayerImpl

With this change, precalculate meta-information no longer needs to be
run for property trees on the compositor thread.  Since we don't have
a property tree-only mode yet, we can't do this in practice yet, but
it will be useful for one-off benchmarking.

Property trees currently only need two pieces of meta-information (num
unclipped descendants for building property trees on the main thread,
and num copy requests).  Both of these could move to the effect tree
in the future.

R=weiliangc@chromium.org,ajuma@chromium.org
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

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

Cr-Commit-Position: refs/heads/master@{#350125}
cc/layers/draw_properties.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/trees/draw_property_utils.cc
cc/trees/layer_tree_host_common.cc
cc/trees/layer_tree_host_common_unittest.cc