| Modifier and Type | Field and Description |
|---|---|
| protected ContextGLES | context
The OpenGL Context. |
| protected EGLConfig | |
| protected EGLDisplay | |
| protected EGLSurface | |
| protected PixelFormat | pixel_format
The PixelFormat used to create the EGLDisplay. |
| protected Drawable | shared_drawable
The Drawable that shares objects with this Drawable. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| public void | |
| public void | |
| public Context | createSharedContext()
Implements org. |
| public void | |
| public ContextGLES | getContext()
Implements org. |
| public EGLConfig | |
| public EGLDisplay | |
| public EGLSurface | |
| public PixelFormatLWJGL | |
| pack-priv Drawable | |
| public void | initContext(final float r, final float g, final float b)
Implements org. |
| public void | initialize(final long window, final long display_id, final int eglSurfaceType, final PixelFormat pf)
|
| public boolean | isCurrent()
Implements org. |
| public void | makeCurrent()
Implements org. |
| public void | releaseContext()
Implements org. |
| public void | setCLSharingProperties(final PointerBuffer
The target properties buffer. It must have at least 4 positions remaining. properties)Implements org. PointerBuffer,
so that if it is used in a clCreateContext(FromType) call, the created CL
context will be sharing objects with this Drawable's GL context.
|
| public void | |
| public void | |
| public void |
| context | back to summary |
|---|---|
| protected ContextGLES context The OpenGL Context. | |
| eglConfig | back to summary |
|---|---|
| protected EGLConfig eglConfig | |
| eglDisplay | back to summary |
|---|---|
| protected EGLDisplay eglDisplay | |
| eglSurface | back to summary |
|---|---|
| protected EGLSurface eglSurface | |
| pixel_format | back to summary |
|---|---|
| protected PixelFormat pixel_format The PixelFormat used to create the EGLDisplay. | |
| shared_drawable | back to summary |
|---|---|
| protected Drawable shared_drawable The Drawable that shares objects with this Drawable. | |
| DrawableGLES | back to summary |
|---|---|
| protected DrawableGLES() | |
| checkDestroyed | back to summary |
|---|---|
| protected void checkDestroyed() | |
| checkGLError | back to summary |
|---|---|
| public void checkGLError() Implements org. | |
| createContext | back to summary |
|---|---|
| public void createContext(final ContextAttribs attribs, final Drawable shared_drawable) throws LWJGLException | |
| createSharedContext | back to summary |
|---|---|
| public Context createSharedContext() throws LWJGLException Implements org. Doc from org. [INTERNAL USE ONLY] Creates a new Context that is shared with the Drawable's Context.
| |
| destroy | back to summary |
|---|---|
| public void destroy() Implements org. Doc from org. Destroys the Drawable. | |
| getContext | back to summary |
|---|---|
| public ContextGLES getContext() Implements org. Doc from org. [INTERNAL USE ONLY] Returns the Drawable's Context.
| |
| getEGLConfig | back to summary |
|---|---|
| public EGLConfig getEGLConfig() | |
| getEGLDisplay | back to summary |
|---|---|
| public EGLDisplay getEGLDisplay() | |
| getEGLSurface | back to summary |
|---|---|
| public EGLSurface getEGLSurface() | |
| getPixelFormat | back to summary |
|---|---|
| public PixelFormatLWJGL getPixelFormat() Implements org. | |
| getSharedDrawable | back to summary |
|---|---|
| pack-priv Drawable getSharedDrawable() | |
| initContext | back to summary |
|---|---|
| public void initContext(final float r, final float g, final float b) Implements org. | |
| initialize | back to summary |
|---|---|
| public void initialize(final long window, final long display_id, final int eglSurfaceType, final PixelFormat pf) throws LWJGLException | |
| isCurrent | back to summary |
|---|---|
| public boolean isCurrent() throws LWJGLException Implements org. Doc from org. Returns true if the Drawable's context is current in the current thread. | |
| makeCurrent | back to summary |
|---|---|
| public void makeCurrent() throws LWJGLException, PowerManagementEventException Implements org. Doc from org. Makes the Drawable's context current in the current thread. | |
| releaseContext | back to summary |
|---|---|
| public void releaseContext() throws LWJGLException, PowerManagementEventException Implements org. Doc from org. If the Drawable's context is current in the current thread, no context will be current after a call to this method. | |
| setCLSharingProperties | back to summary |
|---|---|
| public void setCLSharingProperties(final PointerBuffer properties) throws LWJGLException Implements org. Doc from org. Sets the appropriate khr_gl_sharing properties in the target
| |
| setPixelFormat | back to summary |
|---|---|
| public void setPixelFormat(final PixelFormatLWJGL pf) throws LWJGLException Implements org. | |
| setSwapInterval | back to summary |
|---|---|
| public void setSwapInterval(final int swap_interval) Implements org. | |
| swapBuffers | back to summary |
|---|---|
| public void swapBuffers() throws LWJGLException Implements org. | |