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

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.X11ExternalGLXDrawable
All Implemented Interfaces:
GLDrawable

public class X11ExternalGLXDrawable
extends X11GLXDrawable


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

Method Detail

create

protected static X11ExternalGLXDrawable create(GLDrawableFactory factory,
                                               GLProfile glp)

createContext

public GLContext createContext(GLContext shareWith)
Description copied from interface: GLDrawable
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.

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.


setSize

public void setSize(int newWidth,
                    int newHeight)


Copyright 2010 JogAmp Community.