summaryrefslogtreecommitdiff
path: root/src/src.pro
diff options
context:
space:
mode:
authorAlex Wilson <alex.wilson@nokia.com>2012-05-10 19:52:26 +1000
committerQt by Nokia <qt-info@nokia.com>2012-05-24 08:30:36 +0200
commit86549ae5135f2efa9ceb0689b88004ede5269668 (patch)
treee7c1e2ff9224c268f2404281376776b58b6b9d72 /src/src.pro
parent67deb6303b4c489914087a93bdc9bb4ba028350d (diff)
downloadqtlocation-86549ae5135f2efa9ceb0689b88004ede5269668.tar.gz
New triangulator for map polygons
Replacing the qTriangulate call with poly2tri. This is a BSD-licensed triangulation library that gives better performance for most of our shapes. See http://pastie.org/3893553 for a timing comparison on linux-x86 (timing is given for the whole screen transformation step) The BSD-licensed code is isolated into its own dir (in src/3rdparty) and compiled as a separate static library to be linked in. The files have been renamed (.cc => .cpp) and doubles changed to floats, but are otherwise identical to those found at http://code.google.com/p/poly2tri/ Change-Id: Ib07aadafdc5d4b8ac1024e1eecd70ab39f673197 Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
Diffstat (limited to 'src/src.pro')
-rw-r--r--src/src.pro4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/src.pro b/src/src.pro
index 3b54b67b..2a616cc8 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -1,4 +1,4 @@
TEMPLATE = subdirs
-CONFIG+=ordered
-SUBDIRS += location plugins imports
+CONFIG += ordered
+SUBDIRS += 3rdparty location plugins imports