com.jogamp.opengl.impl.x11.glx
Class X11DummyGLXDrawable
java.lang.Object
com.jogamp.opengl.impl.GLDrawableImpl
com.jogamp.opengl.impl.x11.glx.X11GLXDrawable
com.jogamp.opengl.impl.x11.glx.X11OnscreenGLXDrawable
com.jogamp.opengl.impl.x11.glx.X11DummyGLXDrawable
- All Implemented Interfaces:
- GLDrawable
public class X11DummyGLXDrawable
- extends X11OnscreenGLXDrawable
Method Summary |
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 width,
int height)
|
Methods inherited from class com.jogamp.opengl.impl.GLDrawableImpl |
getChosenGLCapabilities, getFactory, getFactoryImpl, getGLProfile, getNativeWindow, getRequestedGLCapabilities, isRealized, isSurfaceLocked, lockSurface, setRealized, swapBuffers, toHexString, toString, unlockSurface |
X11DummyGLXDrawable
public X11DummyGLXDrawable(X11GraphicsScreen screen,
GLDrawableFactory factory,
GLProfile glp)
- Due to the ATI Bug https://bugzilla.mozilla.org/show_bug.cgi?id=486277,
we cannot switch the Display as we please,
hence we reuse the target's screen configuration.
setSize
public void setSize(int width,
int height)
getWidth
public int getWidth()
- Description copied from interface:
GLDrawable
- Returns the current width of this GLDrawable.
- Specified by:
getWidth
in interface GLDrawable
- Overrides:
getWidth
in class X11OnscreenGLXDrawable
getHeight
public int getHeight()
- Description copied from class:
GLDrawableImpl
- Returns the current height of this GLDrawable.
- Specified by:
getHeight
in interface GLDrawable
- Overrides:
getHeight
in class X11OnscreenGLXDrawable
destroy
public void destroy()
- Description copied from class:
GLDrawableImpl
- For offscreen GLDrawables (pbuffers and "pixmap" drawables),
indicates that native resources should be reclaimed.
- Overrides:
destroy
in class GLDrawableImpl
Copyright 2010 JogAmp Community.