Contents |
These benchmarks are intended to measure OpenGL ES 2.0 performance with synthetic and more real-life tests. Also the set contain some functional tests, such as checking needed GL and EGL extensions.
These tests perform various drawing operations using EGL and OpenGL. Results will contain FPS and CPU usage measurements.
blts-opengles2-tests uses GLES2 and EGL APIs. Current coverage for tests:
Display, GPU.
Extend API coverage, add more functional test cases.
The build environment must have the following packages installed:
The source package includes the pack.sh script, which is used for building RPM and Debian packages and source tar packages. To build an RPM package with the script, execute this command in the top level source directory of asset:
./pack.sh -r
To get help about the packaging script, execute
./pack.sh -h
The asset can also be built manually by executing:
./autogen.sh ./configure make
When the environment and device has been set up, run as root;
$ blts-opengles2-tests
Arguments:
| General Switch | Function |
|---|---|
| -l | Used log file |
| -e | Execute single or multiple selected tests, for example -e 1,4,5. |
| -en | Execute test by name, for example -en "My test X" |
| -s | Show list of all tests |
| -C | Used configuration file |
| -? | Help message |
| -xml, -axml | Create result XML. -axml appends results to an existing XML file. |
| -auto | Silent logging for test automation. Only the results are printed to stdout. |
| -v | Verbose logging (default) |
| -vv | Even more verbose logging |
| Optional Switch | Function |
|---|---|
| -t | Maximum execution time of each test in seconds (default: 10s for smoke test, 30s for full test) |
| -w | Used window width. If 0 uses desktop width. (default: 0) |
| -h | Used window height. If 0 uses desktop height. (default: 0) |
| -d | Used window depth. 16, 24 or 32. If 0 uses desktop depth. (default: 0) |
| -c | Run the tests with minimal compositor |
Current test asset contains following cases;
$ blts-opengles2-tests -en "OpenGL-Enumerate GL extensions"
$ blts-opengles2-tests -en "OpenGL-Enumerate EGL extensions"
$ blts-opengles2-tests -en "OpenGL-Enumerate EGL configs"
$ blts-opengles2-tests -en "OpenGL-Simple triangle"
$ blts-opengles2-tests -en "OpenGL-Simple blit"
$ blts-opengles2-tests -en "OpenGL-Blit with blend"
$ blts-opengles2-tests -en "OpenGL-Blit with blend and widgets"
$ blts-opengles2-tests -en "OpenGL-Blit with blend and widgets with shadows"
$ blts-opengles2-tests -en "OpenGL-Blit with blend and widgets with shadows + particles"
$ blts-opengles2-tests -en "OpenGL-Blit with blend and widgets with shadows + particles + rotate"
$ blts-opengles2-tests -en "OpenGL-Blit with blend and widgets with shadows + particles + rotate + zoom"
$ blts-opengles2-tests -en "OpenGL-Blit with blend and widgets with shadows + particles + rotate + zoom and blur all"
$ blts-opengles2-tests -en "OpenGL-Blit with blend and animated widgets with shadows"
$ blts-opengles2-tests -en "OpenGL-Polygons-per-second"
$ blts-opengles2-tests -en "OpenGL-Fillrate test"
$ blts-opengles2-tests -en "OpenGL-Texels-per-second"
$ blts-opengles2-tests -en "OpenGL-Fragment shader performance"
$ blts-opengles2-tests -en "OpenGL-Vertex shader performance"
$ blts-opengles2-tests -en "OpenGL-Convolution filter"
The test module can be compiled to self-sufficient command line program. Both Debian and RPM packaging is also provided.
| khronos.org | http://www.khronos.org/opengles/2_X/ GLESv2 specifications] |
| blts-opengles2-tests | blts-opengles2-tests |
| Version | Date | Handled By | Status | Comments |
|---|---|---|---|---|
| 0.1 | 22-sep-2010 | Iekku Huttunen | Draft | Page created |