diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-10-21 16:41:32 +0300 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-10-25 08:12:31 +0300 |
commit | e55065e62a2e3b1707ac8ffa09e6b08b928e07c1 (patch) | |
tree | 070576ec71b353afaf7d8580cf5c69c9dbcf96a7 /benchmark | |
parent | fc6344c5461c15956f425e39ee6c11dba638f46b (diff) | |
download | qtlocation-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.db | bin | 405504 -> 405504 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/benchmark/fixtures/api/cache.db b/benchmark/fixtures/api/cache.db Binary files differindex 102c4074ef..a62a3b0f00 100644 --- a/benchmark/fixtures/api/cache.db +++ b/benchmark/fixtures/api/cache.db |