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
Methods inherited from class com.jogamp.opengl.impl.GLDrawableImpl |
destroy, getChosenGLCapabilities, getFactory, getFactoryImpl, getGLProfile, getNativeSurface, getRequestedGLCapabilities, isRealized, isSurfaceLocked, lockSurface, setRealized, swapBuffers, toHexString, toString, unlockSurface |
X11DummyGLXDrawable
public X11DummyGLXDrawable(X11GraphicsScreen screen,
GLDrawableFactory factory,
GLCapabilitiesImmutable caps)
- 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.
create
public static X11DummyGLXDrawable create(X11GraphicsScreen screen,
GLDrawableFactory factory,
GLProfile glp)
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 GLDrawableImpl
getHeight
public int getHeight()
- Description copied from interface:
GLDrawable
- Returns the current height of this GLDrawable.
- Specified by:
getHeight
in interface GLDrawable
- Overrides:
getHeight
in class GLDrawableImpl
destroyImpl
protected void destroyImpl()
- Overrides:
destroyImpl
in class GLDrawableImpl
Copyright 2010 JogAmp Community.