| Modifier and Type | Field and Description |
|---|---|
| protected ContextGL | context
The OpenGL Context. |
| protected PeerInfo | peer_info
Handle to the native GL rendering context |
| protected PixelFormat | pixel_format
The PixelFormat used to create the drawable. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected final void | |
| public void | |
| public ContextGL | createSharedContext()
Implements org. |
| public void | |
| public ContextGL | getContext()
Implements org. |
| public PixelFormatLWJGL | |
| public void | initContext(final float r, final float g, final float b)
Implements org. |
| 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 | setPixelFormat(final PixelFormatLWJGL pf, final ContextAttribs attribs)
Implements org. |
| public void | |
| public void |
| context | back to summary |
|---|---|
| protected ContextGL context The OpenGL Context. | |
| peer_info | back to summary |
|---|---|
| protected PeerInfo peer_info Handle to the native GL rendering context | |
| pixel_format | back to summary |
|---|---|
| protected PixelFormat pixel_format The PixelFormat used to create the drawable. | |
| DrawableGL | back to summary |
|---|---|
| protected DrawableGL() | |
| checkDestroyed | back to summary |
|---|---|
| protected final void checkDestroyed() | |
| checkGLError | back to summary |
|---|---|
| public void checkGLError() Implements org. | |
| createSharedContext | back to summary |
|---|---|
| public ContextGL 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 ContextGL getContext() Implements org. Doc from org. [INTERNAL USE ONLY] Returns the Drawable's Context.
| |
| getPixelFormat | back to summary |
|---|---|
| public PixelFormatLWJGL getPixelFormat() Implements org. | |
| initContext | back to summary |
|---|---|
| public void initContext(final float r, final float g, final float b) Implements org. | |
| 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 Implements org. Doc from org. Makes the Drawable's context current in the current thread. | |
| releaseContext | back to summary |
|---|---|
| public void releaseContext() throws LWJGLException 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. | |
| setPixelFormat | back to summary |
|---|---|
| public void setPixelFormat(final PixelFormatLWJGL pf, final ContextAttribs attribs) 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. | |