diff options
Diffstat (limited to 'src/caskbench.cpp')
| -rw-r--r-- | src/caskbench.cpp | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/src/caskbench.cpp b/src/caskbench.cpp index b771f1f..17e49fc 100644 --- a/src/caskbench.cpp +++ b/src/caskbench.cpp @@ -186,7 +186,7 @@ process_options(caskbench_options_t *opt, int argc, char *argv[]) "Write JSON style output to stdout", NULL}, {"list-surfaces", 'l', POPT_ARG_NONE, &opt->list_surfaces, 0, - "List the available surfaces linked in this executable", + "List the available graphics surface types", NULL}, {"output-file", 'o', POPT_ARG_STRING, &opt->output_file, 0, "Filename to write JSON output to", @@ -198,34 +198,34 @@ process_options(caskbench_options_t *opt, int argc, char *argv[]) "Controls the complexity of the tests, such as number of drawn elements", NULL}, {"version", 'V', POPT_ARG_NONE, &opt->version, 0, - "Display the program version", + "Display the program version and exit", NULL}, {"disable-egl-sample-buffers", '\0', POPT_ARG_NONE, &opt->disable_egl_sample_buffers, 0, - "Sets EGL_SAMPLES=4 and EGL_SAMPLE_BUFFERS=1 in the EGL attribute list by default unless otherwise specified by disable-egl-sample-buffers", + "Turn off sample buffers in EGL attributes", NULL}, {"shape", 'S', POPT_ARG_STRING, &opt->shape_name, 0, - "Controls which shape to be drawn ", + "Controls which type of shape to draw for the test object (e.g. 'circle', 'star', etc.)", NULL}, {"x-position", 'X', POPT_ARG_INT, &opt->x_position, 0, - "The X location to draw the object", + "The X location to draw the test object", NULL}, {"y-position", 'Y', POPT_ARG_INT, &opt->y_position, 0, - "The Y location to draw the object", + "The Y location to draw the test object", NULL}, {"object-width", '\0', POPT_ARG_INT, &opt->width, 0, - "Width of the shape bject ", + "Width of the test object", NULL}, {"object-height", '\0', POPT_ARG_INT, &opt->height, 0, - "Height of the shape object ", + "Height of the test object", NULL}, {"fill-type", 'f', POPT_ARG_STRING, &opt->fill_type, 0, - "Controls the fill type of the objects. e.g 'solid', 'linear-gradient', 'radial-gradient', 'image-pattern'", + "Use specified fill style ('solid', 'linear-gradient', 'radial-gradient', 'image-pattern')", NULL}, {"fill-color", '\0', POPT_ARG_STRING, &opt->fill_color, 0, - "RGBA color value for fill eg. ABCDEFFF ", + "RGBA color value for fill (e.g. ABCDEFFF)", NULL}, {"stroke-color", '\0', POPT_ARG_STRING, &opt->stroke_color, 0, - "RGBA color value for stroke eg. ABCDEFFF", + "RGBA color value for stroke (e.g. ABCDEFFF)", NULL}, {"animation", 'g', POPT_ARG_INT, &opt->animation, 0, "Controls the kinematics of the objects drawn", @@ -234,25 +234,25 @@ process_options(caskbench_options_t *opt, int argc, char *argv[]) "Path to a stock image for use in clipping, patterns, etc.", NULL}, {"stroke-width", '\0', POPT_ARG_INT, &opt->stroke_width, 0, - "represents stroke width of the object", + "Line width for stroked test objects", NULL}, // TODO: Crashes {"multi-shapes", 'm', POPT_ARG_INT, &opt->multi_shapes, 0, - "represents stroke width of the object", + "Enable multiple shapes in supporting tests", NULL}, #if 0 {"cap-style", 'C', POPT_ARG_INT, &opt->cap_style, 0, - "represents r value for stroke color", + "Line ending style for stroked test objects", NULL}, {"join-style", 'J', POPT_ARG_INT, &opt->join_style, 0, - "represents r value for stroke color", + "Corner type for multi-segmented, stroked test objects", NULL}, {"dash-style", 'D', POPT_ARG_INT, &opt->dash_style, 0, - "represents r value for stroke color", + "Dash style for stroked test objects", NULL}, #endif {"seed-value", 'r', POPT_ARG_STRING, &opt->seed_value, 0, - "Represents seed value for Random Number generater eg. -r ABCDEFFF", + "Seed value for the random number generator (eg. -r ABCDEFFF)", NULL}, {"enable-output-images", '\0', POPT_ARG_NONE, &opt->enable_output_images, 0, "Generate image PNG files displaying the final rendering frame from each test run.", @@ -267,36 +267,36 @@ process_options(caskbench_options_t *opt, int argc, char *argv[]) "Height of canvas used for each test case (defaults to 400)", NULL}, {"list-tests", '\0', POPT_ARG_NONE, &opt->list_tests, 0, - "List the tests available for execution", + "List the tests available", NULL}, #if USE_EGL {"list-gles-versions", '\0', POPT_ARG_NONE, &opt->list_gles_versions, 0, - "Lists available GLES versions", + "List the GLES versions available", NULL}, {"gles-version", '\0', POPT_ARG_INT, &opt->gles_version, 0, - "Specify the GLES version to use", + "GLES version to use", NULL}, {"depth-size", '\0', POPT_ARG_INT, &opt->depth_size, 0, - "Specify the EGL depth size to use", + "EGL depth size to use", NULL}, {"luminance-size", '\0', POPT_ARG_INT, &opt->luminance_size, 0, - "Specify the EGL luminance size to use", + "EGL luminance size to use", NULL}, {"min-swap-interval", '\0', POPT_ARG_INT, &opt->min_swap_interval, 0, - "Specify the EGL minimum swap interval to use", + "EGL minimum swap interval to use", NULL}, {"max-swap-interval", '\0', POPT_ARG_INT, &opt->max_swap_interval, 0, - "Specify the EGL maximum swap interval to use", + "EGL maximum swap interval to use", NULL}, {"match-native-pixmap", '\0', POPT_ARG_INT, &opt->match_native_pixmap, 0, - "Specify the EGL pixmap handle to use", + "EGL pixmap handle to use", NULL}, #endif {"list-drawing-libs", '\0', POPT_ARG_NONE, &opt->list_drawing_libs, 0, - "List the drawing libraries available for execution", + "List the drawing libraries available", NULL}, {"drawing-lib", 'D', POPT_ARG_STRING, &opt->drawing_lib, 0, - "Specify the library to be used for drawing", + "Drawing libraries to be used for drawing (e.g. 'cairo', 'cairo,skia')", NULL}, POPT_AUTOHELP {NULL} |