]> git.sesse.net Git - nageru/commitdiff
Take --no-flush-pbos out of the --help output.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 21 Jul 2022 21:44:17 +0000 (23:44 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 21 Jul 2022 21:44:17 +0000 (23:44 +0200)
nageru/flags.cpp

index 3066d3afc01b5cc4db0cf96adb9c6fc0892ccca6..e625f8c11510163c2037fc20fbb1d8b79bcfefd1 100644 (file)
@@ -225,9 +225,6 @@ void usage(Program program)
                fprintf(stderr, "      --disable-limiter           turn off limiter (also --enable)\n");
                fprintf(stderr, "      --disable-makeup-gain-auto  turn off auto-adjustment of final makeup gain (also --enable)\n");
                fprintf(stderr, "      --disable-alsa-output       disable audio monitoring via ALSA\n");
-               fprintf(stderr, "      --no-flush-pbos             do not explicitly signal texture data uploads\n");
-               fprintf(stderr, "                                    (will give display corruption, but makes it\n");
-               fprintf(stderr, "                                    possible to run with apitrace in real time)\n");
                fprintf(stderr, "      --print-video-latency       print out measurements of video latency on stdout\n");
                fprintf(stderr, "      --max-input-queue-frames=FRAMES  never keep more than FRAMES frames for each card\n");
                fprintf(stderr, "                                    (default 6, minimum 1)\n");
@@ -324,7 +321,6 @@ void parse_flags(Program program, int argc, char * const argv[])
                { "disable-makeup-gain-auto", no_argument, 0, OPTION_DISABLE_MAKEUP_GAIN_AUTO },
                { "enable-makeup-gain-auto", no_argument, 0, OPTION_ENABLE_MAKEUP_GAIN_AUTO },
                { "disable-alsa-output", no_argument, 0, OPTION_DISABLE_ALSA_OUTPUT },
-               { "no-flush-pbos", no_argument, 0, OPTION_NO_FLUSH_PBOS },
                { "print-video-latency", no_argument, 0, OPTION_PRINT_VIDEO_LATENCY },
                { "max-input-queue-frames", required_argument, 0, OPTION_MAX_INPUT_QUEUE_FRAMES },
                { "audio-queue-length-ms", required_argument, 0, OPTION_AUDIO_QUEUE_LENGTH_MS },
@@ -339,6 +335,11 @@ void parse_flags(Program program, int argc, char * const argv[])
                { "input-ycbcr-interpretation", required_argument, 0, OPTION_INPUT_YCBCR_INTERPRETATION },
                { "mjpeg-export-cards", required_argument, 0, OPTION_MJPEG_EXPORT_CARDS },
 
+               // Do not explicitly signal texture data uploads (will give
+               // display corruption, but makes it possible to run with
+               // apitrace in real time). For developers only, so undocumented.
+               { "no-flush-pbos", no_argument, 0, OPTION_NO_FLUSH_PBOS },
+
                // Deprecated variants.
                { "10-bit-input", no_argument, 0, OPTION_10_BIT_INPUT },
                { "10-bit-output", no_argument, 0, OPTION_10_BIT_OUTPUT },