summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qgraphicssystem.cpp
diff options
context:
space:
mode:
authorJani Hautakangas <jani.hautakangas@nokia.com>2011-02-28 20:48:12 (GMT)
committerJani Hautakangas <jani.hautakangas@nokia.com>2011-03-01 06:14:16 (GMT)
commit4e464f42d5933dcc8535f978e25eeb7fd8a57284 (patch)
treeea7c623055e2aa67be15f7f2df9db13fe9ff634d /src/gui/painting/qgraphicssystem.cpp
parentae6bc1d824f5ae24a259be0c68241873cb96739f (diff)
downloadQt-4e464f42d5933dcc8535f978e25eeb7fd8a57284.zip
Qt-4e464f42d5933dcc8535f978e25eeb7fd8a57284.tar.gz
Qt-4e464f42d5933dcc8535f978e25eeb7fd8a57284.tar.bz2
Add internal function for releasing cached GPU resources.
Task-number: QTBUG-17849 Reviewed-by: Samuel Rødal
Diffstat (limited to 'src/gui/painting/qgraphicssystem.cpp')
-rw-r--r--src/gui/painting/qgraphicssystem.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/painting/qgraphicssystem.cpp b/src/gui/painting/qgraphicssystem.cpp
index 770d947..5112019 100644
--- a/src/gui/painting/qgraphicssystem.cpp
+++ b/src/gui/painting/qgraphicssystem.cpp
@@ -84,4 +84,9 @@ QPixmapData *QGraphicsSystem::createPixmapData(QPixmapData *origin)
return createPixmapData(origin->pixelType());
}
+void QGraphicsSystem::releaseCachedResources()
+{
+ // Do nothing here
+}
+
QT_END_NAMESPACE