Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] Remove dead code | Chris Loer | 2017-11-17 | 1 | -267/+0 |
| | | | | | | - CollisionTile - FrameHistory - PlacementConfig | ||||
* | [core] fix undefined behavior for division through 0 | Konstantin Käfer | 2017-07-17 | 1 | -9/+16 |
| | |||||
* | [core] port pitch-label collision hack | Ansis Brammanis | 2017-07-11 | 1 | -12/+17 |
| | | | | https://github.com/mapbox/mapbox-gl-js/pull/4781/commits/81363951ed56c54f331ffc8d88e4e5079226a224 | ||||
* | [core] Improved label pitch-scaling: approximate collision box shapes based ↵ | Chris Loer | 2017-07-11 | 1 | -15/+35 |
| | | | | on tile distance from camera. | ||||
* | [core] Replace FeatureIndex::collisionTile with a method parameter | John Firebaugh | 2017-01-10 | 1 | -1/+1 |
| | | | | This reduces state and simplifies the test added in the prior commit. | ||||
* | [core] Moved util::log2 to its own header | Bruno de Oliveira Abinader | 2016-10-31 | 1 | -0/+1 |
| | | | | | | - Added util::{MIN,MAX}_ZOOM_F to avoid consecutive conversions from double to float - Move util::log2 to its own header (part of mbgl/math) | ||||
* | [core] Reuse last placement data in CollisionTile::queryRenderedFeatures | Bruno de Oliveira Abinader | 2016-10-25 | 1 | -32/+68 |
| | | | | | | | | | | | 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. | ||||
* | [core] Simplify CollisionTile::findPlacementScale | Bruno de Oliveira Abinader | 2016-10-25 | 1 | -7/+5 |
| | | | | | | Improve findPlacementScale semantics by moving the check if the placement scale result is bigger than minimum scale out of the function scope. | ||||
* | [core] Avoid duplicating edges for CollisionTile | Bruno de Oliveira Abinader | 2016-10-25 | 1 | -22/+16 |
| | | | | | Make 'edges' static to avoid every instance of CollisionTile having its own copy of it. | ||||
* | [core] Cleanup function signatures in CollisionTile | Bruno de Oliveira Abinader | 2016-10-25 | 1 | -4/+4 |
| | | | | | - Prefer pass-by-value for primitive types. - Use floating point precision for yStretch to match receiving type. | ||||
* | [core] Cleanup SymbolLayout | Bruno de Oliveira Abinader | 2016-10-13 | 1 | -5/+6 |
| | | | | | Reuse reverse rotation matrix from CollisionTile when populating the collision boxes. | ||||
* | [core] Use query geometry from FeatureIndex into ↵ | Bruno de Oliveira Abinader | 2016-10-11 | 1 | -2/+13 |
| | | | | CollisionTile::queryRenderedSymbols | ||||
* | [core] Skip placement scale for features that ignore placement | Bruno de Oliveira Abinader | 2016-10-11 | 1 | -7/+13 |
| | |||||
* | [core] Convert uses of std::set to std::unordered_set (#6325) | Lucas Wojciechowski | 2016-09-19 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | * src/mbgl/annotation/annotation_manager.hpp * src/mbgl/algorithm/update_renderables.hpp * src/mbgl/geometry/glyph_atlas.hpp * src/mbgl/renderer/painter.cpp and src/mbgl/renderer/render_item.hpp * src/mbgl/renderer/symbol_bucket.hpp and src/mbgl/text/glyph_store.hpp * src/mbgl/sprite/sprite_atlas.hpp * include/mbgl/storage/network_status.hpp * src/mbgl/text/collision_tile.cpp * src/mbgl/style/update_batch.hpp * platform/default/mbgl/storage/offline_download.hpp * Add GlyphRangeSet typedef * Fix whitespace & unused imports | ||||
* | [tidy] Check modernize-pass-by-value | Bruno de Oliveira Abinader | 2016-06-13 | 1 | -1/+1 |
| | | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-pass-by-value.html | ||||
* | [core] Use mapbox::geometry::{box,envelope} | John Firebaugh | 2016-05-13 | 1 | -3/+3 |
| | |||||
* | [core] Avoid instantiating temporary vector | John Firebaugh | 2016-05-12 | 1 | -19/+20 |
| | |||||
* | [core] CollisionBox::indexedFeature to CollisionFeature::indexedFeature | John Firebaugh | 2016-05-12 | 1 | -3/+2 |
| | | | | This eliminates the CollisionBox constructor that instantiates an "empty" IndexedSubfeature. | ||||
* | [core] Replace auto with actual types | John Firebaugh | 2016-05-12 | 1 | -2/+2 |
| | |||||
* | [core] Avoid instantiating temporary vector | John Firebaugh | 2016-05-12 | 1 | -5/+2 |
| | |||||
* | [core] Code formatting | John Firebaugh | 2016-05-12 | 1 | -3/+3 |
| | |||||
* | [core] Use geometry.hpp's point | John Firebaugh | 2016-05-05 | 1 | -20/+22 |
| | |||||
* | [core] implement queryRenderedFeatures | Ansis Brammanis | 2016-04-29 | 1 | -7/+44 |
| | |||||
* | [core] support tiles with non-4096 extents | Ansis Brammanis | 2016-02-02 | 1 | -2/+3 |
| | | | | | Convert all geometries to the maximum extent supported by our buffers and then use that constant extent everywhere else. | ||||
* | [core] implement symbol-avoid-edges | Ansis Brammanis | 2016-01-20 | 1 | -36/+83 |
| | | | | | | | ref #3582 if `symbol-avoid-edges` is true, this prevents symbols from colliding with tile edges. | ||||
* | [core] add namespace comment to closing brace | Konstantin Käfer | 2015-12-03 | 1 | -1/+1 |
| | |||||
* | [core] always reparse with the freshest possible placement config | Konstantin Käfer | 2015-10-26 | 1 | -7/+6 |
| | | | | Fixes an issue where updates to stale tiles would remove labels altogether until the map was rotated. | ||||
* | port minor collision code cleanup, fix #1705 | Ansis Brammanis | 2015-08-24 | 1 | -4/+4 |
| | | | | https://github.com/mapbox/mapbox-gl-js/pull/1261 | ||||
* | fix symbol collision detection in perspective view | Ansis Brammanis | 2015-08-24 | 1 | -1/+1 |
| | |||||
* | don't use certain STL functions | Konstantin Käfer | 2015-08-04 | 1 | -1/+1 |
| | | | | some functions defined in <cmath>, as well as std::to_string aren't available on GNU's STL for some platforms, e.g. Android | ||||
* | Fix name shadowing | John Firebaugh | 2015-07-01 | 1 | -2/+2 |
| | |||||
* | port bboxifyLabel from -js | Ansis Brammanis | 2015-04-01 | 1 | -3/+3 |
| | |||||
* | port SymbolBucket::placeFeatures | Ansis Brammanis | 2015-04-01 | 1 | -5/+2 |
| | |||||
* | port the remained of CollisionTile | Ansis Brammanis | 2015-04-01 | 1 | -5/+82 |
| | |||||
* | start porting CollisionTile and CollisionFeature | Ansis Brammanis | 2015-04-01 | 1 | -0/+31 |