diff options
author | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-29 22:13:47 +0000 |
---|---|---|
committer | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-29 22:13:47 +0000 |
commit | 63db922a88e051d26447ad46899a02c7b583e503 (patch) | |
tree | d0348a000f1ef7296682bffc847f3028835c275b /cc/picture_layer_tiling_set.h | |
parent | b559b1363c3095ff42577739e00a37b1975d1959 (diff) | |
download | chromium_src-63db922a88e051d26447ad46899a02c7b583e503.zip chromium_src-63db922a88e051d26447ad46899a02c7b583e503.tar.gz chromium_src-63db922a88e051d26447ad46899a02c7b583e503.tar.bz2 |
cc: Limit the set of tiles updated each frame
The viewport rect is projected into content space, to avoid clipping issues and
so that offscreen layers can still get tiles. Then an area around that rect is
used to determine the set of tiles to consider prioritizing.
R=nduca@chromium.org
BUG=171826
Review URL: https://chromiumcodereview.appspot.com/12092009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179432 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/picture_layer_tiling_set.h')
-rw-r--r-- | cc/picture_layer_tiling_set.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/picture_layer_tiling_set.h b/cc/picture_layer_tiling_set.h index fc272c1..d6a8950 100644 --- a/cc/picture_layer_tiling_set.h +++ b/cc/picture_layer_tiling_set.h @@ -52,6 +52,7 @@ class CC_EXPORT PictureLayerTilingSet { void UpdateTilePriorities( WhichTree tree, const gfx::Size& device_viewport, + gfx::Rect viewport_in_content_space, float layer_content_scale_x, float layer_content_scale_y, const gfx::Transform& last_screen_transform, |