Added PerformanceHints flags to QSGPaintedItem.
authorYoann Lopes <yoann.lopes@nokia.com>
Fri, 9 Sep 2011 11:00:58 +0000 (13:00 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 20 Sep 2011 05:22:35 +0000 (07:22 +0200)
commit4bca5b2ff803f4d09350e2d251c90e3b9d60f350
treecc73c3844d022f9a6fb3c8e68959cf00de342735
parent4588034490d53759a9b6cf2e225113b4035e9dfa
Added PerformanceHints flags to QSGPaintedItem.

At the moment only contains FastFBOResizing.
If this flag is set to true and when using a FBO as render target,
the FBO will use a larger texture than the size of the item to avoid
too many resizing.

Change-Id: I3b8a51a5a07329ff3ed010a35dc8235913201a8e
Reviewed-on: http://codereview.qt-project.org/4651
Reviewed-by: Yoann Lopes <yoann.lopes@nokia.com>
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
src/declarative/items/qsgpainteditem.cpp
src/declarative/items/qsgpainteditem.h
src/declarative/items/qsgpainteditem_p.h
src/declarative/scenegraph/util/qsgpainternode.cpp
src/declarative/scenegraph/util/qsgpainternode_p.h