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

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: Introduced ScopedExportLock 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..f79d988086c4d46cdbbfc679dc12d8d69382f085 100644
--- a/cc/output/overlay_processor.cc
+++ b/cc/output/overlay_processor.cc
@@ -31,10 +31,11 @@ void OverlayProcessor::Initialize() {
OverlayProcessor::~OverlayProcessor() {}
void OverlayProcessor::ProcessForOverlays(
- RenderPassList* render_passes_in_draw_order) {
+ RenderPassList* render_passes_in_draw_order,
+ OverlayCandidateList* candidate_list) {
for (StrategyList::iterator it = strategies_.begin(); it != strategies_.end();
++it) {
- if ((*it)->Attempt(render_passes_in_draw_order))
+ if ((*it)->Attempt(render_passes_in_draw_order, candidate_list))
return;
}
}

Powered by Google App Engine
This is Rietveld 408576698