summaryrefslogtreecommitdiffstats
path: root/src/opengl/qglpaintdevice_p.h
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2011-01-18 14:15:05 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2011-01-26 13:16:07 (GMT)
commitd39662822785484ec8e76066f4f2b65ef8778b40 (patch)
tree386321f3303d22c9330edce8211a936f36d9d62e /src/opengl/qglpaintdevice_p.h
parentaf15d5e128c1216bafa4f9d0121bb4178354e35e (diff)
downloadQt-d39662822785484ec8e76066f4f2b65ef8778b40.zip
Qt-d39662822785484ec8e76066f4f2b65ef8778b40.tar.gz
Qt-d39662822785484ec8e76066f4f2b65ef8778b40.tar.bz2
Make it possible to vertically mirror gl painting
The GLPaintDevice gets a flip property. If this is set, the pvr matrix is altered to paint "upside down" Reviewed-by: sroedal
Diffstat (limited to 'src/opengl/qglpaintdevice_p.h')
-rw-r--r--src/opengl/qglpaintdevice_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/opengl/qglpaintdevice_p.h b/src/opengl/qglpaintdevice_p.h
index 04f9c3c..39b91c9 100644
--- a/src/opengl/qglpaintdevice_p.h
+++ b/src/opengl/qglpaintdevice_p.h
@@ -76,6 +76,7 @@ public:
virtual QGLFormat format() const;
virtual QSize size() const = 0;
virtual bool alphaRequested() const;
+ virtual bool isFlipped() const;
// returns the QGLPaintDevice for the given QPaintDevice
static QGLPaintDevice* getDevice(QPaintDevice*);