GL O.B.S.

GL Open Benchmark Suite

Documentation

How to write a benchmark:

It's really simple to write a program that will act as a benchmark for GL O.B.S..
Take a look to the Fake test inside the benchmarks directory of the source, it's sole purpose is to show how to write a test that will work inside the suite.
First of all you have to include get_options.h and check_time.h, they will help you parse shell arguments and keep track of how much time has passed since your program was launched.

The options supported at the moment are:
  • Width - The width resolution
  • Height - The height resolution
  • Fullscreen - Whether or not to run the test in fullscreen
  • Time - How much seconds will the test last
Have a look in the options struct inside get_options.h.

If you want to use check_time.h be prepared to install SDL libraries.

Source documentation

You can read automatic generated documentation of the sources at this page.
They were gathered with Epydoc.