Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenmatypes.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 00010 00011 /* ============================================================= 00012 * Offsets for GLcontext 00013 */ 00014 00015 #define CTX_DRIVER_CTX 952 00016 00017 #define CTX_LIGHT_ENABLED 39312 00018 #define CTX_LIGHT_SHADE_MODEL 39316 00019 #define CTX_LIGHT_COLOR_MAT_FACE 39320 00020 #define CTX_LIGHT_COLOR_MAT_MODE 39324 00021 #define CTX_LIGHT_COLOR_MAT_MASK 39328 00022 #define CTX_LIGHT_COLOR_MAT_ENABLED 39332 00023 #define CTX_LIGHT_ENABLED_LIST 39340 00024 #define CTX_LIGHT_NEED_VERTS 43701 00025 #define CTX_LIGHT_FLAGS 43704 00026 #define CTX_LIGHT_BASE_COLOR 43708 00027 00028 00029 /* ============================================================= 00030 * Offsets for struct vertex_buffer 00031 */ 00032 00033 #define VB_SIZE 0 00034 #define VB_COUNT 4 00035 00036 #define VB_ELTS 8 00037 #define VB_OBJ_PTR 12 00038 #define VB_EYE_PTR 16 00039 #define VB_CLIP_PTR 20 00040 #define VB_PROJ_CLIP_PTR 24 00041 #define VB_CLIP_OR_MASK 28 00042 #define VB_CLIP_MASK 32 00043 #define VB_NORMAL_PTR 36 00044 #define VB_EDGE_FLAG 44 00045 #define VB_TEX0_COORD_PTR 48 00046 #define VB_TEX1_COORD_PTR 52 00047 #define VB_TEX2_COORD_PTR 56 00048 #define VB_TEX3_COORD_PTR 60 00049 #define VB_INDEX_PTR 80 00050 #define VB_COLOR_PTR 88 00051 #define VB_SECONDARY_COLOR_PTR 96 00052 #define VB_FOG_COORD_PTR 104 00053 #define VB_PRIMITIVE 108 00054 00055 00056 /* 00057 * Flags for struct vertex_buffer 00058 */ 00059 00060 #define VERT_BIT_OBJ 0x1 00061 #define VERT_BIT_NORM 0x4 00062 #define VERT_BIT_RGBA 0x8 00063 #define VERT_BIT_SPEC_RGB 0x10 00064 #define VERT_BIT_FOG_COORD 0x20 00065 #define VERT_BIT_TEX0 0x100 00066 #define VERT_BIT_TEX1 0x200 00067 #define VERT_BIT_TEX2 0x400 00068 #define VERT_BIT_TEX3 0x800 00069 00070 00071 /* ============================================================= 00072 * Offsets for GLvector4f 00073 */ 00074 00075 #define V4F_DATA 0 00076 #define V4F_START 4 00077 #define V4F_COUNT 8 00078 #define V4F_STRIDE 12 00079 #define V4F_SIZE 16 00080 #define V4F_FLAGS 20 00081 00082 /* 00083 * Flags for GLvector4f 00084 */ 00085 00086 #define VEC_MALLOC 0x10 00087 #define VEC_NOT_WRITEABLE 0x40 00088 #define VEC_BAD_STRIDE 0x100 00089 00090 #define VEC_SIZE_1 0x1 00091 #define VEC_SIZE_2 0x3 00092 #define VEC_SIZE_3 0x7 00093 #define VEC_SIZE_4 0xf 00094 00095 00096 /* ============================================================= 00097 * Offsets for GLmatrix 00098 */ 00099 00100 #define MATRIX_DATA 0 00101 #define MATRIX_INV 4 00102 #define MATRIX_FLAGS 8 00103 #define MATRIX_TYPE 12 00104 00105 00106 /* ============================================================= 00107 * Offsets for struct gl_light 00108 */ 00109 00110 #define LIGHT_NEXT 0 00111 #define LIGHT_PREV 4 00112 00113 #define LIGHT_AMBIENT 8 00114 #define LIGHT_DIFFUSE 24 00115 #define LIGHT_SPECULAR 40 00116 #define LIGHT_EYE_POSITION 56 00117 #define LIGHT_EYE_DIRECTION 72 00118 #define LIGHT_SPOT_EXPONENT 88 00119 #define LIGHT_SPOT_CUTOFF 92 00120 #define LIGHT_COS_CUTOFF 100 00121 #define LIGHT_CONST_ATTEN 104 00122 #define LIGHT_LINEAR_ATTEN 108 00123 #define LIGHT_QUADRATIC_ATTEN 112 00124 #define LIGHT_ENABLED 116 00125 00126 #define LIGHT_FLAGS 120 00127 00128 #define LIGHT_POSITION 124 00129 #define LIGHT_VP_INF_NORM 140 00130 #define LIGHT_H_INF_NORM 152 00131 #define LIGHT_NORM_DIRECTION 164 00132 #define LIGHT_VP_INF_SPOT_ATTEN 180 00133 00134 #define LIGHT_SPOT_EXP_TABLE 184 00135 #define LIGHT_MAT_AMBIENT 4280 00136 #define LIGHT_MAT_DIFFUSE 4304 00137 #define LIGHT_MAT_SPECULAR 4328 00138 00139 #define SIZEOF_GL_LIGHT 4360 00140 00141 /* 00142 * Flags for struct gl_light 00143 */ 00144 00145 #define LIGHT_SPOT 0x1 00146 #define LIGHT_LOCAL_VIEWER 0x2 00147 #define LIGHT_POSITIONAL 0x4 00148 00149 #define LIGHT_NEED_VERTICES 0x6 00150 00151 00152 /* ============================================================= 00153 * Offsets for struct gl_lightmodel 00154 */ 00155 00156 #define LIGHT_MODEL_AMBIENT 0 00157 #define LIGHT_MODEL_LOCAL_VIEWER 16 00158 #define LIGHT_MODEL_TWO_SIDE 17 00159 #define LIGHT_MODEL_COLOR_CONTROL 20 00160 00161 00162 #endif /* __ASM_TYPES_H__ */ Generated on Sat May 26 2012 04:19:39 for ReactOS by
1.7.6.1
|