Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygentnl.h
Go to the documentation of this file.
00001 /* 00002 * Mesa 3-D graphics library 00003 * Version: 7.1 00004 * 00005 * Copyright (C) 1999-2007 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 * Authors: 00025 * Keith Whitwell <keith@tungstengraphics.com> 00026 */ 00027 00028 #ifndef _TNL_H 00029 #define _TNL_H 00030 00031 #include "main/mtypes.h" 00032 00033 00034 00035 /* These are the public-access functions exported from tnl. (A few 00036 * more are currently hooked into dispatch directly by the module 00037 * itself.) 00038 */ 00039 extern GLboolean 00040 _tnl_CreateContext( GLcontext *ctx ); 00041 00042 extern void 00043 _tnl_DestroyContext( GLcontext *ctx ); 00044 00045 extern void 00046 _tnl_InvalidateState( GLcontext *ctx, GLuint new_state ); 00047 00048 /* Functions to revive the tnl module after being unhooked from 00049 * dispatch and/or driver callbacks. 00050 */ 00051 00052 extern void 00053 _tnl_wakeup( GLcontext *ctx ); 00054 00055 /* Driver configuration options: 00056 */ 00057 extern void 00058 _tnl_need_projected_coords( GLcontext *ctx, GLboolean flag ); 00059 00060 00061 /* Control whether T&L does per-vertex fog 00062 */ 00063 extern void 00064 _tnl_allow_vertex_fog( GLcontext *ctx, GLboolean value ); 00065 00066 extern void 00067 _tnl_allow_pixel_fog( GLcontext *ctx, GLboolean value ); 00068 00069 extern void 00070 _tnl_program_string(GLcontext *ctx, GLenum target, struct gl_program *program); 00071 00072 struct _mesa_prim; 00073 struct _mesa_index_buffer; 00074 00075 void 00076 _tnl_draw_prims( GLcontext *ctx, 00077 const struct gl_client_array *arrays[], 00078 const struct _mesa_prim *prim, 00079 GLuint nr_prims, 00080 const struct _mesa_index_buffer *ib, 00081 GLuint min_index, 00082 GLuint max_index); 00083 00084 00085 extern void 00086 _tnl_RasterPos(GLcontext *ctx, const GLfloat vObj[4]); 00087 00088 #endif Generated on Sun May 27 2012 04:20:46 for ReactOS by
1.7.6.1
|