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

Unified Diff: bench/SkBenchmark.cpp

Issue 73643005: Implement a benchmark for GrResourceCache (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 1 month 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
Index: bench/SkBenchmark.cpp
diff --git a/bench/SkBenchmark.cpp b/bench/SkBenchmark.cpp
index 432d5be6432e87771702a05a3c7aefb9d94e0f60..4327665d06dd60c28cd00fcb7c71995dd5eaf60f 100644
--- a/bench/SkBenchmark.cpp
+++ b/bench/SkBenchmark.cpp
@@ -21,7 +21,9 @@ SkBenchmark::SkBenchmark() {
fForceAA = true;
fForceFilter = false;
fDither = SkTriState::kDefault;
- fIsRendering = true;
+#if SK_SUPPORT_GPU
+ fContext = NULL;
+#endif
fOrMask = fClearMask = 0;
fLoops = 1;
}
« bench/SkBenchmark.h ('K') | « bench/SkBenchmark.h ('k') | bench/SkipZeroesBench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698