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

m_translate.h
Go to the documentation of this file.
00001 /*
00002  * Mesa 3-D graphics library
00003  * Version:  6.5.1
00004  *
00005  * Copyright (C) 1999-2006  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 
00025 
00026 #ifndef _M_TRANSLATE_H_
00027 #define _M_TRANSLATE_H_
00028 
00029 #include "main/config.h"
00030 #include "main/mtypes.h"        /* hack for GLchan */
00031 
00032 
00049 extern void _math_trans_1f(GLfloat *to,
00050                CONST void *ptr,
00051                GLuint stride,
00052                GLenum type,
00053                GLuint start,
00054                GLuint n );
00055 
00056 extern void _math_trans_1ui(GLuint *to,
00057                 CONST void *ptr,
00058                 GLuint stride,
00059                 GLenum type,
00060                 GLuint start,
00061                 GLuint n );
00062 
00063 extern void _math_trans_1ub(GLubyte *to,
00064                 CONST void *ptr,
00065                 GLuint stride,
00066                 GLenum type,
00067                 GLuint start,
00068                 GLuint n );
00069 
00070 extern void _math_trans_4ub(GLubyte (*to)[4],
00071                 CONST void *ptr,
00072                 GLuint stride,
00073                 GLenum type,
00074                 GLuint size,
00075                 GLuint start,
00076                 GLuint n );
00077 
00078 extern void _math_trans_4chan( GLchan (*to)[4],
00079                    CONST void *ptr,
00080                    GLuint stride,
00081                    GLenum type,
00082                    GLuint size,
00083                    GLuint start,
00084                    GLuint n );
00085 
00086 extern void _math_trans_4us(GLushort (*to)[4],
00087                 CONST void *ptr,
00088                 GLuint stride,
00089                 GLenum type,
00090                 GLuint size,
00091                 GLuint start,
00092                 GLuint n );
00093 
00095 extern void _math_trans_4f(GLfloat (*to)[4],
00096                CONST void *ptr,
00097                GLuint stride,
00098                GLenum type,
00099                GLuint size,
00100                GLuint start,
00101                GLuint n );
00102 
00104 extern void _math_trans_4fn(GLfloat (*to)[4],
00105                 CONST void *ptr,
00106                 GLuint stride,
00107                 GLenum type,
00108                 GLuint size,
00109                 GLuint start,
00110                 GLuint n );
00111 
00112 extern void _math_trans_3fn(GLfloat (*to)[3],
00113                CONST void *ptr,
00114                GLuint stride,
00115                GLenum type,
00116                GLuint start,
00117                GLuint n );
00118 
00119 extern void _math_init_translate( void );
00120 
00121 
00122 #endif

Generated on Sun May 27 2012 04:20:32 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.