Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6245)

Unified Diff: cc/trees/layer_tree_host_impl.h

Issue 2099903002: Make tile size a function of the device scale factor. Base URL: https://chromium.googlesource.com/chromium/src.git@layouttests-display
Patch Set: tilesize: . Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/trees/layer_tree_host_impl.h
diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h
index fad9db7ba8d33337901522ded7c7a40b7f1755e6..facba12d3d185409fd158dcfa49a7c8cbcb9e986 100644
--- a/cc/trees/layer_tree_host_impl.h
+++ b/cc/trees/layer_tree_host_impl.h
@@ -329,8 +329,12 @@ class CC_EXPORT LayerTreeHostImpl
// for draw properties, tilings, quads and render passes.
gfx::Size DrawViewportSize() const;
+ // A screen size for the physical device that is independent from the size of
+ // the compositor (aka the viewport). It is specific to a single tree.
+ gfx::Size GetStableScreenSize(const LayerTreeImpl* tree) const;
+
// Viewport rect in view space used for tiling prioritization.
- const gfx::Rect ViewportRectForTilePriority() const;
+ gfx::Rect ViewportRectForTilePriority() const;
// RendererClient implementation.
void SetFullRootLayerDamage() override;

Powered by Google App Engine
This is Rietveld 408576698