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

Unified Diff: content/browser/compositor/gpu_process_transport_factory.cc

Issue 2573603005: Compute damage rect for Cast video compositing (Closed)
Patch Set: Created 4 years 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 | « content/browser/compositor/gpu_browser_compositor_output_surface.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/compositor/gpu_process_transport_factory.cc
diff --git a/content/browser/compositor/gpu_process_transport_factory.cc b/content/browser/compositor/gpu_process_transport_factory.cc
index 23c4cbd818916f0f8586f6be37f7d3157ba92522..c4121a1fcc82f65a159c143b2fa66a48f1ed79e7 100644
--- a/content/browser/compositor/gpu_process_transport_factory.cc
+++ b/content/browser/compositor/gpu_process_transport_factory.cc
@@ -236,7 +236,8 @@ CreateOverlayCandidateValidator(gfx::AcceleratedWidget widget) {
validator.reset(
new display_compositor::CompositorOverlayCandidateValidatorOzone(
std::move(overlay_candidates),
- enable_overlay_flag == "single-fullscreen"));
+ enable_overlay_flag == "single-fullscreen",
+ enable_overlay_flag == "cast-underlay"));
}
#elif defined(OS_MACOSX)
// Overlays are only supported through the remote layer API.
« no previous file with comments | « content/browser/compositor/gpu_browser_compositor_output_surface.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698