Qt 4.8
|
#include <qglpaintdevice_p.h>
Public Functions | |
virtual bool | alphaRequested () const |
virtual void | beginPaint () |
virtual QGLContext * | context () const =0 |
int | devType () const |
virtual void | endPaint () |
virtual void | ensureActiveTarget () |
virtual QGLFormat | format () const |
virtual bool | isFlipped () const |
QGLPaintDevice () | |
virtual QSize | size () const =0 |
virtual | ~QGLPaintDevice () |
Public Functions inherited from QPaintDevice | |
int | colorCount () const |
int | depth () const |
virtual HDC | getDC () const |
int | height () const |
int | heightMM () const |
int | logicalDpiX () const |
int | logicalDpiY () const |
QT_DEPRECATED int | numColors () const |
virtual QPaintEngine * | paintEngine () const =0 |
bool | paintingActive () const |
int | physicalDpiX () const |
int | physicalDpiY () const |
virtual void | releaseDC (HDC hdc) const |
int | width () const |
int | widthMM () const |
virtual | ~QPaintDevice () |
Static Public Functions | |
static QGLPaintDevice * | getDevice (QPaintDevice *) |
Static Public Functions inherited from QPaintDevice | |
static QWSDisplay * | qwsDisplay () |
Protected Functions | |
int | metric (QPaintDevice::PaintDeviceMetric metric) const |
Protected Functions inherited from QPaintDevice | |
QPaintDevice () | |
Protected Variables | |
GLuint | m_previousFBO |
GLuint | m_thisFBO |
Protected Variables inherited from QPaintDevice | |
ushort | painters |
Additional Inherited Members | |
Public Types inherited from QPaintDevice | |
enum | PaintDeviceMetric { PdmWidth = 1, PdmHeight, PdmWidthMM, PdmHeightMM, PdmNumColors, PdmDepth, PdmDpiX, PdmDpiY, PdmPhysicalDpiX, PdmPhysicalDpiY } |
Related Functions inherited from QPaintDevice | |
const Q_GUI_EXPORT QX11Info * | qt_x11Info (const QPaintDevice *pd) |
Returns the QX11Info structure for the pd paint device. More... | |
Definition at line 63 of file qglpaintdevice_p.h.
QGLPaintDevice::QGLPaintDevice | ( | ) |
Definition at line 57 of file qglpaintdevice.cpp.
|
virtual |
Definition at line 62 of file qglpaintdevice.cpp.
|
virtual |
Reimplemented in QGLFBOGLPaintDevice, and QGLPixmapGLPaintDevice.
Definition at line 143 of file qglpaintdevice.cpp.
|
virtual |
Reimplemented in QGLWidgetGLPaintDevice, QGLPixmapGLPaintDevice, QX11GLPixmapData, and QEglFSPaintDevice.
Definition at line 83 of file qglpaintdevice.cpp.
Referenced by QEglFSPaintDevice::beginPaint(), QX11GLPixmapData::beginPaint(), QGLPixmapGLPaintDevice::beginPaint(), QGLWidgetGLPaintDevice::beginPaint(), and QBBGLWindowSurface::paintDevice().
|
pure virtual |
Implemented in QGLPBufferGLPaintDevice, QGLFBOGLPaintDevice, QGLWidgetGLPaintDevice, QGLPixmapGLPaintDevice, EAGLPaintDevice, QX11GLPixmapData, QGLWindowSurfaceGLPaintDevice, QBBGLPaintDevice, and QEglFSPaintDevice.
Referenced by alphaRequested(), beginPaint(), QGLWidgetGLPaintDevice::beginPaint(), QOpenGLPaintEnginePrivate::composite(), QOpenGLPaintEnginePrivate::createGradientPaletteTexture(), QOpenGLPaintEnginePrivate::drawOffscreenPath(), endPaint(), ensureActiveTarget(), format(), and QOpenGLPaintEnginePrivate::strokeLines().
|
inlinevirtual |
Reimplemented from QPaintDevice.
Reimplemented in EAGLPaintDevice.
Definition at line 69 of file qglpaintdevice_p.h.
|
virtual |
Reimplemented in QGLPBufferGLPaintDevice, QGLWidgetGLPaintDevice, and QGLPixmapGLPaintDevice.
Definition at line 126 of file qglpaintdevice.cpp.
Referenced by QGLPixmapGLPaintDevice::endPaint(), QGLWidgetGLPaintDevice::endPaint(), QGLPBufferGLPaintDevice::endPaint(), and QBBGLWindowSurface::paintDevice().
|
virtual |
Definition at line 112 of file qglpaintdevice.cpp.
|
virtual |
Reimplemented in QGLFBOGLPaintDevice.
Definition at line 138 of file qglpaintdevice.cpp.
Referenced by QGLPixelBufferPrivate::common_init(), QGL2PaintEngineExPrivate::fill(), and metric().
|
static |
Definition at line 206 of file qglpaintdevice.cpp.
Referenced by QOpenGLPaintEngine::begin(), QGL2PaintEngineEx::begin(), and QGLOffscreen::setDevice().
|
virtual |
Definition at line 148 of file qglpaintdevice.cpp.
Referenced by QGL2PaintEngineExPrivate::updateBrushUniforms(), and QGL2PaintEngineExPrivate::updateMatrix().
|
protectedvirtual |
Reimplemented from QPaintDevice.
Reimplemented in QGLWindowSurfaceGLPaintDevice.
Definition at line 66 of file qglpaintdevice.cpp.
|
pure virtual |
Implemented in QGLPBufferGLPaintDevice, QGLFBOGLPaintDevice, QGLWidgetGLPaintDevice, QGLPixmapGLPaintDevice, EAGLPaintDevice, QX11GLPixmapData, QGLWindowSurfaceGLPaintDevice, QBBGLPaintDevice, and QEglFSPaintDevice.
Referenced by QOpenGLPaintEnginePrivate::copyDrawable(), QOpenGLPaintEnginePrivate::drawItem(), QOpenGLPaintEnginePrivate::fillVertexArray(), metric(), and QOpenGLPaintEnginePrivate::updateDepthClip().
|
protected |
Definition at line 86 of file qglpaintdevice_p.h.
Referenced by beginPaint(), and endPaint().
|
protected |
Definition at line 87 of file qglpaintdevice_p.h.
Referenced by beginPaint(), and ensureActiveTarget().