aboutsummaryrefslogtreecommitdiffstats
path: root/android/opengles.h
diff options
context:
space:
mode:
Diffstat (limited to 'android/opengles.h')
-rw-r--r--android/opengles.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/android/opengles.h b/android/opengles.h
index b31ce11..2202e92 100644
--- a/android/opengles.h
+++ b/android/opengles.h
@@ -12,6 +12,8 @@
#ifndef ANDROID_OPENGLES_H
#define ANDROID_OPENGLES_H
+#include <stddef.h>
+
#define ANDROID_OPENGLES_BASE_PORT 22468
/* Call this function to initialize the hardware opengles emulation.
@@ -34,4 +36,13 @@ void android_redrawOpenglesWindow(void);
/* Stop the renderer process */
void android_stopOpenglesRenderer(void);
+/* set to TRUE if you want to use fast GLES pipes, 0 if you want to
+ * fallback to local TCP ones
+ */
+extern int android_gles_fast_pipes;
+
+/* Write the path of the Unix socket we're going to use to access GLES on a given <port> */
+/* The result is only valid on Unix systems */
+void android_gles_unix_path(char* buff, size_t buffsize, int port);
+
#endif /* ANDROID_OPENGLES_H */