|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.opengl.impl.GLDrawableImpl
com.sun.opengl.impl.x11.X11GLDrawable
com.sun.opengl.impl.x11.X11ExternalGLDrawable
public class X11ExternalGLDrawable
Field Summary |
---|
Fields inherited from class com.sun.opengl.impl.x11.X11GLDrawable |
---|
capabilities, chooser, DEBUG, display, drawable, visualID |
Constructor Summary | |
---|---|
X11ExternalGLDrawable()
|
Method Summary | |
---|---|
GLContext |
createContext(GLContext shareWith)
Creates a new context for drawing to this drawable that will optionally share display lists and other server-side OpenGL objects with the specified GLContext. |
void |
destroy()
For offscreen GLDrawables (pbuffers and "pixmap" drawables), indicates that native resources should be reclaimed. |
int |
getHeight()
Returns the current height of this GLDrawable. |
int |
getWidth()
Returns the current width of this GLDrawable. |
void |
setSize(int newWidth,
int newHeight)
Requests a new width and height for this GLDrawable. |
Methods inherited from class com.sun.opengl.impl.x11.X11GLDrawable |
---|
chooseVisual, getDisplay, getDrawable, lockToolkit, setRealized, swapBuffers, unlockToolkit |
Methods inherited from class com.sun.opengl.impl.GLDrawableImpl |
---|
getChosenGLCapabilities, setChosenGLCapabilities, toHexString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public X11ExternalGLDrawable()
Method Detail |
---|
public GLContext createContext(GLContext shareWith)
GLDrawable
The GLContext share
need not be associated with this
GLDrawable and may be null if sharing of display lists and other
objects is not desired. See the note in the overview
documentation on
context sharing.
public void setSize(int newWidth, int newHeight)
GLDrawable
public int getWidth()
GLDrawable
public int getHeight()
GLDrawable
public void destroy()
GLDrawableImpl
destroy
in class X11GLDrawable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |