EGLAcceleratedScreen manages the link to the hardware-accelerated
component, using EGL. This class is not directly using EGL commands,
as the order and meaning of parameters might vary between implementations.
Also, implementation-specific logic may be applied before, in between, or
after the EGL commands.
| Modifier and Type | Field and Description |
|---|---|
| private long |
| Access | Constructor and Description |
|---|---|
| pack-priv | EGLAcceleratedScreen(int[]
an array of attributes that will be used by the underlying
implementation to get the best matching configuration. attributes)Create a new |
| Modifier and Type | Method and Description |
|---|---|
| public void | enableRendering(boolean flag)
Overrides com. Make the EGL drawing surface current or not |
| private native boolean | |
| private native long | |
| private native long | |
| private native long | |
| private native boolean | |
| private native boolean | |
| private native boolean | |
| private native long | |
| private native long | |
| protected long | platformGetNativeWindow()
Overrides com. Returns a platform-specific native window handle suitable for use with eglCreateWindowSurface. |
| public boolean | swapBuffers()
Overrides com. Copy the contents of the GL backbuffer to the screen |
| eglWindowHandle | back to summary |
|---|---|
| private long eglWindowHandle | |
| EGLAcceleratedScreen | back to summary |
|---|---|
| pack-priv EGLAcceleratedScreen(int[] attributes) Create a new
| |
| enableRendering | back to summary |
|---|---|
| public void enableRendering(boolean flag) Overrides com. Doc from com. Make the EGL drawing surface current or not
| |
| nEglBindApi | back to summary |
|---|---|
| private native boolean nEglBindApi(int v) | |
| nEglChooseConfig | back to summary |
|---|---|
| private native long nEglChooseConfig(long eglDisplay, int[] attribs) | |
| nEglCreateContext | back to summary |
|---|---|
| private native long nEglCreateContext(long eglDisplay, long eglConfig) | |
| nEglCreateWindowSurface | back to summary |
|---|---|
| private native long nEglCreateWindowSurface(long eglDisplay, long eglConfig, long nativeWindow) | |
| nEglInitialize | back to summary |
|---|---|
| private native boolean nEglInitialize(long handle) | |
| nEglMakeCurrent | back to summary |
|---|---|
| private native boolean nEglMakeCurrent(long eglDisplay, long eglDrawSurface, long eglReadSurface, long eglContext) | |
| nEglSwapBuffers | back to summary |
|---|---|
| private native boolean nEglSwapBuffers(long eglDisplay, long eglSurface) | |
| nGetEglDisplayHandle | back to summary |
|---|---|
| private native long nGetEglDisplayHandle() | |
| nPlatformGetNativeWindow | back to summary |
|---|---|
| private native long nPlatformGetNativeWindow(String displayID) | |
| platformGetNativeWindow | back to summary |
|---|---|
| protected long platformGetNativeWindow() Overrides com. Doc from com. Returns a platform-specific native window handle suitable for use with eglCreateWindowSurface.
| |
| swapBuffers | back to summary |
|---|---|
| public boolean swapBuffers() Overrides com. Doc from com. Copy the contents of the GL backbuffer to the screen
| |