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

Unified Diff: cc/output/overlay_strategy_single_on_top.h

Issue 1142343008: cc: Rework overlays to not use the ResourceProvider and pass texture size (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix more tests Created 5 years, 6 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_single_on_top.h
diff --git a/cc/output/overlay_strategy_single_on_top.h b/cc/output/overlay_strategy_single_on_top.h
index eeecd32fa4c6456bc6c4b60fd65f23f9e986aada..cacc0234105750712cbc1d68dc300df355a39d2d 100644
--- a/cc/output/overlay_strategy_single_on_top.h
+++ b/cc/output/overlay_strategy_single_on_top.h
@@ -19,12 +19,14 @@ class TextureDrawQuad;
class CC_EXPORT OverlayStrategySingleOnTop : public OverlayStrategyCommon {
public:
- OverlayStrategySingleOnTop(OverlayCandidateValidator* capability_checker,
- ResourceProvider* resource_provider);
+ explicit OverlayStrategySingleOnTop(
+ OverlayCandidateValidator* capability_checker);
bool Attempt(RenderPassList* render_passes_in_draw_order,
OverlayCandidateList* candidate_list) override;
private:
+ OverlayCandidateValidator* capability_checker_;
+
DISALLOW_COPY_AND_ASSIGN(OverlayStrategySingleOnTop);
};

Powered by Google App Engine
This is Rietveld 408576698