Search
lxdream.org :: lxdream/src/pvr2/glutil.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/glutil.h
changeset 1140:7dc1c71ece76
prev1134:f502f3d32f90
next1150:1038800cecd8
author nkeynes
date Tue Oct 26 08:39:02 2010 +1000 (10 years ago)
permissions -rw-r--r--
last change Implement fragment shader to support palette textures 'directly', and
therefore avoid having to reload all palette textures whenever the palette
changes.
file annotate diff log raw
1.1 --- a/src/pvr2/glutil.h Fri Oct 22 20:55:32 2010 +1000
1.2 +++ b/src/pvr2/glutil.h Tue Oct 26 08:39:02 2010 +1000
1.3 @@ -47,6 +47,7 @@
1.4 gboolean isGLVertexBufferSupported();
1.5 gboolean isGLVertexRangeSupported();
1.6 gboolean isGLPixelBufferSupported();
1.7 +gboolean isGLMultitextureSupported();
1.8 gboolean isGLMirroredTextureSupported();
1.9
1.10 /****** Shader handling (gl_sl.c) *****/
1.11 @@ -56,6 +57,8 @@
1.12 void glsl_unload_shaders(void);
1.13 gboolean glsl_set_shader( unsigned program_id );
1.14 void glsl_clear_shader();
1.15 +GLint glsl_get_uniform_location( unsigned program, const char *name );
1.16 +void glsl_set_uniform_int( unsigned program, const char *name, GLint value );
1.17
1.18 /* Convenience formatting function for driver use */
1.19 void fprint_extensions( FILE *out, const char *extensions );
.