1/*
2** Copyright 2012, The Android Open Source Project
3**
4** Licensed under the Apache License, Version 2.0 (the "License");
5** you may not use this file except in compliance with the License.
6** You may obtain a copy of the License at
7**
8**     http://www.apache.org/licenses/LICENSE-2.0
9**
10** Unless required by applicable law or agreed to in writing, software
11** distributed under the License is distributed on an "AS IS" BASIS,
12** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13** See the License for the specific language governing permissions and
14** limitations under the License.
15*/
16
17// This source file is automatically generated
18
19package android.opengl;
20
21import android.compat.annotation.UnsupportedAppUsage;
22import android.graphics.SurfaceTexture;
23import android.os.Build;
24import android.view.Surface;
25import android.view.SurfaceHolder;
26import android.view.SurfaceView;
27
28/**
29 * EGL 1.4
30 *
31 */
32public class EGL14 {
33
34public static final int EGL_DEFAULT_DISPLAY            = 0;
35public static EGLContext EGL_NO_CONTEXT                = null;
36public static EGLDisplay EGL_NO_DISPLAY                = null;
37public static EGLSurface EGL_NO_SURFACE                = null;
38
39public static final int EGL_FALSE                          = 0;
40public static final int EGL_TRUE                           = 1;
41public static final int EGL_SUCCESS                        = 0x3000;
42public static final int EGL_NOT_INITIALIZED                = 0x3001;
43public static final int EGL_BAD_ACCESS                     = 0x3002;
44public static final int EGL_BAD_ALLOC                      = 0x3003;
45public static final int EGL_BAD_ATTRIBUTE                  = 0x3004;
46public static final int EGL_BAD_CONFIG                     = 0x3005;
47public static final int EGL_BAD_CONTEXT                    = 0x3006;
48public static final int EGL_BAD_CURRENT_SURFACE            = 0x3007;
49public static final int EGL_BAD_DISPLAY                    = 0x3008;
50public static final int EGL_BAD_MATCH                      = 0x3009;
51public static final int EGL_BAD_NATIVE_PIXMAP              = 0x300A;
52public static final int EGL_BAD_NATIVE_WINDOW              = 0x300B;
53public static final int EGL_BAD_PARAMETER                  = 0x300C;
54public static final int EGL_BAD_SURFACE                    = 0x300D;
55public static final int EGL_CONTEXT_LOST                   = 0x300E;
56public static final int EGL_BUFFER_SIZE                    = 0x3020;
57public static final int EGL_ALPHA_SIZE                     = 0x3021;
58public static final int EGL_BLUE_SIZE                      = 0x3022;
59public static final int EGL_GREEN_SIZE                     = 0x3023;
60public static final int EGL_RED_SIZE                       = 0x3024;
61public static final int EGL_DEPTH_SIZE                     = 0x3025;
62public static final int EGL_STENCIL_SIZE                   = 0x3026;
63public static final int EGL_CONFIG_CAVEAT                  = 0x3027;
64public static final int EGL_CONFIG_ID                      = 0x3028;
65public static final int EGL_LEVEL                          = 0x3029;
66public static final int EGL_MAX_PBUFFER_HEIGHT             = 0x302A;
67public static final int EGL_MAX_PBUFFER_PIXELS             = 0x302B;
68public static final int EGL_MAX_PBUFFER_WIDTH              = 0x302C;
69public static final int EGL_NATIVE_RENDERABLE              = 0x302D;
70public static final int EGL_NATIVE_VISUAL_ID               = 0x302E;
71public static final int EGL_NATIVE_VISUAL_TYPE             = 0x302F;
72public static final int EGL_SAMPLES                        = 0x3031;
73public static final int EGL_SAMPLE_BUFFERS                 = 0x3032;
74public static final int EGL_SURFACE_TYPE                   = 0x3033;
75public static final int EGL_TRANSPARENT_TYPE               = 0x3034;
76public static final int EGL_TRANSPARENT_BLUE_VALUE         = 0x3035;
77public static final int EGL_TRANSPARENT_GREEN_VALUE        = 0x3036;
78public static final int EGL_TRANSPARENT_RED_VALUE          = 0x3037;
79public static final int EGL_NONE                           = 0x3038;
80public static final int EGL_BIND_TO_TEXTURE_RGB            = 0x3039;
81public static final int EGL_BIND_TO_TEXTURE_RGBA           = 0x303A;
82public static final int EGL_MIN_SWAP_INTERVAL              = 0x303B;
83public static final int EGL_MAX_SWAP_INTERVAL              = 0x303C;
84public static final int EGL_LUMINANCE_SIZE                 = 0x303D;
85public static final int EGL_ALPHA_MASK_SIZE                = 0x303E;
86public static final int EGL_COLOR_BUFFER_TYPE              = 0x303F;
87public static final int EGL_RENDERABLE_TYPE                = 0x3040;
88public static final int EGL_MATCH_NATIVE_PIXMAP            = 0x3041;
89public static final int EGL_CONFORMANT                     = 0x3042;
90public static final int EGL_SLOW_CONFIG                    = 0x3050;
91public static final int EGL_NON_CONFORMANT_CONFIG          = 0x3051;
92public static final int EGL_TRANSPARENT_RGB                = 0x3052;
93public static final int EGL_RGB_BUFFER                     = 0x308E;
94public static final int EGL_LUMINANCE_BUFFER               = 0x308F;
95public static final int EGL_NO_TEXTURE                     = 0x305C;
96public static final int EGL_TEXTURE_RGB                    = 0x305D;
97public static final int EGL_TEXTURE_RGBA                   = 0x305E;
98public static final int EGL_TEXTURE_2D                     = 0x305F;
99public static final int EGL_PBUFFER_BIT                    = 0x0001;
100public static final int EGL_PIXMAP_BIT                     = 0x0002;
101public static final int EGL_WINDOW_BIT                     = 0x0004;
102public static final int EGL_VG_COLORSPACE_LINEAR_BIT       = 0x0020;
103public static final int EGL_VG_ALPHA_FORMAT_PRE_BIT        = 0x0040;
104public static final int EGL_MULTISAMPLE_RESOLVE_BOX_BIT    = 0x0200;
105public static final int EGL_SWAP_BEHAVIOR_PRESERVED_BIT    = 0x0400;
106public static final int EGL_OPENGL_ES_BIT                  = 0x0001;
107public static final int EGL_OPENVG_BIT                     = 0x0002;
108public static final int EGL_OPENGL_ES2_BIT                 = 0x0004;
109public static final int EGL_OPENGL_BIT                     = 0x0008;
110public static final int EGL_VENDOR                         = 0x3053;
111public static final int EGL_VERSION                        = 0x3054;
112public static final int EGL_EXTENSIONS                     = 0x3055;
113public static final int EGL_CLIENT_APIS                    = 0x308D;
114public static final int EGL_HEIGHT                         = 0x3056;
115public static final int EGL_WIDTH                          = 0x3057;
116public static final int EGL_LARGEST_PBUFFER                = 0x3058;
117public static final int EGL_TEXTURE_FORMAT                 = 0x3080;
118public static final int EGL_TEXTURE_TARGET                 = 0x3081;
119public static final int EGL_MIPMAP_TEXTURE                 = 0x3082;
120public static final int EGL_MIPMAP_LEVEL                   = 0x3083;
121public static final int EGL_RENDER_BUFFER                  = 0x3086;
122public static final int EGL_VG_COLORSPACE                  = 0x3087;
123public static final int EGL_VG_ALPHA_FORMAT                = 0x3088;
124public static final int EGL_HORIZONTAL_RESOLUTION          = 0x3090;
125public static final int EGL_VERTICAL_RESOLUTION            = 0x3091;
126public static final int EGL_PIXEL_ASPECT_RATIO             = 0x3092;
127public static final int EGL_SWAP_BEHAVIOR                  = 0x3093;
128public static final int EGL_MULTISAMPLE_RESOLVE            = 0x3099;
129public static final int EGL_BACK_BUFFER                    = 0x3084;
130public static final int EGL_SINGLE_BUFFER                  = 0x3085;
131public static final int EGL_VG_COLORSPACE_sRGB             = 0x3089;
132public static final int EGL_VG_COLORSPACE_LINEAR           = 0x308A;
133public static final int EGL_VG_ALPHA_FORMAT_NONPRE         = 0x308B;
134public static final int EGL_VG_ALPHA_FORMAT_PRE            = 0x308C;
135public static final int EGL_DISPLAY_SCALING                = 10000;
136public static final int EGL_BUFFER_PRESERVED               = 0x3094;
137public static final int EGL_BUFFER_DESTROYED               = 0x3095;
138public static final int EGL_OPENVG_IMAGE                   = 0x3096;
139public static final int EGL_CONTEXT_CLIENT_TYPE            = 0x3097;
140public static final int EGL_CONTEXT_CLIENT_VERSION         = 0x3098;
141public static final int EGL_MULTISAMPLE_RESOLVE_DEFAULT    = 0x309A;
142public static final int EGL_MULTISAMPLE_RESOLVE_BOX        = 0x309B;
143public static final int EGL_OPENGL_ES_API                  = 0x30A0;
144public static final int EGL_OPENVG_API                     = 0x30A1;
145public static final int EGL_OPENGL_API                     = 0x30A2;
146public static final int EGL_DRAW                           = 0x3059;
147public static final int EGL_READ                           = 0x305A;
148public static final int EGL_CORE_NATIVE_ENGINE             = 0x305B;
149
150    native private static void _nativeClassInit();
151    static {
152        _nativeClassInit();
153    }
154