public abstract class GLDrawableImpl extends Object implements GLDrawable
Constructor and Description |
---|
GLDrawableImpl() |
Modifier and Type | Method and Description |
---|---|
abstract void |
destroy()
For offscreen GLDrawables (pbuffers and "pixmap" drawables),
indicates that native resources should be reclaimed.
|
GLCapabilities |
getChosenGLCapabilities()
Fetches the
GLCapabilities corresponding to the chosen
OpenGL capabilities (pixel format / visual) for this drawable. |
void |
setChosenGLCapabilities(GLCapabilities caps) |
static String |
toHexString(long hex) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createContext, getHeight, getWidth, setRealized, setSize, swapBuffers
public abstract void destroy() throws GLException
GLException
public static String toHexString(long hex)
public GLCapabilities getChosenGLCapabilities()
GLDrawable
GLCapabilities
corresponding to the chosen
OpenGL capabilities (pixel format / visual) for this drawable.
Some drawables, in particular on-screen drawables, may be
created lazily; null is returned if the drawable is not
currently created or if its pixel format has not been set yet.
On some platforms, the pixel format is not directly associated
with the drawable; a best attempt is made to return a reasonable
value in this case.getChosenGLCapabilities
in interface GLDrawable
public void setChosenGLCapabilities(GLCapabilities caps)
Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.