summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [core] Schedule invocation of onStyleImageMissing completion callback on the ↵Alexander Shalamov2019-05-091-0/+22
| | | | | | | | | same thread Before this change, ImageManger's 'done' callback for onStyleImageMissing observer notification that was created on renderer thread, could be called from different thread, therefore, is not thread safe. For example, on Android platform, callback was invoked from UI thread. This change makes callback to be scheduled on originating thread.
* [build] change style code generator to sort properties alphabeticallyKonstantin Käfer2019-05-021-1/+1
| | | | JSON keys in our style specification don't have a defined order. This change sorts them alphabetically so that we can rely on the order remaining them same across code generation runs.
* [test] Add unit test for clearCache APISudarsana Babu Nagineni2019-04-291-0/+14
|
* [core] change approach to stencil clipping to (almost) match JSKonstantin Käfer2019-04-293-564/+0
|
* [core] Add unit test for ImageManager::reduceMemoryUsageAlexander Shalamov2019-04-251-1/+60
|
* [core] Pass ImageManager to ImageRequestor's constructorAlexander Shalamov2019-04-251-4/+6
| | | | | This makes ImageRequestor API explicitly dependant on ImageManager, so that ImageRequestor can unregister itself from ImageManager on destruction.
* [core] Introduce `LayerRenderData`. Source::update() accepts layer properties.Mikhail Pozdnyakov2019-04-173-19/+44
|
* [core] Use `style::LayerProperties` in render layers, buckets and layouts.Mikhail Pozdnyakov2019-04-172-61/+0
|
* fix firing onStyleImageMissing after sprite has loaded (#14369)Ansis Brammanis2019-04-081-0/+75
|
* [core] Move should not call destructorsAlexander Shalamov2019-04-052-0/+101
|
* [core] clang-tidy fixesKonstantin Käfer2019-04-0510-51/+51
|
* [core] move GLContextMode to RendererBackendKonstantin Käfer2019-04-053-3/+6
|
* [core] refactor RendererBackendKonstantin Käfer2019-04-056-32/+32
|
* [core] move BackendScope to gfx namespaceKonstantin Käfer2019-04-058-21/+23
|
* [core] add gfx::Renderable and gfx::OffscreenTextureKonstantin Käfer2019-04-051-3/+4
|
* [core] add getResource template to gfx::*Resource classesKonstantin Käfer2019-04-051-1/+1
|
* add onStyleImageMissing to allow dynamically loaded or generated images (#14253)Ansis Brammanis2019-04-021-5/+11
| | | Also make `Style#updateImage(...)` much faster when the image doesn't change size. This can be useful for asynchronously generating images.
* [core] Introduce variable text placement for point labels - Layout partMikhail Pozdnyakov2019-03-292-13/+13
|
* [core] Traverse expression tree when checking for property overridesAlexander Shalamov2019-03-281-0/+12
| | | | | | | | | | Before this change, symbol layer was only checking whether top level 'text-field' layout property expression is FormatExpression and if it has paint property overrides. This change takes into account that 'text-field' might have nested expressions, thus, requires traversal over child expressions. Fixes: #14254
* [core] Include pixelRatio property in MapOptionsSudarsana Babu Nagineni2019-03-2812-44/+37
| | | | Move pixelRatio property from Map constructor to MapOptions.
* [test] Add unit tests for MapOptionsSudarsana Babu Nagineni2019-03-281-0/+30
|
* [core] Add setter/getter for size property in MapOptionsSudarsana Babu Nagineni2019-03-2812-34/+34
|
* [core] harden fetching camera for bounds when padding is excessiveŁukasz Paczos2019-03-251-0/+12
|
* [core] Remove file source from public Map ctorBruno de Oliveira Abinader2019-03-2014-109/+129
|
* [core] remove a_/u_ prefix from attribute/uniform typesKonstantin Käfer2019-03-201-17/+17
|
* Merge pull request #14126 from mapbox/gfx-refactor-4Konstantin Käfer2019-03-152-10/+10
| | | Graphics refactor #4
* [core] Group Map LatLngBounds, min and max zoom methodsAnder Conselvan de Oliveira2019-03-142-5/+31
| | | | | | | | Group bounds, minimum and maximum zoom related methods together using the new BoundOptions. v2: Document that getBounds() initializes all optional fields. - Add test for getBounds() on a map with default values.
* [core] Remove optional from Map::setLatLngBounds()Ander Conselvan de Oliveira2019-03-141-2/+2
| | | | | | | | This is a first step into grouping together bounds related Map methods into one that takes a "BoundOptions" object. LatLngBounds::unbounded() replaces an undefined optional<LatLngBounds>. v2: Document LatLngBounds::unbounded()
* [core] Remove support for setting minimum and maximum pitchAnder Conselvan de Oliveira2019-03-141-19/+0
| | | | | | | | | Support for limiting pitch was introduced in commit c4fc89977bcb ([core] Added {set,get}{Min,Max}Pitch) in 2017 but was never exposed by the platform SDKs. Simplify the Map interface by removing this unused feature. v2: Add util::PITCH_MIN
* [core] expose an option to change the db file path in runtimeŁukasz Paczos2019-03-131-0/+8
|
* [core] Get FileSource via UpdateParameters in Renderer::ImplBruno de Oliveira Abinader2019-03-1311-15/+15
|
* [core] Add possibility of overriding paint properties inside format ↵Alexander Shalamov2019-03-134-9/+140
| | | | | | | | | | | | | | | | | | 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] Don't use exceptions in MapObserver::onDidFailLoadingMapAnder Conselvan de Oliveira2019-03-131-1/+1
| | | | | | | Using different exception pointers to specify the loading failure makes an awkward API. Most users rethrow the exception only to figure out what type of error happened so it can be reported properly. So replace the exception pointer with a enum an string description of the failure.
* [core] add texture bindings to draw call instead of Context member fnKonstantin Käfer2019-03-122-2/+8
|
* [core] move Texture to the gfx namespaceKonstantin Käfer2019-03-121-1/+1
|
* [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-0811-15/+35
| | | | | | To simplify the Map constructor, introduce MapOptions interface to define the properties that can be set on a Map.
* [core] consolidate Axonometric rendering APISudarsana Babu Nagineni2019-03-082-0/+22
| | | | | | | Instead of having individual APIs for setting axonometric and skew options, create ProjectionMode struct that holds all the relevant options for Axonometric rendering and introduce setter/getter on the Map for those options.
* [core] util::wrap(): std::fmod is not losslessBruno de Oliveira Abinader2019-03-061-80/+84
|
* Update mapbox-gl-js submodule to v0.53.0Mikhail Pozdnyakov2019-03-061-1/+4
|
* remove unused dem memoryMolly Lloyd2019-03-051-6/+4
|
* [core] Remove map coordinate setters/gettersBruno de Oliveira Abinader2019-03-041-3/+3
|
* [core] Transform{State}: s/angle/bearing/Bruno de Oliveira Abinader2019-03-045-26/+26
|
* [core] Remove map bearing setters/gettersBruno de Oliveira Abinader2019-03-041-1/+1
|
* [core] Remove map zoom setters/gettersBruno de Oliveira Abinader2019-03-048-39/+39
|
* [core] extract attribute structs and gl::Vertex to separate namespaceKonstantin Käfer2019-03-011-2/+2
|
* [core] Simplify util::peerMikhail Pozdnyakov2019-02-281-26/+21
| | | | Remove custom vtable, base implementation on `std::unique_ptr`.
* [core] Use unwrapped longitude for bounds checkBruno de Oliveira Abinader2019-02-261-1/+146
|
* [core] Ensure 'isPanning' is true when panning a full roundBruno de Oliveira Abinader2019-02-261-0/+17
|
* [core] Layer manager is responsible for buckets and layouts creationMikhail Pozdnyakov2019-02-251-1/+1
| | | | This is a step to stop using of render layers in tile worker thread.