aboutsummaryrefslogtreecommitdiffstats
path: root/android/help.c
diff options
context:
space:
mode:
authorVladimir Chtchetkine <vchtchetkine@google.com>2011-09-13 10:48:02 -0700
committerVladimir Chtchetkine <vchtchetkine@google.com>2011-09-13 13:17:57 -0700
commitae0d8136ce0d3c39ca80c64763e633b86b0c5453 (patch)
treed915d4de2208fc2dfc58ab5a7bc83be066b5472a /android/help.c
parent4939812780883255043a09eceaf607263f30fde4 (diff)
downloadexternal_qemu-ae0d8136ce0d3c39ca80c64763e633b86b0c5453.zip
external_qemu-ae0d8136ce0d3c39ca80c64763e633b86b0c5453.tar.gz
external_qemu-ae0d8136ce0d3c39ca80c64763e633b86b0c5453.tar.bz2
Add cmdline param to control fake camera emulation
- Enable / Disable fake camera - Set fake camera facing direction: back, or front Change-Id: Iab741a694daf2bf752e91e23df566a83ac7a97e7
Diffstat (limited to 'android/help.c')
-rw-r--r--android/help.c21
1 files changed, 17 insertions, 4 deletions
diff --git a/android/help.c b/android/help.c
index 63d7ca2..7f89376 100644
--- a/android/help.c
+++ b/android/help.c
@@ -1434,20 +1434,20 @@ 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"
-
+
" on -> enable GPU emulation\n"
" off -> disable GPU emulation\n"
" auto -> automatic detection\n"
" enabled -> same as 'on'\n"
" disabled -> same as 'off'\n\n"
-
+
" Note that enabling GPU emulation if the system image does not support it\n"
" will prevent the proper display of the emulated framebuffer.\n\n"
-
+
" You can always disable GPU emulation (i.e. '-gpu off'), and this will\n"
" 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"
@@ -1456,6 +1456,19 @@ help_gpu(stralloc_t* out)
);
}
+static void
+help_fake_camera(stralloc_t* out)
+{
+ PRINTF(
+ " Use -fake-camera <mode> to control fake camera emulation.\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"
+ );
+}
+
#define help_no_skin NULL
#define help_netspeed help_shaper
#define help_netdelay help_shaper