Provide GL strings from renderer to ddms ping

Change-Id: I59c9e58c568a70855783e57514fec80b711d6a64
diff --git a/android/opengles.h b/android/opengles.h
index 60e125d..4e83c02 100644
--- a/android/opengles.h
+++ b/android/opengles.h
@@ -33,6 +33,18 @@
 int android_startOpenglesRenderer(int width, int height,
                                   OnPostFunc onPost, void* onPostContext);
 
+/* Retrieve the Vendor/Renderer/Version strings describing the underlying GL
+ * implementation. The call only works while the renderer is started.
+ *
+ * Each string is copied into the corresponding buffer. If the original string
+ * (including NUL terminator) is more than xxBufSize bytes, it will be
+ * truncated. In all cases, including failure, the buffer will be NUL-
+ * terminated when this function returns.
+ */
+void android_getOpenglesHardwareStrings(char* vendor, size_t vendorBufSize,
+                                        char* renderer, size_t rendererBufSize,
+                                        char* version, size_t versionBufSize);
+
 int android_showOpenglesWindow(void* window, int x, int y, int width, int height, float rotation);
 
 int android_hideOpenglesWindow(void);