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 _nativeClassInit()32 native private static void _nativeClassInit(); 33 static { _nativeClassInit()34 _nativeClassInit(); 35 } 36 37 // C function EGLBoolean eglPresentationTimeANDROID ( EGLDisplay dpy, EGLSurface sur, EGLnsecsANDROID time ) 38 eglPresentationTimeANDROID( EGLDisplay dpy, EGLSurface sur, long time )39 public static native boolean eglPresentationTimeANDROID( 40 EGLDisplay dpy, 41 EGLSurface sur, 42 long time 43 ); 44 45 } 46