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

Unified Diff: cc/output/direct_renderer.cc

Issue 448303002: Use custom ListContainer to allocate DrawQuads (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@perftest
Patch Set: change header files to try fix compile error Created 6 years, 3 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
« no previous file with comments | « cc/output/delegating_renderer.cc ('k') | cc/output/gl_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/direct_renderer.cc
diff --git a/cc/output/direct_renderer.cc b/cc/output/direct_renderer.cc
index b068da0d052185e8daf130ef0103d956bb54a752..ad39f1a3ed545eb86df989e8efdc993711c4ecf4 100644
--- a/cc/output/direct_renderer.cc
+++ b/cc/output/direct_renderer.cc
@@ -371,7 +371,7 @@ void DirectRenderer::DrawRenderPass(DrawingFrame* frame,
for (QuadList::ConstBackToFrontIterator it = quad_list.BackToFrontBegin();
it != quad_list.BackToFrontEnd();
++it) {
- const DrawQuad& quad = *(*it);
+ const DrawQuad& quad = *it;
bool should_skip_quad = false;
if (using_scissor_as_optimization) {
@@ -382,7 +382,7 @@ void DirectRenderer::DrawRenderPass(DrawingFrame* frame,
}
if (!should_skip_quad)
- DoDrawQuad(frame, *it);
+ DoDrawQuad(frame, &quad);
}
FinishDrawingQuadList();
}
« no previous file with comments | « cc/output/delegating_renderer.cc ('k') | cc/output/gl_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698