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

Unified Diff: bench/nanobench.cpp

Issue 1747173002: nanobench: Use device independent font flag for GPU configs (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 10 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 | no next file » | 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 c463d6afc29a31a454723c187a09b29b37cf0f3a..81bd4f2b5baa145609b61ede1bd168459c26a805 100644
--- a/bench/nanobench.cpp
+++ b/bench/nanobench.cpp
@@ -414,14 +414,15 @@ static void create_config(const SkCommandLineConfig* config, SkTArray<Config>* c
}
Config target = {
- config->getTag(),
+ gpuConfig->getTag(),
Benchmark::kGPU_Backend,
kN32_SkColorType,
kPremul_SkAlphaType,
sampleCount,
ctxType,
- ctxOptions,
- false };
+ ctxOptions,
+ gpuConfig->getUseDIText()
+ };
configs->push_back(target);
return;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698