filename | src/pvr2/glutil.h |
changeset | 1258:f8a9c0fd2abb |
prev | 1256:a9d29fe74bf3 |
next | 1259:8a69f4d0b31d |
author | nkeynes |
date | Mon Mar 05 11:41:03 2012 +1000 (12 years ago) |
permissions | -rw-r--r-- |
last change | Small cleanups: Refactor the post-windowing setup into gl_init_driver() in video_gl.c Move gl_sl.c into src/drivers and tidy up a bit. Fix OS X compiling plugins with -mdynamic-no-pic |
file | annotate | diff | log | raw |
1.1 --- a/src/pvr2/glutil.h Sun Mar 04 21:10:12 2012 +10001.2 +++ b/src/pvr2/glutil.h Mon Mar 05 11:41:03 2012 +10001.3 @@ -56,6 +56,7 @@1.4 gboolean isGLPixelBufferSupported();1.5 gboolean isGLMultitextureSupported();1.6 gboolean isGLMirroredTextureSupported();1.7 +gboolean isGLShaderSupported();1.8 GLint glGetMaxColourAttachments();1.10 /****** Extension variant wrangling *****/1.11 @@ -120,6 +121,11 @@1.12 #define GL_BGRA GL_BGRA_EXT1.13 #endif1.15 +#if defined(GL_SHADING_LANGUAGE_VERSION_ARB) && !defined(GL_SHADING_LANGUAGE_VERSION)1.16 +#define GL_SHADING_LANGUAGE_VERSION GL_SHADING_LANGUAGE_VERSION_ARB1.17 +#endif1.18 +1.19 +1.20 #if defined(HAVE_OPENGL_FBO_EXT) && !defined(HAVE_OPENGL_FBO)1.21 #define glGenFramebuffers glGenFramebuffersEXT1.22 #define glGenRenderbuffers glGenRenderbuffersEXT1.23 @@ -136,11 +142,6 @@1.26 /****** Shader handling (gl_sl.c) *****/1.27 -gboolean glsl_init( display_driver_t driver );1.28 -gboolean glsl_is_supported(void);1.29 -const char *glsl_get_version(void);1.30 -gboolean glsl_load_shaders( );1.31 -void glsl_unload_shaders(void);1.32 void glsl_clear_shader();1.34 /* Define an orthographic transform matrix, given the bounding box (assuming origin at 0) */
.