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

Unified Diff: cc/test/layer_tree_pixel_test.cc

Issue 2854953006: Move disable_display_vsync out of RendererSettings (Closed)
Patch Set: Correct typo Created 3 years, 7 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
« no previous file with comments | « cc/output/renderer_settings.h ('k') | cc/test/layer_tree_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_tree_pixel_test.cc
diff --git a/cc/test/layer_tree_pixel_test.cc b/cc/test/layer_tree_pixel_test.cc
index 7935b3914cade3f5a244b88c54e21d59848227e6..9a0f04b92c09c657012825e605d1b1c5d3199464 100644
--- a/cc/test/layer_tree_pixel_test.cc
+++ b/cc/test/layer_tree_pixel_test.cc
@@ -49,13 +49,14 @@ std::unique_ptr<TestCompositorFrameSink>
worker_context_provider =
new TestInProcessContextProvider(compositor_context_provider.get());
}
+ constexpr bool disable_display_vsync = false;
bool synchronous_composite =
!HasImplThread() &&
!layer_tree_host()->GetSettings().single_thread_proxy_scheduler;
auto delegating_output_surface = base::MakeUnique<TestCompositorFrameSink>(
compositor_context_provider, std::move(worker_context_provider),
shared_bitmap_manager(), gpu_memory_buffer_manager(), RendererSettings(),
- ImplThreadTaskRunner(), synchronous_composite);
+ ImplThreadTaskRunner(), synchronous_composite, disable_display_vsync);
delegating_output_surface->SetEnlargePassTextureAmount(
enlarge_texture_amount_);
return delegating_output_surface;
« no previous file with comments | « cc/output/renderer_settings.h ('k') | cc/test/layer_tree_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698