Bruno de Oliveira Abinader
803a4d46ed
[Qt] Added QMapboxGL::MapLoadingFailure enum
2018-03-05 14:41:58 -05:00
Bruno de Oliveira Abinader
fc140e265b
[Qt] Expose mapLoadingFailed signal
2018-03-05 14:41:58 -05:00
Bruno de Oliveira Abinader
380f5dc88b
[qt] Rename Qt SDK to 'Mapbox Maps SDK for Qt'
2018-02-27 16:28:55 +02:00
Thiago Marcos P. Santos
d229cbb031
[qt] Add an interface for Static rendering
2018-02-09 20:28:54 +02:00
Thiago Marcos P. Santos
36a0c98713
[qt] Refresh the docs
2018-02-09 20:28:54 +02:00
Thiago Marcos P. Santos
6542e6ee37
[qt] Make sure that methods are being called on the right thread
2018-02-09 20:28:54 +02:00
Thiago Marcos P. Santos
673730ccd4
[qt] Implement FBO handling
...
Needed for rendering 3D extrusions properly.
2018-02-09 20:28:54 +02:00
Thiago Marcos P. Santos
4f8a23cd8f
[qt] Expose an interface to create a renderer on a separated thread
...
If not called, it will render on the main thread as usual.
2018-02-09 20:28:54 +02:00
Thiago Marcos P. Santos
a062f3e17b
[qt] Update map rendering via RendererObserver
2018-02-09 20:28:54 +02:00
Thiago Marcos P. Santos
e7e8cb4547
[qt] Render asynchronously
2018-02-09 20:28:54 +02:00
Konstantin Käfer
2eec5a1980
[core] move HeadlessBackend extension initialization code into Impl
2017-11-29 15:48:51 +01:00
Bruno de Oliveira Abinader
43aefbffd0
[Qt] Update documentation
2017-11-23 15:36:26 +02:00
Bruno de Oliveira Abinader
10a9b25928
[Qt] Fix deprecation warnings in Qt 5.10
2017-11-13 11:47:31 -02:00
Bruno de Oliveira Abinader
a339dcc6cc
[Qt] Do not assume viewport size == fbo size in Qt4
2017-11-09 16:13:05 +02:00
John Firebaugh
4b2e1cddb4
Replace compile-time polymorphism with runtime polymorphism in the conversion system
2017-10-23 09:56:43 -07:00
Rinigus
1cf8ef0437
[qt] use const for setting ResourceTransform
2017-10-09 13:22:58 +03:00
Rinigus
965bfcfaac
[qt] add ResourceTransform API
2017-10-09 13:22:58 +03:00
Lauren Budorick
a9ddf5b7fd
Preserve depth buffer between 3D layers + optimize render order ( #9931 )
...
Port of https://github.com/mapbox/mapbox-gl-js/pull/5101 : adds a new render pass `Pass3D` before any other rendering wherein we render layers with 3D passes (fill-extrusion layers) to offscreen framebuffers, sharing a depth renderbuffer between those layers in order to render 3D space correctly. Those framebuffers are saved on the RenderLayers and copied back to the map during the translucent pass. Rendering to offscreen framebuffers before we do any clear + draw means we can avoid expensive framebuffer restores.
2017-09-21 14:26:48 -07:00
Thiago Marcos P. Santos
2108763010
[core] Remove std:: namespace for some functions
...
They are not available on Android + GCC (needed by Qt)
2017-08-07 17:20:33 +03:00
John Firebaugh
d4cb498d7a
[all] Merge View into RendererBackend
2017-07-26 09:50:38 -07:00
Ivo van Dongen
4dee3a0d8d
[qt] manage backendscope in renderer frontend
2017-07-25 17:44:28 +03:00
Thiago Marcos P. Santos
7e8fe05af0
[Qt] Avoid using brace-list init ctor in QMapboxGL
2017-07-19 16:44:30 +03:00
Ivo van Dongen
815ffb253b
[android][glfw][ios][macos][node][qt] rename backend to renderer backend
2017-07-18 10:45:12 +02:00
Ivo van Dongen
ee205ca9ca
[qt] rendering interface changes
2017-07-18 10:45:12 +02:00
Ivo van Dongen
39a732d7ae
[android][glfw][ios][macos][node][qt] split backend from mapobserver
2017-07-18 10:45:12 +02:00
Thiago Marcos P. Santos
ee32df4687
[Qt] Fix docs warnings
2017-07-13 14:59:45 +03:00
Thiago Marcos P. Santos
bb1a209a63
[Qt] Share the DefaultFileSource for all QMapboxGL instances
...
Fix issues of concurrent access to the sqlite cache.
Fixes #9108 .
2017-07-13 14:59:45 +03:00
Bruno de Oliveira Abinader
e99e167848
[Qt] Do not return a valid mbgl::Annotation if conversion fails
2017-07-12 20:42:29 +03:00
Bruno de Oliveira Abinader
3afbfa2de7
[core] GCC 4.9 shadow member warnings
2017-07-12 20:42:29 +03:00
John Firebaugh
40e4755621
[core] Move setStyleJSON/URL to Style; add Map::setStyle
2017-06-22 08:04:39 -07:00
John Firebaugh
1520a56813
[all] Promote Style to public API
2017-06-22 08:04:39 -07:00
Bruno de Oliveira Abinader
28eb2e6354
[core] Added Backend::{assume,set}Viewport
2017-06-13 13:37:41 +03:00
John Firebaugh
cc1ea759a6
[core, node, darwin, android, qt] Make image ID part of Image
...
More like Source and Layer.
2017-05-16 12:26:35 -07:00
John Firebaugh
244fdaa405
[qt] Un-deprecate QMapboxGL::setTransitionOptions
...
It's still relevant for runtime-styling driven paint property changes.
2017-05-15 09:45:55 -07:00
John Firebaugh
9eba2a66d1
[core, node, darwin, qt] Remove support for paint classes
2017-05-15 09:45:55 -07:00
Thiago Marcos P. Santos
c307273dae
[Qt] Make it possible to add a layer before another layer
2017-05-11 20:28:18 +03:00
John Firebaugh
c130d470a1
[core] Remove StyleSourcedAnnotation support
...
The functionality this provided has been subsumed by the runtime styling API.
2017-05-10 14:22:01 -07:00
John Firebaugh
baaae99a03
[core, android] Factor JSON string conversions
...
This adds a `convertJSON` template, to be used like:
Error error
optional<Foo> foo = convertJSON<Foo>(string, error);
Internally, it parses the string with RapidJSON and then calls `convert<Foo>(parsed, error)`.
While here, rationalize GeoJSON converters and fix error handling for Tileset conversion in OfflineDownload.
2017-05-08 13:48:57 -07:00
Bruno de Oliveira Abinader
f59ba4e3f3
Revert "[Qt] Don't regen BackendScope on every QMapboxGL::render() call"
...
This reverts commit 806da5d940 .
2017-05-04 21:02:40 +03:00
Bruno de Oliveira Abinader
806da5d940
[Qt] Don't regen BackendScope on every QMapboxGL::render() call
2017-05-04 15:58:30 +03:00
Thiago Marcos P. Santos
184a4389e1
[Qt] Handle extrusion filters
2017-05-02 10:07:02 +03:00
John Firebaugh
5dd98df50b
[all] Rationalize style::Image
...
A style has a collection of images, just as it has collections of sources and layers.
* Name things appropriately
* Use std::unique_ptr
2017-04-24 15:52:28 -07:00
John Firebaugh
092da9c956
[core] Remove non-Map-dependent projection methods from Map
2017-04-18 14:43:31 +03:00
Bruno de Oliveira Abinader
2f4d162deb
[core] Tighten geo.hpp ctors
2017-04-14 12:33:13 -07:00
John Firebaugh
f1c06f8d83
[all] Remove redundant scale-related camera methods
...
We don't need to have two different measurement systems for map zoom.
2017-04-13 10:28:44 -07:00
Bruno de Oliveira Abinader
b25c8f043b
[Qt] Sanitize QSize → mbgl::Size conversion
2017-04-10 18:01:28 +03:00
John Firebaugh
16a2839e23
[all] Make LatLng coordinates read-only
2017-04-06 09:22:51 -07:00
Konstantin Käfer
a84aa453a9
[core] Privatize OpenGL/Context headers
2017-03-28 13:53:19 +02:00
Konstantin Käfer
234384ece9
[core] Move OpenGL extension initialization to Backend
2017-03-23 14:50:11 -07:00
Konstantin Käfer
8e5214144e
[core] Ensure that a BackendScope exists when doing GL calls
2017-03-23 14:50:11 -07:00