summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'release-agua' into masterupstream/fabian-merge-release-aguaFabian Guerra2018-01-042-8/+14
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # circle.yml # cmake/core-files.cmake # platform/android/CHANGELOG.md # platform/android/MapboxGLAndroidSDK/build.gradle # platform/android/MapboxGLAndroidSDK/gradle.properties # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/CameraChangeDispatcher.java # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapView.java # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapboxMapOptions.java # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/text/LocalGlyphRasterizer.java # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/utils/BitmapUtils.java # platform/android/MapboxGLAndroidSDKTestApp/src/main/AndroidManifest.xml # platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/maplayout/DebugModeActivity.java # platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/maplayout/LocalGlyphActivity.java # platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/userlocation/MyLocationTintActivity.java # platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_local_glyph.xml # platform/android/MapboxGLAndroidSDKTestApp/src/main/res/values/descriptions.xml # platform/darwin/src/MGLMapSnapshotter.mm # platform/darwin/src/MGLRendererConfiguration.h # platform/ios/CHANGELOG.md # platform/ios/DEVELOPING.md # platform/ios/INSTALL.md # platform/ios/README.md # platform/ios/resources/bg.lproj/Localizable.strings # platform/ios/resources/es.lproj/Localizable.strings # platform/ios/resources/vi.lproj/Localizable.strings # platform/ios/src/MGLMapView.mm # platform/macos/macos.xcodeproj/project.pbxproj # src/mbgl/text/glyph_manager.cpp
| * [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.
| * Fix CustomLayer context retain count (#10765)Asheem Mamoowala2017-12-202-8/+14
| | | | | | | | | | | | * [core] RenderCustomLayer should de-initialize old context * [iOS, macOS] Use toll-free bridging to retain/release MGLOpenGLStyleLayer instead of a separate array.
| * [core] Hook LocalGlyphRasterizer "font family" configuration up to RendererChris Loer2017-12-187-7/+22
| |
| * [core] Enable local glyph generation using TinySDF.Chris Loer2017-12-183-6/+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-182-0/+125
| |
* | [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.