org.kde.qt
Class QGLContext
java.lang.Object
org.kde.qt.QGL
org.kde.qt.QGLContext
- All Implemented Interfaces:
- QtSupport
public class QGLContext
- extends QGL
Fields inherited from class org.kde.qt.QGL |
AccumBuffer, AlphaChannel, ColorIndex, DepthBuffer, DirectRendering, DoubleBuffer, HasOverlay, IndirectRendering, NoAccumBuffer, NoAlphaChannel, NoDepthBuffer, NoOverlay, NoStencilBuffer, NoStereoBuffers, Rgba, SingleBuffer, StencilBuffer, StereoBuffers |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QGLContext
protected QGLContext(java.lang.Class dummy)
QGLContext
public QGLContext(QGLFormat format,
QPaintDeviceInterface device)
QGLContext
public QGLContext(QGLFormat format)
create
public boolean create(QGLContext shareContext)
create
public boolean create()
isValid
public boolean isValid()
isSharing
public boolean isSharing()
reset
public void reset()
format
public QGLFormat format()
requestedFormat
public QGLFormat requestedFormat()
setFormat
public void setFormat(QGLFormat format)
makeCurrent
public void makeCurrent()
swapBuffers
public void swapBuffers()
device
public QPaintDeviceInterface device()
overlayTransparentColor
public QColor overlayTransparentColor()
currentContext
public static QGLContext currentContext()
chooseContext
protected boolean chooseContext(QGLContext shareContext)
chooseContext
protected boolean chooseContext()
doneCurrent
protected void doneCurrent()
deviceIsPixmap
protected boolean deviceIsPixmap()
windowCreated
protected boolean windowCreated()
setWindowCreated
protected void setWindowCreated(boolean on)
initialized
protected boolean initialized()
setInitialized
protected void setInitialized(boolean on)
generateFontDisplayLists
protected void generateFontDisplayLists(QFont fnt,
int listBase)
colorIndex
protected int colorIndex(QColor c)
setValid
protected void setValid(boolean valid)
setDevice
protected void setDevice(QPaintDeviceInterface pDev)
finalize
protected void finalize()
throws java.lang.InternalError
- Deletes the wrapped C++ instance
- Overrides:
finalize
in class QGL
- Throws:
java.lang.InternalError
dispose
public void dispose()
- Delete the wrapped C++ instance ahead of finalize()
- Overrides:
dispose
in class QGL
isDisposed
public boolean isDisposed()
- Has the wrapped C++ instance been deleted?
- Overrides:
isDisposed
in class QGL