Class ShadowEGL14


  • @Implements(value=android.opengl.EGL14.class,
                minSdk=21)
    public class ShadowEGL14
    extends Object
    Shadow for EGL14. Currently doesn't handle real graphics work, but avoids crashing when run.
    • Constructor Detail

      • ShadowEGL14

        public ShadowEGL14()
    • Method Detail

      • eglGetDisplay

        @Implementation
        protected static EGLDisplay eglGetDisplay​(int displayId)
      • eglInitialize

        @Implementation
        protected static boolean eglInitialize​(EGLDisplay dpy,
                                               int[] major,
                                               int majorOffset,
                                               int[] minor,
                                               int minorOffset)
      • eglChooseConfig

        @Implementation
        protected static boolean eglChooseConfig​(EGLDisplay dpy,
                                                 int[] attribList,
                                                 int attribListOffset,
                                                 EGLConfig[] configs,
                                                 int configsOffset,
                                                 int configSize,
                                                 int[] numConfig,
                                                 int numConfigOffset)
      • eglQueryContext

        @Implementation
        protected static boolean eglQueryContext​(EGLDisplay dpy,
                                                 EGLContext ctx,
                                                 int attribute,
                                                 int[] value,
                                                 int offset)
      • eglCreatePbufferSurface

        @Implementation
        protected static EGLSurface eglCreatePbufferSurface​(EGLDisplay dpy,
                                                            EGLConfig config,
                                                            int[] attribList,
                                                            int offset)
      • eglCreateWindowSurface

        @Implementation
        protected static EGLSurface eglCreateWindowSurface​(EGLDisplay dpy,
                                                           EGLConfig config,
                                                           Object win,
                                                           int[] attribList,
                                                           int offset)
      • eglGetCurrentContext

        @Implementation
        protected static EGLContext eglGetCurrentContext()
      • eglSwapBuffers

        @Implementation
        protected static boolean eglSwapBuffers​(EGLDisplay dpy,
                                                EGLSurface surface)
      • eglGetError

        @Implementation
        protected static int eglGetError()