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

Unified Diff: tools/flags/SkCommonFlagsConfig.cpp

Issue 2005863002: Add vksrgb config to dm (Vulkan sRGB). Fix help formatting of vk. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Allow creation of sRGB Vulkan context Created 4 years, 7 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/gpu/GrContextFactory.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/flags/SkCommonFlagsConfig.cpp
diff --git a/tools/flags/SkCommonFlagsConfig.cpp b/tools/flags/SkCommonFlagsConfig.cpp
index a0d1c77dd962bc594c7ef77a793e720051349ca6..1c7920eb551df323fbec67955078a4ad6f0f4734 100644
--- a/tools/flags/SkCommonFlagsConfig.cpp
+++ b/tools/flags/SkCommonFlagsConfig.cpp
@@ -45,7 +45,7 @@ static const char configHelp[] =
" hwui"
#endif
#ifdef SK_VULKAN
- " vk"
+ " vk vksrgb"
#endif
" or use extended form 'backend(option=value,...)'.\n";
@@ -124,7 +124,8 @@ static const char configExtendedHelp[] =
"\tmesa \t= gpu(api=mesa)\n"
#endif
#ifdef SK_VULKAN
- "\vk \t= gpu(api=vulkan)\n"
+ "\tvk \t= gpu(api=vulkan)\n"
+ "\tvksrgb \t= gpu(api=vulkan,color=srgb)\n"
#endif
#endif
;
@@ -170,6 +171,7 @@ static const struct {
#endif
#ifdef SK_VULKAN
, { "vk", "gpu", "api=vulkan" }
+ , { "vksrgb", "gpu", "api=vulkan,color=srgb" }
#endif
#else
« no previous file with comments | « no previous file | tools/gpu/GrContextFactory.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698