diff options
author | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-09 23:54:31 +0000 |
---|---|---|
committer | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-09 23:54:31 +0000 |
commit | 166db5c8936232da188fbae0c8b0932f92b1df0f (patch) | |
tree | ef2b4c2751d0524f83ca2e81572e0bed722e619e /cc/layer_tree_impl.h | |
parent | f368a2e7f88cff715ed231b04381543e4eac2fbc (diff) | |
download | chromium_src-166db5c8936232da188fbae0c8b0932f92b1df0f.zip chromium_src-166db5c8936232da188fbae0c8b0932f92b1df0f.tar.gz chromium_src-166db5c8936232da188fbae0c8b0932f92b1df0f.tar.bz2 |
cc: Generate tilings at other scales for impl-side painting
This patch adds infrastructure to make it easy for PictureLayerImpl to
manage its set of tilings via PictureLayerImpl::ManageTiles().
The main functionality change is to additionally generate a low-res set
of tiles (by default 1/8 resolution). Along with generating tilings at
different scales, tile priorities now have the correct resolution set on
them so that they can be prioritized correctly.
There's a few small bugfixes added here as well for correctness, such as
making sure that tilings are sorted in the PictureLayerTilingSet from
highest to lowest. (This is the order in which tiles will be used.) It
also correctly calculates a synthetic contents scale / content bounds for
the PictureLayerImpl to support multiple active contents scales.
R=nduca@chromium.org
BUG=167300
Review URL: https://chromiumcodereview.appspot.com/11704002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175927 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/layer_tree_impl.h')
-rw-r--r-- | cc/layer_tree_impl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/layer_tree_impl.h b/cc/layer_tree_impl.h index 801dde6b..308448b 100644 --- a/cc/layer_tree_impl.h +++ b/cc/layer_tree_impl.h @@ -55,6 +55,7 @@ class CC_EXPORT LayerTreeImpl { LayerImpl* FindActiveTreeLayerById(int id); LayerImpl* FindPendingTreeLayerById(int id); int MaxTextureSize() const; + bool PinchGestureActive() const; // Tree specific methods exposed to layer-impl tree. // --------------------------------------------------------------------------- |