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

Unified Diff: components/display_compositor/compositor_overlay_candidate_validator_mac.mm

Issue 2736643004: Add DCLayerOverlayProcessor and supporting DCLayer structures. (Closed)
Patch Set: split CALayerOverlay into DCLayerOverlay Created 3 years, 9 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: components/display_compositor/compositor_overlay_candidate_validator_mac.mm
diff --git a/components/display_compositor/compositor_overlay_candidate_validator_mac.mm b/components/display_compositor/compositor_overlay_candidate_validator_mac.mm
index 7bf52fae066010d6c4ff0c12f1abf98e8e85a696..336cc8fbdfd66c86185b846922eced86ebceec4a 100644
--- a/components/display_compositor/compositor_overlay_candidate_validator_mac.mm
+++ b/components/display_compositor/compositor_overlay_candidate_validator_mac.mm
@@ -22,6 +22,10 @@ bool CompositorOverlayCandidateValidatorMac::AllowCALayerOverlays() {
return !ca_layer_disabled_ && !software_mirror_active_;
}
+bool CompositorOverlayCandidateValidatorMac::AllowDCLayerOverlays() {
+ return false;
+}
+
void CompositorOverlayCandidateValidatorMac::CheckOverlaySupport(
cc::OverlayCandidateList* surfaces) {}

Powered by Google App Engine
This is Rietveld 408576698