aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/qsgdefaultdistancefieldglyphcache.cpp
diff options
context:
space:
mode:
authorAndrew den Exter <andrew.den-exter@nokia.com>2012-04-20 15:52:41 +1000
committerQt by Nokia <qt-info@nokia.com>2012-04-23 09:52:33 +0200
commitb50aa539e854f1a10c5f012a448ab6977c3fc9ac (patch)
treeb1a8526c6c621edd76d94870f2c4e6734c7ba71f /src/quick/scenegraph/qsgdefaultdistancefieldglyphcache.cpp
parenta0adcc6480bce8ca4f91afc792176d313f92ecee (diff)
Reduce memory usage of QQuickPath for simple paths.
For a single segment line path we can get correct results by interpolating across just two points, so there no need to allocate the comparatively large point cache required for more complex paths. This also correct a normally small interpolation error caused by including the terminal point in the number of intervals. Change-Id: I564c3c012b6822831251276951603fca8544a356 Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
Diffstat (limited to 'src/quick/scenegraph/qsgdefaultdistancefieldglyphcache.cpp')
0 files changed, 0 insertions, 0 deletions