Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygencolortab.h
Go to the documentation of this file.
00001 /* 00002 * Mesa 3-D graphics library 00003 * Version: 6.5.2 00004 * 00005 * Copyright (C) 1999-2006 Brian Paul All Rights Reserved. 00006 * 00007 * Permission is hereby granted, free of charge, to any person obtaining a 00008 * copy of this software and associated documentation files (the "Software"), 00009 * to deal in the Software without restriction, including without limitation 00010 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 00011 * and/or sell copies of the Software, and to permit persons to whom the 00012 * Software is furnished to do so, subject to the following conditions: 00013 * 00014 * The above copyright notice and this permission notice shall be included 00015 * in all copies or substantial portions of the Software. 00016 * 00017 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00018 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 00019 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 00020 * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 00021 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 00022 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 00023 */ 00024 00025 00026 #ifndef COLORTAB_H 00027 #define COLORTAB_H 00028 00029 00030 #include "mtypes.h" 00031 00032 #if _HAVE_FULL_GL 00033 00034 extern void GLAPIENTRY 00035 _mesa_ColorTable( GLenum target, GLenum internalformat, 00036 GLsizei width, GLenum format, GLenum type, 00037 const GLvoid *table ); 00038 00039 extern void GLAPIENTRY 00040 _mesa_ColorSubTable( GLenum target, GLsizei start, 00041 GLsizei count, GLenum format, GLenum type, 00042 const GLvoid *table ); 00043 00044 extern void GLAPIENTRY 00045 _mesa_CopyColorSubTable(GLenum target, GLsizei start, 00046 GLint x, GLint y, GLsizei width); 00047 00048 extern void GLAPIENTRY 00049 _mesa_CopyColorTable(GLenum target, GLenum internalformat, 00050 GLint x, GLint y, GLsizei width); 00051 00052 extern void GLAPIENTRY 00053 _mesa_GetColorTable( GLenum target, GLenum format, 00054 GLenum type, GLvoid *table ); 00055 00056 extern void GLAPIENTRY 00057 _mesa_ColorTableParameterfv(GLenum target, GLenum pname, 00058 const GLfloat *params); 00059 00060 extern void GLAPIENTRY 00061 _mesa_ColorTableParameteriv(GLenum target, GLenum pname, 00062 const GLint *params); 00063 00064 extern void GLAPIENTRY 00065 _mesa_GetColorTableParameterfv( GLenum target, GLenum pname, GLfloat *params ); 00066 00067 extern void GLAPIENTRY 00068 _mesa_GetColorTableParameteriv( GLenum target, GLenum pname, GLint *params ); 00069 00070 00071 00072 extern void 00073 _mesa_init_colortable( struct gl_color_table *table ); 00074 00075 extern void 00076 _mesa_free_colortable_data( struct gl_color_table *table ); 00077 00078 extern void 00079 _mesa_init_colortables( GLcontext *ctx ); 00080 00081 extern void 00082 _mesa_free_colortables_data( GLcontext *ctx ); 00083 00084 #else 00085 00087 #define _mesa_init_colortable( p ) ((void) 0) 00088 00090 #define _mesa_free_colortable_data( p ) ((void) 0) 00091 00093 #define _mesa_init_colortables( p ) ((void)0) 00094 00096 #define _mesa_free_colortables_data( p ) ((void)0) 00097 00098 #endif 00099 00100 #endif Generated on Sat May 26 2012 04:18:58 for ReactOS by
1.7.6.1
|