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

feedback.h
Go to the documentation of this file.
00001 
00006 /*
00007  * Mesa 3-D graphics library
00008  * Version:  3.5
00009  *
00010  * Copyright (C) 1999-2001  Brian Paul   All Rights Reserved.
00011  *
00012  * Permission is hereby granted, free of charge, to any person obtaining a
00013  * copy of this software and associated documentation files (the "Software"),
00014  * to deal in the Software without restriction, including without limitation
00015  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
00016  * and/or sell copies of the Software, and to permit persons to whom the
00017  * Software is furnished to do so, subject to the following conditions:
00018  *
00019  * The above copyright notice and this permission notice shall be included
00020  * in all copies or substantial portions of the Software.
00021  *
00022  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
00023  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
00024  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
00025  * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
00026  * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
00027  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
00028  */
00029 
00030 
00031 #ifndef FEEDBACK_H
00032 #define FEEDBACK_H
00033 
00034 
00035 #include "mtypes.h"
00036 
00037 
00038 #define FEEDBACK_TOKEN( CTX, T )                \
00039     if (CTX->Feedback.Count < CTX->Feedback.BufferSize) {   \
00040        CTX->Feedback.Buffer[CTX->Feedback.Count] = (GLfloat) (T); \
00041     }                           \
00042     CTX->Feedback.Count++;
00043 
00044 
00045 extern void _mesa_init_feedback( GLcontext * ctx );
00046 
00047 extern void _mesa_feedback_vertex( GLcontext *ctx,
00048                                 const GLfloat win[4],
00049                                 const GLfloat color[4],
00050                 GLfloat index,
00051                                 const GLfloat texcoord[4] );
00052 
00053 
00054 extern void _mesa_update_hitflag( GLcontext *ctx, GLfloat z );
00055 
00056 
00057 extern void GLAPIENTRY
00058 _mesa_PassThrough( GLfloat token );
00059 
00060 extern void GLAPIENTRY
00061 _mesa_FeedbackBuffer( GLsizei size, GLenum type, GLfloat *buffer );
00062 
00063 extern void GLAPIENTRY
00064 _mesa_SelectBuffer( GLsizei size, GLuint *buffer );
00065 
00066 extern void GLAPIENTRY
00067 _mesa_InitNames( void );
00068 
00069 extern void GLAPIENTRY
00070 _mesa_LoadName( GLuint name );
00071 
00072 extern void GLAPIENTRY
00073 _mesa_PushName( GLuint name );
00074 
00075 extern void GLAPIENTRY
00076 _mesa_PopName( void );
00077 
00078 extern GLint GLAPIENTRY
00079 _mesa_RenderMode( GLenum mode );
00080 
00081 
00082 #endif

Generated on Fri May 25 2012 04:18:22 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.