Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenextensions.h
Go to the documentation of this file.
00001 00011 /* 00012 * Mesa 3-D graphics library 00013 * Version: 6.5.1 00014 * 00015 * Copyright (C) 1999-2006 Brian Paul All Rights Reserved. 00016 * 00017 * Permission is hereby granted, free of charge, to any person obtaining a 00018 * copy of this software and associated documentation files (the "Software"), 00019 * to deal in the Software without restriction, including without limitation 00020 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 00021 * and/or sell copies of the Software, and to permit persons to whom the 00022 * Software is furnished to do so, subject to the following conditions: 00023 * 00024 * The above copyright notice and this permission notice shall be included 00025 * in all copies or substantial portions of the Software. 00026 * 00027 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00028 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 00029 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 00030 * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 00031 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 00032 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 00033 */ 00034 00035 00036 #ifndef _EXTENSIONS_H_ 00037 #define _EXTENSIONS_H_ 00038 00039 #include "mtypes.h" 00040 00041 #if _HAVE_FULL_GL 00042 00043 extern void _mesa_enable_sw_extensions(GLcontext *ctx); 00044 00045 extern void _mesa_enable_imaging_extensions(GLcontext *ctx); 00046 00047 extern void _mesa_enable_1_3_extensions(GLcontext *ctx); 00048 00049 extern void _mesa_enable_1_4_extensions(GLcontext *ctx); 00050 00051 extern void _mesa_enable_1_5_extensions(GLcontext *ctx); 00052 00053 extern void _mesa_enable_2_0_extensions(GLcontext *ctx); 00054 00055 extern void _mesa_enable_2_1_extensions(GLcontext *ctx); 00056 00057 extern void _mesa_enable_extension(GLcontext *ctx, const char *name); 00058 00059 extern void _mesa_disable_extension(GLcontext *ctx, const char *name); 00060 00061 extern GLboolean _mesa_extension_is_enabled(GLcontext *ctx, const char *name); 00062 00063 extern void _mesa_init_extensions(GLcontext *ctx); 00064 00065 extern GLubyte *_mesa_make_extension_string(GLcontext *ctx); 00066 00067 #else 00068 00070 #define _mesa_extensions_dtr( ctx ) ((void)0) 00071 00073 #define _mesa_extensions_ctr( ctx ) ((void)0) 00074 00076 #define _mesa_extensions_get_string( ctx ) "GL_EXT_texture_object" 00077 00079 #define _mesa_enable_imaging_extensions( c ) ((void)0) 00080 00082 #define _mesa_enable_extension( c, n ) ((void)0) 00083 00084 #endif 00085 00086 #endif Generated on Sat May 26 2012 04:18:25 for ReactOS by
1.7.6.1
|