Home | History | Annotate | Download | only in egl
      1 /*
      2 ** Copyright 2018, 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 package android.opengl;
     18 
     19 /**
     20  * EGL 1.5
     21  *
     22  */
     23 public final class EGL15 {
     24 
     25     private EGL15() {};
     26 
     27     public static final int EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT            = 0x00000001;
     28     public static final int EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT   = 0x00000002;
     29     public static final int EGL_OPENGL_ES3_BIT                             = 0x00000040;
     30     public static final int EGL_SYNC_FLUSH_COMMANDS_BIT                    = 0x0001;
     31     public static final int EGL_GL_COLORSPACE_SRGB                         = 0x3089;
     32     public static final int EGL_GL_COLORSPACE_LINEAR                       = 0x308A;
     33     public static final int EGL_CONTEXT_MAJOR_VERSION                      = 0x3098;
     34     public static final int EGL_CL_EVENT_HANDLE                            = 0x309C;
     35     public static final int EGL_GL_COLORSPACE                              = 0x309D;
     36     public static final int EGL_GL_TEXTURE_2D                              = 0x30B1;
     37     public static final int EGL_GL_TEXTURE_3D                              = 0x30B2;
     38     public static final int EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_X             = 0x30B3;
     39     public static final int EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_X             = 0x30B4;
     40     public static final int EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Y             = 0x30B5;
     41     public static final int EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y             = 0x30B6;
     42     public static final int EGL_GL_TEXTURE_CUBE_MAP_POSITIVE_Z             = 0x30B7;
     43     public static final int EGL_GL_TEXTURE_CUBE_MAP_NEGATIVE_Z             = 0x30B8;
     44     public static final int EGL_GL_RENDERBUFFER                            = 0x30B9;
     45     public static final int EGL_GL_TEXTURE_LEVEL                           = 0x30BC;
     46     public static final int EGL_GL_TEXTURE_ZOFFSET                         = 0x30BD;
     47     public static final int EGL_IMAGE_PRESERVED                            = 0x30D2;
     48     public static final int EGL_SYNC_PRIOR_COMMANDS_COMPLETE               = 0x30F0;
     49     public static final int EGL_SYNC_STATUS                                = 0x30F1;
     50     public static final int EGL_SIGNALED                                   = 0x30F2;
     51     public static final int EGL_UNSIGNALED                                 = 0x30F3;
     52     public static final int EGL_TIMEOUT_EXPIRED                            = 0x30F5;
     53     public static final int EGL_CONDITION_SATISFIED                        = 0x30F6;
     54     public static final int EGL_SYNC_TYPE                                  = 0x30F7;
     55     public static final int EGL_SYNC_CONDITION                             = 0x30F8;
     56     public static final int EGL_SYNC_FENCE                                 = 0x30F9;
     57     public static final int EGL_CONTEXT_MINOR_VERSION                      = 0x30FB;
     58     public static final int EGL_CONTEXT_OPENGL_PROFILE_MASK                = 0x30FD;
     59     public static final int EGL_SYNC_CL_EVENT                              = 0x30FE;
     60     public static final int EGL_SYNC_CL_EVENT_COMPLETE                     = 0x30FF;
     61     public static final int EGL_CONTEXT_OPENGL_DEBUG                       = 0x31B0;
     62     public static final int EGL_CONTEXT_OPENGL_FORWARD_COMPATIBLE          = 0x31B1;
     63     public static final int EGL_CONTEXT_OPENGL_ROBUST_ACCESS               = 0x31B2;
     64     public static final int EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY = 0x31BD;
     65     public static final int EGL_NO_RESET_NOTIFICATION                      = 0x31BE;
     66     public static final int EGL_LOSE_CONTEXT_ON_RESET                      = 0x31BF;
     67     public static final int EGL_PLATFORM_ANDROID_KHR                       = 0x3141;
     68     public static final long EGL_FOREVER                                   = 0xFFFFFFFFFFFFFFFFL;
     69     public static final EGLImage EGL_NO_IMAGE                              = null;
     70     public static final EGLSync EGL_NO_SYNC                                = null;
     71     public static final EGLContext EGL_NO_CONTEXT                          = null;
     72     public static final EGLDisplay EGL_NO_DISPLAY                          = null;
     73     public static final EGLSurface EGL_NO_SURFACE                          = null;
     74 
     75     native private static void _nativeClassInit();
     76     static {
     77         _nativeClassInit();
     78     }
     79