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