summaryrefslogtreecommitdiff
path: root/benchmark
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2016-10-21 16:41:32 +0300
committerBruno de Oliveira Abinader <bruno@mapbox.com>2016-10-25 08:12:31 +0300
commite55065e62a2e3b1707ac8ffa09e6b08b928e07c1 (patch)
tree070576ec71b353afaf7d8580cf5c69c9dbcf96a7 /benchmark
parentfc6344c5461c15956f425e39ee6c11dba638f46b (diff)
downloadqtlocation-mapboxgl-e55065e62a2e3b1707ac8ffa09e6b08b928e07c1.tar.gz
[core] Reuse last placement data in CollisionTile::queryRenderedFeatures
To obtain precise results, we: 1. Round scale value to obtain same results from symbol shader. 2. Generate a boost geometry polygon to check if it intersects() against all feature boxes. 3. Check if current scale is within each feature's minimum and maximum placement scales. 4. De-scale feature boxes when intersecting to account for the fractional zoom scaling.
Diffstat (limited to 'benchmark')
-rw-r--r--benchmark/fixtures/api/cache.dbbin405504 -> 405504 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/benchmark/fixtures/api/cache.db b/benchmark/fixtures/api/cache.db
index 102c4074ef..a62a3b0f00 100644
--- a/benchmark/fixtures/api/cache.db
+++ b/benchmark/fixtures/api/cache.db
Binary files differ