aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickshadereffectsource.cpp
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2012-07-18 13:53:40 +1000
committerQt by Nokia <qt-info@nokia.com>2012-08-28 01:51:19 +0200
commit3912bbaceab166eb116447311eb16453e4f26edf (patch)
treeb44561b4fbded41d7011e79c3d9a5411a1de438c /src/quick/items/qquickshadereffectsource.cpp
parentc2f2ae8ce90e621cc3835428c40c116fbdc593e6 (diff)
Update usage of smooth and antialiasing.
Change-Id: Icc8b28bdd466389ed3f269f076f1bdb6e9abe3f2 Reviewed-by: Yunqiao Yin <charles.yin@nokia.com> Reviewed-by: Bea Lam <bea.lam@nokia.com>
Diffstat (limited to 'src/quick/items/qquickshadereffectsource.cpp')
-rw-r--r--src/quick/items/qquickshadereffectsource.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/quick/items/qquickshadereffectsource.cpp b/src/quick/items/qquickshadereffectsource.cpp
index d2a1ad2590..65a6cdc3fe 100644
--- a/src/quick/items/qquickshadereffectsource.cpp
+++ b/src/quick/items/qquickshadereffectsource.cpp
@@ -531,8 +531,9 @@ QImage QQuickShaderEffectTexture::toImage() const
which is the case for most embedded graphics chips, edges rendered
inside a ShaderEffectSource will not be antialiased. One way to remedy
this is to double the size of the effect source and render it with
- \c {smooth: true}. This will be equivalent to 4x multisampling, at
- the cost of lower performance and higher memory use.
+ \c {smooth: true} (this is the default value of smooth).
+ This will be equivalent to 4x multisampling, at the cost of lower performance
+ and higher memory use.
\warning In most cases, using a ShaderEffectSource will decrease
performance, and in all cases, it will increase video memory usage.