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
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
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
Konstantin Käfer
071129bf61
[linux,qt] Remove remainder of WebP support
2018-09-13 13:27:44 +02:00
Konstantin Käfer
e51eb0fc23
[build] use vendored version of ICU
2018-09-05 12:26:15 +02:00
Molly Lloyd
2cdbe934c2
[windows, qt] fix windows compiler errors, remove tao + tuple polyfill
2018-08-31 13:08:47 -07:00
John Firebaugh
ca9ba9cb43
[build] Move all mason_use statements to a single file
...
So its checksum can be used in a CI cache key name.
2018-07-13 11:50:39 -07: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
Chris Loer
251f5e605f
[core, vendor] Create vendored nunicode 1.8.
...
- Version bump to 1.8 necessary for "unaccent" functionality
- Qt now depends on nunicode, ruling out use of precompiled binaries
2018-07-03 10:03:05 -07: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
Thiago Marcos P. Santos
f391271532
[windows][build] Make nodejs/npm optional
2018-01-08 22:58:20 +02:00
Bruno de Oliveira Abinader
f86c1b7d0f
[test] Only use our SQLite3 wrapper in tests
2018-01-08 19:13:47 +02:00
Chris Loer
1661af1cb4
[core] Enable local glyph generation using TinySDF.
...
- Platform-specific LocalGlyphRasterizer is responsible for deciding which glyphs to rasterize locally and for implementing the rasterization.
- Default platform implementation doesn't locally generate any glyphs -> no behavior change
- Unit test uses StubLocalGlyphRasterizer, which returns a single fixed bitmap for all CJK glyphs
- Rename glyph_loader.test to glyph_manager.test
2017-12-11 10:43:00 -08:00
Thiago Marcos P. Santos
9d87dc8cf1
[core] Make the OpenGL implementation platform specific
...
Split the headers, so each platform includes the most appropriated
header.
2017-10-25 18:08:28 +03: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
John Firebaugh
32bd1d54fa
[node, tests] Consolidate headless rendering logic in HeadlessFrontend
2017-07-26 09:50:38 -07:00
John Firebaugh
3afae825c7
Use ICU compiled with -Os
2017-03-08 14:05:19 -08:00
Thiago Marcos P. Santos
f6cd017f58
[Qt] Remove legacy QOpenGL dependency from Qt5 build
...
OpenGL on Qt5 is offered via QtGui.
2017-03-03 17:28:07 -08:00
Thiago Marcos P. Santos
d2469f4bdb
[build] Fix build on Ubuntu 16.04+
...
gtest was broken because of lack of CXX11ABI support.
2017-02-23 18:39:40 +02:00
Konstantin Käfer
bb931505c5
[build] Remove Mason submodule in favor of CMake mason
2017-02-08 19:07:16 +01:00
Bruno de Oliveira Abinader
88b7fc3929
[Qt] Implement mapbox::sqlite::{Database,Statement} using QtSql
2017-01-23 19:06:53 +02:00
Bruno de Oliveira Abinader
14fe15e3fc
[Qt] Avoid QApplication duplication via test main()
2017-01-18 19:06:32 +01: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
117863f111
[build] move headless rendering files 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
Konstantin Käfer
a4d259c33f
[core] move gl::Context to Backend and refactor View
2016-10-25 13:52:36 -07:00
Konstantin Käfer
5cc390d694
[core] separate Backend from View for headless rendering
2016-10-25 13:52:36 -07: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
Konstantin Käfer
334ec1715b
[build] use Mason's sqlite when linking Qt tests ( #6395 )
2016-09-20 20:37:06 +03:00
Konstantin Käfer
a8032b5c6a
[build] upgrade dependencies
...
libuv 1.7.5 => 1.9.1
libjpeg-turbo 1.4.2 => 1.5.0
libpng 1.6.20 => 1.6.25
libzip 0.11.2 => 1.1.3
nunicode 1.6 => 1.7.1
2016-09-20 16:39:02 +02:00
Konstantin Käfer
1014a503a2
[build] Upgrade GLFW to 3.2.1, SQLite to 3.14.2 and libwebp to 0.5.1
2016-09-19 14:38:47 +02:00
Thiago Marcos P. Santos
af56f03031
[Qt][tests] Added tests for set style interface
2016-08-26 16:08:44 +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
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
Thiago Marcos P. Santos
821e58fdc1
[build] Build Qt with CMake
2016-08-05 11:42:22 +02:00