| 598 | |
| 599 | |
| 600 | void usage(char **argv) |
| 601 | { |
| 602 | fprintf(stderr, "\nUSAGE: %s [options]\n\n", argv[0]); |
| 603 | fprintf(stderr, "Options:\n"); |
| 604 | fprintf(stderr, "-gl = Use OpenGL instead of X11 for blitting\n"); |
| 605 | fprintf(stderr, "-xv = Test X Video encoding/display\n"); |
| 606 | fprintf(stderr, "-rgb = Use RGB encoding instead of JPEG compression\n"); |
| 607 | fprintf(stderr, "-logo = Add VirtualGL logo\n"); |
| 608 | fprintf(stderr, "-anaglyph = Test anaglyph creation\n"); |
| 609 | fprintf(stderr, "-rgbbench <filename> = Benchmark the decoding of RGB-encoded frames.\n"); |
| 610 | fprintf(stderr, " <filename> should be a BMP or PPM file.\n"); |
| 611 | fprintf(stderr, "-v = Verbose output (may affect benchmark results)\n"); |
| 612 | fprintf(stderr, "-check = Check correctness of pixel paths (implies -rgb)\n\n"); |
| 613 | exit(1); |
| 614 | } |
| 615 | |
| 616 | |
| 617 | int main(int argc, char **argv) |