Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] Schedule invocation of onStyleImageMissing completion callback on the ↵ | Alexander Shalamov | 2019-05-09 | 1 | -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 alphabetically | Konstantin Käfer | 2019-05-02 | 1 | -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 API | Sudarsana Babu Nagineni | 2019-04-29 | 1 | -0/+14 |
| | |||||
* | [core] change approach to stencil clipping to (almost) match JS | Konstantin Käfer | 2019-04-29 | 3 | -564/+0 |
| | |||||
* | [core] Add unit test for ImageManager::reduceMemoryUsage | Alexander Shalamov | 2019-04-25 | 1 | -1/+60 |
| | |||||
* | [core] Pass ImageManager to ImageRequestor's constructor | Alexander Shalamov | 2019-04-25 | 1 | -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 Pozdnyakov | 2019-04-17 | 3 | -19/+44 |
| | |||||
* | [core] Use `style::LayerProperties` in render layers, buckets and layouts. | Mikhail Pozdnyakov | 2019-04-17 | 2 | -61/+0 |
| | |||||
* | fix firing onStyleImageMissing after sprite has loaded (#14369) | Ansis Brammanis | 2019-04-08 | 1 | -0/+75 |
| | |||||
* | [core] Move should not call destructors | Alexander Shalamov | 2019-04-05 | 2 | -0/+101 |
| | |||||
* | [core] clang-tidy fixes | Konstantin Käfer | 2019-04-05 | 10 | -51/+51 |
| | |||||
* | [core] move GLContextMode to RendererBackend | Konstantin Käfer | 2019-04-05 | 3 | -3/+6 |
| | |||||
* | [core] refactor RendererBackend | Konstantin Käfer | 2019-04-05 | 6 | -32/+32 |
| | |||||
* | [core] move BackendScope to gfx namespace | Konstantin Käfer | 2019-04-05 | 8 | -21/+23 |
| | |||||
* | [core] add gfx::Renderable and gfx::OffscreenTexture | Konstantin Käfer | 2019-04-05 | 1 | -3/+4 |
| | |||||
* | [core] add getResource template to gfx::*Resource classes | Konstantin Käfer | 2019-04-05 | 1 | -1/+1 |
| | |||||
* | add onStyleImageMissing to allow dynamically loaded or generated images (#14253) | Ansis Brammanis | 2019-04-02 | 1 | -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 part | Mikhail Pozdnyakov | 2019-03-29 | 2 | -13/+13 |
| | |||||
* | [core] Traverse expression tree when checking for property overrides | Alexander Shalamov | 2019-03-28 | 1 | -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 MapOptions | Sudarsana Babu Nagineni | 2019-03-28 | 12 | -44/+37 |
| | | | | Move pixelRatio property from Map constructor to MapOptions. | ||||
* | [test] Add unit tests for MapOptions | Sudarsana Babu Nagineni | 2019-03-28 | 1 | -0/+30 |
| | |||||
* | [core] Add setter/getter for size property in MapOptions | Sudarsana Babu Nagineni | 2019-03-28 | 12 | -34/+34 |
| | |||||
* | [core] harden fetching camera for bounds when padding is excessive | Łukasz Paczos | 2019-03-25 | 1 | -0/+12 |
| | |||||
* | [core] Remove file source from public Map ctor | Bruno de Oliveira Abinader | 2019-03-20 | 14 | -109/+129 |
| | |||||
* | [core] remove a_/u_ prefix from attribute/uniform types | Konstantin Käfer | 2019-03-20 | 1 | -17/+17 |
| | |||||
* | Merge pull request #14126 from mapbox/gfx-refactor-4 | Konstantin Käfer | 2019-03-15 | 2 | -10/+10 |
| | | | Graphics refactor #4 | ||||
* | [core] Group Map LatLngBounds, min and max zoom methods | Ander Conselvan de Oliveira | 2019-03-14 | 2 | -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 Oliveira | 2019-03-14 | 1 | -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 pitch | Ander Conselvan de Oliveira | 2019-03-14 | 1 | -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 Paczos | 2019-03-13 | 1 | -0/+8 |
| | |||||
* | [core] Get FileSource via UpdateParameters in Renderer::Impl | Bruno de Oliveira Abinader | 2019-03-13 | 11 | -15/+15 |
| | |||||
* | [core] Add possibility of overriding paint properties inside format ↵ | Alexander Shalamov | 2019-03-13 | 4 | -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::onDidFailLoadingMap | Ander Conselvan de Oliveira | 2019-03-13 | 1 | -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 fn | Konstantin Käfer | 2019-03-12 | 2 | -2/+8 |
| | |||||
* | [core] move Texture to the gfx namespace | Konstantin Käfer | 2019-03-12 | 1 | -1/+1 |
| | |||||
* | [core] move Texture related enums to gfx namespace | Konstantin Käfer | 2019-03-12 | 1 | -1/+1 |
| | |||||
* | [core] Add MapOptions to define properties of Map | Sudarsana Babu Nagineni | 2019-03-08 | 11 | -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 API | Sudarsana Babu Nagineni | 2019-03-08 | 2 | -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 lossless | Bruno de Oliveira Abinader | 2019-03-06 | 1 | -80/+84 |
| | |||||
* | Update mapbox-gl-js submodule to v0.53.0 | Mikhail Pozdnyakov | 2019-03-06 | 1 | -1/+4 |
| | |||||
* | remove unused dem memory | Molly Lloyd | 2019-03-05 | 1 | -6/+4 |
| | |||||
* | [core] Remove map coordinate setters/getters | Bruno de Oliveira Abinader | 2019-03-04 | 1 | -3/+3 |
| | |||||
* | [core] Transform{State}: s/angle/bearing/ | Bruno de Oliveira Abinader | 2019-03-04 | 5 | -26/+26 |
| | |||||
* | [core] Remove map bearing setters/getters | Bruno de Oliveira Abinader | 2019-03-04 | 1 | -1/+1 |
| | |||||
* | [core] Remove map zoom setters/getters | Bruno de Oliveira Abinader | 2019-03-04 | 8 | -39/+39 |
| | |||||
* | [core] extract attribute structs and gl::Vertex to separate namespace | Konstantin Käfer | 2019-03-01 | 1 | -2/+2 |
| | |||||
* | [core] Simplify util::peer | Mikhail Pozdnyakov | 2019-02-28 | 1 | -26/+21 |
| | | | | Remove custom vtable, base implementation on `std::unique_ptr`. | ||||
* | [core] Use unwrapped longitude for bounds check | Bruno de Oliveira Abinader | 2019-02-26 | 1 | -1/+146 |
| | |||||
* | [core] Ensure 'isPanning' is true when panning a full round | Bruno de Oliveira Abinader | 2019-02-26 | 1 | -0/+17 |
| | |||||
* | [core] Layer manager is responsible for buckets and layouts creation | Mikhail Pozdnyakov | 2019-02-25 | 1 | -1/+1 |
| | | | | This is a step to stop using of render layers in tile worker thread. |