nanobench: Use device independent font flag for GPU configs

Actually use the device independent font flag that the user passes
via "--config 'gpu(dit=true,...)'"
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1747173002

Review URL: https://codereview.chromium.org/1747173002
This commit is contained in:
kkinnunen 2016-03-01 23:41:26 -08:00 committed by Commit bot
parent 4de97a64e8
commit d4e1c35115

View File

@ -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;