filename | src/pvr2/glutil.h |
changeset | 1245:01e0020adf88 |
prev | 1236:d93175c36387 |
next | 1256:a9d29fe74bf3 |
author | nkeynes |
date | Fri Mar 02 23:49:10 2012 +1000 (11 years ago) |
permissions | -rw-r--r-- |
last change | Android WIP: * Rename gui_jni.c to gui_android.c - now quite android specific. * Implement generic EGL driver with very minimal Java wrapper * Run emulation in separate thread, and implement simple queue for inter-thread communication. * Add menu/action-bar items for start + reset |
file | annotate | diff | log | raw |
1.1 --- a/src/pvr2/glutil.h Fri Feb 24 21:17:47 2012 +10001.2 +++ b/src/pvr2/glutil.h Fri Mar 02 23:49:10 2012 +10001.3 @@ -33,6 +33,8 @@1.4 */1.5 gboolean isGLExtensionSupported( const char *extension );1.7 +gboolean isOpenGLES2();1.8 +1.9 /**1.10 * Dump GL information to the output stream, usually for debugging purposes1.11 */1.12 @@ -106,6 +108,18 @@1.13 #define GL_FRAMEBUFFER_COMPLETE GL_FRAMEBUFFER_COMPLETE_EXT1.14 #endif1.16 +#if defined(GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT) && !defined(GL_UNSIGNED_SHORT_1_5_5_5_REV)1.17 +#define GL_UNSIGNED_SHORT_1_5_5_5_REV GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT1.18 +#endif1.19 +1.20 +#if defined(GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT) && !defined(GL_UNSIGNED_SHORT_4_4_4_4_REV)1.21 +#define GL_UNSIGNED_SHORT_4_4_4_4_REV GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT1.22 +#endif1.23 +1.24 +#if defined(GL_BGRA_EXT) && !defined(GL_BGRA)1.25 +#define GL_BGRA GL_BGRA_EXT1.26 +#endif1.27 +1.28 #if defined(HAVE_OPENGL_FBO_EXT) && !defined(HAVE_OPENGL_FBO)1.29 #define glGenFramebuffers glGenFramebuffersEXT1.30 #define glGenRenderbuffers glGenRenderbuffersEXT
.