Add -gpu <mode> option to force GPU emulation

By default, GPU emulation is still disabled. You can
still try to force it with '-gpu on' for experimentation
purpose (alternatively, you can define hw.gpu.enabled to
'true' in your AVD config.ini)

Change-Id: I87efdf45337a80aeadd94b3922312b3f564c1608
diff --git a/android/help.c b/android/help.c
index cd5a3a6..63d7ca2 100644
--- a/android/help.c
+++ b/android/help.c
@@ -1428,6 +1428,33 @@
     );
 }
 
+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"
+    
+    "     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"
+    "  under certain restricted environments where the program can't access the\n"
+    "  graphics sub-system (e.g. head-less servers).\n"
+    );
+}
 
 #define  help_no_skin   NULL
 #define  help_netspeed  help_shaper