ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

t_pipeline.h
Go to the documentation of this file.
00001 /*
00002  * Mesa 3-D graphics library
00003  * Version:  6.5.3
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 
00029 
00030 #ifndef _T_PIPELINE_H_
00031 #define _T_PIPELINE_H_
00032 
00033 #include "main/mtypes.h"
00034 #include "t_context.h"
00035 
00036 extern void _tnl_run_pipeline( GLcontext *ctx );
00037 
00038 extern void _tnl_destroy_pipeline( GLcontext *ctx );
00039 
00040 extern void _tnl_install_pipeline( GLcontext *ctx,
00041                    const struct tnl_pipeline_stage **stages );
00042 
00043 
00044 /* These are implemented in the t_vb_*.c files:
00045  */
00046 extern const struct tnl_pipeline_stage _tnl_vertex_transform_stage;
00047 extern const struct tnl_pipeline_stage _tnl_vertex_cull_stage;
00048 extern const struct tnl_pipeline_stage _tnl_normal_transform_stage;
00049 extern const struct tnl_pipeline_stage _tnl_lighting_stage;
00050 extern const struct tnl_pipeline_stage _tnl_fog_coordinate_stage;
00051 extern const struct tnl_pipeline_stage _tnl_texgen_stage;
00052 extern const struct tnl_pipeline_stage _tnl_texture_transform_stage;
00053 extern const struct tnl_pipeline_stage _tnl_point_attenuation_stage;
00054 extern const struct tnl_pipeline_stage _tnl_vertex_program_stage;
00055 extern const struct tnl_pipeline_stage _tnl_render_stage;
00056 
00057 /* Shorthand to plug in the default pipeline:
00058  */
00059 extern const struct tnl_pipeline_stage *_tnl_default_pipeline[];
00060 extern const struct tnl_pipeline_stage *_tnl_vp_pipeline[];
00061 
00062 
00063 /* Convenience routines provided by t_vb_render.c:
00064  */
00065 extern tnl_render_func _tnl_render_tab_elts[];
00066 extern tnl_render_func _tnl_render_tab_verts[];
00067 
00068 extern void _tnl_RenderClippedPolygon( GLcontext *ctx, 
00069                        const GLuint *elts, GLuint n );
00070 
00071 extern void _tnl_RenderClippedLine( GLcontext *ctx, GLuint ii, GLuint jj );
00072 
00073 
00074 #endif

Generated on Sun May 27 2012 04:20:45 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.