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

Unified Diff: bench/nanobench.cpp

Issue 441333003: Add angle config to nanobench and make angle a default config for dm and nanobench. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 4 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 | tools/flags/SkCommonFlags.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/nanobench.cpp
diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp
index 2dfd33f594abea06cf4034dc34ffcafc0b7687a4..c808183b194d57d9a1ed5ebd1e12f5b41a2bc5c5 100644
--- a/bench/nanobench.cpp
+++ b/bench/nanobench.cpp
@@ -282,6 +282,9 @@ static void create_configs(SkTDArray<Config>* configs) {
GPU_CONFIG(nvprmsaa16, kNVPR_GLContextType, 16)
GPU_CONFIG(debug, kDebug_GLContextType, 0)
GPU_CONFIG(nullgpu, kNull_GLContextType, 0)
+#ifdef SK_ANGLE
+ GPU_CONFIG(angle, kANGLE_GLContextType, 0)
+#endif
}
#endif
}
« no previous file with comments | « no previous file | tools/flags/SkCommonFlags.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698