44 #include <QtGui/QPlatformGLContext> 46 #include <QtOpenGL/private/qgl_p.h> 47 #include <QtOpenGL/private/qglpaintdevice_p.h> 57 #ifdef QEGL_EXTRA_DEBUG 58 qWarning(
"QEglPaintDevice %p, %p, %p",
this, screen, widget);
79 #ifdef QEGL_EXTRA_DEBUG 80 qWarning(
"QEglWindowSurface %p, %p", window, screen);
90 #ifdef QEGL_EXTRA_DEBUG 91 qWarning(
"QEglWindowSurface::flush %p",widget);
93 widget->platformWindow()->glContext()->swapBuffers();
#define QT_END_NAMESPACE
This macro expands to.
QGLContext * context() const
QPointer< QWidget > widget
virtual QPoint offset(const QWidget *widget) const
Returns the offset of widget in the coordinates of this window surface.
void flush(QWidget *widget, const QRegion ®ion, const QPoint &offset)
Flushes the given region from the specified widget onto the screen.
QEglFSWindowSurface(QEglFSScreen *screen, QWidget *window)
QPaintEngine * paintEngine() const
QPaintDevice * m_paintDevice
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QGLContext class encapsulates an OpenGL rendering context.
QSize size() const
Returns the size of the rectangle.
Q_CORE_EXPORT void qWarning(const char *,...)
The QRegion class specifies a clip region for a painter.
The QPaintEngine class provides an abstract definition of how QPainter draws to a given device on a g...
Q_OPENGL_EXPORT QPaintEngine * qt_qgl_paint_engine()
The QWindowSurface class provides the drawing area for top-level windows.
virtual void beginPaint()
The QPoint class defines a point in the plane using integer precision.
QPlatformGLContext * platformContext() const
QRect geometry() const
Reimplement in subclass to return the pixel geometry of the screen.
The QSize class defines the size of a two-dimensional object using integer point precision.
void resize(const QSize &size)
QEglFSPaintDevice(QEglFSScreen *screen, QWidget *widget)
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...