aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/flags/SkCommonFlags.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/flags/SkCommonFlags.cpp')
-rw-r--r--tools/flags/SkCommonFlags.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/flags/SkCommonFlags.cpp b/tools/flags/SkCommonFlags.cpp
index a2da1314fc..9783dde373 100644
--- a/tools/flags/SkCommonFlags.cpp
+++ b/tools/flags/SkCommonFlags.cpp
@@ -7,6 +7,11 @@
#include "SkCommonFlags.h"
+DEFINE_string(config, "565 8888 gpu nonrendering angle hwui ", "Options: "
+ "565 8888 angle debug gpu gpudebug gpudft gpunull hwui mesa "
+ "msaa16 msaa4 nonrendering null nullgpu nvprmsaa16 nvprmsaa4 "
+ "pdf skp svg xps (and maybe more)");
+
DEFINE_bool(cpu, true, "master switch for running CPU-bound work.");
DEFINE_bool(dryRun, false,
@@ -14,6 +19,11 @@ DEFINE_bool(dryRun, false,
DEFINE_bool(gpu, true, "master switch for running GPU-bound work.");
+DEFINE_string(gpuAPI, "", "Force use of specific gpu API. Using \"gl\" "
+ "forces OpenGL API. Using \"gles\" forces OpenGL ES API. "
+ "Defaults to empty string, which selects the API native to the "
+ "system.");
+
DEFINE_string(images, "", "Directory of images to decode.");
DEFINE_string2(match, m, nullptr,