Package org.robolectric.shadows
Class ShadowEGL14
java.lang.Object
org.robolectric.shadows.ShadowEGL14
Shadow for EGL14. Currently doesn't handle real graphics work, but avoids crashing when run.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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 EGLContextprotected static EGLDisplayeglGetDisplay(int displayId) protected static intprotected 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) -
eglGetCurrentContext
-
eglMakeCurrent
@Implementation protected static boolean eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) -
eglSwapBuffers
-
eglGetError
-