Class of snx.android.opengl · Egl10.java
public final class Egl10 implements EGL11
JSR 239's EGL over the runtime's EGL (src/android/bridge/hle_egl.c), the one that an app's native code calls too: each object holds the native handle, so a context or surface made here is current for the native GLES calls of the same thread. The Java objects of one handle are one object, as Android's are.
Page 1 2
public EGLDisplay eglGetDisplay(Object native_display) sourcepublic boolean eglInitialize(EGLDisplay display, int[] major_minor) sourcepublic boolean eglTerminate(EGLDisplay display) sourcepublic String eglQueryString(EGLDisplay display, int name) sourcepublic int eglGetError() sourcepublic boolean eglChooseConfig(EGLDisplay display, int[] attrib_list, EGLConfig[] configs, int config_size, int[] num_config) sourcepublic boolean eglGetConfigs(EGLDisplay display, EGLConfig[] configs, int config_size, int[] num_config) sourcepublic boolean eglGetConfigAttrib(EGLDisplay display, EGLConfig config, int attribute, int[] value) sourcepublic EGLContext eglCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_context, int[] attrib_list) sourcepublic boolean eglDestroyContext(EGLDisplay display, EGLContext context) sourcepublic boolean eglQueryContext(EGLDisplay display, EGLContext context, int attribute, int[] value) sourcepublic EGLSurface eglCreateWindowSurface(EGLDisplay display, EGLConfig config, Object native_window, int[] attrib_list) sourceA window surface of a SurfaceView's surface (a SurfaceHolder, the Surface itself or the view), the host window
public EGLSurface eglCreatePbufferSurface(EGLDisplay display, EGLConfig config, int[] attrib_list) sourcepublic EGLSurface eglCreatePixmapSurface(EGLDisplay display, EGLConfig config, Object native_pixmap, int[] attrib_list) throws UnsupportedOperationException sourceNo pixmaps on Android either
public boolean eglDestroySurface(EGLDisplay display, EGLSurface surface) sourcepublic boolean eglQuerySurface(EGLDisplay display, EGLSurface surface, int attribute, int[] value) sourcepublic boolean eglMakeCurrent(EGLDisplay display, EGLSurface draw, EGLSurface read, EGLContext context) sourcepublic EGLContext eglGetCurrentContext() sourcepublic EGLDisplay eglGetCurrentDisplay() sourcepublic EGLSurface eglGetCurrentSurface(int readdraw) sourcepublic boolean eglSwapBuffers(EGLDisplay display, EGLSurface surface) sourcepublic boolean eglCopyBuffers(EGLDisplay display, EGLSurface surface, Object native_pixmap) sourcepublic boolean eglWaitGL() sourcepublic boolean eglWaitNative(int engine, Object bindTarget) sourcepublic static native long nativeDisplay() native sourcepublic static native boolean nativeInitialize(long display, int[] version) native sourcepublic static native boolean nativeTerminate(long display) native sourcepublic static native String nativeQueryString(long display, int name) native sourcepublic static native int nativeError() native sourcepublic static native int nativeChooseConfig(long display, int[] attributes, long[] out) native sourceThe configs that match, sorted as EGL sorts them, into out (null: the count alone); -1 for an error
Page 1 2
Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.