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

Unified Diff: tools/flags/SkCommonFlagsConfig.cpp

Issue 2251473002: Add mssa configs for vulkan, and simple bug fix (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 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 | « src/gpu/vk/GrVkUtil.cpp ('k') | no next file » | 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 215fbdbfc00a6923fae705c7e633967487145c50..e25ccd32f83a86ddd18fbd94add8ecea5261db46 100644
--- a/tools/flags/SkCommonFlagsConfig.cpp
+++ b/tools/flags/SkCommonFlagsConfig.cpp
@@ -127,6 +127,8 @@ static const char configExtendedHelp[] =
#ifdef SK_VULKAN
"\tvk \t= gpu(api=vulkan)\n"
"\tvksrgb \t= gpu(api=vulkan,color=srgb)\n"
+ "\tvkmsaa4 \t= gpu(api=gl,samples=4)\n"
+ "\tvkmsaa16 \t= gpu(api=gl,samples=16)\n"
#endif
#endif
;
@@ -179,8 +181,10 @@ static const struct {
, { "mesa", "gpu", "api=mesa" }
#endif
#ifdef SK_VULKAN
- , { "vk", "gpu", "api=vulkan" }
- , { "vksrgb", "gpu", "api=vulkan,color=srgb" }
+ , { "vk", "gpu", "api=vulkan" }
+ , { "vksrgb", "gpu", "api=vulkan,color=srgb" }
+ , { "vkmsaa4", "gpu", "api=vulkan,samples=4" }
+ , { "vkmsaa16", "gpu", "api=vulkan,samples=16" }
#endif
#else
« no previous file with comments | « src/gpu/vk/GrVkUtil.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698