Konstantin Käfer
7f9274035b
[core] refactor program object creation
2019-05-28 16:11:05 +02:00
Aleksandar Stojiljkovic
3cd8c6c1fd
[core] Refactor HeadlessFrontend/Backend: GL separation and factory ( #14692 )
...
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).
2019-05-21 07:37:49 +03:00
Thiago Marcos P. Santos
06f1dc48a2
[core] Make the BackgroundScheduler a singleton
...
- 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`.
2019-05-10 14:20:38 +03:00
Konstantin Käfer
3ceabcd3ec
[core] clang-tidy fixes
2019-04-05 11:49:17 +02:00
Sudarsana Babu Nagineni
7af00a404f
[core] Include pixelRatio property in MapOptions
...
Move pixelRatio property from Map constructor to MapOptions.
2019-03-28 16:41:15 +02:00
Sudarsana Babu Nagineni
1cc1d4ea08
[core] Add setter/getter for size property in MapOptions
2019-03-28 16:41:15 +02:00
Bruno de Oliveira Abinader
c397fd853c
[core] Bump args to 6.2.2 (does not use RTTI)
2019-03-25 22:52:40 +02:00
Bruno de Oliveira Abinader
d5868d3da8
[core] Remove file source from public Map ctor
2019-03-20 21:30:08 +02:00
Bruno de Oliveira Abinader
8cc100bfd5
[core] Get FileSource via UpdateParameters in Renderer::Impl
2019-03-13 17:56:44 +02:00
Sudarsana Babu Nagineni
5e2b6bf636
[core] Add MapOptions to define properties of Map
...
To simplify the Map constructor, introduce MapOptions
interface to define the properties that can be set on
a Map.
2019-03-08 18:20:55 +02:00
Bruno de Oliveira Abinader
ba7427b4ac
[core] Transform{State}: s/angle/bearing/
2019-03-04 14:45:32 +02:00
Bruno de Oliveira Abinader
f5f10ec119
[core] Remove map zoom setters/getters
2019-03-04 14:45:32 +02:00
Chris Loer
990e3874f4
[core] Expose "includeIdeographs" in offline download command line tool.
2018-12-21 15:13:48 -08:00
Konstantin Käfer
a0b8f01c1b
[build] use newer compiler versions for some builds
2018-11-28 14:49:44 +01:00
Konstantin Käfer
8bf66ef7a7
[core] remove some uses of <iostream> and <sstream>
2018-10-23 12:23:40 +02:00
Asheem Mamoowala
065f5ca87e
[core] Add DefaultFileSource::mergeRegions API and CLI support in the mbgl-offline tool.
2018-08-28 07:14:54 -07:00
Ivo van Dongen
fcb68041d5
[offline] Add option to pass geojson input file
2018-08-20 22:49:01 +03:00
Konstantin Käfer
6e06e55b95
WIP: use expected<T, E> for passing on errors
2018-08-14 17:03:46 -07:00
Zsolt Bölöny
bc6094eb55
[core] Fix GCC8's new -Wcatch-value warnings
...
Polymorphic types shouldn't be caught by value, as the warning message says. Catch them by constant reference instead.
2018-06-25 10:07:04 -07:00
Chris Loer
3c18610d1f
[core] Add 'apiBaseURL' argument to mbgl-offline util.
2018-03-27 15:26:38 -07:00
Bruno de Oliveira Abinader
6a838eeffb
[build] Replace boost_libprogram_options with args
2017-12-18 16:40:29 +02:00
Ansis Brammanis
22c07596a0
[core] Split MapMode::Still into Static and Tile
...
`Tile` makes sure the symbols in the resulting tile are tileable while
symbols in `Still` match rendering in `Continuous` mode.
2017-11-17 10:05:15 -08:00
John Firebaugh
32bd1d54fa
[node, tests] Consolidate headless rendering logic in HeadlessFrontend
2017-07-26 09:50:38 -07:00
Ivo van Dongen
e75fdf1075
[render] manage backendscope in renderer frontend
2017-07-25 17:44:28 +03:00
Ivo van Dongen
46c43510d7
[core] rename backend to renderer backend
2017-07-18 10:45:12 +02:00
Ivo van Dongen
3832f8d0d8
[core] renderer interface
2017-07-18 10:45:12 +02:00
Ivo van Dongen
57351c068b
[core] split backend from mapobserver
2017-07-18 10:45:12 +02:00
John Firebaugh
40e4755621
[core] Move setStyleJSON/URL to Style; add Map::setStyle
2017-06-22 08:04:39 -07:00
Roman Chichina
f2ad940c39
[core] mbgl-render: allow scale factor to be floating point number
2017-05-15 18:55:47 +02:00
John Firebaugh
9eba2a66d1
[core, node, darwin, qt] Remove support for paint classes
2017-05-15 09:45:55 -07:00
Konstantin Käfer
68e032e505
[core] Remove private header includes from CLI utilities
2017-03-28 13:53:19 +02:00
Konstantin Käfer
8e5214144e
[core] Ensure that a BackendScope exists when doing GL calls
2017-03-23 14:50:11 -07:00
Konstantin Käfer
6be56ff9c2
[render] allow passing URLs to mbgl-render
2016-12-07 10:46:43 +01:00
Saman Bemel-Benrud
5a4b73f3be
Add ratio argument to render.cpp ( #7161 )
2016-11-23 11:08:43 -05:00
Konstantin Käfer
117863f111
[build] move headless rendering files to platform/default
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
67ed3ae3eb
[build] move GLFW-related files to platform/glfw
2016-11-22 20:58:51 +01:00
Konstantin Käfer
62b56b799a
[core] change std::array<uint16_t, 2> to mbgl::Size
2016-10-27 18:30:58 -07: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
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
Bruno de Oliveira Abinader
e84b4042de
[glfw] Initial style from MAPBOX_STYLE_URL if set
2016-09-22 15:23:43 +03:00
Konstantin Käfer
692fe1f3ff
[build] switch to CMake
...
This is very much a work in progress.
2016-08-05 11:42:22 +02:00
Minh Nguyễn
b9702ef41a
[macos] Renamed OS X SDK to macOS SDK
...
Also renamed as many references to OS X as possible to macOS in documentation.
2016-06-14 10:02:06 +02:00
John Firebaugh
e802aedb8c
[core, node, android] Remove used "base" parameter from setStyleJSON
2016-06-02 16:33:56 -07:00
Konstantin Käfer
cd65a43855
[core] move from microsecond precision timestamp to integer second precision
2016-05-13 17:24:22 +02:00
John Firebaugh
c8391729c7
[core] Use geometry.hpp feature type
2016-05-03 17:25:49 -07:00
John Firebaugh
7800445c85
[core] Use gyp's direct_dependent_settings to propagate variant cflags
2016-05-02 13:12:24 -07:00
John Firebaugh
34f9618d31
[core] Replace boost::lexical_cast with std::to_string
...
This removes the only boost dependency from public headers.
2016-05-02 13:08:51 -07:00
John Firebaugh
a883ac9253
[osx] Build output goes to build/osx
2016-04-19 16:28:30 -07:00