summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/minimalegl/qminimaleglwindow.cpp
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2012-05-29 16:18:02 +0200
committerQt by Nokia <qt-info@nokia.com>2012-05-30 08:30:42 +0200
commit9e424adbdddc172ed63ee22995ba4bcc56bef0ce (patch)
tree0c7628dc4ce82df1c36e16a4208342875dbbef00 /src/plugins/platforms/minimalegl/qminimaleglwindow.cpp
parent56fca8ce14c525b7db449e3186c772f1371b3606 (diff)
directfb: Allow a window subclass to allocate a different kind of surface
A subclass of QDirectFbWindow might need to allocate a window with different surface flags. This is the case for the DirectFB EGL plugin and QSurface::OpenGLSurface type of surfaces. Add createDirectFBWindow, make it virtual and call it from the platform integration classes. Add an assert to verify that this method is only called once. Remove the pre DirectFb 1.1 code as it was never really tested. Change-Id: Icf3d262f40bca70e376043935eeb292958f6df5d Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
Diffstat (limited to 'src/plugins/platforms/minimalegl/qminimaleglwindow.cpp')
0 files changed, 0 insertions, 0 deletions