com.jogamp.opengl.impl.windows.wgl
Class WindowsOffscreenWGLDrawable

java.lang.Object
  extended by com.jogamp.opengl.impl.GLDrawableImpl
      extended by com.jogamp.opengl.impl.windows.wgl.WindowsWGLDrawable
          extended by com.jogamp.opengl.impl.windows.wgl.WindowsOffscreenWGLDrawable
All Implemented Interfaces:
GLDrawable

public class WindowsOffscreenWGLDrawable
extends WindowsWGLDrawable


Field Summary
 
Fields inherited from class com.jogamp.opengl.impl.GLDrawableImpl
DEBUG, factory, realized, requestedCapabilities, surface
 
Constructor Summary
protected WindowsOffscreenWGLDrawable(GLDrawableFactory factory, NativeSurface target)
           
 
Method Summary
 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.
protected  void destroyImpl()
           
protected  void setRealizedImpl()
           
protected  void swapBuffersImpl()
           
 
Methods inherited from class com.jogamp.opengl.impl.windows.wgl.WindowsWGLDrawable
getGLDynamicLookupHelper
 
Methods inherited from class com.jogamp.opengl.impl.GLDrawableImpl
destroy, destroyHandle, 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
 

Constructor Detail

WindowsOffscreenWGLDrawable

protected WindowsOffscreenWGLDrawable(GLDrawableFactory factory,
                                      NativeSurface target)
Method Detail

setRealizedImpl

protected void setRealizedImpl()
Overrides:
setRealizedImpl in class WindowsWGLDrawable

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.


destroyImpl

protected void destroyImpl()
Overrides:
destroyImpl in class GLDrawableImpl

swapBuffersImpl

protected void swapBuffersImpl()
Overrides:
swapBuffersImpl in class WindowsWGLDrawable


Copyright 2010 JogAmp Community.