summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gui/painting/qgraphicssystemhelper_symbian.cpp11
-rw-r--r--src/gui/painting/qgraphicssystemhelper_symbian.h2
-rw-r--r--src/s60installs/bwins/QtGuiu.def1
-rw-r--r--src/s60installs/eabi/QtGuiu.def1
4 files changed, 15 insertions, 0 deletions
diff --git a/src/gui/painting/qgraphicssystemhelper_symbian.cpp b/src/gui/painting/qgraphicssystemhelper_symbian.cpp
index 491d219cd..d3eac1e 100644
--- a/src/gui/painting/qgraphicssystemhelper_symbian.cpp
+++ b/src/gui/painting/qgraphicssystemhelper_symbian.cpp
@@ -39,6 +39,9 @@
**
****************************************************************************/
+#include "qapplication_p.h"
+#include "qgraphicssystem_p.h"
+#include "qgraphicssystemex_symbian_p.h"
#include "qgraphicssystemhelper_symbian.h"
#include "qt_s60_p.h"
#include "qwidget_p.h"
@@ -138,4 +141,12 @@ void QSymbianGraphicsSystemHelper::setReceiveNativePaintEvents(QWidget *widget,
widgetPrivate->extraData()->receiveNativePaintEvents = value;
}
+void QSymbianGraphicsSystemHelper::releaseCachedGpuResources()
+{
+ QSymbianGraphicsSystemEx *ex = static_cast<QSymbianGraphicsSystemEx *>(
+ QApplicationPrivate::graphicsSystem()->platformExtension());
+ if (ex)
+ ex->releaseCachedGpuResources();
+}
+
QT_END_NAMESPACE
diff --git a/src/gui/painting/qgraphicssystemhelper_symbian.h b/src/gui/painting/qgraphicssystemhelper_symbian.h
index bffa93f..e058680 100644
--- a/src/gui/painting/qgraphicssystemhelper_symbian.h
+++ b/src/gui/painting/qgraphicssystemhelper_symbian.h
@@ -72,6 +72,8 @@ public:
static void setNativePaintMode(QWidget *widget, NativePaintMode mode);
static void setNativePaintMode(WId wid, NativePaintMode mode);
static void setReceiveNativePaintEvents(QWidget *widget, bool value);
+
+ static void releaseCachedGpuResources();
};
QT_END_NAMESPACE
diff --git a/src/s60installs/bwins/QtGuiu.def b/src/s60installs/bwins/QtGuiu.def
index 809b10e..e0e2939 100644
--- a/src/s60installs/bwins/QtGuiu.def
+++ b/src/s60installs/bwins/QtGuiu.def
@@ -13998,4 +13998,5 @@ EXPORTS
?setNativePaintMode@QSymbianGraphicsSystemHelper@@SAXPAVCCoeControl@@W4NativePaintMode@1@@Z @ 13997 NONAME ; void QSymbianGraphicsSystemHelper::setNativePaintMode(class CCoeControl *, enum QSymbianGraphicsSystemHelper::NativePaintMode)
?setIgnoreFocusChanged@QSymbianGraphicsSystemHelper@@SAXPAVQWidget@@_N@Z @ 13998 NONAME ; void QSymbianGraphicsSystemHelper::setIgnoreFocusChanged(class QWidget *, bool)
?inputContextBeingCreated@QApplicationPrivate@@2_NA @ 13999 NONAME ; bool QApplicationPrivate::inputContextBeingCreated
+ ?releaseCachedGpuResources@QSymbianGraphicsSystemHelper@@SAXXZ @ 14000 NONAME ; void QSymbianGraphicsSystemHelper::releaseCachedGpuResources(void)
diff --git a/src/s60installs/eabi/QtGuiu.def b/src/s60installs/eabi/QtGuiu.def
index 2789291..508ea87 100644
--- a/src/s60installs/eabi/QtGuiu.def
+++ b/src/s60installs/eabi/QtGuiu.def
@@ -12811,4 +12811,5 @@ EXPORTS
_ZNK16QTreeViewPrivate18calcLogicalIndicesEP7QVectorIiEPS0_IN22QStyleOptionViewItemV416ViewItemPositionEE @ 12810 NONAME
_ZNK16QTreeViewPrivate25adjustViewOptionsForIndexEP22QStyleOptionViewItemV4RK11QModelIndex @ 12811 NONAME
_ZN19QApplicationPrivate24inputContextBeingCreatedE @ 12812 NONAME DATA 1
+ _ZN28QSymbianGraphicsSystemHelper25releaseCachedGpuResourcesEv @ 12813 NONAME