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

Unified Diff: src/gpu/GrGpu.cpp

Issue 1333623003: wire up incNumDraws (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrGpu.cpp
diff --git a/src/gpu/GrGpu.cpp b/src/gpu/GrGpu.cpp
index b8cc788ca277cb313733c1e1a017710c2bc56833..e1b8ed5c8522b54a84df49bbe31fc4b7835fc9a3 100644
--- a/src/gpu/GrGpu.cpp
+++ b/src/gpu/GrGpu.cpp
@@ -366,5 +366,6 @@ void GrGpu::draw(const DrawArgs& args, const GrVertices& vertices) {
const GrNonInstancedVertices* verts = iter.init(vertices);
do {
this->onDraw(args, *verts);
+ fStats.incNumDraws();
} while ((verts = iter.next()));
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698