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

Unified Diff: cc/output/overlay_processor.cc

Issue 208213003: Plumb overlay processing into DirectRenderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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: cc/output/overlay_processor.cc
diff --git a/cc/output/overlay_processor.cc b/cc/output/overlay_processor.cc
index afdb966fe0133db8a778bee1a842b7813bde6d41..f17549ac98bfae770de3f0e797bf93cb431ee1a9 100644
--- a/cc/output/overlay_processor.cc
+++ b/cc/output/overlay_processor.cc
@@ -30,13 +30,14 @@ void OverlayProcessor::Initialize() {
OverlayProcessor::~OverlayProcessor() {}
-void OverlayProcessor::ProcessForOverlays(
+bool OverlayProcessor::ProcessForOverlays(
RenderPassList* render_passes_in_draw_order) {
for (StrategyList::iterator it = strategies_.begin(); it != strategies_.end();
++it) {
if ((*it)->Attempt(render_passes_in_draw_order))
- return;
+ return true;
}
+ return false;
}
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698