summaryrefslogtreecommitdiff
path: root/cmake/core-files.cmake
Commit message (Collapse)AuthorAgeFilesLines
* [core] Move expression.cpp to expression directoryJohn Firebaugh2018-07-201-3/+1
|
* [core] Replace {Source,Camera,Composite}Function with PropertyExpressionJohn Firebaugh2018-07-201-3/+1
|
* [core] treat parsedate as C++ file to remove C build rulesKonstantin Käfer2018-07-161-2/+2
| | | | It is already wrapped with #ifdef __cplusplus extern "C", so we can safely compile it as C++ but retain C linkage
* [core] Convert legacy functions directly to expressionsJohn Firebaugh2018-07-131-11/+2
|
* Rename `HeatmapColorPropertyValue` to `ColorRampPropertyValue`Mikhail Pozdnyakov2018-07-051-2/+2
| | | | | | | | Based on patch from @lbud (Lauren Budorick). Give `HeatmapColorPropertyValue` a more generic name, since the same value type will be used for both `heatmap-color` and `line-gradient` properties.
* [core] Avoid blocking in Thread<Object> constructor (#12151)Anand Thakker2018-07-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Introduce AspiringActor, EstablishedActor This pair of objects represents the two-phase (parent-thread / child-thread) construction that's needed to support constructing Thread<Object> without blocking until the child thread is up and running. An `AspiringActor<O>` is responsible for: - ownership of the actor's `Mailbox` - allocating the memory for (but *not* constructing) the target object `O` Using these two pieces--the mailbox and a stable address for `O`--an `AspiringActor<O>` can accept messages for the target object, or provide `ActorRef<O>`s that do so, before the object has actually been constructed by the corresponding `EstablishedActor<O>`. (Such messages are queued in the mailbox until after the object is constructed.) This allows for an `AspiringActor<O>` to be created and safely used by a thread other than the one on which the target object will (eventually) live. An `EstablishedActor<O>` is responsible for managing the lifetime of the target object `O` and the open/closed state of the parent's `mailbox`. The `O` object's lifetime is contained by that of its owning `EstablishedActor<O>`: the `EstablishedActor` constructor executes the `O` constructor via "placement new", constructing it at the address provided by the parent `AspiringActor`, and the `~EstablishedActor` destructor similarly executes the `~O` destructor (after closing the mailbox). `EstablishedActor` should therefore live entirely on the thread intended to own `O`. * Remove Actor#{invoke,ask}
* [core] Introduce "collator" expressionsChris Loer2018-07-031-0/+3
| | | | Cross platform parsing and evaluation code.
* [core] Introduce LanguageTag for parsing BCP 47 tagsChris Loer2018-07-031-0/+2
|
* [core] Remove stops-based *Function constructorsJohn Firebaugh2018-06-291-0/+1
|
* [core] Replace use of *Stops with expressions DSLJohn Firebaugh2018-06-291-0/+2
|
* [core] Split Interpolator into a separate fileJohn Firebaugh2018-06-281-0/+1
|
* Merge branch 'release-boba' into masterupstream/fabian-merge-release-4.0.1-masterFabian Guerra2018-05-171-2/+0
|\ | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # mapbox-gl-js # platform/android/CHANGELOG.md # platform/android/MapboxGLAndroidSDK/gradle.properties # platform/android/gradle/dependencies.gradle # platform/darwin/src/MGLVectorTileSource.mm # platform/darwin/src/MGLVectorTileSource_Private.h # platform/ios/CHANGELOG.md # src/mbgl/style/expression/compound_expression.cpp
| * [core] Convert "legacy" filters directly into expressions (#11610)Lucas Wojciechowski2018-05-101-2/+0
| | | | | | Ports the specialized filter-* expressions from GL JS, adding them to src/mbgl/style/expression/compound_expression.cpp
* | [core] Remove unused 'Throttler' class.Chris Loer2018-04-301-2/+0
| | | | | | | | Throttler was previously used to control how frequently background placement ran.
* | [core] Streaming TileCover for polygonal regions (#11267)Asheem Mamoowala2018-04-261-0/+2
|/ | | A per-tile streaming algorithm for tile cover on points, lines, and polygons. Works for individual zoom levels, and not zoom ranges.
* Don't enforce ["zoom"] constraints for filters (#11672)Anand Thakker2018-04-121-1/+0
| | | | | | | | | | | | * Don't enforce ["zoom"] constraints for filters Fixes #11594 * Add a couple of comments * Fix ambiguous constructor call * ParsingContext(optional<Type>) => ParsingContext(Type)
* [core] Add expression filter support (#11251)Lucas Wojciechowski2018-03-091-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * WIP * WIP * WIP * Remove Filter::operator()(const Feature&) * WIP * WIP * WIP * WIP * Hook up expression filter evaluator * Replace `shared_ptr` with &reference * Fill in implementation of `void operator()(const ExpressionFilter&)` * Fix failing tests * Switch back to a shared_ptr per chat with @anandthakker * Fix benchmark compilation * Shot in the dark to fix CI * Shot in the dark to fix CI (part 2) * Shot in the dark to fix CI (part 3) * In src/mbgl/style/conversion/filter.cpp, add a port of isExpressionFilter and use it to decide in Converter<Filter>::operator() whether to parse the incoming JSON as an ExpressionFilter or one of the legacy filter types * Remove bool Filter::operator()(const GeometryTileFeature&) const * Ensure the map zoom is passed into filtering operations wherever applicable * Add expression filter tests * Addressed PR feedback * Implement `NSPredicate *operator()(mbgl::style::ExpressionFilter filter)` * Fix formatting& nit
* Relax type checking for "length"John Firebaugh2018-03-011-0/+2
|
* [core, ios, macos, android, node] Heatmap layer (#11046)Vladimir Agafonkin2018-02-151-0/+20
| | | | | Co-Authored-By: Konstantin Käfer <mail@kkaefer.com> Co-Authored-By: Anand Thakker <anandthakker@users.noreply.github.com> Co-Authored-By: Minh Nguyễn <1ec5@users.noreply.github.com>
* [core] Make RendererObserver a public interfaceThiago Marcos P. Santos2018-02-091-1/+1
| | | | Needed by backends implementing asyncronous rendering
* [build] convert CMake file list generation code to JavaScriptKonstantin Käfer2018-01-241-1/+2
| | | | Bash sorting is weird...
* [core] add raster-dem source type and hillshade layer type (#10642)Molly Lloyd2018-01-231-0/+28
|
* [core] Improve typing for !=, == expressionsJohn Firebaugh2018-01-091-0/+2
|
* [core] Use separate shaders for background and clippingLauren Budorick2018-01-091-0/+10
|
* Support TileJSON bounds property (#10701)Asheem Mamoowala2018-01-051-0/+1
| | | | | | | | * [core] Parse TileJSON bounds property * [core] Add TileRange and LatLngBounds::contains(CanonicalTileID) Move LatLngBounds::contains impl to cpp file * [core] Skip tile creation outside of tileset bounds * [core] Fix TileRange for wrapped bounds and use for CustomTileLoader instead of LatLngBounds comparisons for tiles.
* [core] Enable local glyph generation using TinySDF.Chris Loer2017-12-111-0/+1
| | | | | | | - 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-111-0/+2
|
* [core, ios, macos] Implement unique_any and remove linb::anyAsheem Mamoowala2017-11-221-1/+1
|
* [core] Custom Geometry SourcesAsheem Mamoowala2017-11-221-0/+11
|
* [core] Remove dead codeChris Loer2017-11-171-5/+0
| | | | | | - CollisionTile - FrameHistory - PlacementConfig
* [core] Update shaders/tests from GL JS.Chris Loer2017-11-171-0/+2
|
* [core] Add global CollisionIndex to replace CollisionTile.Chris Loer2017-11-171-0/+2
| | | | | | | - 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-171-0/+2
| | | | Responsible for running global collision detection/symbol placement algorithm and updating symbol opacity buffers accordingly.
* [core] Add CrossTileSymbolIndex.Chris Loer2017-11-171-0/+2
| | | | 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.
* Implement Expressions (#9439)Anand Thakker2017-11-081-0/+51
| | | Ports https://github.com/mapbox/mapbox-gl-js/pull/4777 (and its several follow-ups)
* [core] Move GLContextMode to its own Renderer headerBruno de Oliveira Abinader2017-11-011-0/+1
|
* Replace compile-time polymorphism with runtime polymorphism in the ↵John Firebaugh2017-10-231-2/+12
| | | | conversion system
* [core] make forcing cache/network only more explicitKonstantin Käfer2017-10-121-0/+1
| | | | | | 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] Split GeoJSONTileData and related classes into a separate headerAsheem Mamoowala2017-09-281-0/+1
|
* [build] split out DefaultFileSource and dependents to a separate targetKonstantin Käfer2017-09-281-2/+0
| | | | We don't want to link it into the node bindings, so keep it in a separate target
* [core] Move *TileID hashing to separate implJesse Crocker2017-09-261-1/+2
|
* [core] remove map update enumIvo van Dongen2017-08-311-1/+0
|
* [core] make thread.hpp publicIvo van Dongen2017-08-301-1/+1
|
* [core] Inline RenderItem and RenderDataJohn Firebaugh2017-08-241-1/+0
|
* [core] Merge RenderStyle into Renderer::ImplJohn Firebaugh2017-08-241-3/+0
|
* [core] current schedulerIvo van Dongen2017-08-091-0/+1
| | | | - Adds a way to set the current scheduler on the thread to be used whenever a mailbox is created that needs to reply on this thread
* [all] Merge View into RendererBackendJohn Firebaugh2017-07-261-1/+0
|
* [core] add algorithm for computing masks for raster tilesKonstantin Käfer2017-07-241-0/+2
|
* [core] Refactor Painter awayJohn Firebaugh2017-07-191-2/+3
|
* [core] Extract renderTileDebug; inline renderClippingMaskJohn Firebaugh2017-07-191-4/+0
|