Jesse Hall | c863935 | 2013-04-30 13:45:14 -0700 | [diff] [blame] | 1 | /* |
Thomas Tafertshofer | 66a42db | 2012-06-15 16:22:43 -0700 | [diff] [blame] | 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 | |
| 19 | package android.opengl; |
| 20 | |
Artur Satayev | 6783dfb | 2019-12-11 14:37:35 +0000 | [diff] [blame] | 21 | import android.compat.annotation.UnsupportedAppUsage; |
Thomas Tafertshofer | 66a42db | 2012-06-15 16:22:43 -0700 | [diff] [blame] | 22 | import android.graphics.SurfaceTexture; |
| 23 | import android.view.Surface; |
Thomas Tafertshofer | 66a42db | 2012-06-15 16:22:43 -0700 | [diff] [blame] | 24 | import android.view.SurfaceHolder; |
Orion Hodson | 62d2c9c | 2020-03-27 15:09:33 +0000 | [diff] [blame] | 25 | import android.view.SurfaceView; |
Thomas Tafertshofer | 66a42db | 2012-06-15 16:22:43 -0700 | [diff] [blame] | 26 | |
Thomas Tafertshofer | 66a42db | 2012-06-15 16:22:43 -0700 | [diff] [blame] | 27 | /** |
Thomas Tafertshofer | c5ee93e | 2012-07-12 15:54:56 -0700 | [diff] [blame] | 28 | * EGL 1.4 |
| 29 | * |
| 30 | */ |
Thomas Tafertshofer | 66a42db | 2012-06-15 16:22:43 -0700 | [diff] [blame] | 31 | public class EGL14 { |
| 32 | |
| 33 | public static final int EGL_DEFAULT_DISPLAY = 0; |
| 34 | public static EGLContext EGL_NO_CONTEXT = null; |
| 35 | public static EGLDisplay EGL_NO_DISPLAY = null; |
| 36 | public static EGLSurface EGL_NO_SURFACE = null; |
| 37 | |
| 38 | public static final int EGL_FALSE = 0; |
| 39 | public static final int EGL_TRUE = 1; |
| 40 | public static final int EGL_SUCCESS = 0x3000; |
| 41 | public static final int EGL_NOT_INITIALIZED = 0x3001; |
| 42 | public static final int EGL_BAD_ACCESS = 0x3002; |
| 43 | public static final int EGL_BAD_ALLOC = 0x3003; |
| 44 | public static final int EGL_BAD_ATTRIBUTE = 0x3004; |
| 45 | public static final int EGL_BAD_CONFIG = 0x3005; |
| 46 | public static final int EGL_BAD_CONTEXT = 0x3006; |
| 47 | public static final int EGL_BAD_CURRENT_SURFACE = 0x3007; |
| 48 | public static final int EGL_BAD_DISPLAY = 0x3008; |
| 49 | public static final int EGL_BAD_MATCH = 0x3009; |
| 50 | public static final int EGL_BAD_NATIVE_PIXMAP = 0x300A; |
| 51 | public static final int EGL_BAD_NATIVE_WINDOW = 0x300B; |
| 52 | public static final int EGL_BAD_PARAMETER = 0x300C; |
| 53 | public static final int EGL_BAD_SURFACE = 0x300D; |
| 54 | public static final int EGL_CONTEXT_LOST = 0x300E; |
| 55 | public static final int EGL_BUFFER_SIZE = 0x3020; |
| 56 | public static final int EGL_ALPHA_SIZE = 0x3021; |
| 57 | public static final int EGL_BLUE_SIZE = 0x3022; |
| 58 | public static final int EGL_GREEN_SIZE = 0x3023; |
| 59 | public static final int EGL_RED_SIZE = 0x3024; |
| 60 | public static final int EGL_DEPTH_SIZE = 0x3025; |
| 61 | public static final int EGL_STENCIL_SIZE = 0x3026; |
| 62 | public static final int EGL_CONFIG_CAVEAT = 0x3027; |
| 63 | public static final int EGL_CONFIG_ID = 0x3028; |
| 64 | public static final int EGL_LEVEL = 0x3029; |
| 65 | public static final int EGL_MAX_PBUFFER_HEIGHT = 0x302A; |
| 66 | public static final int EGL_MAX_PBUFFER_PIXELS = 0x302B; |
| 67 | public static final int EGL_MAX_PBUFFER_WIDTH = 0x302C; |
| 68 | public static final int EGL_NATIVE_RENDERABLE = 0x302D; |
| 69 | public static final int EGL_NATIVE_VISUAL_ID = 0x302E; |
| 70 | public static final int EGL_NATIVE_VISUAL_TYPE = 0x302F; |
| 71 | public static final int EGL_SAMPLES = 0x3031; |
| 72 | public static final int EGL_SAMPLE_BUFFERS = 0x3032; |
| 73 | public static final int EGL_SURFACE_TYPE = 0x3033; |
| 74 | public static final int EGL_TRANSPARENT_TYPE = 0x3034; |
| 75 | public static final int EGL_TRANSPARENT_BLUE_VALUE = 0x3035; |
| 76 | public static final int EGL_TRANSPARENT_GREEN_VALUE = 0x3036; |
| 77 | public static final int EGL_TRANSPARENT_RED_VALUE = 0x3037; |
| 78 | public static final int EGL_NONE = 0x3038; |
| 79 | public static final int EGL_BIND_TO_TEXTURE_RGB = 0x3039; |
| 80 | public static final int EGL_BIND_TO_TEXTURE_RGBA = 0x303A; |
| 81 | public static final int EGL_MIN_SWAP_INTERVAL = 0x303B; |
| 82 | public static final int EGL_MAX_SWAP_INTERVAL = 0x303C; |
| 83 | public static final int EGL_LUMINANCE_SIZE = 0x303D; |
| 84 | public static final int EGL_ALPHA_MASK_SIZE = 0x303E; |
| 85 | public static final int EGL_COLOR_BUFFER_TYPE = 0x303F; |
| 86 | public static final int EGL_RENDERABLE_TYPE = 0x3040; |
| 87 | public static final int EGL_MATCH_NATIVE_PIXMAP = 0x3041; |
| 88 | public static final int EGL_CONFORMANT = 0x3042; |
| 89 | public static final int EGL_SLOW_CONFIG = 0x3050; |
| 90 | public static final int EGL_NON_CONFORMANT_CONFIG = 0x3051; |
| 91 | public static final int EGL_TRANSPARENT_RGB = 0x3052; |
| 92 | public static final int EGL_RGB_BUFFER = 0x308E; |
| 93 | public static final int EGL_LUMINANCE_BUFFER = 0x308F; |
| 94 | public static final int EGL_NO_TEXTURE = 0x305C; |
| 95 | public static final int EGL_TEXTURE_RGB = 0x305D; |
| 96 | public static final int EGL_TEXTURE_RGBA = 0x305E; |
| 97 | public static final int EGL_TEXTURE_2D = 0x305F; |
| 98 | public static final int EGL_PBUFFER_BIT = 0x0001; |
| 99 | public static final int EGL_PIXMAP_BIT = 0x0002; |
| 100 | public static final int EGL_WINDOW_BIT = 0x0004; |
| 101 | public static final int EGL_VG_COLORSPACE_LINEAR_BIT = 0x0020; |
| 102 | public static final int EGL_VG_ALPHA_FORMAT_PRE_BIT = 0x0040; |
| 103 | public static final int EGL_MULTISAMPLE_RESOLVE_BOX_BIT = 0x0200; |
| 104 | public static final int EGL_SWAP_BEHAVIOR_PRESERVED_BIT = 0x0400; |
| 105 | public static final int EGL_OPENGL_ES_BIT = 0x0001; |
| 106 | public static final int EGL_OPENVG_BIT = 0x0002; |
| 107 | public static final int EGL_OPENGL_ES2_BIT = 0x0004; |
| 108 | public static final int EGL_OPENGL_BIT = 0x0008; |
| 109 | public static final int EGL_VENDOR = 0x3053; |
| 110 | public static final int EGL_VERSION = 0x3054; |
| 111 | public static final int EGL_EXTENSIONS = 0x3055; |
| 112 | public static final int EGL_CLIENT_APIS = 0x308D; |
| 113 | public static final int EGL_HEIGHT = 0x3056; |
| 114 | public static final int EGL_WIDTH = 0x3057; |
| 115 | public static final int EGL_LARGEST_PBUFFER = 0x3058; |
| 116 | public static final int EGL_TEXTURE_FORMAT = 0x3080; |
| 117 | public static final int EGL_TEXTURE_TARGET = 0x3081; |
| 118 | public static final int EGL_MIPMAP_TEXTURE = 0x3082; |
| 119 | public static final int EGL_MIPMAP_LEVEL = 0x3083; |
| 120 | public static final int EGL_RENDER_BUFFER = 0x3086; |
| 121 | public static final int EGL_VG_COLORSPACE = 0x3087; |
| 122 | public static final int EGL_VG_ALPHA_FORMAT = 0x3088; |
| 123 | public static final int EGL_HORIZONTAL_RESOLUTION = 0x3090; |
| 124 | public static final int EGL_VERTICAL_RESOLUTION = 0x3091; |
| 125 | public static final int EGL_PIXEL_ASPECT_RATIO = 0x3092; |
| 126 | public static final int EGL_SWAP_BEHAVIOR = 0x3093; |
| 127 | public static final int EGL_MULTISAMPLE_RESOLVE = 0x3099; |
| 128 | public static final int EGL_BACK_BUFFER = 0x3084; |
| 129 | public static final int EGL_SINGLE_BUFFER = 0x3085; |
| 130 | public static final int EGL_VG_COLORSPACE_sRGB = 0x3089; |
| 131 | public static final int EGL_VG_COLORSPACE_LINEAR = 0x308A; |
| 132 | public static final int EGL_VG_ALPHA_FORMAT_NONPRE = 0x308B; |
| 133 | public static final int EGL_VG_ALPHA_FORMAT_PRE = 0x308C; |
| 134 | public static final int EGL_DISPLAY_SCALING = 10000; |
| 135 | public static final int EGL_BUFFER_PRESERVED = 0x3094; |
| 136 | public static final int EGL_BUFFER_DESTROYED = 0x3095; |
| 137 | public static final int EGL_OPENVG_IMAGE = 0x3096; |
| 138 | public static final int EGL_CONTEXT_CLIENT_TYPE = 0x3097; |
| 139 | public static final int EGL_CONTEXT_CLIENT_VERSION = 0x3098; |
| 140 | public static final int EGL_MULTISAMPLE_RESOLVE_DEFAULT = 0x309A; |
| 141 | public static final int EGL_MULTISAMPLE_RESOLVE_BOX = 0x309B; |
| 142 | public static final int EGL_OPENGL_ES_API = 0x30A0; |
| 143 | public static final int EGL_OPENVG_API = 0x30A1; |
| 144 | public static final int EGL_OPENGL_API = 0x30A2; |
| 145 | public static final int EGL_DRAW = 0x3059; |
| 146 | public static final int EGL_READ = 0x305A; |
| 147 | public static final int EGL_CORE_NATIVE_ENGINE = 0x305B; |
| 148 | |
| 149 | native private static void _nativeClassInit(); |
| 150 | static { |
| 151 | _nativeClassInit(); |
| 152 | } |