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

Unified Diff: cc/layer_tree_host_impl.cc

Issue 11618026: Move filters to RenderPassDrawQuad (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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/layer_tree_host_impl.cc
diff --git a/cc/layer_tree_host_impl.cc b/cc/layer_tree_host_impl.cc
index 740c361935199ca9b78617a1adece1e59db96d12..72d0ad3cf04073f6d06d20abe383409c3e546bc2 100644
--- a/cc/layer_tree_host_impl.cc
+++ b/cc/layer_tree_host_impl.cc
@@ -921,11 +921,10 @@ void LayerTreeHostImpl::drawLayers(FrameData& frame)
if (m_activeTree->hud_layer())
m_activeTree->hud_layer()->updateHudTexture(m_resourceProvider.get());
- m_renderer->drawFrame(frame.renderPasses, frame.renderPassesById);
-
+ m_renderer->drawFrame(frame.renderPasses);
// The render passes should be consumed by the renderer.
DCHECK(frame.renderPasses.empty());
- DCHECK(frame.renderPassesById.empty());
+ frame.renderPassesById.clear();
danakj 2012/12/19 21:22:52 I guess this is the immediate followup, but if not
// The next frame should start by assuming nothing has changed, and changes are noted as they occur.
for (unsigned int i = 0; i < frame.renderSurfaceLayerList->size(); i++)

Powered by Google App Engine
This is Rietveld 408576698