~ubuntu-branches/ubuntu/maverick/blender/maverick

« back to all changes in this revision

Viewing changes to source/gameengine/Rasterizer/RAS_OpenGLRasterizer/ARB_multitexture.h

  • Committer: Bazaar Package Importer
  • Author(s): Khashayar Naderehvandi, Khashayar Naderehvandi, Alessio Treglia
  • Date: 2009-01-22 16:53:59 UTC
  • mfrom: (14.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20090122165359-v0996tn7fbit64ni
Tags: 2.48a+dfsg-1ubuntu1
[ Khashayar Naderehvandi ]
* Merge from debian experimental (LP: #320045), Ubuntu remaining changes:
  - Add patch correcting header file locations.
  - Add libvorbis-dev and libgsm1-dev to Build-Depends.
  - Use avcodec_decode_audio2() in source/blender/src/hddaudio.c

[ Alessio Treglia ]
* Add missing previous changelog entries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef __ARB_MULTITEXTURE_H__
2
 
#define __ARB_MULTITEXTURE_H__
3
 
 
4
 
/* 
5
 
*/
6
 
 
7
 
/* ----------------------------------------------------------------------------
8
 
        GL_ARB_multitexture
9
 
---------------------------------------------------------------------------- */
10
 
#ifdef GL_ARB_multitexture
11
 
        #define GL_TEXTURE0_ARB                   0x84C0
12
 
        #define GL_TEXTURE1_ARB                   0x84C1
13
 
        #define GL_TEXTURE2_ARB                   0x84C2
14
 
        #define GL_TEXTURE3_ARB                   0x84C3
15
 
        #define GL_TEXTURE4_ARB                   0x84C4
16
 
        #define GL_TEXTURE5_ARB                   0x84C5
17
 
        #define GL_TEXTURE6_ARB                   0x84C6
18
 
        #define GL_TEXTURE7_ARB                   0x84C7
19
 
        #define GL_TEXTURE8_ARB                   0x84C8
20
 
        #define GL_TEXTURE9_ARB                   0x84C9
21
 
        #define GL_TEXTURE10_ARB                  0x84CA
22
 
        #define GL_ACTIVE_TEXTURE_ARB             0x84E0
23
 
        #define GL_CLIENT_ACTIVE_TEXTURE_ARB      0x84E1
24
 
        #define GL_MAX_TEXTURE_UNITS_ARB          0x84E2
25
 
#endif
26
 
 
27
 
 
28
 
/* ----------------------------------------------------------------------------
29
 
        GL_ARB_texture_env_combine
30
 
---------------------------------------------------------------------------- */
31
 
#ifdef GL_ARB_texture_env_combine
32
 
        #define GL_COMBINE_ARB                    0x8570
33
 
        #define GL_COMBINE_RGB_ARB                0x8571
34
 
        #define GL_COMBINE_ALPHA_ARB              0x8572
35
 
        #define GL_SOURCE0_RGB_ARB                0x8580
36
 
        #define GL_SOURCE1_RGB_ARB                0x8581
37
 
        #define GL_SOURCE2_RGB_ARB                0x8582
38
 
        #define GL_SOURCE0_ALPHA_ARB              0x8588
39
 
        #define GL_SOURCE1_ALPHA_ARB              0x8589
40
 
        #define GL_SOURCE2_ALPHA_ARB              0x858A
41
 
        #define GL_OPERAND0_RGB_ARB               0x8590
42
 
        #define GL_OPERAND1_RGB_ARB               0x8591
43
 
        #define GL_OPERAND2_RGB_ARB               0x8592
44
 
        #define GL_OPERAND0_ALPHA_ARB             0x8598
45
 
        #define GL_OPERAND1_ALPHA_ARB             0x8599
46
 
        #define GL_OPERAND2_ALPHA_ARB             0x859A
47
 
        #define GL_RGB_SCALE_ARB                  0x8573
48
 
        #define GL_ADD_SIGNED_ARB                 0x8574
49
 
        #define GL_INTERPOLATE_ARB                0x8575
50
 
        #define GL_SUBTRACT_ARB                   0x84E7
51
 
        #define GL_CONSTANT_ARB                   0x8576
52
 
        #define GL_PRIMARY_COLOR_ARB              0x8577
53
 
        #define GL_PREVIOUS_ARB                   0x8578
54
 
#endif
55
 
 
56
 
/* ----------------------------------------------------------------------------
57
 
        GL_ARB_texture_cube_map
58
 
---------------------------------------------------------------------------- */
59
 
#ifdef GL_ARB_texture_cube_map
60
 
        #define GL_NORMAL_MAP_ARB                 0x8511
61
 
        #define GL_REFLECTION_MAP_ARB             0x8512
62
 
        #define GL_TEXTURE_CUBE_MAP_ARB           0x8513
63
 
        #define GL_TEXTURE_BINDING_CUBE_MAP_ARB   0x8514
64
 
        #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
65
 
        #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
66
 
        #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
67
 
        #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
68
 
        #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
69
 
        #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
70
 
        #define GL_PROXY_TEXTURE_CUBE_MAP_ARB     0x851B
71
 
        #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB  0x851C
72
 
#endif
73
 
 
74
 
/* ----------------------------------------------------------------------------
75
 
        GL_ARB_shader_objects
76
 
---------------------------------------------------------------------------- */
77
 
#ifdef GL_ARB_shader_objects
78
 
        #define GL_PROGRAM_OBJECT_ARB             0x8B40
79
 
        #define GL_SHADER_OBJECT_ARB              0x8B48
80
 
        #define GL_OBJECT_TYPE_ARB                0x8B4E
81
 
        #define GL_OBJECT_SUBTYPE_ARB             0x8B4F
82
 
        #define GL_FLOAT_VEC2_ARB                 0x8B50
83
 
        #define GL_FLOAT_VEC3_ARB                 0x8B51
84
 
        #define GL_FLOAT_VEC4_ARB                 0x8B52
85
 
        #define GL_INT_VEC2_ARB                   0x8B53
86
 
        #define GL_INT_VEC3_ARB                   0x8B54
87
 
        #define GL_INT_VEC4_ARB                   0x8B55
88
 
        #define GL_BOOL_ARB                       0x8B56
89
 
        #define GL_BOOL_VEC2_ARB                  0x8B57
90
 
        #define GL_BOOL_VEC3_ARB                  0x8B58
91
 
        #define GL_BOOL_VEC4_ARB                  0x8B59
92
 
        #define GL_FLOAT_MAT2_ARB                 0x8B5A
93
 
        #define GL_FLOAT_MAT3_ARB                 0x8B5B
94
 
        #define GL_FLOAT_MAT4_ARB                 0x8B5C
95
 
        #define GL_SAMPLER_1D_ARB                 0x8B5D
96
 
        #define GL_SAMPLER_2D_ARB                 0x8B5E
97
 
        #define GL_SAMPLER_3D_ARB                 0x8B5F
98
 
        #define GL_SAMPLER_CUBE_ARB               0x8B60
99
 
        #define GL_SAMPLER_1D_SHADOW_ARB          0x8B61
100
 
        #define GL_SAMPLER_2D_SHADOW_ARB          0x8B62
101
 
        #define GL_SAMPLER_2D_RECT_ARB            0x8B63
102
 
        #define GL_SAMPLER_2D_RECT_SHADOW_ARB     0x8B64
103
 
        #define GL_OBJECT_DELETE_STATUS_ARB       0x8B80
104
 
        #define GL_OBJECT_COMPILE_STATUS_ARB      0x8B81
105
 
        #define GL_OBJECT_LINK_STATUS_ARB         0x8B82
106
 
        #define GL_OBJECT_VALIDATE_STATUS_ARB     0x8B83
107
 
        #define GL_OBJECT_INFO_LOG_LENGTH_ARB     0x8B84
108
 
        #define GL_OBJECT_ATTACHED_OBJECTS_ARB    0x8B85
109
 
        #define GL_OBJECT_ACTIVE_UNIFORMS_ARB     0x8B86
110
 
        #define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87
111
 
        #define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88
112
 
#endif
113
 
 
114
 
/* ----------------------------------------------------------------------------
115
 
        GL_ARB_vertex_shader
116
 
---------------------------------------------------------------------------- */
117
 
#ifdef GL_ARB_vertex_shader
118
 
        #define GL_VERTEX_SHADER_ARB              0x8B31
119
 
        #define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A
120
 
        #define GL_MAX_VARYING_FLOATS_ARB         0x8B4B
121
 
        #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C
122
 
        #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D
123
 
        #define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB   0x8B89
124
 
        #define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A
125
 
#endif
126
 
 
127
 
 
128
 
/* ----------------------------------------------------------------------------
129
 
        GL_ARB_fragment_shader
130
 
---------------------------------------------------------------------------- */
131
 
#ifdef GL_ARB_fragment_shader
132
 
        #define GL_FRAGMENT_SHADER_ARB            0x8B30
133
 
        #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49
134
 
        #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B
135
 
#endif
136
 
 
137
 
 
138
 
/* ----------------------------------------------------------------------------
139
 
        GL_ARB_depth_texture
140
 
---------------------------------------------------------------------------- */
141
 
#ifndef GL_ARB_depth_texture
142
 
        #define GL_DEPTH_COMPONENT16_ARB          0x81A5
143
 
        #define GL_DEPTH_COMPONENT24_ARB          0x81A6
144
 
        #define GL_DEPTH_COMPONENT32_ARB          0x81A7
145
 
        #define GL_TEXTURE_DEPTH_SIZE_ARB         0x884A
146
 
        #define GL_DEPTH_TEXTURE_MODE_ARB         0x884B
147
 
#endif
148
 
 
149
 
 
150
 
#endif//__ARB_MULTITEXTURE_H__