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

Unified Diff: cc/surfaces/surface_aggregator_perftest.cc

Issue 2582823002: WIP: Surface Synchronization System
Patch Set: Only create ClientSurfaceEmbedder if window is visible. Trash it otherwise. Created 3 years, 11 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/surfaces/surface_aggregator_perftest.cc
diff --git a/cc/surfaces/surface_aggregator_perftest.cc b/cc/surfaces/surface_aggregator_perftest.cc
index 342d91fbbef229ccc590c73938c339e344e1488c..0d344b6f622ebfd0b33fd3e52bd9eaca3a05f208 100644
--- a/cc/surfaces/surface_aggregator_perftest.cc
+++ b/cc/surfaces/surface_aggregator_perftest.cc
@@ -92,7 +92,8 @@ class SurfaceAggregatorPerfTest : public testing::Test {
pass->CreateAndAppendDrawQuad<SurfaceDrawQuad>();
surface_quad->SetNew(
sqs, gfx::Rect(0, 0, 1, 1), gfx::Rect(0, 0, 1, 1),
- SurfaceId(FrameSinkId(1, i), LocalFrameId(i, kArbitraryToken)));
+ SurfaceId(FrameSinkId(1, i), LocalFrameId(i, kArbitraryToken)),
+ SurfaceDrawQuadType::PRIMARY, nullptr);
}
frame.render_pass_list.push_back(std::move(pass));
@@ -113,7 +114,8 @@ class SurfaceAggregatorPerfTest : public testing::Test {
surface_quad->SetNew(
sqs, gfx::Rect(0, 0, 100, 100), gfx::Rect(0, 0, 100, 100),
SurfaceId(FrameSinkId(1, num_surfaces),
- LocalFrameId(num_surfaces, kArbitraryToken)));
+ LocalFrameId(num_surfaces, kArbitraryToken)),
+ SurfaceDrawQuadType::PRIMARY, nullptr);
if (full_damage)
pass->damage_rect = gfx::Rect(0, 0, 100, 100);

Powered by Google App Engine
This is Rietveld 408576698