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
-
Method Summary
Modifier and TypeMethodDescriptionprotected static boolean
eglChooseConfig
(EGLDisplay dpy, int[] attribList, int attribListOffset, EGLConfig[] configs, int configsOffset, int configSize, int[] numConfig, int numConfigOffset) protected static EGLContext
eglCreateContext
(EGLDisplay dpy, EGLConfig config, EGLContext shareContext, int[] attribList, int offset) protected static EGLSurface
eglCreatePbufferSurface
(EGLDisplay dpy, EGLConfig config, int[] attribList, int offset) protected static EGLSurface
eglCreateWindowSurface
(EGLDisplay dpy, EGLConfig config, Object win, int[] attribList, int offset) protected static EGLContext
protected static EGLDisplay
eglGetDisplay
(int displayId) protected static int
protected static boolean
eglInitialize
(EGLDisplay dpy, int[] major, int majorOffset, int[] minor, int minorOffset) protected static boolean
eglMakeCurrent
(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) protected static boolean
eglQueryContext
(EGLDisplay dpy, EGLContext ctx, int attribute, int[] value, int offset) protected static boolean
eglSwapBuffers
(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
-