EGLExt.java revision 0c79d808cb66894434e78052c66a0f81e5419176
1/*
2**
3** Copyright 2013, The Android Open Source Project
4**
5** Licensed under the Apache License, Version 2.0 (the "License");
6** you may not use this file except in compliance with the License.
7** You may obtain a copy of the License at
8**
9**     http://www.apache.org/licenses/LICENSE-2.0
10**
11** Unless required by applicable law or agreed to in writing, software
12** distributed under the License is distributed on an "AS IS" BASIS,
13** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14** See the License for the specific language governing permissions and
15** limitations under the License.
16*/
17
18// This source file is automatically generated
19
20package android.opengl;
21
22/**
23 * EGL Extensions
24 */
25public class EGLExt {
26
27    // EGL_KHR_create_context
28    public static final int EGL_CONTEXT_MAJOR_VERSION_KHR   = 0x3098;
29    public static final int EGL_CONTEXT_MINOR_VERSION_KHR   = 0x30FB;
30    public static final int EGL_CONTEXT_FLAGS_KHR           = 0x30FC;
31    public static final int EGL_OPENGL_ES3_BIT_KHR          = 0x0040;
32
33    native private static void _nativeClassInit();
34    static {
35        _nativeClassInit();
36    }
37
38    // C function EGLBoolean eglPresentationTimeANDROID ( EGLDisplay dpy, EGLSurface sur, EGLnsecsANDROID time )
39
40    public static native boolean eglPresentationTimeANDROID(
41        EGLDisplay dpy,
42        EGLSurface sur,
43        long time
44    );
45
46}
47