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

Unified Diff: cc/trees/layer_tree_host_unittest_copyrequest.cc

Issue 1452353002: Turn off computation of the interest rect in cc in synchronized paint mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « cc/trees/layer_tree_host_unittest_context.cc ('k') | cc/trees/layer_tree_host_unittest_damage.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_unittest_copyrequest.cc
diff --git a/cc/trees/layer_tree_host_unittest_copyrequest.cc b/cc/trees/layer_tree_host_unittest_copyrequest.cc
index f6bd32aa1f0ca4102b4d1c972959e1bbf3185912..9e39762cd6b0c6a22884fa725bca247f51906403 100644
--- a/cc/trees/layer_tree_host_unittest_copyrequest.cc
+++ b/cc/trees/layer_tree_host_unittest_copyrequest.cc
@@ -36,6 +36,7 @@ class LayerTreeHostCopyRequestTestMultipleRequests
layer_tree_host()->SetRootLayer(root);
LayerTreeHostCopyRequestTest::SetupTree();
+ client_.set_bounds(root->bounds());
}
void BeginTest() override { PostSetNeedsCommitToMainThread(); }
@@ -191,6 +192,7 @@ class LayerTreeHostCopyRequestTestLayerDestroyed
layer_tree_host()->SetRootLayer(root_);
LayerTreeHostCopyRequestTest::SetupTree();
+ client_.set_bounds(root_->bounds());
}
void BeginTest() override {
@@ -289,6 +291,7 @@ class LayerTreeHostCopyRequestTestInHiddenSubtree
layer_tree_host()->SetRootLayer(root_);
LayerTreeHostCopyRequestTest::SetupTree();
+ client_.set_bounds(root_->bounds());
}
void AddCopyRequest(Layer* layer) {
@@ -389,6 +392,7 @@ class LayerTreeHostTestHiddenSurfaceNotAllocatedForSubtreeCopyRequest
layer_tree_host()->SetRootLayer(root_);
LayerTreeHostCopyRequestTest::SetupTree();
+ client_.set_bounds(root_->bounds());
}
void BeginTest() override {
@@ -462,6 +466,7 @@ class LayerTreeHostCopyRequestTestClippedOut
layer_tree_host()->SetRootLayer(root_);
LayerTreeHostCopyRequestTest::SetupTree();
+ client_.set_bounds(root_->bounds());
}
void BeginTest() override {
@@ -504,6 +509,7 @@ class LayerTreeHostTestAsyncTwoReadbacksWithoutDraw
layer_tree_host()->SetRootLayer(root_);
LayerTreeHostCopyRequestTest::SetupTree();
+ client_.set_bounds(root_->bounds());
}
void AddCopyRequest(Layer* layer) {
@@ -599,6 +605,7 @@ class LayerTreeHostCopyRequestTestLostOutputSurface
layer_tree_host()->SetRootLayer(root_);
LayerTreeHostCopyRequestTest::SetupTree();
+ client_.set_bounds(root_->bounds());
}
void BeginTest() override { PostSetNeedsCommitToMainThread(); }
@@ -723,6 +730,7 @@ class LayerTreeHostCopyRequestTestCountTextures
layer_tree_host()->SetRootLayer(root_);
LayerTreeHostCopyRequestTest::SetupTree();
+ client_.set_bounds(root_->bounds());
}
void BeginTest() override {
@@ -877,6 +885,7 @@ class LayerTreeHostCopyRequestTestDestroyBeforeCopy
layer_tree_host()->SetRootLayer(root_);
LayerTreeHostCopyRequestTest::SetupTree();
+ client_.set_bounds(root_->bounds());
}
void BeginTest() override {
@@ -954,6 +963,7 @@ class LayerTreeHostCopyRequestTestShutdownBeforeCopy
layer_tree_host()->SetRootLayer(root_);
LayerTreeHostCopyRequestTest::SetupTree();
+ client_.set_bounds(root_->bounds());
}
void BeginTest() override {
@@ -1027,6 +1037,7 @@ class LayerTreeHostCopyRequestTestMultipleDrawsHiddenCopyRequest
layer_tree_host()->SetRootLayer(root);
LayerTreeHostCopyRequestTest::SetupTree();
+ client_.set_bounds(root->bounds());
}
void BeginTest() override {
« no previous file with comments | « cc/trees/layer_tree_host_unittest_context.cc ('k') | cc/trees/layer_tree_host_unittest_damage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698