42 #ifndef QWINDOWSURFACE_VGEGL_P_H 43 #define QWINDOWSURFACE_VGEGL_P_H 56 #include <QtGui/private/qwindowsurface_p.h> 59 #if !defined(QT_NO_EGL) 61 #include <QtGui/private/qeglcontext_p.h> 75 virtual void beginPaint(
QWidget *widget) = 0;
78 virtual VGImage surfaceImage()
const;
79 virtual QSize surfaceSize()
const = 0;
87 void destroyPaintEngine();
91 #if defined(EGL_OPENVG_IMAGE) && !defined(QVG_NO_SINGLE_CONTEXT) 93 #define QVG_VGIMAGE_BACKBUFFERS 1 99 virtual ~QVGEGLWindowSurfaceVGImage();
110 EGLSurface backBufferSurface;
111 bool recreateBackBuffer;
112 bool isPaintingActive;
114 EGLSurface windowSurface;
116 EGLSurface mainSurface()
const;
119 #endif // EGL_OPENVG_IMAGE 146 #endif // QWINDOWSURFACE_VGEGL_P_H
#define QT_END_NAMESPACE
This macro expands to.
QPointer< QWidget > widget
virtual bool scroll(QWidget *, const QRegion &, int, int)
virtual QSize surfaceSize() const =0
virtual QEglContext * ensureContext(QWidget *widget)=0
virtual void endPaint(QWidget *widget, const QRegion ®ion, QImage *image=0)=0
QWindowSurface * winSurface
#define QT_BEGIN_NAMESPACE
This macro expands to.
virtual VGImage surfaceImage() const
The QImage class provides a hardware-independent image representation that allows direct access to th...
The QRegion class specifies a clip region for a painter.
The QWindowSurface class provides the drawing area for top-level windows.
QSize surfaceSize() const
The QSize class defines the size of a two-dimensional object using integer point precision.
virtual void beginPaint(QWidget *widget)=0
virtual bool supportsStaticContents() const
static int area(const QSize &s)