summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add note to about features-as-annotations in GeoJSON guideupstream/fb-features-as-annotations-trapJason Wray2017-07-191-2/+2
|
* Only console log the features-as-annotations warning once per sessionJason Wray2017-07-191-1/+4
|
* Reword MGLFeature docs about annotationizationJason Wray2017-07-191-3/+8
|
* [ios] Warn about using MGLFeature-conforming annotationsJason Wray2017-07-192-3/+12
|
* [ios] Add debug descriptions to shapes and featuresJason Wray2017-07-193-0/+69
|
* [core] Revert conditional attribute bindingJohn Firebaugh2017-07-193-51/+9
| | | | Reverts eed89fcf9d099266aa793375ad63493e880f8a80, which causes issues on certain Android devices. We don't actually need this change on this branch, I brought it over only to make the subsequent commits cleanly cherry-pickable.
* [android] remove manual ref counting on activation/deactivationIvo van Dongen2017-07-192-9/+0
|
* [core] BackendScope prevent double (de-)activationIvo van Dongen2017-07-195-8/+150
| | | | | - Guards against duplicate activations by checking wether the backend of the prior scope is the same as the current ones - Makes sure that only the most outer backend scope deactivates by tracking activation state
* [android] Force previously cached program binaries to be regeneratedJohn Firebaugh2017-07-171-0/+1
|
* [core] Pass correct sources to programIdentifierJohn Firebaugh2017-07-171-10/+6
|
* [core] No need for optional in map of VertexArraysJohn Firebaugh2017-07-173-10/+9
|
* [core] Reduce memory requirements of VertexArraysJohn Firebaugh2017-07-174-12/+34
|
* [core] Per-segment-per-layer vertex arraysJohn Firebaugh2017-07-1713-26/+59
| | | | Reduces rebinding, matches gl-js, and works around the buggy VAO implementation on PowerVR SGX544 GPUs.
* [core] Rework attribute binding (again)John Firebaugh2017-07-1730-310/+369
| | | | | | | | | | These changes are necessary for programs whose set of active attributes is not fixed at compile time by a template parameter pack, but rather varies based on the generated shader text at runtime. In such cases, the attribute location of a given named attribute may vary between instances of the same Program. Previously, attribute bindings were implicitly associated with a location based on template parameter order, and -1 was used to indicate an inactive attribute. This left us unable to disable the appropriate attribute when it went from active to inactive. Now, the state tracker for bindings explicitly associates locations and state, and an empty optional is used to indicate an inactive attribute. In addition, a gl::VertexArray class is now exposed, allowing more flexibility in the relationship between Programs, Segments, and attribute bindings. In this commit, that relationship does not change, but the subsequent commit adjusts it to match gl-js, reduce rebinds, and work around buggy VAO implementations. VertexArray uses a pimpl idiom in order to support implementations that lack the VAO extension. In that case, all VertexArrays share global binding state, reflecting the platform reality in the absence of VAOs, while still providing a uniform API.
* [core] Inline getActiveAttributes detailsJohn Firebaugh2017-07-171-25/+11
|
* [core] Include what you useJohn Firebaugh2017-07-171-1/+1
|
* [core] Bind only active attributes in order to avoid exceeding attribute ↵Lauren Budorick2017-07-173-6/+64
| | | | | limits (#9373) Introducing two new attributes to enable property functions for line-width (#9250) pushed the attribute count over GL_MAX_VERTEX_ATTRIBS on some devices. Now we selectively bind only attributes that are used, making it unlikely to surpass GL_MAX_VERTEX_ATTRIBS.
* [core] rename a_gap_width => a_gapwidth, u_gap_width => u_gapwidth to ↵Konstantin Käfer2017-07-173-3/+3
| | | | | | reflect naming in the shader not sure how this ever worked
* [core] Eliminate constant attribute bindingsJohn Firebaugh2017-07-176-229/+76
| | | | Rather than binding constant attributes that will never be used, just disable the attribute.
* [core] Don't use "current" icon/text-size when bindingJohn Firebaugh2017-07-172-17/+5
| | | | | | The current value is not passed to `SymbolSizeBinder::uniformValues`, so we shouldn't check `currentValue.isConstant()` in `SymbolSizeBinder::attributeBindings`. If it were true, then we might end up using attribute bindings that are appropriate only for a constant property, but uniform bindings that are appropriate only for a source or composite function. Instead, just wait for a new bucket to be generated. This will happen automatically, since icon/text-size are layout properties.
* [ios] Update changelog; kick-off 3.6.1upstream/fb-build-cherry-pickinJason Wray2017-07-131-1/+5
|
* [all] make default_styles header-onlyKonstantin Käfer2017-07-137-31/+8
|
* [build] enable -fvisibility=hidden for iOSKonstantin Käfer2017-07-138-5/+25
|
* [darwin] Include polylabel via cmakeJason Wray2017-07-135-41/+12
|
* [ios] Update SMCalloutView to fix iOS 10 build warningsMinh Nguyễn2017-07-131-0/+0
| | | | Reapplied 76a2a2db28ce70d06b64b747cfc59ed493eefc67, which was partially rolled back in f6e79d70735361438655f279c8699a786d25458c.
* [android] - invible marker views performance fix #9419 (#9420)Łukasz Paczos2017-07-051-1/+1
|
* [android] - update changelog for 5.1.0 release (#9405)android-v5.1.0Tobrun2017-07-013-3/+8
|
* [android] - bump Mapbox Android Services to latest for 5.1.0 final release ↵Tobrun2017-06-301-1/+1
| | | | (#9402)
* Downgrade location provider dependency (#9394)Tobrun2017-06-305-63/+27
| | | | | | * [android] - downgrade LOST to Mapbox SDK 5.0.2 version. * bump LOST back to Mapbox Android SDK version 4.x
* macos-v0.5.0macos-v0.5.0Minh Nguyễn2017-06-292-2/+2
|
* [macos] Updated screenshotMinh Nguyễn2017-06-291-0/+0
| | | | The new screenshot features 3D extruded buildings, vertical CJK, and right-to-left Arabic, all via runtime styling.
* ios] Update pods spec for iOS v3.6.0ios-v3.6.0Fabian Guerra2017-06-292-2/+2
|
* [macos] Fixed cursor shifting after drag gestureMinh Nguyễn2017-06-292-1/+2
| | | | | | When redisplaying the mouse cursor after a modified drag gesture, incorporate the conversion from view coordinates to window coordinates. Previously, this code performed the conversion but threw away the results. Fixes #8670.
* [macos] Reorganized changelogMinh Nguyễn2017-06-291-4/+12
|
* [ios] moved changes to darwin (#9387)Jordan Kiley2017-06-292-0/+4
|
* OnCameraIdle hook into quickzoom gesture (#9339)Tobrun2017-06-296-19/+47
| | | | | | | | | | * [android] - OnCameraIdle hook into quickzoom gesture * double tap fix * show MyLocationView bearing for GPS when Compass is not available, only show error about missing compass once, fix test activity. * fix accessor lint warning
* [core] Fix iterator invalidation in erase_ifJohn Firebaugh2017-06-281-4/+4
| | | | vector::erase invalidates iterators. It's not safe for erase_if to cache the end iterator nor increment, then erase.
* [ios] Minimize tilt gesture delayJason Wray2017-06-282-9/+11
|
* [ios, macos] Fix size and color of default marker imageJason Wray2017-06-264-1/+2
|
* [ios] Fixed infinite loop zooming in past z23Minh Nguyễn2017-06-241-1/+1
| | | | At zoom levels where the minimum 1 meter or 4 feet would be wider than the scale bar’s maximum width, the local variable holding the preferred row was left undefined. A loop that later iterated based on this row would effectively iterate infinitely until memory pressure forces the system to quit the application.
* [ios] Update pods spec for iOS v3.6.0-rc.1ios-v3.6.0-rc.1Fabian Guerra2017-06-222-2/+2
|
* [ios, macos] Updated changelogsMinh Nguyễn2017-06-222-4/+6
| | | | Also corrected the version number in the macOS changelog.
* [ios] Updated German localizationMinh Nguyễn2017-06-221-0/+18
|
* [ios] Added Hungarian localization from TransifexMinh Nguyễn2017-06-224-0/+99
|
* [ios] Allow delegate to keep wandering pinch from panning mapMinh Nguyễn2017-06-222-10/+11
| | | | | | MGLMapView consults MGLMapViewDelegate about whether to zoom the map in response to a pinch gesture, but it should also account for the delegate’s response when panning the map due to the pinch’s center point wandering. Fixes #9168.
* Boxing ObjC structs (#9343)Fabian Guerra Soto2017-06-227-8/+10
| | | | | | * [ios, macos] Make structs boxable * [ios, macos] Update changelogs.
* [ios, macos] Corrected MGLSource subclassing documentationMinh Nguyễn2017-06-222-6/+7
|
* [ios, macos] Rewrote MGLStyle class documentationMinh Nguyễn2017-06-221-8/+45
| | | | The documentation comment now provides a high-level overview of the runtime styling API and its components, as well as the main workflow for using a style.
* 7910: cancel tracking if ongoing animation is stopped manually (#7916)Romain Quidet2017-06-222-2/+21
| | | | | | | | | | * 7910: cancel tracking if ongoing animation is stopped manually * 7910 updating change log * [ios] Fix map camera animation when a significant change occurs * [ios] Update cancel tracking documentation.
* [build] Unbreak TravisJohn Firebaugh2017-06-211-0/+2
|