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

Unified Diff: cc/trees/layer_tree_host_impl.h

Issue 2188943002: Remove OutputSurfaceClient external clip (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: unittests compile Created 4 years, 5 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 0870291de8104482be4cb8a6307652b1bc1c7434..6ccd0fc0de427713ec35a5927ff3da194ba59013 100644
--- a/cc/trees/layer_tree_host_impl.h
+++ b/cc/trees/layer_tree_host_impl.h
@@ -379,7 +379,6 @@ class CC_EXPORT LayerTreeHostImpl
void SetTreeActivationCallback(const base::Closure& callback) override;
void OnDraw(const gfx::Transform& transform,
const gfx::Rect& viewport,
- const gfx::Rect& clip,
bool resourceless_software_draw) override;
// LayerTreeMutatorClient.
@@ -570,7 +569,6 @@ class CC_EXPORT LayerTreeHostImpl
// should only be used by Renderer subclasses to populate glViewport/glClip
// and their software-mode equivalents.
gfx::Rect DeviceViewport() const;
- gfx::Rect DeviceClip() const;
// When a SwapPromiseMonitor is created on the impl thread, it calls
// InsertSwapPromiseMonitor() to register itself with LayerTreeHostImpl.
@@ -811,12 +809,10 @@ class CC_EXPORT LayerTreeHostImpl
// - external_transform_ applies a transform above the root layer
// - external_viewport_ is used DrawProperties, tile management and
// glViewport/window projection matrix.
- // - external_clip_ specifies a top-level clip rect
// - viewport_rect_for_tile_priority_ is the rect in view space used for
// tiling priority.
gfx::Transform external_transform_;
gfx::Rect external_viewport_;
- gfx::Rect external_clip_;
gfx::Rect viewport_rect_for_tile_priority_;
bool resourceless_software_draw_;

Powered by Google App Engine
This is Rietveld 408576698