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

swrast_setup.h
Go to the documentation of this file.
00001 
00002 /*
00003  * Mesa 3-D graphics library
00004  * Version:  3.5
00005  *
00006  * Copyright (C) 1999-2001  Brian Paul   All Rights Reserved.
00007  *
00008  * Permission is hereby granted, free of charge, to any person obtaining a
00009  * copy of this software and associated documentation files (the "Software"),
00010  * to deal in the Software without restriction, including without limitation
00011  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
00012  * and/or sell copies of the Software, and to permit persons to whom the
00013  * Software is furnished to do so, subject to the following conditions:
00014  *
00015  * The above copyright notice and this permission notice shall be included
00016  * in all copies or substantial portions of the Software.
00017  *
00018  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
00019  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
00020  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
00021  * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
00022  * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
00023  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
00024  *
00025  * Authors:
00026  *    Keith Whitwell <keith@tungstengraphics.com>
00027  */
00028 
00029 /* Public interface to the swrast_setup module.  This module provides
00030  * an implementation of the driver interface to t_vb_render.c, and uses
00031  * the software rasterizer (swrast) to perform actual rasterization.
00032  *
00033  * The internals of the implementation are private, but can be hooked
00034  * into tnl at any time (except between RenderStart/RenderEnd) by
00035  * calling _swsetup_Wakeup(). 
00036  */
00037 
00038 #ifndef SWRAST_SETUP_H
00039 #define SWRAST_SETUP_H
00040 
00041 #include "swrast/swrast.h"
00042 
00043 extern GLboolean
00044 _swsetup_CreateContext( GLcontext *ctx );
00045 
00046 extern void
00047 _swsetup_DestroyContext( GLcontext *ctx );
00048 
00049 extern void
00050 _swsetup_InvalidateState( GLcontext *ctx, GLuint new_state );
00051 
00052 extern void
00053 _swsetup_Wakeup( GLcontext *ctx );
00054 
00055 /* Helper function to translate a hardware vertex (as understood by
00056  * the tnl/t_vertex.c code) to a swrast vertex.
00057  */
00058 extern void 
00059 _swsetup_Translate( GLcontext *ctx, const void *vertex, SWvertex *dest );
00060 
00061 #endif

Generated on Sat May 26 2012 04:19:35 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.