aboutsummaryrefslogtreecommitdiffstats
path: root/android/help.c
diff options
context:
space:
mode:
Diffstat (limited to 'android/help.c')
-rw-r--r--android/help.c83
1 files changed, 60 insertions, 23 deletions
diff --git a/android/help.c b/android/help.c
index 5f151ca..1570160 100644
--- a/android/help.c
+++ b/android/help.c
@@ -585,6 +585,15 @@ help_cache(stralloc_t* out)
}
static void
+help_cache_size(stralloc_t* out)
+{
+ PRINTF(
+ " use '-cache <size>' to specify a /cache partition size in MB. By default,\n"
+ " the cache partition size is set to 66MB\n\n"
+ );
+}
+
+static void
help_no_cache(stralloc_t* out)
{
PRINTF(
@@ -1432,12 +1441,12 @@ static void
help_gpu(stralloc_t* out)
{
PRINTF(
- " Use -gpu <mode> to force the mode of hardware OpenGLES emulation.\n"
- " Valid values for <mode> are:\n\n"
+ " Use -gpu <mode> to override the mode of hardware OpenGL ES emulation\n"
+ " indicated by the AVD. Valid values for <mode> are:\n\n"
" on -> enable GPU emulation\n"
" off -> disable GPU emulation\n"
- " auto -> automatic detection\n"
+ " auto -> use the setting from the AVD\n"
" enabled -> same as 'on'\n"
" disabled -> same as 'off'\n\n"
@@ -1448,43 +1457,71 @@ help_gpu(stralloc_t* out)
" force the virtual device to use the slow software renderer instead.\n"
" Note that OpenGLES 2.0 is _not_ supported by it.\n\n"
- " The 'auto' mode is the default. It will only enable GPU emulation if the\n"
- " virtual device supports it, and the host-side OpenGLES emulation library\n"
- " could be properly initialized (this can fail when you run the emulator\n"
- " under certain restricted environments where the program can't access the\n"
- " graphics sub-system (e.g. head-less servers).\n"
+ " The 'auto' mode is the default. In this mode, the hw.gpu.enabled setting\n"
+ " in the AVD's hardware-qemu.ini file will determine whether GPU emulation\n"
+ " is enabled.\n\n"
+
+ " Even if hardware GPU emulation is enabled, if the host-side OpenGL ES\n"
+ " emulation library cannot be initialized, the emulator will run with GPU\n"
+ " emulation disabled rather than failing to start.\n"
);
}
static void
-help_fake_camera(stralloc_t* out)
+help_camera_back(stralloc_t* out)
{
PRINTF(
- " Use -fake-camera <mode> to control fake camera emulation.\n"
+ " Use -camera-back <mode> to control emulation of a camera facing back.\n"
" Valid values for <mode> are:\n\n"
- " off -> disable fake camera emulation\n"
- " back -> fake camera is facing back\n"
- " front -> fake camera is facing front\n\n"
+ " emulated -> camera will be emulated using software ('fake') camera emulation\n"
+ " webcam<N> -> camera will be emulated using a webcamera connected to the host\n"
+ " none -> camera emulation will be disabled\n\n"
);
}
static void
-help_webcam(stralloc_t* out)
+help_camera_front(stralloc_t* out)
{
PRINTF(
- " Use -webcam off to disable web camera emulation.\n"
- " Use -webcam list to list web cameras available for emulation.\n"
- " Use -webcam name=<name>[,dir=<direction>] to setup parameters for web camera emulation.\n"
+ " Use -camera-front <mode> to control emulation of a camera facing front.\n"
+ " Valid values for <mode> are:\n\n"
- " <name> platform-independent name identifying emulated camera device.\n"
- " use '-webcam list' to obtain the list of emulated camera devices.\n"
- " <direction> defines direction the camera is facing. Valid values are:\n\n"
+ " emulated -> camera will be emulated using software ('fake') camera emulation\n"
+ " webcam<N> -> camera will be emulated using a webcamera connected to the host\n"
+ " none -> camera emulation will be disabled\n\n"
+ );
+}
- " front -> emulate camera as facing front\n"
- " back -> emulate camera as facing back\n\n"
+static void
+help_webcam_list(stralloc_t* out)
+{
+ PRINTF(
+ " Use -webcam-list to list web cameras available for emulation.\n\n"
+ );
+}
+
+static void
+help_screen(stralloc_t* out)
+{
+ PRINTF(
+ " Use -screen <mode> to set the emulated screen mode.\n"
+ " Valid values for <mode> are:\n\n"
+
+ " touch -> emulate a touch screen\n"
+ " multi-touch -> emulate a multi-touch screen\n"
+ " no-touch -> disable touch and multi-touch screen emulation\n\n"
+
+ " Default mode for screen emulation is 'touch'.\n\n"
+ );
+}
+
+static void
+help_force_32bit(stralloc_t* out)
+{
+ PRINTF(
+ " Use -force-32bit to use 32-bit emulator on 64-bit platforms\n\n"
- " Default direction value for emulated web camera is 'front'\n\n"
);
}