From 08836341788a9f9d638d9dc8328510ccd18ddeb5 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 3 Mar 2001 20:33:27 +0000 Subject: lots of gl_*() to _mesa_*() namespace clean-up --- src/mesa/main/light.h | 38 ++++++++++++++++++-------------------- 1 file changed, 18 insertions(+), 20 deletions(-) (limited to 'src/mesa/main/light.h') diff --git a/src/mesa/main/light.h b/src/mesa/main/light.h index 38ca33815f..82f6d7884c 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 -- cgit v1.2.3