Thiago Marcos P. Santos
056073a904
[build] Use the correct define on Windows
...
https://blog.kowalczyk.info/article/j/guide-to-predefined-macros-in-c-compilers-gcc-clang-msvc-etc..html
2019-02-19 16:20:56 +02:00
Thiago Marcos P. Santos
690833ef92
[core] Switch to the new OpenGL abstraction
...
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.
2019-02-12 19:42:08 +02:00
Bruno de Oliveira Abinader
513b50eee8
[Qt] Implement LocalGlyphRasterizer
2019-01-04 17:27:41 -04:00
Konstantin Käfer
1d8235f5b8
[build] rework platform/default directory and add -files.txt for vendored libs
2018-12-14 11:03:03 +01:00
Thiago Marcos P. Santos
cd92a231b3
[qt] Deprecate Qt4 and old versions of Qt5
...
Not enough adoption to keep the platform alive.
2018-11-13 22:55:26 +02:00
Mikhail Pozdnyakov
ffdeef3a26
Refer corresponding LayerFactory instance from the Layer::Impl
2018-11-07 16:34:20 +02:00
Thiago Marcos P. Santos
69960afb8d
[build] Add build system for submodules
...
Vendorize the submodules and a simple CMake build
system for all them. The dependencies will inherit
compilation options for core.
The goal is to make Mapbox GL Core completely self
contained with a simple offline build.
2018-10-31 18:19:28 +02:00
Molly Lloyd
2cdbe934c2
[windows, qt] fix windows compiler errors, remove tao + tuple polyfill
2018-08-31 13:08:47 -07:00
Sudarsana Babu Nagineni
dfb9325057
[Qt] Add CMake toolchain for QNX platform
...
This adds CMake toolchain for QNX platform. By using this
toolchain, we can compile Mapbox GL Plugin for Qt on QNX
platform.
2018-08-07 15:50:14 +03:00
Bruno de Oliveira Abinader
66f5be3864
[Qt] Check if property value is a valid JSON string
2018-08-06 18:08:02 +03:00
Chris Loer
35256c6e5b
[core] Default "collator" implementation
...
- Based on nunicode
- Not locale-aware
- Used by linux and Qt builds
2018-07-03 10:03:05 -07:00
Thiago Marcos P. Santos
a5ef72a051
Use a shared scheduler on threads without a default scheduler
...
Render threads won't have a scheduler, so we create one that is
shared by all the maps rendering at this thread. The bad side
effect of this is that we need to wake up the render thread
to process events.
Mapbox GL should get rid of processing events on the render
thread. This solution is a workaround.
2018-06-15 19:33:27 +03:00
Bruno de Oliveira Abinader
7d1e52a325
[build] Use Qt 5.6.3 instead of 5.7 in AppVeyor
2018-05-17 18:01:12 +03:00
Thiago Marcos P. Santos
e7e8cb4547
[qt] Render asynchronously
2018-02-09 20:28:54 +02:00
Thiago Marcos P. Santos
0a7b4e3eb8
[qt] Fix import/export symbols declarations
...
Fixes #10875
2018-01-10 21:42:20 +02:00
Thiago Marcos P. Santos
5786286f9c
[windows][qt] Add build defines to build Mapbox GL + Qt on Windows
2018-01-08 22:58:20 +02:00
Konstantin Käfer
8757164ac8
[build] standardize on -fvisibility=hidden for all targets
...
Enables -fvisibility=hidden for iOS and Linux, and adds a workaround for GCC 6.3-7.1
Adds a GCC 6 build
Enables diagnostics for C files
Fixes a shadow warning in parsedate.c
2017-11-29 17:31:33 +01:00
Konstantin Käfer
335f04f7e1
[core] fold HeadlessDisplay into the headless RenderBackend implementation
2017-11-29 15:48:51 +01:00
Thiago Marcos P. Santos
cf3357ea45
[qt] Use qWarning() for logging
...
This is the Qt default and it is thread-safe.
2017-11-24 01:30:39 -02:00
Thiago Marcos P. Santos
f7426a4253
[Qt] Use QOpenGLFunctions for Qt5
...
Do not link directly with OpenGL, so we load it using Qt5. Also,
always build for OpenGL ES2 which is the compatibilty mode that
should work on all platforms supported by Qt5.
2017-10-25 18:08:28 +03:00
John Firebaugh
4b2e1cddb4
Replace compile-time polymorphism with runtime polymorphism in the conversion system
2017-10-23 09:56:43 -07:00
Konstantin Käfer
64c75b442c
[build] split out DefaultFileSource and dependents to a separate target
...
We don't want to link it into the node bindings, so keep it in a separate target
2017-09-28 13:48:36 -04:00
Thiago Marcos P. Santos
a3244421a5
[Qt] Rename files with same name
...
QMake is having some issues with files with same names when
building the Qt Location plugin.
2017-07-19 14:39:39 +03:00
Ivo van Dongen
ee205ca9ca
[qt] rendering interface changes
2017-07-18 10:45:12 +02:00
Konstantin Käfer
a5cdbb084e
[all] make default_styles header-only
2017-07-13 00:22:54 -04:00
Thiago Marcos P. Santos
35b90618b7
[Qt] Make qt.cmake Windows-friendly
...
- Do not build headless view.
- Add no-op thread implementation.
2017-07-07 18:10:06 +03:00
Thiago Marcos P. Santos
a24d89d9f8
[Qt] Use QThreadStorage for thread local
...
Portable.
2017-07-07 18:10:06 +03:00
Thiago Marcos P. Santos
7c117281bc
[core] Isolate pthread-based tls implementation
2017-07-07 18:10:06 +03:00
Konstantin Käfer
fc48ca1801
[build] use CMake to generate Xcode schemes
2017-07-06 11:45:09 +02:00
Konstantin Käfer
3ef9e26593
[ios,macos,android,qt] use shared threadpool
2017-02-20 19:26:06 +01:00
Bruno de Oliveira Abinader
88b7fc3929
[Qt] Implement mapbox::sqlite::{Database,Statement} using QtSql
2017-01-23 19:06:53 +02:00
Thiago Marcos P. Santos
181b3635f1
[core][Qt] Use Qt for UTF16, since codecvt is not always available
2017-01-20 18:50:45 +01:00
Thiago Marcos P. Santos
def6b63cf7
[Qt] Fix cross compilation on OSX
...
Use mason platform instead of CMake host, because the target won't
always be the same arch as the host.
2017-01-09 15:52:57 -02:00
Bruno de Oliveira Abinader
b65b2f1c29
[qt] Skip ICU if WITH_QT_I18N is set
2016-12-12 22:34:52 +02:00
Bruno de Oliveira Abinader
ce5ed9e649
[build] ICU is now configured per platform
2016-12-12 22:34:52 +02:00
Konstantin Käfer
e76de05402
[build] move logging to util
2016-11-22 20:58:51 +01:00
Konstantin Käfer
3bc79e316e
[build] move default ThreadPool implementation to platform/default
2016-11-22 20:58:51 +01:00
Konstantin Käfer
9353fcbf4c
[build] move default_styles to platform/default
2016-11-22 20:58:51 +01:00
Bruno de Oliveira Abinader
52da0e6d31
[Qt] Copy headers to build path in 'qt-lib' target
2016-11-14 16:56:10 +01:00
Mike Morris
817c26111a
[core] [node] pass thread pool impl to Map constructor
...
Updates mbgl::Map constructor usage everywhere
Adds NodeThreadPool implementation using AsyncQueue to call
Nan::AsyncQueueWorker from main thread
2016-10-20 14:37:36 -04:00
Ivo van Dongen
1c11aeb48a
[android][ios][macos][linux][qt] included default LocalFileSource
2016-09-30 14:57:26 +02:00
Thiago Marcos P. Santos
e881795ed1
[Qt] Header cleanup ( #6477 )
...
Make some headers private, so we only commit with the QML API.
2016-09-27 16:18:04 +03:00
Bruno de Oliveira Abinader
546109d642
[Qt] Update QML runtime style example
2016-09-26 11:47:34 +02:00
Thiago Marcos P. Santos
a03e6c14b6
[Qt] Add a more compelling runtime style example
2016-09-23 16:43:37 +03:00
Thiago Marcos P. Santos
547af7475e
[Qt] Implement a Qt headless renderer
...
Using legacy QGLWidget because we support Qt4.
2016-08-22 16:52:02 +03:00
Thiago Marcos P. Santos
75ca6d9bdd
[build] Workaround automoc issue on some cmake versions
2016-08-05 11:42:22 +02:00
Konstantin Käfer
95b6d48b71
[build] use cmake script bundled with Mason
2016-08-05 11:42:22 +02:00
Konstantin Käfer
a2e758b417
[build] make headless rendering work with Qt on macOS
2016-08-05 11:42:22 +02:00
Thiago Marcos P. Santos
795d17dbdb
[Qt] Use Qt decoder instead of nunicode
2016-08-05 11:42:22 +02:00
Konstantin Käfer
8b625f4d1f
[build] exclude CMake 3.6.0 due to an automoc naming bug
2016-08-05 11:42:22 +02:00