42 #ifndef QWAYLANDDRMSURFACE_H 43 #define QWAYLANDDRMSURFACE_H 47 #include <QtGui/private/qwindowsurface_p.h> 69 #endif // QWAYLANDDRMSURFACE_H ~QWaylandGLWindowSurface()
QPointer< QWidget > widget
The QGLFramebufferObject class encapsulates an OpenGL framebuffer object.
void flush(QWidget *widget, const QRegion ®ion, const QPoint &offset)
Flushes the given region from the specified widget onto the screen.
void beginPaint(const QRegion &)
This function is called before painting onto the surface begins, with the region in which the paintin...
virtual QPoint offset(const QWidget *widget) const
Returns the offset of widget in the coordinates of this window surface.
QWaylandGLWindowSurface(QWidget *window)
void resize(const QSize &size)
QGLFramebufferObject * mPaintDevice
The QRegion class specifies a clip region for a painter.
The QWindowSurface class provides the drawing area for top-level windows.
The QPoint class defines a point in the plane using integer precision.
The QSize class defines the size of a two-dimensional object using integer point precision.
QWaylandDisplay * mDisplay
QWidget * window() const
Returns a pointer to the top-level window associated with this surface.
QPaintDevice * paintDevice()
Implement this function to return the appropriate paint device.