summaryrefslogtreecommitdiffstats
path: root/src/openvg/qwindowsurface_vgegl_p.h
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-10-28 22:03:27 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-10-28 22:03:27 (GMT)
commit9fbece67bacee0f88261c3cd07c443fdf6385f81 (patch)
tree72612ac5a47bbaa52ff7c215e046cc0386cbbfa9 /src/openvg/qwindowsurface_vgegl_p.h
parentd9b009bfed86ac273da4fc589daa34d852437254 (diff)
downloadQt-9fbece67bacee0f88261c3cd07c443fdf6385f81.zip
Qt-9fbece67bacee0f88261c3cd07c443fdf6385f81.tar.gz
Qt-9fbece67bacee0f88261c3cd07c443fdf6385f81.tar.bz2
Remove QVGEGLWindowSurfaceQImage from QtOpenVG
Rendering into a QImage as a window backing store isn't very efficient and isn't needed by any of our current platforms. If a specific graphics system needs it in the future, it can implement it directly. Reviewed-by: trustme
Diffstat (limited to 'src/openvg/qwindowsurface_vgegl_p.h')
-rw-r--r--src/openvg/qwindowsurface_vgegl_p.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/openvg/qwindowsurface_vgegl_p.h b/src/openvg/qwindowsurface_vgegl_p.h
index fa36b94..7fa60ea 100644
--- a/src/openvg/qwindowsurface_vgegl_p.h
+++ b/src/openvg/qwindowsurface_vgegl_p.h
@@ -70,16 +70,6 @@ public:
QVGEGLWindowSurfacePrivate(QWindowSurface *win);
virtual ~QVGEGLWindowSurfacePrivate();
- enum SurfaceType
- {
- WindowSurface,
- VGImageSurface,
- QImageSurface
- };
-
- static QVGEGLWindowSurfacePrivate *create
- (SurfaceType type, QWindowSurface *win);
-
QVGPaintEngine *paintEngine();
virtual QEglContext *ensureContext(QWidget *widget) = 0;
virtual void beginPaint(QWidget *widget) = 0;
@@ -126,15 +116,6 @@ protected:
EGLSurface mainSurface() const;
};
-class Q_OPENVG_EXPORT QVGEGLWindowSurfaceQImage : public QVGEGLWindowSurfaceVGImage
-{
-public:
- QVGEGLWindowSurfaceQImage(QWindowSurface *win);
- virtual ~QVGEGLWindowSurfaceQImage();
-
- void endPaint(QWidget *widget, const QRegion& region, QImage *image);
-};
-
#endif // EGL_OPENVG_IMAGE
class Q_OPENVG_EXPORT QVGEGLWindowSurfaceDirect : public QVGEGLWindowSurfacePrivate