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

Unified Diff: bench/SKPBench.cpp

Issue 1495543003: Wire up resource cache stats dumping in nanobench (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix windows warnings Created 5 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
« no previous file with comments | « no previous file | include/gpu/GrContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/SKPBench.cpp
diff --git a/bench/SKPBench.cpp b/bench/SKPBench.cpp
index c5480904053dbfd98cce060e1860f3bc366f3e61..1939b4a7219d2e13343c663f7f75c23cbd4a85a0 100644
--- a/bench/SKPBench.cpp
+++ b/bench/SKPBench.cpp
@@ -166,6 +166,7 @@ static void draw_pic_for_stats(SkCanvas* canvas, GrContext* context, const SkPic
int offset = keys->count();
context->dumpGpuStatsKeyValuePairs(keys, values);
+ context->dumpCacheStatsKeyValuePairs(keys, values);
// append tag, but only to new tags
for (int i = offset; i < keys->count(); i++, offset++) {
« no previous file with comments | « no previous file | include/gpu/GrContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698