• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..16-Feb-2021-

android/H16-Feb-2021-2,5921,772

data/H16-Feb-2021-130,787130,376

doc/H16-Feb-2021-129123

src/H16-Feb-2021-191,128140,320

waflib/H16-Feb-2021-13,37612,972

.gitignoreH A D16-Feb-202134 43

COPYINGH A D16-Feb-202134.3 KiB675553

COPYING.SGIH A D16-Feb-20212.1 KiB4139

INSTALLH A D16-Feb-2021294 147

INSTALL.androidH A D16-Feb-20211.8 KiB5437

NEWSH A D16-Feb-20218.4 KiB227183

READMEH A D16-Feb-2021520 2514

README.androidH A D16-Feb-20211.5 KiB5136

wafH A D16-Feb-20214 KiB167129

wscriptH A D16-Feb-202111 KiB285231

README

1glmark2 is an OpenGL 2.0 and ES 2.0 benchmark.
2
3glmark2 is developed by Alexandros Frantzis and Jesse Barker based on the
4original glmark benchmark by Ben Smith.
5
6It is licensed under the GPLv3 (see COPYING).
7
8To build glmark2 for X11/GL(ES2) you need:
9
10 * python 2.x (>= 2.4) for the build system (waf)
11 * libpng 1.2
12
13and for OpenGL 2.0:
14
15 * libGL
16
17or for OpenGL ES 2.0:
18
19 * libEGL
20 * libGLESv2
21
22Read the INSTALL file for building/installation instructions,
23
24Read the INSTALL.android file for instructions for Android.
25

README.android

1Command-line arguments
2======================
3
4The Android version of glmark2 can accept command-line arguments from either
5an extra intent key or a file. If arguments are specified in an intent key, the
6file is disregarded.
7
8Arguments from an extra intent key
9----------------------------------
10
11The 'args' extra intent key is used to specify arguments. For example:
12
13am start -a android.intent.action.MAIN \
14         -n org.linaro.glmark2/org.linaro.glmark2.Glmark2Activity \
15         -e args '-b :duration=2 -b texture -f /path/file --debug'
16
17Arguments from a file
18---------------------
19
20If the 'args' intent key is not defined, the contents of the file
21'/data/glmark2/args' (if present) are used as command line arguments. The
22arguments can be placed in either a single or multiple lines. For example:
23
24-b :duration -b texture
25-f /path/file
26--debug
27
28Android limitations and peculiarities
29=====================================
30
31The Android version of glmark2 doesn't accept all of the command-line arguments
32that the X11 version accepts. In particular, the Android version currently
33ignores the following:
34
35--validate
36--frame-end
37--off-screen
38--reuse-context
39--fullscreen
40-l,--list-scenes
41
42The default visual config used on Android is:
43
44'red=5:green=6:blue=5:alpha=0:depth=16:buffer=1'
45
46Of course, you can change it using the '--visual-config' option.
47
48The Android system is free to resize the application at will, so although the
49'-s,--size' option is initially taken into account, it usually doesn't have any
50lasting effect.
51