com.jogamp.opengl.impl.x11.glx
Class X11DummyGLXDrawable

java.lang.Object
  extended by com.jogamp.opengl.impl.GLDrawableImpl
      extended by com.jogamp.opengl.impl.x11.glx.X11GLXDrawable
          extended by com.jogamp.opengl.impl.x11.glx.X11OnscreenGLXDrawable
              extended by com.jogamp.opengl.impl.x11.glx.X11DummyGLXDrawable
All Implemented Interfaces:
GLDrawable

public class X11DummyGLXDrawable
extends X11OnscreenGLXDrawable


Field Summary
 
Fields inherited from class com.jogamp.opengl.impl.x11.glx.X11OnscreenGLXDrawable
USE_GLXWINDOW
 
Fields inherited from class com.jogamp.opengl.impl.GLDrawableImpl
DEBUG, factory, realized, requestedCapabilities, surface
 
Constructor Summary
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.
 
Method Summary
static X11DummyGLXDrawable create(X11GraphicsScreen screen, GLDrawableFactory factory, GLProfile glp)
           
protected  void destroyImpl()
           
 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.x11.glx.X11OnscreenGLXDrawable
createContext, destroyHandle, getHandle, updateHandle
 
Methods inherited from class com.jogamp.opengl.impl.x11.glx.X11GLXDrawable
getGLDynamicLookupHelper, setRealizedImpl, swapBuffersImpl
 
Methods inherited from class com.jogamp.opengl.impl.GLDrawableImpl
destroy, getChosenGLCapabilities, getFactory, getFactoryImpl, getGLProfile, getNativeSurface, getRequestedGLCapabilities, isRealized, isSurfaceLocked, lockSurface, setRealized, swapBuffers, toHexString, toString, unlockSurface
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.

Method Detail

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.