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

Unified Diff: cc/output/overlay_strategy_common.h

Issue 1304303002: Mac Overlays: Add sandwich strategy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@overlay_debug
Patch Set: Ready for pre-review Created 5 years, 4 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/output/overlay_strategy_common.h
diff --git a/cc/output/overlay_strategy_common.h b/cc/output/overlay_strategy_common.h
index 0291be7c4272f84e4ca021af331a307b7394fa5c..685d42dfa265f42f6a1653095595593225243111 100644
--- a/cc/output/overlay_strategy_common.h
+++ b/cc/output/overlay_strategy_common.h
@@ -21,7 +21,8 @@ class CC_EXPORT OverlayStrategyCommon : public OverlayProcessor::Strategy {
explicit OverlayStrategyCommon(OverlayCandidateValidator* capability_checker);
~OverlayStrategyCommon() override;
- bool Attempt(RenderPassList* render_passes_in_draw_order,
+ bool Attempt(const OverlayProcessor::RendererState& renderer_state,
+ RenderPassList* render_passes_in_draw_order,
OverlayCandidateList* candidate_list) override;
protected:
@@ -43,7 +44,8 @@ class CC_EXPORT OverlayStrategyCommon : public OverlayProcessor::Strategy {
bool GetIOSurfaceQuadInfo(const IOSurfaceDrawQuad& quad,
OverlayCandidate* quad_info);
- virtual bool TryOverlay(OverlayCandidateValidator* capability_checker,
+ virtual bool TryOverlay(const OverlayProcessor::RendererState& renderer_state,
+ OverlayCandidateValidator* capability_checker,
RenderPassList* render_passes_in_draw_order,
OverlayCandidateList* candidate_list,
const OverlayCandidate& candidate,

Powered by Google App Engine
This is Rietveld 408576698