summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/eglfs/qeglfswindow.h
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>2013-04-12 15:07:12 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-04-15 15:32:40 +0200
commit2b4dff8dc180db0d96904b8ebfe109b2698999a5 (patch)
tree7a14129e9c8ba5aa73bbf23353ab1be74fad377f /src/plugins/platforms/eglfs/qeglfswindow.h
parentc1ac77b34c20be797502551a9c57f7b4b2d20aae (diff)
Make surface and window accessible to subclasses
We need to access these in the Android plugin. Change-Id: I8c7f279bbe0b7087260cceb1f965c833c0097984 Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
Diffstat (limited to 'src/plugins/platforms/eglfs/qeglfswindow.h')
-rw-r--r--src/plugins/platforms/eglfs/qeglfswindow.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/platforms/eglfs/qeglfswindow.h b/src/plugins/platforms/eglfs/qeglfswindow.h
index a351b4a6f4..67a64973ce 100644
--- a/src/plugins/platforms/eglfs/qeglfswindow.h
+++ b/src/plugins/platforms/eglfs/qeglfswindow.h
@@ -68,10 +68,12 @@ public:
virtual void invalidateSurface();
virtual void resetSurface();
-private:
- WId m_winid;
+protected:
EGLSurface m_surface;
EGLNativeWindowType m_window;
+
+private:
+ WId m_winid;
EGLConfig m_config;
QSurfaceFormat m_format;
};