aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrTest.cpp
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2015-09-08 13:42:05 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-09-08 13:42:05 -0700
commit87a5c9fa0ff6fdf5225df53666798a2d513ade6d (patch)
treeddc5cc78ca3ef85d0c633252040c2517df8eba62 /src/gpu/GrTest.cpp
parent00c3252bb9bcb669bea6e9e0d06e6a3d8ba0d593 (diff)
Add number of draws to GrGpu stats
Diffstat (limited to 'src/gpu/GrTest.cpp')
-rw-r--r--src/gpu/GrTest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpu/GrTest.cpp b/src/gpu/GrTest.cpp
index a111ee5185..0852b6dd94 100644
--- a/src/gpu/GrTest.cpp
+++ b/src/gpu/GrTest.cpp
@@ -103,6 +103,7 @@ void GrGpu::Stats::dump(SkString* out) {
out->appendf("Textures Created: %d\n", fTextureCreates);
out->appendf("Texture Uploads: %d\n", fTextureUploads);
out->appendf("Stencil Buffer Creates: %d\n", fStencilAttachmentCreates);
+ out->appendf("Number of draws: %d\n", fNumDraws);
}
#endif