Qt 4.8
Public Functions | Properties | List of all members
QGLPBufferGLPaintDevice Class Reference

#include <qglpixelbuffer_p.h>

Inheritance diagram for QGLPBufferGLPaintDevice:
QGLPaintDevice QPaintDevice

Public Functions

virtual QGLContextcontext () const
 
virtual void endPaint ()
 
virtual QPaintEnginepaintEngine () const
 
void setPBuffer (QGLPixelBuffer *pb)
 
virtual QSize size () const
 
- Public Functions inherited from QGLPaintDevice
virtual bool alphaRequested () const
 
virtual void beginPaint ()
 
int devType () const
 
virtual void ensureActiveTarget ()
 
virtual QGLFormat format () const
 
virtual bool isFlipped () const
 
 QGLPaintDevice ()
 
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
 
bool paintingActive () const
 
int physicalDpiX () const
 
int physicalDpiY () const
 
virtual void releaseDC (HDC hdc) const
 
int width () const
 
int widthMM () const
 
virtual ~QPaintDevice ()
 

Properties

QGLPixelBufferpbuf
 

Additional Inherited Members

- Public Types inherited from QPaintDevice
enum  PaintDeviceMetric {
  PdmWidth = 1, PdmHeight, PdmWidthMM, PdmHeightMM,
  PdmNumColors, PdmDepth, PdmDpiX, PdmDpiY,
  PdmPhysicalDpiX, PdmPhysicalDpiY
}
 
- Static Public Functions inherited from QGLPaintDevice
static QGLPaintDevicegetDevice (QPaintDevice *)
 
- Static Public Functions inherited from QPaintDevice
static QWSDisplayqwsDisplay ()
 
- Protected Functions inherited from QGLPaintDevice
int metric (QPaintDevice::PaintDeviceMetric metric) const
 
- Protected Functions inherited from QPaintDevice
 QPaintDevice ()
 
- Protected Variables inherited from QGLPaintDevice
GLuint m_previousFBO
 
GLuint m_thisFBO
 
- Protected Variables inherited from QPaintDevice
ushort painters
 

Detailed Description

Definition at line 138 of file qglpixelbuffer_p.h.

Functions

◆ context()

QGLContext * QGLPBufferGLPaintDevice::context ( ) const
virtual

Implements QGLPaintDevice.

Definition at line 122 of file qglpixelbuffer.cpp.

123 {
124  return pbuf->d_func()->qctx;
125 }

◆ endPaint()

void QGLPBufferGLPaintDevice::endPaint ( )
virtual

Reimplemented from QGLPaintDevice.

Definition at line 127 of file qglpixelbuffer.cpp.

127  {
128  glFlush();
130 }
virtual void endPaint()

◆ paintEngine()

virtual QPaintEngine* QGLPBufferGLPaintDevice::paintEngine ( ) const
inlinevirtual

Implements QPaintDevice.

Definition at line 141 of file qglpixelbuffer_p.h.

141 {return pbuf->paintEngine();}
QPaintEngine * paintEngine() const
Reimplemented Function

◆ setPBuffer()

void QGLPBufferGLPaintDevice::setPBuffer ( QGLPixelBuffer pb)

Definition at line 132 of file qglpixelbuffer.cpp.

133 {
134  pbuf = pb;
135 }

◆ size()

virtual QSize QGLPBufferGLPaintDevice::size ( ) const
inlinevirtual

Implements QGLPaintDevice.

Definition at line 142 of file qglpixelbuffer_p.h.

Referenced by QGLPixelBufferPrivate::common_init().

142 {return pbuf->size();}
QSize size() const
Returns the size of the pbuffer.

Properties

◆ pbuf

QGLPixelBuffer* QGLPBufferGLPaintDevice::pbuf
private

Definition at line 147 of file qglpixelbuffer_p.h.

Referenced by QGLPixelBufferPrivate::common_init(), context(), and setPBuffer().


The documentation for this class was generated from the following files: