Class ShadowEGL14

java.lang.Object
org.robolectric.shadows.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 Details

    • ShadowEGL14

      public ShadowEGL14()
  • Method Details

    • 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)
    • eglCreateContext

      @Implementation protected static EGLContext eglCreateContext(EGLDisplay dpy, EGLConfig config, EGLContext shareContext, int[] attribList, int offset)
    • 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()
    • eglMakeCurrent

      @Implementation protected static boolean eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx)
    • eglSwapBuffers

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

      @Implementation protected static int eglGetError()