Search
lxdream.org :: lxdream/src/drivers/gl_common.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/drivers/gl_common.h
changeset 405:570d93abb5b7
prev352:f0df7a6d4703
next429:e581b90c3fb3
author nkeynes
date Fri Sep 28 07:24:14 2007 +0000 (12 years ago)
permissions -rw-r--r--
last change Add GLSL loader framework
file annotate diff log raw
1.1 --- a/src/drivers/gl_common.h Sun Feb 11 10:09:32 2007 +0000
1.2 +++ b/src/drivers/gl_common.h Fri Sep 28 07:24:14 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: gl_common.h,v 1.1 2007-02-11 10:09:32 nkeynes Exp $
1.6 + * $Id: gl_common.h,v 1.2 2007-09-28 07:24:14 nkeynes Exp $
1.7 *
1.8 * Parent for all X11 display drivers.
1.9 *
1.10 @@ -54,4 +54,12 @@
1.11 void gl_fbo_shutdown();
1.12 void gl_fbo_init( display_driver_t driver );
1.13
1.14 +/****** Shader handling (gl_sl.c) *****/
1.15 +gboolean glsl_is_supported(void);
1.16 +gboolean glsl_load_shaders( const char *vert_shader, const char *frag_shader );
1.17 +void glsl_unload_shaders(void);
1.18 +
1.19 +extern const char *glsl_vertex_shader_src;
1.20 +extern const char *glsl_fragment_shader_src;
1.21 +
1.22 #endif /* !video_gl_common_H */
.