4bd16210a0bb7644b823f209422beba407a4c0bd
12 * Mesa 3-D graphics library
15 * Copyright (C) 1999-2001 Brian Paul All Rights Reserved.
17 * Permission is hereby granted, free of charge, to any person obtaining a
18 * copy of this software and associated documentation files (the "Software"),
19 * to deal in the Software without restriction, including without limitation
20 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
21 * and/or sell copies of the Software, and to permit persons to whom the
22 * Software is furnished to do so, subject to the following conditions:
24 * The above copyright notice and this permission notice shall be included
25 * in all copies or substantial portions of the Software.
27 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
28 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
29 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
30 * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
31 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
32 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
44 extern void GLAPIENTRY
45 _mesa_ColorTable( GLenum target
, GLenum internalformat
,
46 GLsizei width
, GLenum format
, GLenum type
,
47 const GLvoid
*table
);
49 extern void GLAPIENTRY
50 _mesa_ColorSubTable( GLenum target
, GLsizei start
,
51 GLsizei count
, GLenum format
, GLenum type
,
52 const GLvoid
*table
);
54 extern void GLAPIENTRY
55 _mesa_CopyColorSubTable(GLenum target
, GLsizei start
,
56 GLint x
, GLint y
, GLsizei width
);
58 extern void GLAPIENTRY
59 _mesa_CopyColorTable(GLenum target
, GLenum internalformat
,
60 GLint x
, GLint y
, GLsizei width
);
62 extern void GLAPIENTRY
63 _mesa_GetColorTable( GLenum target
, GLenum format
,
64 GLenum type
, GLvoid
*table
);
66 extern void GLAPIENTRY
67 _mesa_ColorTableParameterfv(GLenum target
, GLenum pname
,
68 const GLfloat
*params
);
70 extern void GLAPIENTRY
71 _mesa_ColorTableParameteriv(GLenum target
, GLenum pname
,
74 extern void GLAPIENTRY
75 _mesa_GetColorTableParameterfv( GLenum target
, GLenum pname
, GLfloat
*params
);
77 extern void GLAPIENTRY
78 _mesa_GetColorTableParameteriv( GLenum target
, GLenum pname
, GLint
*params
);
83 _mesa_init_colortable( struct gl_color_table
*table
);
86 _mesa_free_colortable_data( struct gl_color_table
*table
);
89 _mesa_init_colortables( GLcontext
*ctx
);
92 _mesa_free_colortables_data( GLcontext
*ctx
);
97 #define _mesa_init_colortable( p ) ((void) 0)
100 #define _mesa_free_colortable_data( p ) ((void) 0)
103 #define _mesa_init_colortables( p ) ((void)0)
106 #define _mesa_free_colortables_data( p ) ((void)0)