glmark2-es2-drm
OpenGL (ES) 2.0 benchmark suite
- Provided by: glmark2-es2-drm (Version: 2021.02-0ubuntu1)
- Source: glmark2
- Report a bug
OpenGL (ES) 2.0 benchmark suite
glmark2-es2-drm [options]
glmark2-es2-drm is a benchmark for OpenGL (ES) 2.0. It only uses the subset of the OpenGL 2.0 API that is compatible with OpenGL ES 2.0.
glmark2-es2-drm offers a suite of scenes that can be used to measure many aspects of OpenGL (ES) 2.0 performance. The way in which each scene is rendered is configurable through a set of options. To get the available scenes and their acceptable options you can use the -l, --list-scenes command line option.
In glmark2-es2-drm, a benchmark is defined as a scene plus a set of option values. You can specify the list and order of the benchmarks to run by using the -b, --benchmark command line option (possibly multiple times). If no benchmarks are specified, a default set of benchmarks is used. If a benchmark option is not specified it assumes its default value (listed with -l, --list-scenes).
As a special case, a benchmark description string is allowed to not contain a scene name (i.e. to start with ':'). In this case, any specified option values are used as the default values for benchmarks following this description string.
To run the default benchmarks:
To run a benchmark using scene 'shading' with a 'duration' of
'5.0' seconds and
'shading' of type 'phong':
To run a series of benchmarks use the -b, --benchmark command line option multiple times:
To set default option values for benchmarks:
glmark2-es2-drm was written by Alexandros Frantzis and Jesse Barker based on the original glmark by Ben Smith.