com.jogamp.opengl.impl.windows.wgl
Class WindowsDummyWGLDrawable
java.lang.Object
com.jogamp.opengl.impl.GLDrawableImpl
com.jogamp.opengl.impl.windows.wgl.WindowsWGLDrawable
com.jogamp.opengl.impl.windows.wgl.WindowsDummyWGLDrawable
- All Implemented Interfaces:
- GLDrawable
public class WindowsDummyWGLDrawable
- extends WindowsWGLDrawable
Methods inherited from class com.jogamp.opengl.impl.GLDrawableImpl |
destroy, destroyHandle, getChosenGLCapabilities, getFactory, getFactoryImpl, getGLProfile, getHandle, getNativeSurface, getRequestedGLCapabilities, isRealized, isSurfaceLocked, setRealized, swapBuffers, toHexString, toString, updateHandle |
WindowsDummyWGLDrawable
protected WindowsDummyWGLDrawable(GLDrawableFactory factory,
GLCapabilitiesImmutable caps,
AbstractGraphicsScreen absScreen)
create
public static WindowsDummyWGLDrawable create(GLDrawableFactory factory,
GLProfile glp,
AbstractGraphicsScreen absScreen)
lockSurface
public int lockSurface()
throws GLException
- Overrides:
lockSurface
in class GLDrawableImpl
- Throws:
GLException
unlockSurface
public void unlockSurface()
- Overrides:
unlockSurface
in class GLDrawableImpl
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
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
Copyright 2010 JogAmp Community.