aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmlimportscanner
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2017-08-30 11:10:08 +0200
committerLaszlo Agocs <laszlo.agocs@qt.io>2017-09-04 11:00:14 +0000
commitac080cda6d9391663f882a4317be78ad89986ee2 (patch)
treed6f8dc1a91b240ea03f36f3137cdb55486083d4c /tools/qmlimportscanner
parentd031e8f7b51a28a9c609f40a6245657f303277f2 (diff)
Make releaseResources() free the renderer's shader cache
Normally all shader programs from materials are cached in a simple table that is alive as long as the renderer exists, in practice this means being tied to the QQuickWindow which is often the entire lifetime of an application. Use releaseResources(), which is mostly a no-op on the scenegraph level at the moment, to free this cache. Task-number: QTBUG-62392 Change-Id: I279e595874fee1ab4fe0dede0843a3686dea5806 Reviewed-by: Gunnar Sletta <gunnar@crimson.no>
Diffstat (limited to 'tools/qmlimportscanner')
0 files changed, 0 insertions, 0 deletions