Qt 4.8
Public Functions | Properties | List of all members
QEglFSPaintDevice Class Reference
Inheritance diagram for QEglFSPaintDevice:
QGLPaintDevice QPaintDevice

Public Functions

void beginPaint ()
 
QGLContextcontext () const
 
QPaintEnginepaintEngine () const
 
 QEglFSPaintDevice (QEglFSScreen *screen, QWidget *widget)
 
QSize size () const
 
- Public Functions inherited from QGLPaintDevice
virtual bool alphaRequested () const
 
int devType () const
 
virtual void endPaint ()
 
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

QGLContextm_context
 
QEglFSScreenm_screen
 

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 51 of file qeglfswindowsurface.cpp.

Constructors and Destructors

◆ QEglFSPaintDevice()

QEglFSPaintDevice::QEglFSPaintDevice ( QEglFSScreen screen,
QWidget widget 
)
inline

Definition at line 54 of file qeglfswindowsurface.cpp.

55  :QGLPaintDevice(), m_screen(screen)
56  {
57  #ifdef QEGL_EXTRA_DEBUG
58  qWarning("QEglPaintDevice %p, %p, %p",this, screen, widget);
59  #endif
60  }
Q_CORE_EXPORT void qWarning(const char *,...)

Functions

◆ beginPaint()

void QEglFSPaintDevice::beginPaint ( )
inlinevirtual

Reimplemented from QGLPaintDevice.

Definition at line 67 of file qeglfswindowsurface.cpp.

67  {
69  }
virtual void beginPaint()

◆ context()

QGLContext* QEglFSPaintDevice::context ( ) const
inlinevirtual

Implements QGLPaintDevice.

Definition at line 63 of file qeglfswindowsurface.cpp.

63 { return QGLContext::fromPlatformGLContext(m_screen->platformContext());}
QPlatformGLContext * platformContext() const

◆ paintEngine()

QPaintEngine* QEglFSPaintDevice::paintEngine ( ) const
inlinevirtual

Implements QPaintDevice.

Definition at line 65 of file qeglfswindowsurface.cpp.

65 { return qt_qgl_paint_engine(); }
Q_OPENGL_EXPORT QPaintEngine * qt_qgl_paint_engine()
Definition: qgl.cpp:5530

◆ size()

QSize QEglFSPaintDevice::size ( ) const
inlinevirtual

Implements QGLPaintDevice.

Definition at line 62 of file qeglfswindowsurface.cpp.

62 { return m_screen->geometry().size(); }
QSize size() const
Returns the size of the rectangle.
Definition: qrect.h:309
QRect geometry() const
Reimplement in subclass to return the pixel geometry of the screen.

Properties

◆ m_context

QGLContext* QEglFSPaintDevice::m_context
private

Definition at line 72 of file qeglfswindowsurface.cpp.

◆ m_screen

QEglFSScreen* QEglFSPaintDevice::m_screen
private

Definition at line 71 of file qeglfswindowsurface.cpp.

Referenced by context(), and size().


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