summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/light.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2001-03-03 20:33:27 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2001-03-03 20:33:27 +0000
commit08836341788a9f9d638d9dc8328510ccd18ddeb5 (patch)
tree6bd480b7f5f595c63914b1d39727d70a0f954723 /src/mesa/main/light.h
parent19bbfc62638b60dd1a41e84686f24483adea5b03 (diff)
downloadexternal_mesa3d-08836341788a9f9d638d9dc8328510ccd18ddeb5.zip
external_mesa3d-08836341788a9f9d638d9dc8328510ccd18ddeb5.tar.gz
external_mesa3d-08836341788a9f9d638d9dc8328510ccd18ddeb5.tar.bz2
lots of gl_*() to _mesa_*() namespace clean-up
Diffstat (limited to 'src/mesa/main/light.h')
-rw-r--r--src/mesa/main/light.h38
1 files changed, 18 insertions, 20 deletions
diff --git a/src/mesa/main/light.h b/src/mesa/main/light.h
index 38ca338..82f6d78 100644
--- a/src/mesa/main/light.h
+++ b/src/mesa/main/light.h
@@ -1,4 +1,4 @@
-/* $Id: light.h,v 1.10 2001/02/15 01:33:52 keithw Exp $ */
+/* $Id: light.h,v 1.11 2001/03/03 20:33:27 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -92,33 +92,31 @@ do { \
-extern GLuint gl_material_bitmask( GLcontext *ctx,
- GLenum face, GLenum pname,
- GLuint legal,
- const char * );
+extern GLuint _mesa_material_bitmask( GLcontext *ctx,
+ GLenum face, GLenum pname,
+ GLuint legal,
+ const char * );
-extern void gl_set_material( GLcontext *ctx, GLuint bitmask,
- const GLfloat *params);
+extern void _mesa_invalidate_spot_exp_table( struct gl_light *l );
+extern void _mesa_invalidate_shine_table( GLcontext *ctx, GLuint i );
-extern void gl_invalidate_spot_exp_table( struct gl_light *l );
-extern void gl_invalidate_shine_table( GLcontext *ctx, GLuint i );
-extern void gl_validate_all_lighting_tables( GLcontext *ctx );
+extern void _mesa_validate_all_lighting_tables( GLcontext *ctx );
+extern void _mesa_update_lighting( GLcontext *ctx );
-extern void gl_update_lighting( GLcontext *ctx );
+extern void _mesa_compute_light_positions( GLcontext *ctx );
-extern void gl_compute_light_positions( GLcontext *ctx );
+extern void _mesa_update_material( GLcontext *ctx,
+ const struct gl_material src[2],
+ GLuint bitmask );
-extern void gl_update_material( GLcontext *ctx,
- const struct gl_material src[2],
- GLuint bitmask );
+extern void _mesa_copy_material_pairs( struct gl_material dst[2],
+ const struct gl_material src[2],
+ GLuint bitmask );
-extern void gl_copy_material_pairs( struct gl_material dst[2],
- const struct gl_material src[2],
- GLuint bitmask );
-
-extern void gl_update_color_material( GLcontext *ctx, const GLchan rgba[4] );
+extern void _mesa_update_color_material( GLcontext *ctx,
+ const GLchan rgba[4] );
#endif