summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* add unit test for CrossTileSymbolIndexupstream/viewport-collision-test-crosstileindexAnsis Brammanis2017-11-152-1/+86
|
* [core] Cleanup in response to review comments.Chris Loer2017-11-1416-211/+229
|
* [core] Remove ignores for passing tests.Chris Loer2017-11-142-8/+5
| | | | | Update ignore links to specific issues. Bump mapbox-gl-js version to get latest text-pitch-spacing test.
* [core] Sort child symbol tiles before parent symbol tilesAnsis Brammanis2017-11-141-1/+1
| | | | This is necessary so that when there are mixed zoom levels, child symbols get placed before parent symbols.
* [core] Skip fade animation for placed symbols that are currently offscreen.Chris Loer2017-11-146-41/+84
| | | | | 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] Split MapMode::Still into Static and TileAnsis Brammanis2017-11-1429-56/+68
| | | | | `Tile` makes sure the symbols in the resulting tile are tileable while symbols in `Still` match rendering in `Continuous` mode.
* [core] Cleanup in response to review commentsChris Loer2017-11-146-46/+42
|
* [core] Added ignores for two query tests that return the same set of items ↵Chris Loer2017-11-141-0/+2
| | | | but in a different order.
* [core] Removed ignores for fixed issues.Chris Loer2017-11-141-36/+0
|
* [core] Update unit tests for viewport collision.Chris Loer2017-11-149-110/+71
| | | | Add 'GridIndex' unit test.
* [core] Remove dead codeChris Loer2017-11-1411-514/+1
| | | | | | - CollisionTile - FrameHistory - PlacementConfig
* [core] Use floats instead of ints for Shaping.Chris Loer2017-11-142-5/+5
| | | | Brings gl-native shaping closer to gl-js.
* [core] Update shaders/tests from GL JS.Chris Loer2017-11-1414-155/+380
|
* [core] Update queryRenderedFeatures to use global CollisionIndex.Chris Loer2017-11-1417-38/+84
|
* [core] Switch from background to foreground placementChris Loer2017-11-1421-431/+697
| | | | | | | | | | | | - Background placement code now just generates static symbol buffers - Don't render GeometryTiles until their symbols are loaded. This is necessary for the CrossTileSymbolIndex to successfully prevent flicker. - SymbolInstances are transferred to SymbolBucket for use on foreground during collision detection - Symbols are sorted on foreground by sorting their index buffer but leaving vertex buffers intact (only works within one segment) - Vertical glyphs are generated at same time as horizontal glyphs. `reprojectLineLabels` chooses which one to use at render time and hides the other. - Icons are now always represented with a single collision box, even if they're placed along a line (this means their rotation alignment may be wrong, but the approach of representing them with multiple collision boxes wasn't very accurate either). - Generate vertices for new debug collision boxes and collision circles - Only add symbols within tile boundaries (reduces work, avoids double-draw) - Update symbol_projection.cpp to support line label projection calls from CollisionIndex.
* [core] Enable dynamic updates of index buffers.Chris Loer2017-11-093-5/+23
|
* [core] Add global CollisionIndex to replace CollisionTile.Chris Loer2017-11-093-0/+401
| | | | | | | - Switches from tile to viewport coordinates - Represents line labels with circle geometries - Projects line labels at collision detection time to improve accuracy - Adapts tile-based symbol queries to viewport coordinates
* [core] Add Placement class.Chris Loer2017-11-093-0/+391
| | | | Responsible for running global collision detection/symbol placement algorithm and updating symbol opacity buffers accordingly.
* [core] Add circle geometries to GridIndex.Chris Loer2017-11-093-52/+339
| | | | | - Adds early exiting "hitTest" query for fast collision detection - GridIndex now determines cell count separately for x and y axes based on grid dimensions.
* [core] Add CrossTileSymbolIndex.Chris Loer2017-11-093-0/+236
| | | | This class is responsible for tracking which symbols are "the same" between tiles at different zoom levels, so that symbol opacities (fade animations) can be copied smoothly between tiles.
* [Qt] Explicit QVariant type as string when binding textBruno de Oliveira Abinader2017-11-091-2/+11
|
* [Qt] Do not assume viewport size == fbo size in Qt4Bruno de Oliveira Abinader2017-11-091-0/+2
|
* [Qt] Call QNetworkReply::readAll() only onceBruno de Oliveira Abinader2017-11-093-6/+6
|
* [Qt] Call QSqlQuery::finish() when inactiveBruno de Oliveira Abinader2017-11-091-9/+10
|
* [Qt] Do not store QSqlDatabaseBruno de Oliveira Abinader2017-11-091-21/+30
|
* [build] Added Qt{4,5} Linux build folders to YCM configBruno de Oliveira Abinader2017-11-091-0/+2
|
* [Qt] Qt SQLite driver has no setForwardOnly supportBruno de Oliveira Abinader2017-11-091-4/+2
|
* [android] MapRendererRunnable - avoid weak reference table overflowIvo van Dongen2017-11-093-11/+16
| | | | Apparently on some devices the weak reference table is limited (numbers around 52000). Even though we don't use that many weak references, when GC is not called for a while they can stack up and a crash will occur before the GC has had the time to clear the references. The C++ peer now holds on to a global ref (strong) which can be obtained to queue the java peer and then release automatically so that the GC can take over after the runnable has been executed.
* [android] fix map snapshotter marker exampleIvo van Dongen2017-11-091-1/+3
| | | | The reference to the MapSnapshotter needs to be held for the duration of the snapshot, otherwise it might be GC'd
* [android] revert adding mapbox-android-core dependency (#10354) (#10380)Pablo Guardiola2017-11-0912-53/+35
|
* Fix gl-js submodule sha (#10420)Anand Thakker2017-11-081-0/+0
|
* Implement Expressions (#9439)Anand Thakker2017-11-08167-174/+6459
| | | Ports https://github.com/mapbox/mapbox-gl-js/pull/4777 (and its several follow-ups)
* [android] - update getting started documentationTobrun2017-11-031-63/+45
|
* [android] TextureView - cleanup destruction codeIvo van Dongen2017-11-031-12/+29
|
* [android] test app - texture view test activitiesIvo van Dongen2017-11-0210-0/+743
|
* [android] bring back texture viewIvo van Dongen2017-11-024-24/+85
|
* [android] texture view map rendererIvo van Dongen2017-11-024-0/+545
|
* [android] move egl under renderer packageIvo van Dongen2017-11-024-11/+8
|
* [android] encapsulate gl surfaceview rendering specifics in map renderer ↵Ivo van Dongen2017-11-023-48/+114
| | | | | | subclass - preparation for re-introduction of texture view
* Revert "[core] Expose ColorMask in gl::Context::clear()"Bruno de Oliveira Abinader2017-11-023-14/+6
| | | | This reverts commit e350ef37fe68312c4b5fb03b289a90c0bdda4f03.
* [android] make location provider optional (#9488)Pablo Guardiola2017-11-0116-118/+280
|
* [android] - check for possitive animation durationTobrun2017-11-011-1/+1
|
* [test] Added GLContextMode.Shared utestBruno de Oliveira Abinader2017-11-013-0/+115
|
* [core] Let transparency leak in GLContext::Shared modeBruno de Oliveira Abinader2017-11-011-3/+14
|
* [core] Expose ColorMask in gl::Context::clear()Bruno de Oliveira Abinader2017-11-013-7/+10
|
* [core] Expose GLContextMode in HeadlessFrontendBruno de Oliveira Abinader2017-11-012-6/+7
|
* [core] Move GLContextMode to its own Renderer headerBruno de Oliveira Abinader2017-11-017-11/+23
|
* [android] - add logo resize to MapSnapshotterTobrun2017-11-012-4/+58
|
* [android] - make snapshot logo optionalTobrun2017-11-016-8/+36
|
* [darwin] MGLMapSnapshot - add missing EXPORTIvo van Dongen2017-11-011-0/+1
|