xref: /third_party/openGLES/api/GLSC2/glsc2ext.h (revision 5bd8dead)
1#ifndef __glsc2_glsc2ext_h_
2#define __glsc2_glsc2ext_h_ 1
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8/*
9** Copyright 2013-2020 The Khronos Group Inc.
10** SPDX-License-Identifier: MIT
11**
12** This header is generated from the Khronos OpenGL / OpenGL ES XML
13** API Registry. The current version of the Registry, generator scripts
14** used to make the header, and the header can be found at
15**   https://github.com/KhronosGroup/OpenGL-Registry
16*/
17
18#ifndef GL_APIENTRYP
19#define GL_APIENTRYP GL_APIENTRY*
20#endif
21
22/* Generated on date 20230220 */
23
24/* Generated C header for:
25 * API: glsc2
26 * Profile: common
27 * Versions considered: 2\.[0-9]
28 * Versions emitted: _nomatch_^
29 * Default extensions included: glsc2
30 * Additional extensions included: _nomatch_^
31 * Extensions removed: _nomatch_^
32 */
33
34#ifndef GL_OES_depth24
35#define GL_OES_depth24 1
36#define GL_DEPTH_COMPONENT24_OES          0x81A6
37#endif /* GL_OES_depth24 */
38
39#ifndef GL_OES_depth32
40#define GL_OES_depth32 1
41#define GL_DEPTH_COMPONENT32_OES          0x81A7
42#endif /* GL_OES_depth32 */
43
44#ifndef GL_OES_rgb8_rgba8
45#define GL_OES_rgb8_rgba8 1
46#define GL_RGB8_OES                       0x8051
47#define GL_RGBA8_OES                      0x8058
48#endif /* GL_OES_rgb8_rgba8 */
49
50#ifndef GL_OES_standard_derivatives
51#define GL_OES_standard_derivatives 1
52#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES 0x8B8B
53#endif /* GL_OES_standard_derivatives */
54
55#ifndef GL_EXT_texture_compression_s3tc
56#define GL_EXT_texture_compression_s3tc 1
57#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT   0x83F0
58#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT  0x83F1
59#define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT  0x83F2
60#define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT  0x83F3
61#endif /* GL_EXT_texture_compression_s3tc */
62
63#ifndef GL_IMG_tile_region_protection
64#define GL_IMG_tile_region_protection 1
65#define GL_TRP_IMG                        0x8EA0
66#define GL_TRP_ERROR_CONTEXT_RESET_IMG    0x8EA1
67#define GL_TRP_UNSUPPORTED_CONTEXT_IMG    0x8EA2
68#endif /* GL_IMG_tile_region_protection */
69
70#ifdef __cplusplus
71}
72#endif
73
74#endif
75