diff options
author | joshualitt <joshualitt@chromium.org> | 2015-09-08 13:42:05 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-09-08 13:42:05 -0700 |
commit | 87a5c9fa0ff6fdf5225df53666798a2d513ade6d (patch) | |
tree | ddc5cc78ca3ef85d0c633252040c2517df8eba62 /src/gpu/GrTest.cpp | |
parent | 00c3252bb9bcb669bea6e9e0d06e6a3d8ba0d593 (diff) |
Add number of draws to GrGpu stats
BUG=skia:
Review URL: https://codereview.chromium.org/1333543002
Diffstat (limited to 'src/gpu/GrTest.cpp')
-rw-r--r-- | src/gpu/GrTest.cpp | 1 |
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 |