| Modifier and Type | Field and Description |
|---|---|
| private EGL | |
| pack-priv long[] | |
| pack-priv long | |
| pack-priv long | |
| private static long | |
| pack-priv long | |
| private static long | |
| private static boolean | |
| protected static final LinuxSystem | |
| pack-priv long |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | AcceleratedScreen(int[]
- attributes to be used for filtering the EGL
configurations to choose from attributes)Perform basic egl intialization - open the display, create the drawing surface, and create a GL context to that drawing surface. |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public void | |
| protected long | |
| public long | |
| pack-priv boolean | Returns: success or failureLoad any native libraries needed to instantiate and initialize the native drawing surface and rendering context |
| protected long | platformGetNativeDisplay()
Returns a platform-specific native display handle suitable for use with eglGetDisplay. |
| protected long | platformGetNativeWindow()
Returns a platform-specific native window handle suitable for use with eglCreateWindowSurface. |
| public boolean |
| egl | back to summary |
|---|---|
| private EGL egl | |
| eglConfigs | back to summary |
|---|---|
| pack-priv long[] eglConfigs | |
| eglContext | back to summary |
|---|---|
| pack-priv long eglContext | |
| eglDisplay | back to summary |
|---|---|
| pack-priv long eglDisplay | |
| eglLibraryHandle | back to summary |
|---|---|
| private static long eglLibraryHandle | |
| eglSurface | back to summary |
|---|---|
| pack-priv long eglSurface | |
| glesLibraryHandle | back to summary |
|---|---|
| private static long glesLibraryHandle | |
| initialized | back to summary |
|---|---|
| private static boolean initialized | |
| ls | back to summary |
|---|---|
| protected static final LinuxSystem ls | |
| nativeWindow | back to summary |
|---|---|
| pack-priv long nativeWindow | |
| AcceleratedScreen | back to summary |
|---|---|
| pack-priv AcceleratedScreen() Create and initialize an AcceleratedScreen. Subclasses should override
this constructor in case the | |
| AcceleratedScreen | back to summary |
|---|---|
| pack-priv AcceleratedScreen(int[] attributes) throws GLException, UnsatisfiedLinkError Perform basic egl intialization - open the display, create the drawing surface, and create a GL context to that drawing surface.
| |
| createSurface | back to summary |
|---|---|
| private void createSurface() | |
| enableRendering | back to summary |
|---|---|
| public void enableRendering(boolean flag) Make the EGL drawing surface current or not | |
| getEGLHandle | back to summary |
|---|---|
| protected long getEGLHandle() Return the EGL library handle - for use in looking up native symbols | |
| getGLHandle | back to summary |
|---|---|
| public long getGLHandle() Return the GL library handle - for use in looking up native symbols | |
| initPlatformLibraries | back to summary |
|---|---|
| pack-priv boolean initPlatformLibraries() throws UnsatisfiedLinkError Load any native libraries needed to instantiate and initialize the native drawing surface and rendering context
| |
| platformGetNativeDisplay | back to summary |
|---|---|
| protected long platformGetNativeDisplay() Returns a platform-specific native display handle suitable for use with eglGetDisplay. | |
| platformGetNativeWindow | back to summary |
|---|---|
| protected long platformGetNativeWindow() Returns a platform-specific native window handle suitable for use with eglCreateWindowSurface. | |
| swapBuffers | back to summary |
|---|---|
| public boolean swapBuffers() Copy the contents of the GL backbuffer to the screen
| |