From 166db5c8936232da188fbae0c8b0932f92b1df0f Mon Sep 17 00:00:00 2001
From: "enne@chromium.org"
 <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Date: Wed, 9 Jan 2013 23:54:31 +0000
Subject: 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
---
 cc/layer_tree_impl.h | 1 +
 1 file changed, 1 insertion(+)

(limited to 'cc/layer_tree_impl.h')

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.
   // ---------------------------------------------------------------------------
-- 
cgit v1.1