MCPcopy Create free account
hub / github.com/VirtualGL/virtualgl / usage

Function usage

util/fbxtest.cpp:687–704  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

685
686
687void usage(char **argv)
688{
689 fprintf(stderr, "USAGE: %s [options]\n\n", argv[0]);
690 fprintf(stderr, "Options:\n");
691 #ifndef _WIN32
692 fprintf(stderr, "-checkdb = Verify that double buffering is working correctly\n");
693 fprintf(stderr, "-noshm = Do not use MIT-SHM extension to accelerate blitting\n");
694 fprintf(stderr, "-pm = Blit to a pixmap rather than to a window\n");
695 #endif
696 fprintf(stderr, "-mt = Run multithreaded stress tests\n");
697 fprintf(stderr, "-v = Print all warnings and informational messages from FBX\n");
698 fprintf(stderr, "-fs = Full-screen mode\n");
699 fprintf(stderr, "-time <t> = Run each benchmark for <t> seconds (default: %.1f)\n",
700 benchTime);
701 fprintf(stderr, "-size <wxh> = Specify drawable width & height (default: %dx%d)\n\n",
702 DEFAULT_WIDTH, DEFAULT_HEIGHT);
703 exit(1);
704}
705
706
707int main(int argc, char **argv)

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected