summaryrefslogtreecommitdiff
path: root/test/util
Commit message (Collapse)AuthorAgeFilesLines
* [core] Get FileSource via UpdateParameters in Renderer::ImplBruno de Oliveira Abinader2019-03-131-3/+3
|
* [core] Add possibility of overriding paint properties inside format ↵Alexander Shalamov2019-03-131-1/+1
| | | | | | | | | | | | | | | | | | expression #14062 * [core] Add format override expression and formatted section to evaluation context * [core] Add textColor to TaggedString's formatted section * [core] Add FormatSectionOverrides and introduce overridable properties * [core] Populate symbol layer paint properties for text sections * [core] Add benchmark for style that uses text-color override * [core] Add unit test for FormatOverrideExpression * [core] Add unit test for FormatSectionOverrides
* [core] add texture bindings to draw call instead of Context member fnKonstantin Käfer2019-03-121-1/+2
|
* [core] move Texture related enums to gfx namespaceKonstantin Käfer2019-03-121-1/+1
|
* [core] Add MapOptions to define properties of MapSudarsana Babu Nagineni2019-03-081-3/+5
| | | | | | To simplify the Map constructor, introduce MapOptions interface to define the properties that can be set on a Map.
* [core] Transform{State}: s/angle/bearing/Bruno de Oliveira Abinader2019-03-041-1/+1
|
* [core] Remove map zoom setters/gettersBruno de Oliveira Abinader2019-03-041-2/+2
|
* [core] Simplify util::peerMikhail Pozdnyakov2019-02-281-26/+21
| | | | Remove custom vtable, base implementation on `std::unique_ptr`.
* [core] Switch to the new OpenGL abstractionThiago Marcos P. Santos2019-02-121-1/+3
| | | | | | This patch will make Mapbox GL Core never use OpenGL directly. We should consider locking into OpenGL ES 2.0 to simplify the code path and remove #ifdefs.
* [core,ios,macos] Updates default styles to streets v11, etc. (#13585)Julian Rex2018-12-181-2/+2
|
* [core] Cleanup Transform, use {jump,ease}To() insteadBruno de Oliveira Abinader2018-11-271-5/+3
|
* [build] Update to geometry v1.0.0Bruno de Oliveira Abinader2018-11-131-1/+1
|
* [core] Change toLowerHex to produce lower hex sequencesAlexander Shalamov2018-11-071-1/+1
|
* [core] don't use <sstream> and <iomanip> for string constructionKonstantin Käfer2018-10-231-0/+8
|
* [core] add the ability to stringy numbers as hexKonstantin Käfer2018-10-231-0/+11
|
* [core] add ability to stringify doubles that are integer with and without ↵Konstantin Käfer2018-10-231-0/+5
| | | | trailing ".0"
* [core] deduplicate dtoa() from RapidJSON and add testsKonstantin Käfer2018-10-231-0/+13
|
* [core] Initial implementation of 'format' expressionChris Loer2018-10-151-1/+3
|
* [linux,qt] Remove remainder of WebP supportKonstantin Käfer2018-09-132-30/+2
|
* [android] add support for gnustlKonstantin Käfer2018-09-111-13/+13
|
* [core] Replace unique_any with peer from mapbox-bindgenBruno de Oliveira Abinader2018-08-082-218/+194
|
* Add fuzz tests for TileCover and fix out of bounds access crash.Asheem Mamoowala2018-07-161-1/+58
|
* Fix TileCover asserts. The create_bounds_towards_* methods were treatingAsheem Mamoowala2018-07-161-0/+14
| | | | | all point arrays as rings. Simplify the logic to only compare against the next pt in the bound.
* [core] Harden Projection::project()Bruno de Oliveira Abinader2018-07-091-0/+43
|
* [core] Avoid blocking in Thread<Object> constructor (#12151)Anand Thakker2018-07-031-2/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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] Fix issues in unique_anyJohn Firebaugh2018-06-251-4/+36
| | | | | | | * Eliminate unnecessary temporary in VTableStack::move, which also fixes calling the destructor on the incorrect instance * Make move consistent: it destructs the src, not the dest, which is always empty * delete doesn't need a null guard * Conversions to void* don't need a cast
* [core] Align URL token replacement behavior with GL JSJohn Firebaugh2018-05-181-0/+3
| | | | I.e. preserve unknown tokens in URLs rather than replacing them with an empty string.
* [core] Streaming TileCover for polygonal regions (#11267)Asheem Mamoowala2018-04-262-17/+223
| | | A per-tile streaming algorithm for tile cover on points, lines, and polygons. Works for individual zoom levels, and not zoom ranges.
* [core] Support a range of zooms in TileRange. Accounts for TilePyramid ↵Asheem Mamoowala2018-02-191-1/+12
| | | | requesting parent tiles of ideal zoom tiles.
* [core] prioritize Thread::pause() callsKonstantin Käfer2018-02-061-0/+14
|
* Support TileJSON bounds property (#10701)Asheem Mamoowala2018-01-051-0/+56
| | | | | | | | * [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] Support wrapped bounds in LatLngBounds::contains and ↵Asheem Mamoowala2017-12-071-3/+122
| | | | LatLngBounds::intersect.
* [core, ios, macos] Implement unique_any and remove linb::anyAsheem Mamoowala2017-11-221-0/+186
|
* [core] Split MapMode::Still into Static and TileAnsis Brammanis2017-11-171-3/+3
| | | | | `Tile` makes sure the symbols in the resulting tile are tileable while symbols in `Still` match rendering in `Continuous` mode.
* [core] Update unit tests for viewport collision.Chris Loer2017-11-171-0/+53
| | | | Add 'GridIndex' unit test.
* [core] Add LatLngBounds::contains(const LatLngBounds&)Asheem Mamoowala2017-10-301-0/+6
|
* [core] Move SourceType to the 'style' namespaceAnand Thakker2017-10-161-0/+1
|
* Fast tileCount with help from @mapbox/sphericalmercator moduleAsheem Mamoowala2017-09-081-0/+9
|
* [node, tests] Consolidate headless rendering logic in HeadlessFrontendJohn Firebaugh2017-07-262-62/+37
|
* [test] allow only a single shared display to avoid egl errorsIvo van Dongen2017-07-182-3/+3
|
* [core] rename backend to renderer backendIvo van Dongen2017-07-182-2/+2
|
* [core] renderer interfaceIvo van Dongen2017-07-181-13/+35
|
* [core] split backend from mapobserverIvo van Dongen2017-07-181-7/+9
|
* [core] Make sure ThreadLocal will not own the pointer it is managingThiago Marcos P. Santos2017-07-141-10/+18
| | | | | | | | | | | | | | ThreadLocal should not own the pointer it is managing because the use case in Mapbox GL is to keep a pointer to a stack allocated object, like: ``` MyObject foo; threadLocal.set(&foo); ``` To keep consistency, it is required that we clear the managed object before ThreadLocal gets destroyed by setting it to `nullptr`.
* [core] GCC 4.9 bracket initialization issuesBruno de Oliveira Abinader2017-07-121-33/+40
|
* [test] Add utest to assert our dtoa implementation precisionThiago Marcos P. Santos2017-07-121-0/+24
|
* [core] Isolate pthread-based tls implementationThiago Marcos P. Santos2017-07-071-17/+9
|
* [test] Reuse StubGeometryTileFeature in MergeLinesBruno de Oliveira Abinader2017-07-061-34/+7
|
* [core] Move setStyleJSON/URL to Style; add Map::setStyleJohn Firebaugh2017-06-221-3/+4
|
* [core] add MBGL_CHECK_ERROR to some locations where it was missingKonstantin Käfer2017-06-211-2/+2
|