diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2014-08-08 10:32:53 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2014-08-08 20:05:47 +0200 |
commit | ed3530bdee2b4cce4855f9196c7dcf492b1eed5c (patch) | |
tree | 5011e485fdf0c9c2e652ed6e9ad96312cee36336 /src/quick/scenegraph/qsgrenderloop_p.h | |
parent | d239b72fcf0ecd361b24024ed303dfd874e605f2 (diff) |
Make the QtQuick window surface type configurable
The default remains OpenGLSurface.
Change-Id: I96b400b7aa9c2b0435ea0614598e1b1f32b6d6b2
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/quick/scenegraph/qsgrenderloop_p.h')
-rw-r--r-- | src/quick/scenegraph/qsgrenderloop_p.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/quick/scenegraph/qsgrenderloop_p.h b/src/quick/scenegraph/qsgrenderloop_p.h index 8d5312b188..b398a64234 100644 --- a/src/quick/scenegraph/qsgrenderloop_p.h +++ b/src/quick/scenegraph/qsgrenderloop_p.h @@ -43,6 +43,7 @@ #define QSGRenderLoop_P_H #include <QtGui/QImage> +#include <QtGui/QSurface> #include <private/qtquickglobal_p.h> #include <QtCore/QSet> @@ -83,6 +84,8 @@ public: void removeWindow(QQuickWindow *win) { m_windows.remove(win); } QSet<QQuickWindow *> windows() const { return m_windows; } + virtual QSurface::SurfaceType windowSurfaceType() const; + // ### make this less of a singleton static QSGRenderLoop *instance(); static void setInstance(QSGRenderLoop *instance); |