diff options
Diffstat (limited to 'dm/DM.cpp')
-rw-r--r-- | dm/DM.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1248,6 +1248,8 @@ static sk_sp<SkTypeface> create_from_name(const char familyName[], SkFontStyle s extern sk_sp<SkTypeface> (*gCreateTypefaceDelegate)(const char [], SkFontStyle ); +extern bool gDefaultProfileIsSRGB; + int dm_main(); int dm_main() { setbuf(stdout, nullptr); @@ -1260,6 +1262,10 @@ int dm_main() { gVLog = freopen(SkOSPath::Join(FLAGS_writePath[0], "verbose.log").c_str(), "w", stderr); } + if (FLAGS_forceSRGB) { + gDefaultProfileIsSRGB = true; + } + JsonWriter::DumpJson(); // It's handy for the bots to assume this is ~never missing. SkAutoGraphics ag; SkTaskGroup::Enabler enabled(FLAGS_threads); |