summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [core] Allow prefetching tiles for all source typesBruno de Oliveira Abinader2018-01-031-6/+3
|
* [core] don't tie Annotation geometries to Map maxzoomKonstantin Käfer2018-01-029-36/+36
| | | | Instead, geometry generation via GeoJSONVT is now bound to the hardcoded limit of the annotation tile source.
* [core] Better align fill-extrusion vertex layoutLauren Budorick2017-12-206-29/+25
|
* [core] Migrated upcase, downcase to platform codeMinh Nguyễn2017-12-141-8/+3
| | | | Replaced manual, per-character upper- and lowercasing code with calls to platform-specific code that affects a wider range of characters.
* [core] Overzoomed image sources vanish (#10677)Asheem Mamoowala2017-12-131-28/+26
| | | Use z0 tile coordinates instead of screen coordinates to compute ideal zoom for image sources
* [core] Include bucket name in queryRenderedSymbols duplicate feature filterChris Loer2017-12-111-2/+2
| | | | | - Port of GL JS PR #5703 - Fixes issue #10616
* [ios,macos] Darwin implementation of a CoreText-based LocalGlyphRasterizer.Chris Loer2017-12-117-7/+22
| | | | | - Changing font weight does not currently appear to be working. - Glyph metric extraction code not working; currently unused.
* [core] Enable local glyph generation using TinySDF.Chris Loer2017-12-113-5/+66
| | | | | | | - Platform-specific LocalGlyphRasterizer is responsible for deciding which glyphs to rasterize locally and for implementing the rasterization. - Default platform implementation doesn't locally generate any glyphs -> no behavior change - Unit test uses StubLocalGlyphRasterizer, which returns a single fixed bitmap for all CJK glyphs - Rename glyph_loader.test to glyph_manager.test
* [core] C++ port of TinySDFChris Loer2017-12-112-0/+125
|
* Correct ColorMode::ReplaceLauren Budorick2017-12-071-1/+1
|
* [core] Use wrapped bounds check for CustomTileLoaderAsheem Mamoowala2017-12-071-1/+1
|
* [core] Mark custom geometry tiles stale without clearing dataAsheem Mamoowala2017-12-065-20/+41
|
* [core] don't include .cpp fileKonstantin Käfer2017-12-051-13/+13
|
* [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)