| 3695 | |
| 3696 | |
| 3697 | void usage(char **argv) |
| 3698 | { |
| 3699 | fprintf(stderr, "\nUSAGE: %s [options]\n\n", argv[0]); |
| 3700 | fprintf(stderr, "Options:\n"); |
| 3701 | fprintf(stderr, "-n <n> = Use <n> threads (0 <= <n> <= %d) in the multithreaded rendering test\n", |
| 3702 | MAXTHREADS); |
| 3703 | fprintf(stderr, " (default: %d). <n>=0 disables the multithreaded rendering test.\n", |
| 3704 | DEFTHREADS); |
| 3705 | fprintf(stderr, "-nostereo = Disable stereo tests\n"); |
| 3706 | fprintf(stderr, "-nomultisample = Disable multisampling tests\n"); |
| 3707 | fprintf(stderr, "-nodbpixmap = Assume GLXPixmaps are always single-buffered, even if created\n"); |
| 3708 | fprintf(stderr, " with a double-buffered visual or FB config.\n"); |
| 3709 | fprintf(stderr, "-nocopycontext = Disable glXCopyContext() tests\n"); |
| 3710 | fprintf(stderr, "-nousexfont = Disable glXUseXFont() tests\n"); |
| 3711 | fprintf(stderr, "-nonamedfb = Disable named framebuffer function tests\n"); |
| 3712 | fprintf(stderr, "-selectevent = Enable glXSelectEvent() tests\n"); |
| 3713 | fprintf(stderr, "\n"); |
| 3714 | exit(1); |
| 3715 | } |
| 3716 | |
| 3717 | |
| 3718 | int main(int argc, char **argv) |