summaryrefslogtreecommitdiff
path: root/platform/qt
Commit message (Collapse)AuthorAgeFilesLines
* Revert "[core] Remove Map::cycleDebugOptions"tobrun2019-12-193-0/+14
| | | | This reverts commit 1e2cd1e086c3053f1cea075d7641b7f56cc7dfbf.
* [core] Remove Map::cycleDebugOptionsBruno de Oliveira Abinader2019-12-043-14/+0
|
* [android][node][qt] Update platform code for style::Layer::setProperty()Mikhail Pozdnyakov2019-12-031-2/+2
|
* [qt] Fix code formattingThiago Marcos P. Santos2019-11-111-15/+13
|
* [qt] Make image source url update possibleTadej Novak2019-11-111-4/+10
|
* [core,android,darwin,qt] Add fields related to feature-stateJuha Alanen2019-10-282-2/+2
| | | | | Move the fields from geometry.hpp/feature.hpp as they are not part of the GeoJSON specification.
* [core] Introduce Scheduler::makeWeakPtr()Mikhail Pozdnyakov2019-10-091-0/+2
|
* [core] Decouple Scheduler interface from actor modelMikhail Pozdnyakov2019-10-042-8/+7
| | | | So that it is possible to schedule normal `std::function` and use `mapbox::base::WeakPtr`.
* [core][android][darwin] Move number format to i18nAlexander Shalamov2019-09-261-0/+0
|
* [core] Fix performance-move-const-argThiago Marcos P. Santos2019-09-252-9/+8
|
* [build] Remove Qt builds from legacy buildsystemThiago Marcos P. Santos2019-09-173-338/+0
|
* [build] Remove Qt test dependency on coreThiago Marcos P. Santos2019-09-172-7/+13
| | | | | This test is testing the Qt bindings and should only link with QMapboxGL.
* [build] Make the default styles part of GL NativeThiago Marcos P. Santos2019-09-171-1/+0
| | | | | The reason is applications using it, like GLFW, don't need to depend on code inside platform/default.
* [build] Cosmetics on vendor packagesThiago Marcos P. Santos2019-09-171-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() APIMikhail Pozdnyakov2019-09-122-3/+3
|
* [core][qt] Check if QFont supports glyph and adjust backing image widthAlexander Shalamov2019-08-281-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 ProgramParametersAnder Conselvan de Oliveira2019-08-271-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 MapObserverMikhail Pozdnyakov2019-08-233-4/+4
|
* [core] Add number-format expressionJuha Alanen2019-06-272-0/+27
|
* [core] option to perform platform specific operations when ↵Łukasz Paczos2019-05-221-0/+7
| | | | creating/destroying core threads
* [core] Refactor HeadlessFrontend/Backend: GL separation and factory (#14692)Aleksandar Stojiljkovic2019-05-211-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 singletonThiago Marcos P. Santos2019-05-106-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 backendKonstantin Käfer2019-04-081-27/+17
|
* [core] move GLContextMode to RendererBackendKonstantin Käfer2019-04-054-6/+8
|
* [core] refactor RendererBackendKonstantin Käfer2019-04-056-38/+60
|
* [core] move BackendScope to gfx namespaceKonstantin Käfer2019-04-054-5/+4
|
* [core] Include pixelRatio property in MapOptionsSudarsana Babu Nagineni2019-03-281-3/+5
| | | | Move pixelRatio property from Map constructor to MapOptions.
* [core] Add setter/getter for size property in MapOptionsSudarsana Babu Nagineni2019-03-281-4/+5
|
* [core] Add interface to change the orientation through MapOptionsSudarsana Babu Nagineni2019-03-281-1/+1
|
* [core] Fix signature of fluent interface settersBruno de Oliveira Abinader2019-03-231-4/+4
|
* [core] Remove file source from public Map ctorBruno de Oliveira Abinader2019-03-203-66/+34
|
* [core] Group Map LatLngBounds, min and max zoom methodsAnder Conselvan de Oliveira2019-03-141-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::ImplBruno de Oliveira Abinader2019-03-134-9/+3
|
* [core] Don't use exceptions in MapObserver::onDidFailLoadingMapAnder Conselvan de Oliveira2019-03-132-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 FileSourceThiago Marcos P. Santos2019-03-081-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 MapSudarsana Babu Nagineni2019-03-081-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. Santos2019-03-041-2/+3
| | | | | Otherwise we will have a URL pointing to different servers and potentially different data.
* [core] Remove map coordinate setters/gettersBruno de Oliveira Abinader2019-03-041-6/+8
|
* [core] Transform{State}: s/angle/bearing/Bruno de Oliveira Abinader2019-03-042-6/+6
|
* [core] Remove map bearing setters/gettersBruno de Oliveira Abinader2019-03-041-3/+7
|
* [core] Remove map pitch setters/gettersBruno de Oliveira Abinader2019-03-041-2/+2
|
* [core] Remove map zoom setters/gettersBruno de Oliveira Abinader2019-03-041-6/+8
|
* [core] Added Map::pitchBy()Bruno de Oliveira Abinader2019-03-043-1/+7
|
* [core] Added Map::scaleBy()Bruno de Oliveira Abinader2019-03-041-1/+1
|
* [qt] Cleanup QMapboxGL::coordinateZoomForBounds()Bruno de Oliveira Abinader2019-03-041-14/+1
|
* [qt] Share the same file source only if using the same access tokenThiago Marcos P. Santos2019-02-271-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`xylosper2019-02-202-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 WindowsThiago Marcos P. Santos2019-02-191-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 codeThiago Marcos P. Santos2019-02-122-178/+0
| | | | These files are no longer needed after the new GL abstraction.
* [core] Switch to the new OpenGL abstractionThiago Marcos P. Santos2019-02-122-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.