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

Unified Diff: cc/output/overlay_strategy_underlay.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: Created 5 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
Index: cc/output/overlay_strategy_underlay.h
diff --git a/cc/output/overlay_strategy_underlay.h b/cc/output/overlay_strategy_underlay.h
index 881e170535f755b597b1de21bf4611108ee67f10..e885c6eba6517f23edd81c7ef0c767ced63bf9fc 100644
--- a/cc/output/overlay_strategy_underlay.h
+++ b/cc/output/overlay_strategy_underlay.h
@@ -18,12 +18,13 @@ class TextureDrawQuad;
// are fully opaque.
class CC_EXPORT OverlayStrategyUnderlay : public OverlayStrategyCommon {
public:
- OverlayStrategyUnderlay(OverlayCandidateValidator* capability_checker,
- ResourceProvider* resource_provider);
+ OverlayStrategyUnderlay(OverlayCandidateValidator* capability_checker);
bool Attempt(RenderPassList* render_passes_in_draw_order,
OverlayCandidateList* candidate_list) override;
private:
+ OverlayCandidateValidator* capability_checker_;
+
DISALLOW_COPY_AND_ASSIGN(OverlayStrategyUnderlay);
};

Powered by Google App Engine
This is Rietveld 408576698