summaryrefslogtreecommitdiffstats
path: root/src/openvg/qvgcompositionhelper_p.h
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-11-25 04:13:51 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-11-25 04:13:51 (GMT)
commit5b5c098bda20cab7825207640cc69230c1864586 (patch)
treeade0f2de0b9da54f7899dc67ad7f1a18f6d3686f /src/openvg/qvgcompositionhelper_p.h
parent410ed81027232e669bf6a28699fa833e56a27ef7 (diff)
downloadQt-5b5c098bda20cab7825207640cc69230c1864586.zip
Qt-5b5c098bda20cab7825207640cc69230c1864586.tar.gz
Qt-5b5c098bda20cab7825207640cc69230c1864586.tar.bz2
Make QVGCompositionHelper::blitWindow() more generic
Previously, the composition helper would use the VG window surface private structure to get the VGImage to blit. This change passes the VGImage and size values in directly so that the composition helper can also be used to blit GL surfaces that have been converted into a VGImage via an EGLImage. Reviewed-by: Tom Cooksey
Diffstat (limited to 'src/openvg/qvgcompositionhelper_p.h')
-rw-r--r--src/openvg/qvgcompositionhelper_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openvg/qvgcompositionhelper_p.h b/src/openvg/qvgcompositionhelper_p.h
index 3afe31e..ed24e73 100644
--- a/src/openvg/qvgcompositionhelper_p.h
+++ b/src/openvg/qvgcompositionhelper_p.h
@@ -71,8 +71,8 @@ public:
void startCompositing(const QSize& screenSize);
void endCompositing();
- void blitWindow(QVGEGLWindowSurfacePrivate *surface, const QRect& rect,
- const QPoint& topLeft, int opacity);
+ void blitWindow(VGImage image, const QSize& imageSize,
+ const QRect& rect, const QPoint& topLeft, int opacity);
void fillBackground(const QRegion& region, const QBrush& brush);
void drawCursorPixmap(const QPixmap& pixmap, const QPoint& offset);
void setScissor(const QRegion& region);