Change antialiasing method for QML2.
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>
Fri, 29 Jun 2012 15:14:10 +0000 (17:14 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 13 Jul 2012 09:25:25 +0000 (11:25 +0200)
commitd83eb21fb296b73bd111d907dfb9ecde373b9bb3
treefbe6b8be85e5a52094a310a72fe5575b7e4131ee
parent60a13ee3fd021080d92a11b3456602103ad61a79
Change antialiasing method for QML2.

Since multisampling can require a lot of memory, and might not
be supported on some hardware, turn off multisampling and
implement antialiasing in the vertex shader instead. The
alternative method of antialiasing is implemented for Rectangle,
Image, BorderImage and AnimatedImage, and must be explicitly
enabled by setting the new antialiasing property.

Task-number: QTBUG-26268
Change-Id: I39a93d978658a494bf51e9f0fd02d8414eb8be12
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
19 files changed:
src/quick/items/items.pri
src/quick/items/qquickborderimage.cpp
src/quick/items/qquickimage.cpp
src/quick/items/qquickitem.cpp
src/quick/items/qquickitem.h
src/quick/items/qquickitem_p.h
src/quick/items/qquickninepatchnode.cpp [deleted file]
src/quick/items/qquickninepatchnode_p.h [deleted file]
src/quick/items/qquickrectangle.cpp
src/quick/items/qquickshadereffectsource.cpp
src/quick/scenegraph/coreapi/qsgmaterial.h
src/quick/scenegraph/qsgadaptationlayer_p.h
src/quick/scenegraph/qsgcontext.cpp
src/quick/scenegraph/qsgdefaultimagenode.cpp
src/quick/scenegraph/qsgdefaultimagenode_p.h
src/quick/scenegraph/qsgdefaultrectanglenode.cpp
src/quick/scenegraph/qsgdefaultrectanglenode_p.h
src/quick/scenegraph/util/qsgtexturematerial.cpp
src/quick/scenegraph/util/qsgtexturematerial_p.h