summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [build] standardize on -fvisibility=hidden for all targetsKonstantin Käfer2017-11-291-9/+9
| | | | | | | Enables -fvisibility=hidden for iOS and Linux, and adds a workaround for GCC 6.3-7.1 Adds a GCC 6 build Enables diagnostics for C files Fixes a shadow warning in parsedate.c
* [core] move HeadlessBackend extension initialization code into ImplKonstantin Käfer2017-11-291-1/+1
|
* [build] Clang-3.8: Explicit mbgl::PlacedGlyph default+copy+move ctorBruno de Oliveira Abinader2017-11-291-0/+8
|
* [core] Android + old libstdc++ build fixThiago Marcos P. Santos2017-11-272-2/+3
|
* [core] Fix crash on Qt + Windows + ANGLEThiago Marcos P. Santos2017-11-241-1/+6
| | | | Support for VAO extensions is broken.
* [core] Use Actors for CustomTileLoader invocation from bindings.Asheem Mamoowala2017-11-223-17/+8
|
* [core] Custom Geometry SourcesAsheem Mamoowala2017-11-2211-0/+530
|
* [core] Symbol cross-fading.Chris Loer2017-11-178-4/+112
| | | | Hold onto tiles after they've been removed from the render tree long enough to run a fade animation on their symbols.
* [core] Add unit test for CrossTileSymbolIndexAnsis Brammanis2017-11-172-6/+4
|
* [core] Cleanup in response to review comments.Chris Loer2017-11-1715-208/+226
|
* [core] Sort child symbol tiles before parent symbol tilesAnsis Brammanis2017-11-171-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-175-41/+83
| | | | | 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-177-25/+19
| | | | | `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-176-46/+42
|
* [core] Remove dead codeChris Loer2017-11-1710-509/+1
| | | | | | - CollisionTile - FrameHistory - PlacementConfig
* [core] Use floats instead of ints for Shaping.Chris Loer2017-11-172-5/+5
| | | | Brings gl-native shaping closer to gl-js.
* [core] Update shaders/tests from GL JS.Chris Loer2017-11-1713-155/+378
|
* [core] Update queryRenderedFeatures to use global CollisionIndex.Chris Loer2017-11-1717-38/+84
|
* [core] Switch from background to foreground placementChris Loer2017-11-1721-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-173-5/+23
|
* [core] Add global CollisionIndex to replace CollisionTile.Chris Loer2017-11-172-0/+399
| | | | | | | - 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-172-0/+389
| | | | Responsible for running global collision detection/symbol placement algorithm and updating symbol opacity buffers accordingly.
* [core] Add circle geometries to GridIndex.Chris Loer2017-11-173-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-172-0/+234
| | | | 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.
* [core] Fix build on Android + GCC and Android + armeabiThiago Marcos P. Santos2017-11-1211-20/+31
| | | | Sadly we don't have bots for these two setups.
* Merge branch 'release-agua' into tvn-merge-releaseTobrun2017-11-106-1/+41
|\
| * [core] blacklist VAO usage on adreno 3xxIvo van Dongen2017-10-261-1/+8
| | | | | | | | - Causes crashes on usage of glBuffer(Sub)Data
| * [core] fix crash when querying GeoJSON tilesKonstantin Käfer2017-10-251-12/+12
| |
| * [core] Add layer before notifying observerJohn Firebaugh2017-10-251-1/+2
| |
| * [core] limit annotation tile source to z16Konstantin Käfer2017-10-191-1/+3
| |
| * [ios, macos] Add selection support to MGLMultiPoint annotations. (#9984)Fabian Guerra Soto2017-10-186-1/+41
| | | | | | | | | | | | * [ios, macos] Add selection support to MGLMultiPoint annotations. * [ios, macos] Update changelogs.
| * [core] correctly alter sprite URLs when attaching sprite.png/sprite.json ↵Konstantin Käfer2017-10-171-8/+10
| | | | | | | | filenames
| * [core] don't generate clip IDs for buckets/layers that don't need to be clippedKonstantin Käfer2017-10-173-1/+9
| |
| * [core] Fix out-of-bounds array accessAsheem Mamoowala2017-10-131-1/+1
| |
| * [core] make forcing cache/network only more explicitKonstantin Käfer2017-10-1216-83/+77
| | | | | | | | | | | | Previously, we used the existence of a `prior*` field in the Resource object as an indication for whether we should consult the cache or not. However, this is prone to error, since a failed cache lookup won't set any prior fields. Therefore, we manually set `priorExpires` to 0. This in turn triggered another bug where generated wrong expiration timestamps when the server response we got was expired (or expired between sending and receiving). This commit changes the flags so that we can now explicitly request CacheOnly/NetworkOnly (or All) loading methods, rather than the implicit Optional/Required naming scheme.
| * [core] Add `cameraForLatLngs()` method with modified bearingAsheem Mamoowala2017-10-091-11/+34
| |
* | Implement Expressions (#9439)Anand Thakker2017-11-0826-46/+2897
| | | | | | Ports https://github.com/mapbox/mapbox-gl-js/pull/4777 (and its several follow-ups)
* | Revert "[core] Expose ColorMask in gl::Context::clear()"Bruno de Oliveira Abinader2017-11-023-14/+6
| | | | | | | | This reverts commit e350ef37fe68312c4b5fb03b289a90c0bdda4f03.
* | [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] Move GLContextMode to its own Renderer headerBruno de Oliveira Abinader2017-11-012-1/+2
| |
* | [gcc4.9] Keep compatibility with GCC + AndroidThiago Marcos P. Santos2017-10-311-2/+2
| | | | | | | | Needed by Qt builds on Android.
* | [core] fix crash when querying GeoJSON tilesKonstantin Käfer2017-10-261-12/+12
| |
* | [core] blacklist VAO usage on adreno 3xxIvo van Dongen2017-10-261-1/+8
| | | | | | | | - Causes crashes on usage of glBuffer(Sub)Data
* | [core] Add layer before notifying observerJohn Firebaugh2017-10-251-1/+2
| |
* | [core] Make the OpenGL implementation platform specificThiago Marcos P. Santos2017-10-251-28/+2
| | | | | | | | | | Split the headers, so each platform includes the most appropriated header.
* | Replace compile-time polymorphism with runtime polymorphism in the ↵John Firebaugh2017-10-2317-82/+1508
| | | | | | | | conversion system
* | [core] limit annotation tile source to z16upstream/android-v5.1.4Konstantin Käfer2017-10-191-1/+3
| |
* | [core] correctly alter sprite URLs when attaching sprite.png/sprite.json ↵Konstantin Käfer2017-10-171-8/+10
| | | | | | | | filenames
* | [core] don't generate clip IDs for buckets/layers that don't need to be clippedKonstantin Käfer2017-10-173-1/+9
| |