1edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifndef __glext_h_
2edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define __glext_h_
3edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
43703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall/* $Revision: 20798 $ on $Date:: 2013-03-07 01:19:34 -0800 #$ */
5edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
6edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifdef __cplusplus
7edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectextern "C" {
8edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
9edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
10edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/*
11edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project * This document is licensed under the SGI Free Software B License Version
12edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .
13edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project */
14edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
15edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifndef GL_APIENTRYP
16edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#   define GL_APIENTRYP GL_APIENTRY*
17edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
18edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
19edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/*------------------------------------------------------------------------*
20edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project * OES extension tokens
21edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project *------------------------------------------------------------------------*/
22edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
23edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/* GL_OES_blend_equation_separate */
24edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifndef GL_OES_blend_equation_separate
25edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/* BLEND_EQUATION_RGB_OES same as BLEND_EQUATION_OES */
26edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_BLEND_EQUATION_RGB_OES                               0x8009
27edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_BLEND_EQUATION_ALPHA_OES                             0x883D
28edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
29edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
30edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/* GL_OES_blend_func_separate */
31edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifndef GL_OES_blend_func_separate
32edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_BLEND_DST_RGB_OES                                    0x80C8
33edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_BLEND_SRC_RGB_OES                                    0x80C9
34edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_BLEND_DST_ALPHA_OES                                  0x80CA
35edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_BLEND_SRC_ALPHA_OES                                  0x80CB
36edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
37edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
38edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/* GL_OES_blend_subtract */
39edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifndef GL_OES_blend_subtract
40edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_BLEND_EQUATION_OES                                   0x8009
41edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_FUNC_ADD_OES                                         0x8006
42edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_FUNC_SUBTRACT_OES                                    0x800A
43edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_FUNC_REVERSE_SUBTRACT_OES                            0x800B
44edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
45edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
46edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/* GL_OES_compressed_ETC1_RGB8_texture */
47edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifndef GL_OES_compressed_ETC1_RGB8_texture
48edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_ETC1_RGB8_OES                                        0x8D64
49edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
50edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
51edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/* GL_OES_depth24 */
52edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifndef GL_OES_depth24
53edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_DEPTH_COMPONENT24_OES                                0x81A6
54edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
55edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
56edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/* GL_OES_depth32 */
57edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifndef GL_OES_depth32
58edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_DEPTH_COMPONENT32_OES                                0x81A7
59edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
60edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
61edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/* GL_OES_draw_texture */
62edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifndef GL_OES_draw_texture
63edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_TEXTURE_CROP_RECT_OES                                0x8B9D
64edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
65edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
66edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/* GL_OES_EGL_image */
67edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifndef GL_OES_EGL_image
68edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void* GLeglImageOES;
69edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
70edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
7131272606149d83437a097800074b21e9e6a205adMathias Agopian/* GL_OES_EGL_image_external */
7231272606149d83437a097800074b21e9e6a205adMathias Agopian#ifndef GL_OES_EGL_image_external
7331272606149d83437a097800074b21e9e6a205adMathias Agopian/* GLeglImageOES defined in GL_OES_EGL_image already. */
7431272606149d83437a097800074b21e9e6a205adMathias Agopian#define GL_TEXTURE_EXTERNAL_OES                                 0x8D65
7531272606149d83437a097800074b21e9e6a205adMathias Agopian#define GL_TEXTURE_BINDING_EXTERNAL_OES                         0x8D67
7631272606149d83437a097800074b21e9e6a205adMathias Agopian#define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES                     0x8D68
7731272606149d83437a097800074b21e9e6a205adMathias Agopian#endif
7831272606149d83437a097800074b21e9e6a205adMathias Agopian
798f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian/* GL_OES_element_index_uint */
808f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#ifndef GL_OES_element_index_uint
818f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_UNSIGNED_INT                                         0x1405
828f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#endif
838f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian
84edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/* GL_OES_fixed_point */
85edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifndef GL_OES_fixed_point
86edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_FIXED_OES                                            0x140C
87edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
88edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
89edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/* GL_OES_framebuffer_object */
90edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifndef GL_OES_framebuffer_object
91edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_NONE_OES                                             0
92edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_FRAMEBUFFER_OES                                      0x8D40
93edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_RENDERBUFFER_OES                                     0x8D41
94edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_RGBA4_OES                                            0x8056
95edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_RGB5_A1_OES                                          0x8057
96edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_RGB565_OES                                           0x8D62
97edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_DEPTH_COMPONENT16_OES                                0x81A5
98edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_RENDERBUFFER_WIDTH_OES                               0x8D42
99edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_RENDERBUFFER_HEIGHT_OES                              0x8D43
100edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_RENDERBUFFER_INTERNAL_FORMAT_OES                     0x8D44
101edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_RENDERBUFFER_RED_SIZE_OES                            0x8D50
102edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_RENDERBUFFER_GREEN_SIZE_OES                          0x8D51
103edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_RENDERBUFFER_BLUE_SIZE_OES                           0x8D52
104edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_RENDERBUFFER_ALPHA_SIZE_OES                          0x8D53
105edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_RENDERBUFFER_DEPTH_SIZE_OES                          0x8D54
106edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_RENDERBUFFER_STENCIL_SIZE_OES                        0x8D55
107edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_OES               0x8CD0
108edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_OES               0x8CD1
109edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_OES             0x8CD2
110edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_OES     0x8CD3
111edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_COLOR_ATTACHMENT0_OES                                0x8CE0
112edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_DEPTH_ATTACHMENT_OES                                 0x8D00
113edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_STENCIL_ATTACHMENT_OES                               0x8D20
114edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_FRAMEBUFFER_COMPLETE_OES                             0x8CD5
115edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_OES                0x8CD6
116edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_OES        0x8CD7
117edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_OES                0x8CD9
118edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_OES                   0x8CDA
119edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_FRAMEBUFFER_UNSUPPORTED_OES                          0x8CDD
120edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_FRAMEBUFFER_BINDING_OES                              0x8CA6
121edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_RENDERBUFFER_BINDING_OES                             0x8CA7
122edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_MAX_RENDERBUFFER_SIZE_OES                            0x84E8
123edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_INVALID_FRAMEBUFFER_OPERATION_OES                    0x0506
124edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
125edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
126edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/* GL_OES_mapbuffer */
127edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifndef GL_OES_mapbuffer
128edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_WRITE_ONLY_OES                                       0x88B9
129edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_BUFFER_ACCESS_OES                                    0x88BB
130edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_BUFFER_MAPPED_OES                                    0x88BC
131edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_BUFFER_MAP_POINTER_OES                               0x88BD
132edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
133edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
134edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/* GL_OES_matrix_get */
135edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifndef GL_OES_matrix_get
136edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES               0x898D
137edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES              0x898E
138edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES                 0x898F
139edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
140edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
141edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/* GL_OES_matrix_palette */
142edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifndef GL_OES_matrix_palette
143edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_MAX_VERTEX_UNITS_OES                                 0x86A4
144edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_MAX_PALETTE_MATRICES_OES                             0x8842
145edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_MATRIX_PALETTE_OES                                   0x8840
146edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_MATRIX_INDEX_ARRAY_OES                               0x8844
147edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_WEIGHT_ARRAY_OES                                     0x86AD
148edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_CURRENT_PALETTE_MATRIX_OES                           0x8843
149edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_MATRIX_INDEX_ARRAY_SIZE_OES                          0x8846
150edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_MATRIX_INDEX_ARRAY_TYPE_OES                          0x8847
151edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_MATRIX_INDEX_ARRAY_STRIDE_OES                        0x8848
152edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_MATRIX_INDEX_ARRAY_POINTER_OES                       0x8849
153edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_MATRIX_INDEX_ARRAY_BUFFER_BINDING_OES                0x8B9E
154edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_WEIGHT_ARRAY_SIZE_OES                                0x86AB
155edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_WEIGHT_ARRAY_TYPE_OES                                0x86A9
156edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_WEIGHT_ARRAY_STRIDE_OES                              0x86AA
157edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_WEIGHT_ARRAY_POINTER_OES                             0x86AC
158edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_WEIGHT_ARRAY_BUFFER_BINDING_OES                      0x889E
159edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
160edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
161edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/* GL_OES_packed_depth_stencil */
162edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifndef GL_OES_packed_depth_stencil
163edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_DEPTH_STENCIL_OES                                    0x84F9
164edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_UNSIGNED_INT_24_8_OES                                0x84FA
165edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_DEPTH24_STENCIL8_OES                                 0x88F0
166edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
167edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
1683703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall/* GL_OES_required_internalformat */
1693703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall/* No new tokens introduced by this extension. */
1703703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall
171edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/* GL_OES_rgb8_rgba8 */
172edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifndef GL_OES_rgb8_rgba8
173edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_RGB8_OES                                             0x8051
174edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_RGBA8_OES                                            0x8058
175edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
176edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
177edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/* GL_OES_stencil1 */
178edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifndef GL_OES_stencil1
179edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_STENCIL_INDEX1_OES                                   0x8D46
180edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
181edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
182edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/* GL_OES_stencil4 */
183edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifndef GL_OES_stencil4
184edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_STENCIL_INDEX4_OES                                   0x8D47
185edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
186edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
187edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/* GL_OES_stencil8 */
188edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifndef GL_OES_stencil8
189edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_STENCIL_INDEX8_OES                                   0x8D48
190edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
191edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
192edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/* GL_OES_stencil_wrap */
193edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifndef GL_OES_stencil_wrap
194edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_INCR_WRAP_OES                                        0x8507
195edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_DECR_WRAP_OES                                        0x8508
196edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
197edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
198edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/* GL_OES_texture_cube_map */
199edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifndef GL_OES_texture_cube_map
200edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_NORMAL_MAP_OES                                       0x8511
201edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_REFLECTION_MAP_OES                                   0x8512
202edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_TEXTURE_CUBE_MAP_OES                                 0x8513
203edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_TEXTURE_BINDING_CUBE_MAP_OES                         0x8514
204edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES                      0x8515
205edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES                      0x8516
206edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES                      0x8517
207edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES                      0x8518
208edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES                      0x8519
209edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES                      0x851A
210edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_OES                        0x851C
211edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_TEXTURE_GEN_MODE_OES                                 0x2500
212edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_TEXTURE_GEN_STR_OES                                  0x8D60
213edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
214edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
215edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/* GL_OES_texture_mirrored_repeat */
216edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifndef GL_OES_texture_mirrored_repeat
217edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_MIRRORED_REPEAT_OES                                  0x8370
218edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
219edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
2208f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian/* GL_OES_vertex_array_object */
2218f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#ifndef GL_OES_vertex_array_object
2228f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_VERTEX_ARRAY_BINDING_OES                             0x85B5
2238f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#endif
2248f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian
225edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/*------------------------------------------------------------------------*
226edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project * AMD extension tokens
227edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project *------------------------------------------------------------------------*/
228edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
229edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/* GL_AMD_compressed_3DC_texture */
230edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifndef GL_AMD_compressed_3DC_texture
231edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_3DC_X_AMD                                            0x87F9
232edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_3DC_XY_AMD                                           0x87FA
233edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
234edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
235edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/* GL_AMD_compressed_ATC_texture */
236edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifndef GL_AMD_compressed_ATC_texture
237edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_ATC_RGB_AMD                                          0x8C92
238edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_ATC_RGBA_EXPLICIT_ALPHA_AMD                          0x8C93
239edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD                      0x87EE
240edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
241edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
242edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/*------------------------------------------------------------------------*
2438f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian * APPLE extension tokens
2448f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian *------------------------------------------------------------------------*/
2458f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian
2463703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall/* GL_APPLE_copy_texture_levels */
2478f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian/* No new tokens introduced by this extension. */
2488f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian
24931272606149d83437a097800074b21e9e6a205adMathias Agopian/* GL_APPLE_framebuffer_multisample */
25031272606149d83437a097800074b21e9e6a205adMathias Agopian#ifndef GL_APPLE_framebuffer_multisample
25131272606149d83437a097800074b21e9e6a205adMathias Agopian#define GL_RENDERBUFFER_SAMPLES_APPLE                           0x8CAB
25231272606149d83437a097800074b21e9e6a205adMathias Agopian#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE             0x8D56
25331272606149d83437a097800074b21e9e6a205adMathias Agopian#define GL_MAX_SAMPLES_APPLE                                    0x8D57
25431272606149d83437a097800074b21e9e6a205adMathias Agopian#define GL_READ_FRAMEBUFFER_APPLE                               0x8CA8
25531272606149d83437a097800074b21e9e6a205adMathias Agopian#define GL_DRAW_FRAMEBUFFER_APPLE                               0x8CA9
25631272606149d83437a097800074b21e9e6a205adMathias Agopian#define GL_DRAW_FRAMEBUFFER_BINDING_APPLE                       0x8CA6
25731272606149d83437a097800074b21e9e6a205adMathias Agopian#define GL_READ_FRAMEBUFFER_BINDING_APPLE                       0x8CAA
25831272606149d83437a097800074b21e9e6a205adMathias Agopian#endif
25931272606149d83437a097800074b21e9e6a205adMathias Agopian
2603703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall/* GL_APPLE_sync */
2613703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#ifndef GL_APPLE_sync
2623703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall
2633703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall/* These types are defined with reference to <inttypes.h>
2643703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall * in the Apple extension spec, but here we use the Khronos
2653703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall * portable types in khrplatform.h, and assume those types
2663703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall * are always defined.
2673703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall * If any other extensions using these types are defined,
2683703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall * the typedefs must move out of this block and be shared.
2693703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall */
2703703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Halltypedef khronos_int64_t GLint64;
2713703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Halltypedef khronos_uint64_t GLuint64;
2723703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Halltypedef struct __GLsync *GLsync;
2733703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall
2743703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_SYNC_OBJECT_APPLE                                    0x8A53
2753703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_MAX_SERVER_WAIT_TIMEOUT_APPLE                        0x9111
2763703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_OBJECT_TYPE_APPLE                                    0x9112
2773703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_SYNC_CONDITION_APPLE                                 0x9113
2783703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_SYNC_STATUS_APPLE                                    0x9114
2793703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_SYNC_FLAGS_APPLE                                     0x9115
2803703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_SYNC_FENCE_APPLE                                     0x9116
2813703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE                     0x9117
2823703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_UNSIGNALED_APPLE                                     0x9118
2833703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_SIGNALED_APPLE                                       0x9119
2843703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_ALREADY_SIGNALED_APPLE                               0x911A
2853703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_TIMEOUT_EXPIRED_APPLE                                0x911B
2863703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_CONDITION_SATISFIED_APPLE                            0x911C
2873703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_WAIT_FAILED_APPLE                                    0x911D
2883703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_SYNC_FLUSH_COMMANDS_BIT_APPLE                        0x00000001
2893703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_TIMEOUT_IGNORED_APPLE                                0xFFFFFFFFFFFFFFFFull
2903703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#endif
2913703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall
2923703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall/* GL_APPLE_texture_2D_limited_npot */
2933703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall/* No new tokens introduced by this extension. */
2943703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall
29531272606149d83437a097800074b21e9e6a205adMathias Agopian/* GL_APPLE_texture_format_BGRA8888 */
29631272606149d83437a097800074b21e9e6a205adMathias Agopian#ifndef GL_APPLE_texture_format_BGRA8888
29731272606149d83437a097800074b21e9e6a205adMathias Agopian#define GL_BGRA_EXT                                             0x80E1
29831272606149d83437a097800074b21e9e6a205adMathias Agopian#endif
29931272606149d83437a097800074b21e9e6a205adMathias Agopian
30031272606149d83437a097800074b21e9e6a205adMathias Agopian/* GL_APPLE_texture_max_level */
30131272606149d83437a097800074b21e9e6a205adMathias Agopian#ifndef GL_APPLE_texture_max_level
30231272606149d83437a097800074b21e9e6a205adMathias Agopian#define GL_TEXTURE_MAX_LEVEL_APPLE                              0x813D
30331272606149d83437a097800074b21e9e6a205adMathias Agopian#endif
30431272606149d83437a097800074b21e9e6a205adMathias Agopian
30531272606149d83437a097800074b21e9e6a205adMathias Agopian/*------------------------------------------------------------------------*
30631272606149d83437a097800074b21e9e6a205adMathias Agopian * ARM extension tokens
30731272606149d83437a097800074b21e9e6a205adMathias Agopian *------------------------------------------------------------------------*/
30831272606149d83437a097800074b21e9e6a205adMathias Agopian
30931272606149d83437a097800074b21e9e6a205adMathias Agopian/* GL_ARM_rgba8 */
31031272606149d83437a097800074b21e9e6a205adMathias Agopian/* No new tokens introduced by this extension. */
31131272606149d83437a097800074b21e9e6a205adMathias Agopian
3128f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian/*------------------------------------------------------------------------*
313edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project * EXT extension tokens
314edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project *------------------------------------------------------------------------*/
315edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
3168f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian/* GL_EXT_blend_minmax */
3178f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#ifndef GL_EXT_blend_minmax
3188f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_MIN_EXT                                              0x8007
3198f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_MAX_EXT                                              0x8008
3208f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#endif
3218f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian
3228f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian/* GL_EXT_discard_framebuffer */
3238f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#ifndef GL_EXT_discard_framebuffer
3248f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_COLOR_EXT                                            0x1800
3258f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_DEPTH_EXT                                            0x1801
3268f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_STENCIL_EXT                                          0x1802
3278f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#endif
3288f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian
3293703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall/* GL_EXT_map_buffer_range */
3303703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#ifndef GL_EXT_map_buffer_range
3313703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_MAP_READ_BIT_EXT                                     0x0001
3323703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_MAP_WRITE_BIT_EXT                                    0x0002
3333703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_MAP_INVALIDATE_RANGE_BIT_EXT                         0x0004
3343703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_MAP_INVALIDATE_BUFFER_BIT_EXT                        0x0008
3353703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_MAP_FLUSH_EXPLICIT_BIT_EXT                           0x0010
3363703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_MAP_UNSYNCHRONIZED_BIT_EXT                           0x0020
3373703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#endif
3383703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall
33931272606149d83437a097800074b21e9e6a205adMathias Agopian/* GL_EXT_multisampled_render_to_texture */
34031272606149d83437a097800074b21e9e6a205adMathias Agopian#ifndef GL_EXT_multisampled_render_to_texture
34131272606149d83437a097800074b21e9e6a205adMathias Agopian#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT           0x8D6C
3423703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall/* reuse values from GL_EXT_framebuffer_multisample (desktop extension) */
3433703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_RENDERBUFFER_SAMPLES_EXT                             0x8CAB
3443703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT               0x8D56
3453703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_MAX_SAMPLES_EXT                                      0x8D57
34631272606149d83437a097800074b21e9e6a205adMathias Agopian#endif
34731272606149d83437a097800074b21e9e6a205adMathias Agopian
3488f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian/* GL_EXT_multi_draw_arrays */
3498f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian/* No new tokens introduced by this extension. */
3508f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian
3518f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian/* GL_EXT_read_format_bgra */
3528f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#ifndef GL_EXT_read_format_bgra
3538f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_BGRA_EXT                                             0x80E1
3548f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT                       0x8365
3558f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT                       0x8366
3568f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#endif
3578f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian
35831272606149d83437a097800074b21e9e6a205adMathias Agopian/* GL_EXT_robustness */
35931272606149d83437a097800074b21e9e6a205adMathias Agopian#ifndef GL_EXT_robustness
36031272606149d83437a097800074b21e9e6a205adMathias Agopian/* reuse GL_NO_ERROR */
36131272606149d83437a097800074b21e9e6a205adMathias Agopian#define GL_GUILTY_CONTEXT_RESET_EXT                             0x8253
36231272606149d83437a097800074b21e9e6a205adMathias Agopian#define GL_INNOCENT_CONTEXT_RESET_EXT                           0x8254
36331272606149d83437a097800074b21e9e6a205adMathias Agopian#define GL_UNKNOWN_CONTEXT_RESET_EXT                            0x8255
36431272606149d83437a097800074b21e9e6a205adMathias Agopian#define GL_CONTEXT_ROBUST_ACCESS_EXT                            0x90F3
36531272606149d83437a097800074b21e9e6a205adMathias Agopian#define GL_RESET_NOTIFICATION_STRATEGY_EXT                      0x8256
36631272606149d83437a097800074b21e9e6a205adMathias Agopian#define GL_LOSE_CONTEXT_ON_RESET_EXT                            0x8252
36731272606149d83437a097800074b21e9e6a205adMathias Agopian#define GL_NO_RESET_NOTIFICATION_EXT                            0x8261
36831272606149d83437a097800074b21e9e6a205adMathias Agopian#endif
36931272606149d83437a097800074b21e9e6a205adMathias Agopian
37031272606149d83437a097800074b21e9e6a205adMathias Agopian/* GL_EXT_sRGB */
37131272606149d83437a097800074b21e9e6a205adMathias Agopian#ifndef GL_EXT_sRGB
37231272606149d83437a097800074b21e9e6a205adMathias Agopian#define GL_SRGB_EXT                                             0x8C40
37331272606149d83437a097800074b21e9e6a205adMathias Agopian#define GL_SRGB_ALPHA_EXT                                       0x8C42
37431272606149d83437a097800074b21e9e6a205adMathias Agopian#define GL_SRGB8_ALPHA8_EXT                                     0x8C43
37531272606149d83437a097800074b21e9e6a205adMathias Agopian#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT            0x8210
37631272606149d83437a097800074b21e9e6a205adMathias Agopian#endif
37731272606149d83437a097800074b21e9e6a205adMathias Agopian
37831272606149d83437a097800074b21e9e6a205adMathias Agopian/* GL_EXT_texture_compression_dxt1 */
37931272606149d83437a097800074b21e9e6a205adMathias Agopian#ifndef GL_EXT_texture_compression_dxt1
38031272606149d83437a097800074b21e9e6a205adMathias Agopian#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT                         0x83F0
38131272606149d83437a097800074b21e9e6a205adMathias Agopian#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT                        0x83F1
38231272606149d83437a097800074b21e9e6a205adMathias Agopian#endif
38331272606149d83437a097800074b21e9e6a205adMathias Agopian
384edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/* GL_EXT_texture_filter_anisotropic */
385edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifndef GL_EXT_texture_filter_anisotropic
386edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_TEXTURE_MAX_ANISOTROPY_EXT                           0x84FE
387edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT                       0x84FF
388edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
389edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
3908f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian/* GL_EXT_texture_format_BGRA8888 */
3918f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#ifndef GL_EXT_texture_format_BGRA8888
3928f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_BGRA_EXT                                             0x80E1
3938f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#endif
3948f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian
3958f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian/* GL_EXT_texture_lod_bias */
3968f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#ifndef GL_EXT_texture_lod_bias
3978f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_MAX_TEXTURE_LOD_BIAS_EXT                             0x84FD
3988f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_TEXTURE_FILTER_CONTROL_EXT                           0x8500
3998f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_TEXTURE_LOD_BIAS_EXT                                 0x8501
4008f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#endif
4018f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian
40231272606149d83437a097800074b21e9e6a205adMathias Agopian/* GL_EXT_texture_storage */
40331272606149d83437a097800074b21e9e6a205adMathias Agopian#ifndef GL_EXT_texture_storage
40431272606149d83437a097800074b21e9e6a205adMathias Agopian#define GL_TEXTURE_IMMUTABLE_FORMAT_EXT                         0x912F
4053703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_ALPHA8_EXT                                           0x803C
40631272606149d83437a097800074b21e9e6a205adMathias Agopian#define GL_LUMINANCE8_EXT                                       0x8040
40731272606149d83437a097800074b21e9e6a205adMathias Agopian#define GL_LUMINANCE8_ALPHA8_EXT                                0x8045
4083703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_RGBA32F_EXT                                          0x8814
40931272606149d83437a097800074b21e9e6a205adMathias Agopian#define GL_RGB32F_EXT                                           0x8815
41031272606149d83437a097800074b21e9e6a205adMathias Agopian#define GL_ALPHA32F_EXT                                         0x8816
41131272606149d83437a097800074b21e9e6a205adMathias Agopian#define GL_LUMINANCE32F_EXT                                     0x8818
41231272606149d83437a097800074b21e9e6a205adMathias Agopian#define GL_LUMINANCE_ALPHA32F_EXT                               0x8819
41331272606149d83437a097800074b21e9e6a205adMathias Agopian/* reuse GL_RGBA16F_EXT */
41431272606149d83437a097800074b21e9e6a205adMathias Agopian#define GL_RGB16F_EXT                                           0x881B
41531272606149d83437a097800074b21e9e6a205adMathias Agopian#define GL_ALPHA16F_EXT                                         0x881C
41631272606149d83437a097800074b21e9e6a205adMathias Agopian#define GL_LUMINANCE16F_EXT                                     0x881E
41731272606149d83437a097800074b21e9e6a205adMathias Agopian#define GL_LUMINANCE_ALPHA16F_EXT                               0x881F
4183703f7f014846b8bf83e08a8bf25450dd0dcd7afJesse Hall#define GL_RGB10_A2_EXT                                         0x8059
41931272606149d83437a097800074b21e9e6a205adMathias Agopian#define GL_RGB10_EXT                                            0x8052
42031272606149d83437a097800074b21e9e6a205adMathias Agopian#define GL_BGRA8_EXT                                            0x93A1
42131272606149d83437a097800074b21e9e6a205adMathias Agopian#endif
42231272606149d83437a097800074b21e9e6a205adMathias Agopian
4238f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian/*------------------------------------------------------------------------*
4248f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian * IMG extension tokens
4258f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian *------------------------------------------------------------------------*/
4268f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian
4278f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian/* GL_IMG_read_format */
4288f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#ifndef GL_IMG_read_format
4298f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_BGRA_IMG                                             0x80E1
4308f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG                       0x8365
4318f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#endif
4328f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian
4338f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian/* GL_IMG_texture_compression_pvrtc */
4348f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#ifndef GL_IMG_texture_compression_pvrtc
4358f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG                      0x8C00
4368f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG                      0x8C01
4378f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG                     0x8C02
4388f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG                     0x8C03
4398f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#endif
4408f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian
4418f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian/* GL_IMG_texture_env_enhanced_fixed_function */
4428f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#ifndef GL_IMG_texture_env_enhanced_fixed_function
4438f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_MODULATE_COLOR_IMG                                   0x8C04
4448f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_RECIP_ADD_SIGNED_ALPHA_IMG                           0x8C05
4458f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_TEXTURE_ALPHA_MODULATE_IMG                           0x8C06
4468f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_FACTOR_ALPHA_MODULATE_IMG                            0x8C07
4478f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_FRAGMENT_ALPHA_MODULATE_IMG                          0x8C08
4488f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_ADD_BLEND_IMG                                        0x8C09
4498f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_DOT3_RGBA_IMG                                        0x86AF
4508f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#endif
4518f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian
4528f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian/* GL_IMG_user_clip_plane */
4538f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#ifndef GL_IMG_user_clip_plane
4548f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_CLIP_PLANE0_IMG                                      0x3000
4558f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_CLIP_PLANE1_IMG                                      0x3001
4568f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_CLIP_PLANE2_IMG                                      0x3002
4578f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_CLIP_PLANE3_IMG                                      0x3003
4588f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_CLIP_PLANE4_IMG                                      0x3004
4598f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_CLIP_PLANE5_IMG                                      0x3005
4608f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_MAX_CLIP_PLANES_IMG                                  0x0D32
4618f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#endif
4628f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian
4638f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian/* GL_IMG_multisampled_render_to_texture */
4648f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#ifndef GL_IMG_multisampled_render_to_texture
4658f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_RENDERBUFFER_SAMPLES_IMG                             0x9133
4668f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG               0x9134
4678f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_MAX_SAMPLES_IMG                                      0x9135
4688f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_TEXTURE_SAMPLES_IMG                                  0x9136
4698f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#endif
4708f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian
4718f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian/*------------------------------------------------------------------------*
4728f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian * NV extension tokens
4738f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian *------------------------------------------------------------------------*/
4748f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian
4758f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian/* GL_NV_fence */
4768f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#ifndef GL_NV_fence
4778f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_ALL_COMPLETED_NV                                     0x84F2
4788f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_FENCE_STATUS_NV                                      0x84F3
4798f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_FENCE_CONDITION_NV                                   0x84F4
4808f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#endif
4818f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian
4828f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian/*------------------------------------------------------------------------*
4838f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian * QCOM extension tokens
4848f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian *------------------------------------------------------------------------*/
4858f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian
4868f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian/* GL_QCOM_driver_control */
4878f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian/* No new tokens introduced by this extension. */
4888f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian
4898f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian/* GL_QCOM_extended_get */
4908f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#ifndef GL_QCOM_extended_get
4918f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_TEXTURE_WIDTH_QCOM                                   0x8BD2
4928f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_TEXTURE_HEIGHT_QCOM                                  0x8BD3
4938f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_TEXTURE_DEPTH_QCOM                                   0x8BD4
4948f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_TEXTURE_INTERNAL_FORMAT_QCOM                         0x8BD5
4958f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_TEXTURE_FORMAT_QCOM                                  0x8BD6
4968f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_TEXTURE_TYPE_QCOM                                    0x8BD7
4978f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_TEXTURE_IMAGE_VALID_QCOM                             0x8BD8
4988f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_TEXTURE_NUM_LEVELS_QCOM                              0x8BD9
4998f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_TEXTURE_TARGET_QCOM                                  0x8BDA
5008f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_TEXTURE_OBJECT_VALID_QCOM                            0x8BDB
5018f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_STATE_RESTORE                                        0x8BDC
5028f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#endif
5038f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian
5048f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian/* GL_QCOM_extended_get2 */
5058f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian/* No new tokens introduced by this extension. */
5068f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian
5078f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian/* GL_QCOM_perfmon_global_mode */
5088f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#ifndef GL_QCOM_perfmon_global_mode
5098f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_PERFMON_GLOBAL_MODE_QCOM                             0x8FA0
5108f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#endif
5118f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian
5128f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian/* GL_QCOM_writeonly_rendering */
5138f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#ifndef GL_QCOM_writeonly_rendering
5148f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_WRITEONLY_RENDERING_QCOM                             0x8823
5158f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#endif
5168f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian
5178f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian/* GL_QCOM_tiled_rendering */
5188f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#ifndef GL_QCOM_tiled_rendering
5198f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_COLOR_BUFFER_BIT0_QCOM                               0x00000001
5208f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_COLOR_BUFFER_BIT1_QCOM                               0x00000002
5218f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_COLOR_BUFFER_BIT2_QCOM                               0x00000004
5228f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_COLOR_BUFFER_BIT3_QCOM                               0x00000008
5238f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_COLOR_BUFFER_BIT4_QCOM                               0x00000010
5248f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_COLOR_BUFFER_BIT5_QCOM                               0x00000020
5258f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_COLOR_BUFFER_BIT6_QCOM                               0x00000040
5268f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_COLOR_BUFFER_BIT7_QCOM                               0x00000080
5278f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_DEPTH_BUFFER_BIT0_QCOM                               0x00000100
5288f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_DEPTH_BUFFER_BIT1_QCOM                               0x00000200
5298f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_DEPTH_BUFFER_BIT2_QCOM                               0x00000400
5308f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_DEPTH_BUFFER_BIT3_QCOM                               0x00000800
5318f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_DEPTH_BUFFER_BIT4_QCOM                               0x00001000
5328f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_DEPTH_BUFFER_BIT5_QCOM                               0x00002000
5338f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_DEPTH_BUFFER_BIT6_QCOM                               0x00004000
5348f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_DEPTH_BUFFER_BIT7_QCOM                               0x00008000
5358f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_STENCIL_BUFFER_BIT0_QCOM                             0x00010000
5368f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_STENCIL_BUFFER_BIT1_QCOM                             0x00020000
5378f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_STENCIL_BUFFER_BIT2_QCOM                             0x00040000
5388f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_STENCIL_BUFFER_BIT3_QCOM                             0x00080000
5398f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_STENCIL_BUFFER_BIT4_QCOM                             0x00100000
5408f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_STENCIL_BUFFER_BIT5_QCOM                             0x00200000
5418f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_STENCIL_BUFFER_BIT6_QCOM                             0x00400000
5428f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_STENCIL_BUFFER_BIT7_QCOM                             0x00800000
5438f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_MULTISAMPLE_BUFFER_BIT0_QCOM                         0x01000000
5448f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_MULTISAMPLE_BUFFER_BIT1_QCOM                         0x02000000
5458f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_MULTISAMPLE_BUFFER_BIT2_QCOM                         0x04000000
5468f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_MULTISAMPLE_BUFFER_BIT3_QCOM                         0x08000000
5478f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_MULTISAMPLE_BUFFER_BIT4_QCOM                         0x10000000
5488f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_MULTISAMPLE_BUFFER_BIT5_QCOM                         0x20000000
5498f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_MULTISAMPLE_BUFFER_BIT6_QCOM                         0x40000000
5508f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#define GL_MULTISAMPLE_BUFFER_BIT7_QCOM                         0x80000000
5518f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian#endif
5528f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian
5538f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian/*------------------------------------------------------------------------*
5548f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian * End of extension tokens, start of corresponding extension functions
5558f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian *------------------------------------------------------------------------*/
5568f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopian
557edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/*------------------------------------------------------------------------*
558edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project * OES extension functions
559edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project *------------------------------------------------------------------------*/
560edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
561edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/* GL_OES_blend_equation_separate */
562edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifndef GL_OES_blend_equation_separate
563edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_OES_blend_equation_separate 1
564edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifdef GL_GLEXT_PROTOTYPES
565edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glBlendEquationSeparateOES (GLenum modeRGB, GLenum modeAlpha);
566edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
567edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEOESPROC) (GLenum modeRGB, GLenum modeAlpha);
568edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
569edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
570edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/* GL_OES_blend_func_separate */
571edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifndef GL_OES_blend_func_separate
572edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_OES_blend_func_separate 1
573edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifdef GL_GLEXT_PROTOTYPES
574edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glBlendFuncSeparateOES (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
575edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
576edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEOESPROC) (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
577edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
578edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
579edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/* GL_OES_blend_subtract */
580edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifndef GL_OES_blend_subtract
581edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_OES_blend_subtract 1
582edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifdef GL_GLEXT_PROTOTYPES
583edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glBlendEquationOES (GLenum mode);
584edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
585edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLBLENDEQUATIONOESPROC) (GLenum mode);
586edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
587edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
588edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/* GL_OES_byte_coordinates */
589edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifndef GL_OES_byte_coordinates
590edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_OES_byte_coordinates 1
591edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
592edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
593edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/* GL_OES_compressed_ETC1_RGB8_texture */
594edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifndef GL_OES_compressed_ETC1_RGB8_texture
595edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_OES_compressed_ETC1_RGB8_texture 1
596edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
597edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
598edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/* GL_OES_depth24 */
599edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifndef GL_OES_depth24
600edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_OES_depth24 1
601edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
602edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
603edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/* GL_OES_depth32 */
604edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifndef GL_OES_depth32
605edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_OES_depth32 1
606edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
607edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
608edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/* GL_OES_draw_texture */
609edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifndef GL_OES_draw_texture
610edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_OES_draw_texture 1
611edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifdef GL_GLEXT_PROTOTYPES
612edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glDrawTexsOES (GLshort x, GLshort y, GLshort z, GLshort width, GLshort height);
613edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glDrawTexiOES (GLint x, GLint y, GLint z, GLint width, GLint height);
614edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glDrawTexxOES (GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height);
615edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glDrawTexsvOES (const GLshort *coords);
616edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glDrawTexivOES (const GLint *coords);
617edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glDrawTexxvOES (const GLfixed *coords);
618edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glDrawTexfOES (GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height);
619edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glDrawTexfvOES (const GLfloat *coords);
620edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
621edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLDRAWTEXSOESPROC) (GLshort x, GLshort y, GLshort z, GLshort width, GLshort height);
622edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLDRAWTEXIOESPROC) (GLint x, GLint y, GLint z, GLint width, GLint height);
623edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLDRAWTEXXOESPROC) (GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height);
624edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLDRAWTEXSVOESPROC) (const GLshort *coords);
625edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLDRAWTEXIVOESPROC) (const GLint *coords);
626edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLDRAWTEXXVOESPROC) (const GLfixed *coords);
627edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLDRAWTEXFOESPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height);
628edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLDRAWTEXFVOESPROC) (const GLfloat *coords);
629edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
630edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
631edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/* GL_OES_EGL_image */
632edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifndef GL_OES_EGL_image
633edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_OES_EGL_image 1
634edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifdef GL_GLEXT_PROTOTYPES
635edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image);
636edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image);
637edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
638edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image);
639edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImageOES image);
640edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
641edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
64231272606149d83437a097800074b21e9e6a205adMathias Agopian/* GL_OES_EGL_image_external */
64331272606149d83437a097800074b21e9e6a205adMathias Agopian#ifndef GL_OES_EGL_image_external
64431272606149d83437a097800074b21e9e6a205adMathias Agopian#define GL_OES_EGL_image_external 1
64531272606149d83437a097800074b21e9e6a205adMathias Agopian/* glEGLImageTargetTexture2DOES defined in GL_OES_EGL_image already. */
64631272606149d83437a097800074b21e9e6a205adMathias Agopian#endif
64731272606149d83437a097800074b21e9e6a205adMathias Agopian
648edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/* GL_OES_element_index_uint */
649edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifndef GL_OES_element_index_uint
650edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_OES_element_index_uint 1
651edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
652edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
653edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/* GL_OES_extended_matrix_palette */
654edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifndef GL_OES_extended_matrix_palette
655edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_OES_extended_matrix_palette 1
656edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
657edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
658edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/* GL_OES_fbo_render_mipmap */
659edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifndef GL_OES_fbo_render_mipmap
660edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_OES_fbo_render_mipmap 1
661edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
662edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
663edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/* GL_OES_fixed_point */
664edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifndef GL_OES_fixed_point
665edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_OES_fixed_point 1
666edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifdef GL_GLEXT_PROTOTYPES
667edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glAlphaFuncxOES (GLenum func, GLclampx ref);
668edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glClearColorxOES (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha);
669edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glClearDepthxOES (GLclampx depth);
670edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glClipPlanexOES (GLenum plane, const GLfixed *equation);
671edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glColor4xOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
672edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glDepthRangexOES (GLclampx zNear, GLclampx zFar);
673edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glFogxOES (GLenum pname, GLfixed param);
674edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glFogxvOES (GLenum pname, const GLfixed *params);
675edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glFrustumxOES (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
676edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glGetClipPlanexOES (GLenum pname, GLfixed eqn[4]);
677edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glGetFixedvOES (GLenum pname, GLfixed *params);
678edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glGetLightxvOES (GLenum light, GLenum pname, GLfixed *params);
679edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glGetMaterialxvOES (GLenum face, GLenum pname, GLfixed *params);
680edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glGetTexEnvxvOES (GLenum env, GLenum pname, GLfixed *params);
681edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glGetTexParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
682edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glLightModelxOES (GLenum pname, GLfixed param);
683edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glLightModelxvOES (GLenum pname, const GLfixed *params);
684edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glLightxOES (GLenum light, GLenum pname, GLfixed param);
685edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glLightxvOES (GLenum light, GLenum pname, const GLfixed *params);
686edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glLineWidthxOES (GLfixed width);
687edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glLoadMatrixxOES (const GLfixed *m);
688edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glMaterialxOES (GLenum face, GLenum pname, GLfixed param);
689edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glMaterialxvOES (GLenum face, GLenum pname, const GLfixed *params);
690edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glMultMatrixxOES (const GLfixed *m);
691edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glMultiTexCoord4xOES (GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
692edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glNormal3xOES (GLfixed nx, GLfixed ny, GLfixed nz);
693edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glOrthoxOES (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
694edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glPointParameterxOES (GLenum pname, GLfixed param);
695edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glPointParameterxvOES (GLenum pname, const GLfixed *params);
696edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glPointSizexOES (GLfixed size);
697edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glPolygonOffsetxOES (GLfixed factor, GLfixed units);
698edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glRotatexOES (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
699edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glSampleCoveragexOES (GLclampx value, GLboolean invert);
700edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glScalexOES (GLfixed x, GLfixed y, GLfixed z);
701edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glTexEnvxOES (GLenum target, GLenum pname, GLfixed param);
702edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glTexEnvxvOES (GLenum target, GLenum pname, const GLfixed *params);
703edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glTexParameterxOES (GLenum target, GLenum pname, GLfixed param);
704edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glTexParameterxvOES (GLenum target, GLenum pname, const GLfixed *params);
705edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glTranslatexOES (GLfixed x, GLfixed y, GLfixed z);
706edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
707edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLALPHAFUNCXOESPROC) (GLenum func, GLclampx ref);
708edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLCLEARCOLORXOESPROC) (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha);
709edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLCLEARDEPTHXOESPROC) (GLclampx depth);
710edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLCLIPPLANEXOESPROC) (GLenum plane, const GLfixed *equation);
711edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLCOLOR4XOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
712edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLDEPTHRANGEXOESPROC) (GLclampx zNear, GLclampx zFar);
713edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLFOGXOESPROC) (GLenum pname, GLfixed param);
714edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLFOGXVOESPROC) (GLenum pname, const GLfixed *params);
715edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
716edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLGETCLIPPLANEXOESPROC) (GLenum pname, GLfixed eqn[4]);
717edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLGETFIXEDVOESPROC) (GLenum pname, GLfixed *params);
718edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLGETLIGHTXVOESPROC) (GLenum light, GLenum pname, GLfixed *params);
719edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLGETMATERIALXVOESPROC) (GLenum face, GLenum pname, GLfixed *params);
720edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLGETTEXENVXVOESPROC) (GLenum env, GLenum pname, GLfixed *params);
721edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
722edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLLIGHTMODELXOESPROC) (GLenum pname, GLfixed param);
723edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLLIGHTMODELXVOESPROC) (GLenum pname, const GLfixed *params);
724edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLLIGHTXOESPROC) (GLenum light, GLenum pname, GLfixed param);
725edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLLIGHTXVOESPROC) (GLenum light, GLenum pname, const GLfixed *params);
726edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLLINEWIDTHXOESPROC) (GLfixed width);
727edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLLOADMATRIXXOESPROC) (const GLfixed *m);
728edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLMATERIALXOESPROC) (GLenum face, GLenum pname, GLfixed param);
729edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLMATERIALXVOESPROC) (GLenum face, GLenum pname, const GLfixed *params);
730edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLMULTMATRIXXOESPROC) (const GLfixed *m);
731edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLMULTITEXCOORD4XOESPROC) (GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
732edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLNORMAL3XOESPROC) (GLfixed nx, GLfixed ny, GLfixed nz);
733edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLORTHOXOESPROC) (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
734edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLPOINTPARAMETERXOESPROC) (GLenum pname, GLfixed param);
735edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLPOINTPARAMETERXVOESPROC) (GLenum pname, const GLfixed *params);
736edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLPOINTSIZEXOESPROC) (GLfixed size);
737edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLPOLYGONOFFSETXOESPROC) (GLfixed factor, GLfixed units);
738edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLROTATEXOESPROC) (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
739edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLSAMPLECOVERAGEXOESPROC) (GLclampx value, GLboolean invert);
740edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLSCALEXOESPROC) (GLfixed x, GLfixed y, GLfixed z);
741edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLTEXENVXOESPROC) (GLenum target, GLenum pname, GLfixed param);
742edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLTEXENVXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
743edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLTEXPARAMETERXOESPROC) (GLenum target, GLenum pname, GLfixed param);
744edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
745edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLTRANSLATEXOESPROC) (GLfixed x, GLfixed y, GLfixed z);
746edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
747edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
748edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/* GL_OES_framebuffer_object */
749edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifndef GL_OES_framebuffer_object
750edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_OES_framebuffer_object 1
751edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifdef GL_GLEXT_PROTOTYPES
752edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API GLboolean GL_APIENTRY glIsRenderbufferOES (GLuint renderbuffer);
753edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glBindRenderbufferOES (GLenum target, GLuint renderbuffer);
754edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glDeleteRenderbuffersOES (GLsizei n, const GLuint* renderbuffers);
755edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glGenRenderbuffersOES (GLsizei n, GLuint* renderbuffers);
756edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glRenderbufferStorageOES (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
757edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glGetRenderbufferParameterivOES (GLenum target, GLenum pname, GLint* params);
758edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API GLboolean GL_APIENTRY glIsFramebufferOES (GLuint framebuffer);
759edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glBindFramebufferOES (GLenum target, GLuint framebuffer);
760edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glDeleteFramebuffersOES (GLsizei n, const GLuint* framebuffers);
761edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glGenFramebuffersOES (GLsizei n, GLuint* framebuffers);
762edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API GLenum GL_APIENTRY glCheckFramebufferStatusOES (GLenum target);
763edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glFramebufferRenderbufferOES (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
764edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glFramebufferTexture2DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
765edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glGetFramebufferAttachmentParameterivOES (GLenum target, GLenum attachment, GLenum pname, GLint* params);
766edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void GL_APIENTRY glGenerateMipmapOES (GLenum target);
767edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
768edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef GLboolean (GL_APIENTRYP PFNGLISRENDERBUFFEROESPROC) (GLuint renderbuffer);
769edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLBINDRENDERBUFFEROESPROC) (GLenum target, GLuint renderbuffer);
770edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLDELETERENDERBUFFERSOESPROC) (GLsizei n, const GLuint* renderbuffers);
771edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLGENRENDERBUFFERSOESPROC) (GLsizei n, GLuint* renderbuffers);
772edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
773edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVOESPROC) (GLenum target, GLenum pname, GLint* params);
774edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef GLboolean (GL_APIENTRYP PFNGLISFRAMEBUFFEROESPROC) (GLuint framebuffer);
775edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLBINDFRAMEBUFFEROESPROC) (GLenum target, GLuint framebuffer);
776edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLDELETEFRAMEBUFFERSOESPROC) (GLsizei n, const GLuint* framebuffers);
777edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLGENFRAMEBUFFERSOESPROC) (GLsizei n, GLuint* framebuffers);
778edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef GLenum (GL_APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSOESPROC) (GLenum target);
779edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFEROESPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
780edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DOESPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
781edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVOESPROC) (GLenum target, GLenum attachment, GLenum pname, GLint* params);
782edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void (GL_APIENTRYP PFNGLGENERATEMIPMAPOESPROC) (GLenum target);
783edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
784edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
785edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project/* GL_OES_mapbuffer */
786edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifndef GL_OES_mapbuffer
787edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#define GL_OES_mapbuffer 1
788edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#ifdef GL_GLEXT_PROTOTYPES
789edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API void* GL_APIENTRY glMapBufferOES (GLenum target, GLenum access);
790edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGL_API GLboolean GL_APIENTRY glUnmapBufferOES (GLenum target);
7918f62c3031e0c8297d3fa1593430ab402cf6a776fMathias AgopianGL_API void GL_APIENTRY glGetBufferPointervOES (GLenum target, GLenum pname, GLvoid ** params);
792edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
793edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef void* (GL_APIENTRYP PFNGLMAPBUFFEROESPROC) (GLenum target, GLenum access);
794edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttypedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFEROESPROC) (GLenum target);
7958f62c3031e0c8297d3fa1593430ab402cf6a776fMathias Agopiantypedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVOESPROC) (GLenum target, GLenum pname, GLvoid ** params);
796edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project#endif
797edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
798