Package org.robolectric.shadows
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 Summary
Constructors Constructor Description ShadowEGL14() -
Method Summary
Modifier and Type Method Description protected static booleaneglChooseConfig(EGLDisplay dpy, int[] attribList, int attribListOffset, EGLConfig[] configs, int configsOffset, int configSize, int[] numConfig, int numConfigOffset)protected static EGLContexteglCreateContext(EGLDisplay dpy, EGLConfig config, EGLContext shareContext, int[] attribList, int offset)protected static EGLSurfaceeglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config, int[] attribList, int offset)protected static EGLSurfaceeglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, Object win, int[] attribList, int offset)protected static EGLDisplayeglGetDisplay(int displayId)protected static integlGetError()protected static booleaneglInitialize(EGLDisplay dpy, int[] major, int majorOffset, int[] minor, int minorOffset)protected static booleaneglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx)protected static booleaneglQueryContext(EGLDisplay dpy, EGLContext ctx, int attribute, int[] value, int offset)protected static booleaneglSwapBuffers(EGLDisplay dpy, EGLSurface surface)
-
Constructor Details
-
ShadowEGL14
public ShadowEGL14()
-
-
Method Details
-
eglGetDisplay
-
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) -
eglMakeCurrent
@Implementation protected static boolean eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) -
eglSwapBuffers
-
eglGetError
-