Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core][android][darwin] Move number format to i18n | Alexander Shalamov | 2019-09-26 | 1 | -0/+0 |
| | |||||
* | [core] Fix performance-move-const-arg | Thiago Marcos P. Santos | 2019-09-25 | 2 | -9/+8 |
| | |||||
* | [build] Remove Qt builds from legacy buildsystem | Thiago Marcos P. Santos | 2019-09-17 | 3 | -338/+0 |
| | |||||
* | [build] Remove Qt test dependency on core | Thiago Marcos P. Santos | 2019-09-17 | 2 | -7/+13 |
| | | | | | This test is testing the Qt bindings and should only link with QMapboxGL. | ||||
* | [build] Make the default styles part of GL Native | Thiago Marcos P. Santos | 2019-09-17 | 1 | -1/+0 |
| | | | | | The reason is applications using it, like GLFW, don't need to depend on code inside platform/default. | ||||
* | [build] Cosmetics on vendor packages | Thiago Marcos P. Santos | 2019-09-17 | 1 | -2/+2 |
| | | | | | | - Add include guards on all the files - Add a vendor package for sqlite and gtest - Use relative paths to all the files | ||||
* | [core] Update MapObserver::onDidFinishRenderingFrame() API | Mikhail Pozdnyakov | 2019-09-12 | 2 | -3/+3 |
| | |||||
* | [core][qt] Check if QFont supports glyph and adjust backing image width | Alexander Shalamov | 2019-08-28 | 1 | -9/+16 |
| | | | | | | | - Don't rasterize glyphs if font does not support requested code point - Render symbols at hardcoded baseline, so that locally rasterized glyphs align better with server side generated fonts. - Resize backing QImage width to be at least 24px | ||||
* | [core] Remove programCacheDir parameter from ProgramParameters | Ander Conselvan de Oliveira | 2019-08-27 | 1 | -1/+1 |
| | | | | | | Binary shader support has been removed in commit c2f974f2a573 ([core] Remove binary shader support). This left-over parameter is not used anywhere anymore. | ||||
* | [core] Export symbol placement update status from MapObserver | Mikhail Pozdnyakov | 2019-08-23 | 3 | -4/+4 |
| | |||||
* | [core] Add number-format expression | Juha Alanen | 2019-06-27 | 2 | -0/+27 |
| | |||||
* | [core] option to perform platform specific operations when ↵ | Łukasz Paczos | 2019-05-22 | 1 | -0/+7 |
| | | | | creating/destroying core threads | ||||
* | [core] Refactor HeadlessFrontend/Backend: GL separation and factory (#14692) | Aleksandar Stojiljkovic | 2019-05-21 | 1 | -2/+4 |
| | | | | | Refactor out HeadlessFrontend and HeadlessBackend gl independent code to gfx. Define gl::HeadlessBackend as subclass, instantiated by gfx::HeadlessBackend static factory method. GL dependent tests are still using gl::HeadlessBackend directly (not through gfx). | ||||
* | [core] Make the BackgroundScheduler a singleton | Thiago Marcos P. Santos | 2019-05-10 | 6 | -17/+4 |
| | | | | | | | | | | - Do not carry it over everywhere as parameter, it is a shared instance anyway and the lifecycle is pretty much the app lifecycle from the moment we instantiate a map. - Rename to BackgroundScheduler because it is a Scheduler that will do tasks in the background, we don't make assumptions if it is a thread pool or a single thread. - Most importantly, remove the dependency from `core` on `platform`. | ||||
* | [core] refactor ThreadLocal backend | Konstantin Käfer | 2019-04-08 | 1 | -27/+17 |
| | |||||
* | [core] move GLContextMode to RendererBackend | Konstantin Käfer | 2019-04-05 | 4 | -6/+8 |
| | |||||
* | [core] refactor RendererBackend | Konstantin Käfer | 2019-04-05 | 6 | -38/+60 |
| | |||||
* | [core] move BackendScope to gfx namespace | Konstantin Käfer | 2019-04-05 | 4 | -5/+4 |
| | |||||
* | [core] Include pixelRatio property in MapOptions | Sudarsana Babu Nagineni | 2019-03-28 | 1 | -3/+5 |
| | | | | Move pixelRatio property from Map constructor to MapOptions. | ||||
* | [core] Add setter/getter for size property in MapOptions | Sudarsana Babu Nagineni | 2019-03-28 | 1 | -4/+5 |
| | |||||
* | [core] Add interface to change the orientation through MapOptions | Sudarsana Babu Nagineni | 2019-03-28 | 1 | -1/+1 |
| | |||||
* | [core] Fix signature of fluent interface setters | Bruno de Oliveira Abinader | 2019-03-23 | 1 | -4/+4 |
| | |||||
* | [core] Remove file source from public Map ctor | Bruno de Oliveira Abinader | 2019-03-20 | 3 | -66/+34 |
| | |||||
* | [core] Group Map LatLngBounds, min and max zoom methods | Ander Conselvan de Oliveira | 2019-03-14 | 1 | -2/+2 |
| | | | | | | | | 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] Get FileSource via UpdateParameters in Renderer::Impl | Bruno de Oliveira Abinader | 2019-03-13 | 4 | -9/+3 |
| | |||||
* | [core] Don't use exceptions in MapObserver::onDidFailLoadingMap | Ander Conselvan de Oliveira | 2019-03-13 | 2 | -18/+16 |
| | | | | | | | 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. | ||||
* | [Qt] Fix race when locking a FileSource | Thiago Marcos P. Santos | 2019-03-08 | 1 | -2/+5 |
| | | | | | | We were returning the FileSource, it could have expired already. We _need_ to check if the lock() on the weak pointer worked before returning. | ||||
* | [core] Add MapOptions to define properties of Map | Sudarsana Babu Nagineni | 2019-03-08 | 1 | -3/+6 |
| | | | | | | To simplify the Map constructor, introduce MapOptions interface to define the properties that can be set on a Map. | ||||
* | [qt] Also use the base API URL as key for sharing the cache. | Thiago Marcos P. Santos | 2019-03-04 | 1 | -2/+3 |
| | | | | | Otherwise we will have a URL pointing to different servers and potentially different data. | ||||
* | [core] Remove map coordinate setters/getters | Bruno de Oliveira Abinader | 2019-03-04 | 1 | -6/+8 |
| | |||||
* | [core] Transform{State}: s/angle/bearing/ | Bruno de Oliveira Abinader | 2019-03-04 | 2 | -6/+6 |
| | |||||
* | [core] Remove map bearing setters/getters | Bruno de Oliveira Abinader | 2019-03-04 | 1 | -3/+7 |
| | |||||
* | [core] Remove map pitch setters/getters | Bruno de Oliveira Abinader | 2019-03-04 | 1 | -2/+2 |
| | |||||
* | [core] Remove map zoom setters/getters | Bruno de Oliveira Abinader | 2019-03-04 | 1 | -6/+8 |
| | |||||
* | [core] Added Map::pitchBy() | Bruno de Oliveira Abinader | 2019-03-04 | 3 | -1/+7 |
| | |||||
* | [core] Added Map::scaleBy() | Bruno de Oliveira Abinader | 2019-03-04 | 1 | -1/+1 |
| | |||||
* | [qt] Cleanup QMapboxGL::coordinateZoomForBounds() | Bruno de Oliveira Abinader | 2019-03-04 | 1 | -14/+1 |
| | |||||
* | [qt] Share the same file source only if using the same access token | Thiago Marcos P. Santos | 2019-02-27 | 1 | -13/+14 |
| | | | | | If access tokens are different, we cannot share the file source, because it will override the previously set access token. | ||||
* | [qt] fix missing alpha channel for `QColor` | xylosper | 2019-02-20 | 2 | -5/+12 |
| | | | | | | | | `QColor::name()` produces `#rrggbb` format where alpha is missing. Use `rgba(...)` string instead when convert `QColor` to mapbox style. Note: `QColor::name(QColor::HexArgb)` produces `#aarrggbb` format string, but mapbox does not support this format apparently. | ||||
* | [build] Use the correct define on Windows | Thiago Marcos P. Santos | 2019-02-19 | 1 | -1/+0 |
| | | | | https://blog.kowalczyk.info/article/j/guide-to-predefined-macros-in-c-compilers-gcc-clang-msvc-etc..html | ||||
* | [android,darwin,ios,qt] Remove unused code | Thiago Marcos P. Santos | 2019-02-12 | 2 | -178/+0 |
| | | | | These files are no longer needed after the new GL abstraction. | ||||
* | [core] Switch to the new OpenGL abstraction | Thiago Marcos P. Santos | 2019-02-12 | 2 | -1/+2 |
| | | | | | | 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. | ||||
* | [android,linux,darwin,qt] Load OpenGL for the platform | Thiago Marcos P. Santos | 2019-02-12 | 1 | -0/+566 |
| | | | | | | | | These loaders will provide pointers to the platform implementation of OpenGL. On Android, Linux and Darwin, we simply link with the OpenGL implementation that is expected to exist on the platform. Qt has its own GL loader, so we just connect the dots. | ||||
* | [qt] fix missing Q_MAPBOXGL_EXPORTs | xylosper | 2019-02-12 | 1 | -3/+3 |
| | | | | | New projection-related functions in QMapbox namespace are missing Q_MAPBOXGL_EXPORTs. | ||||
* | [qt] add global projection functions | xylosper | 2019-02-12 | 3 | -5/+34 |
| | | | | | | | | | | | There are 3 methods in QMapboxGL which can be static method. QMapboxGL::metersPerPixelAtLatitude QMapboxGL::projectedMetersForCoordinate QMapboxGL::coordinateForProjectedMeters Add these functions into QMapbox namespace as global functions. The methods in QMapboxGL are kept for backward compatibility. | ||||
* | [qt] Add example of feature collection data for GeoJSON source | xylosper | 2019-02-01 | 1 | -0/+54 |
| | | | | | | The example shows that both of QList<QMapbox::Feature> and QVector<QMapbox::Feature> can be used as feature collection data for GeoJSON layer. | ||||
* | [qt] Support feature collection for GeoJSON source data | xylosper | 2019-02-01 | 1 | -1/+18 |
| | | | | | This commit adds support of `QVector<QMapbox::Feature>` and `QList<QMapbox::Feature>` for data in GeoJSON source. | ||||
* | [qt] Use QVector instead of QList | Thiago Marcos P. Santos | 2019-01-30 | 4 | -17/+17 |
| | | | | | | | For our use case `QVector` is more efficient and will do less memory allocations. Fixes: #13830 | ||||
* | [Qt] Support local font family in QMapboxGLSettings | Bruno de Oliveira Abinader | 2019-01-04 | 5 | -4/+35 |
| | |||||
* | [Qt] Implement LocalGlyphRasterizer | Bruno de Oliveira Abinader | 2019-01-04 | 2 | -1/+75 |
| |