Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] Simplify Placement::addLayer() | Mikhail Pozdnyakov | 2020-01-22 | 1 | -2/+1 |
| | |||||
* | [core] Cache showCollisionBoxes in Placement | Mikhail Pozdnyakov | 2020-01-22 | 1 | -2/+2 |
| | |||||
* | [core] Pass UpdateParameters to Placement constructor | Mikhail Pozdnyakov | 2020-01-22 | 1 | -9/+9 |
| | |||||
* | [core] Pass placement commit parameters in constructor | Mikhail Pozdnyakov | 2020-01-22 | 1 | -2/+3 |
| | |||||
* | [core] Placement::commit() handles absence of previuos placement | Mikhail Pozdnyakov | 2019-12-09 | 1 | -1/+1 |
| | |||||
* | [core] Fix performance-move-const-arg | Thiago Marcos P. Santos | 2019-09-25 | 1 | -6/+2 |
| | |||||
* | [core] Clang format fixandroid-v8.3.2 | Mikhail Pozdnyakov | 2019-09-19 | 1 | -13/+15 |
| | |||||
* | [core] Immutable/Mutable pattern for Placement | Mikhail Pozdnyakov | 2019-09-19 | 1 | -11/+26 |
| | |||||
* | [core] Update buckets in Renderer | Mikhail Pozdnyakov | 2019-09-19 | 1 | -3/+3 |
| | |||||
* | [core] Fix Placement constness | Mikhail Pozdnyakov | 2019-09-19 | 1 | -4/+4 |
| | | | | Update buckets methods do not mutate placement, placement methods do not mutate buckets. | ||||
* | [core] Coalesce buckets updates from several tiles | Mikhail Pozdnyakov | 2019-09-13 | 1 | -1/+3 |
| | |||||
* | [core] Enable `text-offset` with variable label placement | Mikhail Pozdnyakov | 2019-09-03 | 1 | -1/+1 |
| | | | | Port of https://github.com/mapbox/mapbox-gl-js/pull/8642 | ||||
* | [core] make symbols fade out faster while zooming out | Ansis Brammanis | 2019-08-20 | 1 | -2/+5 |
| | | | | | | | | | | | Zooming outcan make symbols overlap quickly. The area previously covered by the viewport is covered by a lot of colliding labels while the surrounding area has no labels. This difference produces an unwanted effect. This reduces that effect by: - reducing the fade duration while zooming out - doing placement more frequently while zooming out | ||||
* | [core] Simplifications to variable text placement code path | Mikhail Pozdnyakov | 2019-08-13 | 1 | -2/+2 |
| | |||||
* | [core] Implement support for "text-writing-mode" layout property | Alexander Shalamov | 2019-08-13 | 1 | -1/+4 |
| | |||||
* | [core] Remove ProjectedCollisionBox from CollisionBox | Mikhail Pozdnyakov | 2019-08-05 | 1 | -2/+5 |
| | | | | | - Minus 20 bytes from CollisionBox size. - Fix constness at Placement::placeBucket | ||||
* | [core] Remove orchestration methods from RenderTile | Mikhail Pozdnyakov | 2019-07-04 | 1 | -0/+1 |
| | |||||
* | [core] Use fresh transform state for bucket vertices update in placement | Mikhail Pozdnyakov | 2019-06-03 | 1 | -4/+3 |
| | | | | The transform state cached in placement might get stale and cannot be used for bucket vertices updates. | ||||
* | [core] Avoid unneeded update of symbol dynamic vertex buffer | Mikhail Pozdnyakov | 2019-06-03 | 1 | -2/+2 |
| | |||||
* | [core] Placement::placeLayerBucket() -> placeBucket() | Mikhail Pozdnyakov | 2019-05-28 | 1 | -1/+1 |
| | |||||
* | [core] Encapsulate symbol bucket placement code in Placement::placeLayerBucket() | Mikhail Pozdnyakov | 2019-05-28 | 1 | -7/+3 |
| | |||||
* | [core] SymbolBucket updates complete at placement stage | Mikhail Pozdnyakov | 2019-05-24 | 1 | -4/+2 |
| | | | | | | | | `RenderSymbolLayer` does not have to update dynamic vertices of its buckets, this logic is moved to placement (which is already updates opacity vertices). * fixes clustering of labels when text variable placement enabled - as assignes `usesVariablePlacement` per bucket * simplifies the code in `RenderSymbolLayer` (the `RenderSymbolLayer::upload()` is now omitted). * symbol buckets are not modified after orchestration finishes | ||||
* | [core] Avoid bucket downcasting in Placement | Mikhail Pozdnyakov | 2019-05-19 | 1 | -9/+15 |
| | |||||
* | [core] Remove RenderLayerSymbolInterface | Mikhail Pozdnyakov | 2019-05-19 | 1 | -1/+0 |
| | |||||
* | [core] Placement accepts RenderLayer instances | Mikhail Pozdnyakov | 2019-05-19 | 1 | -2/+2 |
| | |||||
* | [core] add gfx::UploadPass, split startRender into prepare and upload | Konstantin Käfer | 2019-05-15 | 1 | -2/+2 |
| | |||||
* | [core] Introduce variable text placement for point labels - Placement part | Mikhail Pozdnyakov | 2019-03-29 | 1 | -9/+9 |
| | |||||
* | [core] Introduce variable text placement for point labels - Render part | Alexander Shalamov | 2019-03-29 | 1 | -0/+6 |
| | |||||
* | [core] Introduce variable text placement for point labels - Layout part | Mikhail Pozdnyakov | 2019-03-29 | 1 | -1/+11 |
| | |||||
* | [core] Let placement transitions use the transition duration, if set, and ↵ | Bruno de Oliveira Abinader | 2018-11-21 | 1 | -1/+4 |
| | | | | allow disabling them entirely | ||||
* | [core] Replace RenderSymbolLayer downcast with symbol interface | Alexander Shalamov | 2018-11-19 | 1 | -3/+3 |
| | |||||
* | [core] Port "collision group" plumbing to gl-native. | Chris Loer | 2018-09-12 | 1 | -2/+22 |
| | | | | | [node] Hook up map-wide "crossSourceCollisions" option, defaulting to true. [test] Pass "crossSourceCollisions" test option through test harness; enable cross-source-collisions tests on native. | ||||
* | [core] always commit placement to fix #11795 | Ansis Brammanis | 2018-06-07 | 1 | -2/+2 |
| | | | | | | | | Since placements will be committed even if they do not need the full fade duration to fade features in, we need the new `fadeStartTime` to keep track of how long we still need to fade. This is important because if we fade too long we will trigger another placement and never stop rendering. | ||||
* | Port global symbol query from GL JS: | Chris Loer | 2018-04-25 | 1 | -1/+19 |
| | | | | | | | - Symbol querying is now global instead of per-tile - Symbols that bleed over tile boundaries no longer missed in queries - Symbol results now sorted based on rendering order (ie overlapping symbols change their sort order when a bearing change causes their render order to change) - Placement::retainedQueryData now responsible for maintaining symbol querying data for buckets that may no longer be in the TilePyramid. | ||||
* | [core] fix symbol flickering after data updates | Ansis Brammanis | 2018-01-11 | 1 | -7/+6 |
| | |||||
* | [core] Symbol cross-fading. | Chris Loer | 2017-11-17 | 1 | -1/+2 |
| | | | | Hold onto tiles after they've been removed from the render tree long enough to run a fade animation on their symbols. | ||||
* | [core] Cleanup in response to review comments. | Chris Loer | 2017-11-17 | 1 | -77/+77 |
| | |||||
* | [core] Skip fade animation for placed symbols that are currently offscreen. | Chris Loer | 2017-11-17 | 1 | -7/+15 |
| | | | | | Don't mark items that are outside the collision grid range as placed. Requires new ignore because GL JS issue #5654 allows insertion of symbols outside the CollisionIndex range, and those symbols can cascade in to affect items within the viewport. | ||||
* | [core] Cleanup in response to review comments | Chris Loer | 2017-11-17 | 1 | -3/+3 |
| | |||||
* | [core] Add Placement class. | Chris Loer | 2017-11-17 | 1 | -0/+82 |
| | | | | Responsible for running global collision detection/symbol placement algorithm and updating symbol opacity buffers accordingly. | ||||
* | split generating symbol quads from collision code | Ansis Brammanis | 2015-03-31 | 1 | -31/+0 |
| | | | | Collision prevention is temporarily disabled. | ||||
* | rename StyleBucket* => StyleLayout* | Konstantin Käfer | 2015-02-17 | 1 | -3/+3 |
| | | | | | | and remove a few unused variables refs #881 | ||||
* | make most headers private | Konstantin Käfer | 2014-12-04 | 1 | -0/+31 |