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

matypes.h
Go to the documentation of this file.
00001 /*
00002  * This file is automatically generated from the Mesa internal type
00003  * definitions.  Do not edit directly.
00004  */
00005 
00006 #ifndef __ASM_TYPES_H__
00007 #define __ASM_TYPES_H__
00008 
00009 #include "assyntax.h"
00010 
00011 
00012 /* =============================================================
00013  * Offsets for GLcontext
00014  */
00015 
00016 #define CTX_DRIVER_CTX                  952
00017 
00018 #define CTX_LIGHT_ENABLED               39056
00019 #define CTX_LIGHT_SHADE_MODEL           39060
00020 #define CTX_LIGHT_COLOR_MAT_FACE        39064
00021 #define CTX_LIGHT_COLOR_MAT_MODE        39068
00022 #define CTX_LIGHT_COLOR_MAT_MASK        39072
00023 #define CTX_LIGHT_COLOR_MAT_ENABLED     39076
00024 #define CTX_LIGHT_ENABLED_LIST          39084
00025 #define CTX_LIGHT_NEED_VERTS            43445
00026 #define CTX_LIGHT_FLAGS                 43448
00027 #define CTX_LIGHT_BASE_COLOR            43452
00028 
00029 
00030 /* =============================================================
00031  * Offsets for struct vertex_buffer
00032  */
00033 
00034 #define VB_SIZE                 0
00035 #define VB_COUNT                4
00036 
00037 #define VB_ELTS                 8
00038 #define VB_OBJ_PTR              12
00039 #define VB_EYE_PTR              16
00040 #define VB_CLIP_PTR             20
00041 #define VB_PROJ_CLIP_PTR        24
00042 #define VB_CLIP_OR_MASK         28
00043 #define VB_CLIP_MASK            32
00044 #define VB_NORMAL_PTR           36
00045 #define VB_EDGE_FLAG            44
00046 #define VB_TEX0_COORD_PTR       48
00047 #define VB_TEX1_COORD_PTR       52
00048 #define VB_TEX2_COORD_PTR       56
00049 #define VB_TEX3_COORD_PTR       60
00050 #define VB_INDEX_PTR            80
00051 #define VB_COLOR_PTR            88
00052 #define VB_SECONDARY_COLOR_PTR  96
00053 #define VB_FOG_COORD_PTR        104
00054 #define VB_PRIMITIVE            108
00055 
00056 
00057 /*
00058  * Flags for struct vertex_buffer
00059  */
00060 
00061 #define VERT_BIT_OBJ            0x1
00062 #define VERT_BIT_NORM           0x4
00063 #define VERT_BIT_RGBA           0x8
00064 #define VERT_BIT_SPEC_RGB       0x10
00065 #define VERT_BIT_FOG_COORD      0x20
00066 #define VERT_BIT_TEX0           0x100
00067 #define VERT_BIT_TEX1           0x200
00068 #define VERT_BIT_TEX2           0x400
00069 #define VERT_BIT_TEX3           0x800
00070 
00071 
00072 /* =============================================================
00073  * Offsets for GLvector4f
00074  */
00075 
00076 #define V4F_DATA            0
00077 #define V4F_START           4
00078 #define V4F_COUNT           8
00079 #define V4F_STRIDE          12
00080 #define V4F_SIZE            16
00081 #define V4F_FLAGS           20
00082 
00083 /*
00084  * Flags for GLvector4f
00085  */
00086 
00087 #define VEC_MALLOC          0x10
00088 #define VEC_NOT_WRITEABLE   0x40
00089 #define VEC_BAD_STRIDE      0x100
00090 
00091 #define VEC_SIZE_1          0x1
00092 #define VEC_SIZE_2          0x3
00093 #define VEC_SIZE_3          0x7
00094 #define VEC_SIZE_4          0xf
00095 
00096 
00097 /* =============================================================
00098  * Offsets for GLmatrix
00099  */
00100 
00101 #define MATRIX_DATA     0
00102 #define MATRIX_INV      4
00103 #define MATRIX_FLAGS    8
00104 #define MATRIX_TYPE     12
00105 
00106 
00107 /* =============================================================
00108  * Offsets for struct gl_light
00109  */
00110 
00111 #define LIGHT_NEXT                  0
00112 #define LIGHT_PREV                  4
00113 
00114 #define LIGHT_AMBIENT               8
00115 #define LIGHT_DIFFUSE               24
00116 #define LIGHT_SPECULAR              40
00117 #define LIGHT_EYE_POSITION          56
00118 #define LIGHT_EYE_DIRECTION         72
00119 #define LIGHT_SPOT_EXPONENT         88
00120 #define LIGHT_SPOT_CUTOFF           92
00121 #define LIGHT_COS_CUTOFF            100
00122 #define LIGHT_CONST_ATTEN           104
00123 #define LIGHT_LINEAR_ATTEN          108
00124 #define LIGHT_QUADRATIC_ATTEN       112
00125 #define LIGHT_ENABLED               116
00126 
00127 #define LIGHT_FLAGS                 120
00128 
00129 #define LIGHT_POSITION              124
00130 #define LIGHT_VP_INF_NORM           140
00131 #define LIGHT_H_INF_NORM            152
00132 #define LIGHT_NORM_DIRECTION        164
00133 #define LIGHT_VP_INF_SPOT_ATTEN     180
00134 
00135 #define LIGHT_SPOT_EXP_TABLE        184
00136 #define LIGHT_MAT_AMBIENT           4280
00137 #define LIGHT_MAT_DIFFUSE           4304
00138 #define LIGHT_MAT_SPECULAR          4328
00139 
00140 #define SIZEOF_GL_LIGHT             4360
00141 
00142 /*
00143  * Flags for struct gl_light
00144  */
00145 
00146 #define LIGHT_SPOT                  0x1
00147 #define LIGHT_LOCAL_VIEWER          0x2
00148 #define LIGHT_POSITIONAL            0x4
00149 
00150 #define LIGHT_NEED_VERTICES         0x6
00151 
00152 
00153 /* =============================================================
00154  * Offsets for struct gl_lightmodel
00155  */
00156 
00157 #define LIGHT_MODEL_AMBIENT         0
00158 #define LIGHT_MODEL_LOCAL_VIEWER    16
00159 #define LIGHT_MODEL_TWO_SIDE        17
00160 #define LIGHT_MODEL_COLOR_CONTROL   20
00161 
00162 
00163 #endif /* __ASM_TYPES_H__ */

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