Here are the main command line parameters included in GLSL Hacker:
- /fullscreen
forces fullscreen mode. - /demofile="filename"
specifies the absolute path to the demo file. - /benchmark_duration_ms=<n>
specifies the duration of the demo/benchmark in milliseconds. - /benchmark_log_score
writes benchmark results in the benchmarl log file (CSV file). - /benchmark_display_score_box
displays the score box at the end of the benchmark. - /disable_opengl_support_check
disables the check of the OpenGL version done at the beginning of a demo. - /noload_plugin_opencl
disables the loading of the OpenCL plugin. - /noload_plugin_python27
disables the loading of the Python 2.7 plugin. - /glinfo
writes OpenGL complete information (all OpenGL extensions) in the log file. - /vbo_usage=<usage>
forces vertex buffer usage: GL_STATIC_DRAW, GL_STATIC_READ, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, GL_STREAM_DRAW, GL_STREAM_READ. - /ibo_usage=<usage>
forces index buffer usage: GL_STATIC_DRAW, GL_STATIC_READ, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, GL_STREAM_DRAW, GL_STREAM_READ.
Example:
GLSLHacker.exe /demofile="C:/The/Path To/The/Demo.xml" /vbo_usage=GL_STATIC_DRAW /benchmark_duration_ms=5000 /benchmark_display_score_box