summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [android] Force previously cached program binaries to be regeneratedupstream/backport-vaoJohn Firebaugh2017-07-121-0/+1
|
* [core] Pass correct sources to programIdentifierJohn Firebaugh2017-07-121-10/+6
|
* [core] No need for optional in map of VertexArraysJohn Firebaugh2017-07-123-10/+9
|
* [core] Reduce memory requirements of VertexArraysJohn Firebaugh2017-07-124-12/+34
|
* [core] Per-segment-per-layer vertex arraysJohn Firebaugh2017-07-1213-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-1230-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-121-25/+11
|
* [core] Include what you useJohn Firebaugh2017-07-061-1/+1
|
* [core] Bind only active attributes in order to avoid exceeding attribute ↵Lauren Budorick2017-07-063-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-063-3/+3
| | | | | | reflect naming in the shader not sure how this ever worked
* [core] Eliminate constant attribute bindingsJohn Firebaugh2017-07-066-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-062-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.
* [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
|
* [android] - restore LatLngBounds conversion, add regression test (#9324)Tobrun2017-06-212-4/+44
|
* [android] - update CHANGELOG for release 5.1.0-beta.5 (#9316)android-v5.1.0-beta.5android-v5.1.0-beta.4Tobrun2017-06-211-0/+15
|
* [android] update mapboxServicesVersion to 2.1.2 (#9311)Antonio Zugaldia2017-06-201-1/+1
|
* Revisit Javadoc for 5.1.0 (#9266)Tobrun2017-06-2041-215/+940
| | | | | | | | | | * [android] - revisit public API javadoc * [android] fix javadoc minor mistakes and typos * grammar tweak * add missing public javadoc
* [android] Update to LOST 3.0.1 (#9302)Antonio Zugaldia2017-06-201-1/+1
|
* fix trackball long press timeout calling the main thread method on a ↵Pablo Guardiola2017-06-201-1/+2
| | | | background thread (#9305)
* [android] fix pulse marker view options parcelable creator (#9283)Pablo Guardiola2017-06-201-6/+6
|
* [android] fix custom marker views anchor issue (#9282)Pablo Guardiola2017-06-201-5/+17
|
* Validate camera position before transforming (#9275)Tobrun2017-06-202-3/+9
| | | | | | * [android] - add camera position validation before transforming * annotate CameraUpdate with nullability
* [android] - update activity test generation with newest classes, make ↵Tobrun2017-06-202-5/+6
| | | | FillExtrusionActivity conform to generated activity test setup. (#9276)
* [core] Trigger repaint on source changesJohn Firebaugh2017-06-192-0/+3
|
* [ios] Update telemetry cert pinning (#9292)Jesse Bounds2017-06-196-77/+73
|
* [core] Fix composite function approximation for non-integer stopsJohn Firebaugh2017-06-193-27/+83
|