QGLContext Class Reference
#include <qgl.h>
Definition at line 310 of file qgl.h.
|
| | QGLContext (const QGLFormat &format, QPaintDevice *device) |
| |
| | QGLContext (const QGLFormat &format) |
| |
| virtual | ~QGLContext () |
| |
| virtual bool | create (const QGLContext *shareContext=0) |
| |
| bool | isValid () const |
| |
| bool | isSharing () const |
| |
| void | reset () |
| |
| QGLFormat | format () const |
| |
| QGLFormat | requestedFormat () const |
| |
| void | setFormat (const QGLFormat &format) |
| |
| virtual void | makeCurrent () |
| |
| virtual void | doneCurrent () |
| |
| virtual void | swapBuffers () const |
| |
| GLuint | bindTexture (const QImage &image, GLenum target, GLint format, BindOptions options) |
| |
| GLuint | bindTexture (const QPixmap &pixmap, GLenum target, GLint format, BindOptions options) |
| |
| GLuint | bindTexture (const QImage &image, GLenum target=GL_TEXTURE_2D, GLint format=GL_RGBA) |
| |
| GLuint | bindTexture (const QPixmap &pixmap, GLenum target=GL_TEXTURE_2D, GLint format=GL_RGBA) |
| |
| GLuint | bindTexture (const QString &fileName) |
| |
| void | deleteTexture (GLuint tx_id) |
| |
| void | drawTexture (const QRectF &target, GLuint textureId, GLenum textureTarget=GL_TEXTURE_2D) |
| |
| void | drawTexture (const QPointF &point, GLuint textureId, GLenum textureTarget=GL_TEXTURE_2D) |
| |
| void * | getProcAddress (const QString &proc) const |
| |
| QPaintDevice * | device () const |
| |
| QColor | overlayTransparentColor () const |
| |
| Enumerator |
|---|
| NoBindOption |
|
| InvertedYBindOption |
|
| MipmapBindOption |
|
| PremultipliedAlphaBindOption |
|
| LinearFilteringBindOption |
|
| MemoryManagedBindOption |
|
| CanFlipNativePixmapBindOption |
|
| DefaultBindOption |
|
| InternalBindOption |
|
Definition at line 335 of file qgl.h.
| virtual bool create |
( |
const QGLContext * |
shareContext = 0 | ) |
|
|
virtual |
| virtual void makeCurrent |
( |
| ) |
|
|
virtual |
| virtual void doneCurrent |
( |
| ) |
|
|
virtual |
| virtual void swapBuffers |
( |
| ) |
const |
|
virtual |
| static void setTextureCacheLimit |
( |
int |
size | ) |
|
|
static |
| static int textureCacheLimit |
( |
| ) |
|
|
static |
| QColor overlayTransparentColor |
( |
| ) |
const |
| virtual bool chooseContext |
( |
const QGLContext * |
shareContext = 0 | ) |
|
|
protectedvirtual |
| virtual void* chooseVisual |
( |
| ) |
|
|
protectedvirtual |
| bool deviceIsPixmap |
( |
| ) |
const |
|
protected |
| bool windowCreated |
( |
| ) |
const |
|
protected |
| void setWindowCreated |
( |
bool |
on | ) |
|
|
protected |
| bool initialized |
( |
| ) |
const |
|
protected |
| void setInitialized |
( |
bool |
on | ) |
|
|
protected |
| void generateFontDisplayLists |
( |
const QFont & |
fnt, |
|
|
int |
listBase |
|
) |
| |
|
protected |
| uint colorIndex |
( |
const QColor & |
c | ) |
const |
|
protected |
| void setValid |
( |
bool |
valid | ) |
|
|
protected |
| friend class QGLPixelBufferPrivate |
|
friend |
| friend class QGLWidgetPrivate |
|
friend |
| friend class QGLGlyphCache |
|
friend |
| friend class QOpenGLPaintEngine |
|
friend |
| friend class QOpenGLPaintEnginePrivate |
|
friend |
| friend class QGL2PaintEngineEx |
|
friend |
| friend class QGL2PaintEngineExPrivate |
|
friend |
| friend class QGLEngineShaderManager |
|
friend |
| friend class QGLWindowSurface |
|
friend |
| friend class QGLPixmapData |
|
friend |
| friend class QGLPixmapFilterBase |
|
friend |
| friend class QGLTextureGlyphCache |
|
friend |
| friend struct QGLGlyphTexture |
|
friend |
| friend class QGLContextGroup |
|
friend |
| friend class QGLSharedResourceGuard |
|
friend |
| friend class QGLPixmapBlurFilter |
|
friend |
| friend class QGLExtensions |
|
friend |
| friend class QGLFramebufferObjectPrivate |
|
friend |
| friend class QGLFBOGLPaintDevice |
|
friend |
| friend class QGLPaintDevice |
|
friend |
| friend class QGLWidgetGLPaintDevice |
|
friend |
| friend class QX11GLPixmapData |
|
friend |
| friend class QX11GLSharedContexts |
|
friend |
| friend class QGLContextResourceBase |
|
friend |
The documentation for this class was generated from the following file: