1 /* 2 ** Copyright 2013, 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 21 /** 22 * EGL Extensions 23 */ 24 public class EGLExt { 25 26 // EGL_KHR_create_context 27 public static final int EGL_CONTEXT_MAJOR_VERSION_KHR = 0x3098; 28 public static final int EGL_CONTEXT_MINOR_VERSION_KHR = 0x30FB; 29 public static final int EGL_CONTEXT_FLAGS_KHR = 0x30FC; 30 public static final int EGL_OPENGL_ES3_BIT_KHR = 0x0040; 31 public static final int EGL_RECORDABLE_ANDROID = 0x3142; 32 _nativeClassInit()33 native private static void _nativeClassInit(); 34 static { _nativeClassInit()35 _nativeClassInit(); 36 } 37 38 // C function EGLBoolean eglPresentationTimeANDROID ( EGLDisplay dpy, EGLSurface sur, EGLnsecsANDROID time ) 39 eglPresentationTimeANDROID( EGLDisplay dpy, EGLSurface sur, long time )40 public static native boolean eglPresentationTimeANDROID( 41 EGLDisplay dpy, 42 EGLSurface sur, 43 long time 44 ); 45 46 } 47