Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [build] use TransformState from last update() rather than most recentupstream/7040-dateline-flickering-alternative | Konstantin Käfer | 2016-12-23 | 1 | -1/+3 |
| | |||||
* | [build] move transition updates away from render call | Konstantin Käfer | 2016-12-23 | 1 | -12/+15 |
| | |||||
* | [core] Correct boolean function interpolation | John Firebaugh | 2016-12-22 | 1 | -0/+4 |
| | |||||
* | [core] fix matrix z range and remove hack | Ansis Brammanis | 2016-12-21 | 1 | -3/+6 |
| | | | | | | | ported from -js: 0b5520fa5ab2a4659d80dcffa8b035a0d84fe1ca This should fix the issue behind #2270 and remove the need for the hack added in #3740. | ||||
* | [core] clearer pitched line antialiasing | Ansis Brammanis | 2016-12-21 | 3 | -23/+21 |
| | | | | | | | | | | ported from -js: ef5582dd3bc5c15a3112e875ed66494dab8e9d0b Project the extrusion and compare it's projected pixel length with the actual pixel length and adjust antialiasing accordingly. The previous approach calculated the adjustment much more indirectly and had no intuitive explanation. | ||||
* | [core, ios] replace `altitude` with `fov` | Ansis Brammanis | 2016-12-21 | 6 | -23/+34 |
| | | | | | | | | | ported from -js: eb6c6596c6a7a61363d30356674e0002153b1d19 `altitude` was a terribly-named variable that was used to indirectly control the fov. This should eliminate some confusion. `altitude` was equivalent to `cameraToCenterDistance / height` | ||||
* | [core] fix text blurriness at different FOVs | Ansis Brammanis | 2016-12-21 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | ported from -js: c52a09639ceeeb809cd837360993df9c45b45420 This replaces a hardcoded shader approximation with a more correct, FOV-dependent one. `gl_Position.w - 0.5` is replaced with `gl_Position.w / tan(fov)` The `/ tan(fov)` is handled by multiplying `1 / tan(fov)` into `u_gamma` outside the shader. I think `- 0.5` was just chosen as something that looked right for the default fov.lease enter the commit message for your changes. Lines starting | ||||
* | [core] Replace magic number with constant-based calculation | John Firebaugh | 2016-12-21 | 1 | -2/+2 |
| | |||||
* | [core] Polylabel-based "pole of inaccessibility" symbol placement | John Firebaugh | 2016-12-21 | 1 | -5/+15 |
| | |||||
* | [core] Remove unused BucketParameter members | John Firebaugh | 2016-12-21 | 2 | -30/+8 |
| | |||||
* | [core] Convert BucketParameters#layer to a separate parameter | John Firebaugh | 2016-12-21 | 20 | -39/+36 |
| | | | | This parameter varies between Buckets, while the others are constant. It makes more sense as an individual parameter. | ||||
* | [core] refactor URL parsing | Konstantin Käfer | 2016-12-21 | 3 | -136/+235 |
| | |||||
* | Merge branch 'release-ios-v3.4.0' into 1ec5-release-ios-v3.4.0-beta.5-master | Minh Nguyễn | 2016-12-20 | 1 | -0/+7 |
|\ | | | | | | | Also reran make style-code and manually discarded anything related to fill extrusion layers. | ||||
| * | [core] Port ensure a non-zero source tile cache size (#7438) | Jesse Bounds | 2016-12-14 | 1 | -2/+2 |
| | | | | | | | | | | This ports https://github.com/mapbox/mapbox-gl-native/pull/7242/ commits/2d323211af54499d5c822b8e45d7415bf92112f0 to the iOS 3.4.0 release branch. | ||||
| * | [core] Swap order of Style::recalculate and Style::relayout | Ivo van Dongen | 2016-12-13 | 1 | -4/+4 |
| | | | | | | | | Style::relayout uses source.baseImpl->loaded, a flag which is updated by Style::recalculate. So recalculate first, then relayout. | ||||
| * | [core] guard against duplicate layer ids | Ivo van Dongen | 2016-12-13 | 1 | -0/+9 |
| | | |||||
| * | [core] use raii to guard backend deactivation | Ivo van Dongen | 2016-12-13 | 1 | -13/+5 |
| | | |||||
| * | [core, ios, macos] Add image accessor to MGLStyle (#7096) | Roman Blum | 2016-12-05 | 1 | -0/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | * [core] Add interface to get image from sprite atlas * [tests] Add tests for Map::getImage * [ios, macos] WIP: get MGLImage for name from style * [ios, macos] Fixed -imageForName: Convert from sprite images to platform images using the existing encodePNG() function, which is also used for printing. Allow -imageForName: to return nil without an assertion failure. Added a basic test. | ||||
* | | [core] Fix symbol rendering for multipoints | John Firebaugh | 2016-12-20 | 4 | -63/+76 |
| | | | | | | | | Ports https://github.com/mapbox/mapbox-gl-js/pull/3763 and https://github.com/mapbox/mapbox-gl-js/pull/3806. | ||||
* | | [core] const correctness | John Firebaugh | 2016-12-20 | 2 | -3/+3 |
| | | |||||
* | | [core] Mark tile as incomplete while redoing placement | John Firebaugh | 2016-12-14 | 1 | -0/+6 |
| | | |||||
* | | [core] Remove unused | John Firebaugh | 2016-12-14 | 1 | -3/+0 |
| | | |||||
* | | [core] Fix debug rendering | John Firebaugh | 2016-12-13 | 2 | -2/+3 |
| | | | | | | | | | | * Off-by-one in DebugBucket indexing * Must unbind VAO before binding index buffer in Context::createIndexBuffer | ||||
* | | [core] Swap order of Style::recalculate and Style::relayout | Ivo van Dongen | 2016-12-12 | 1 | -4/+4 |
| | | | | | | | | Style::relayout uses source.baseImpl->loaded, a flag which is updated by Style::recalculate. So recalculate first, then relayout. | ||||
* | | [core] Ensure a non-zero source tile cache size | John Firebaugh | 2016-12-12 | 1 | -2/+2 |
| | | | | | | | | Previously, for viewport sizes less than 512 pixels in either direction, the computed size was 0. | ||||
* | | [core] Added BidiImpl to avoid ICU types exposure | Bruno de Oliveira Abinader | 2016-12-12 | 1 | -4/+3 |
| | | |||||
* | | [build] ICU is now configured per platform | Bruno de Oliveira Abinader | 2016-12-12 | 1 | -125/+0 |
| | | |||||
* | | [core] guard against duplicate layer ids | Ivo van Dongen | 2016-12-12 | 1 | -0/+9 |
| | | |||||
* | | [core] use raii to guard backend deactivation | Ivo van Dongen | 2016-12-12 | 1 | -13/+5 |
| | | |||||
* | | [core] Implement circle-stroke properties | John Firebaugh | 2016-12-09 | 12 | -4/+348 |
| | | | | | | | | Also includes stubs for fill-extrusion layer, because most of the code was auto-generated. | ||||
* | | [core] add util::isURL() for checking whether a string starts with a URL scheme | Konstantin Käfer | 2016-12-07 | 2 | -2/+34 |
| | | |||||
* | | [core] Move CrossFadedPropertyEvaluator to its own file | John Firebaugh | 2016-12-06 | 5 | -40/+51 |
| | | |||||
* | | [core] Move evaluation algorithm to Function | John Firebaugh | 2016-12-06 | 3 | -79/+83 |
| | | |||||
* | | Merge branch 'release-ios-v3.4.0' into 1ec5-release-ios-v3.4.0-beta.4-master | Minh Nguyễn | 2016-12-03 | 3 | -1/+39 |
|\ \ | |/ | |||||
| * | [core] guard against duplicate source id’s | Ivo van Dongen | 2016-12-02 | 1 | -0/+10 |
| | | |||||
| * | [core, ios, macos] Added layers and sources properties to MGLStyle | Minh Nguyễn | 2016-11-28 | 3 | -1/+39 |
| | | | | | | | | | | | | | | | | Added new layers and sources properties to MGLStyle that contain all the style’s layers and sources, respectively. These properties are KVC-compliant with all the mutable to-many methods. Layers are ordered from topmost to bottommost, for consistency with Cocoa APIs where front/first means top and back/last means bottom. Also added storage for mbgl::style::Source in MGLSource proper for wrapping AnnotationSource. Until the style finishes loading, its name property is set to nil. Fixes #6003. | ||||
| * | [core] cache raster tiles | Konstantin Käfer | 2016-11-22 | 1 | -1/+1 |
| | | |||||
| * | [core] don't run symbol placement more often than necessary | Konstantin Käfer | 2016-11-14 | 3 | -5/+3 |
| | | |||||
| * | [core] Return source and layer ownership (#7014) | Jesse Bounds | 2016-11-13 | 5 | -15/+41 |
| | | | | | | | | | | | | | | | | When a source or layer is removed transfer ownership back to the caller so it can (optionally) take it. Preserve the behavior that removing a CustomLayer triggers deinitialization. Deinitialize all custom layers when a style is destroyed in case those layers are not explicitly removed. | ||||
| * | [core] symbol layer - recalculate style on icon/text size changes | Ivo van Dongen | 2016-11-13 | 6 | -43/+51 |
| | | |||||
| * | [core] Fix render tile ordering when querying sources | Bruno de Oliveira Abinader | 2016-11-13 | 2 | -21/+17 |
| | | |||||
| * | [core] Separate pathway for notifying workers of new images/glyphs | John Firebaugh | 2016-11-13 | 9 | -12/+77 |
| | | |||||
| * | [core] Ensure correct GL context in Map::onLowMemory() | John Firebaugh | 2016-11-09 | 1 | -0/+2 |
| | | |||||
* | | [core] Functions must have at least one stop | John Firebaugh | 2016-12-01 | 1 | -25/+2 |
| | | | | | | | | This is already enforced by the style validator in mapbox-gl-style-spec. Enforce it here too. | ||||
* | | [core] Use indexed rendering everywhere | John Firebaugh | 2016-12-01 | 11 | -110/+83 |
| | | |||||
* | | [core] Full support for line breaking bidirectional text using ICU bidi ↵ | Chris Loer | 2016-11-30 | 8 | -162/+313 |
| | | | | | | | | | | | | | | functionality. - Trim whitespace from labels before determining their max-width for alignment. - Fix crash on labels that contain lines with only a single character of whitespace. | ||||
* | | [core] guard against duplicate source id’s | Ivo van Dongen | 2016-11-30 | 1 | -0/+10 |
| | | |||||
* | | Always use a dot as a decimal point in string, independent of locale | Aki Koskinen | 2016-11-29 | 1 | -1/+6 |
| | | | | | | | | | | | | | | std::to_string() potentially uses a decimal point character different than a dot (.), depending on the environment's locale. But since this generated string will be part of GLSL code, there needs to be a dot and nothing else. | ||||
* | | [build] upgrade to variant 1.1.4 and dependencies | Konstantin Käfer | 2016-11-28 | 2 | -2/+3 |
| | | |||||
* | | [core] Use double in TransformState::zoomScale | Bruno de Oliveira Abinader | 2016-11-27 | 1 | -1/+1 |
| | |