summaryrefslogtreecommitdiff
path: root/bin/render.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] refactor program object creationKonstantin Käfer2019-05-281-0/+2
|
* [core] Refactor HeadlessFrontend/Backend: GL separation and factory (#14692)Aleksandar Stojiljkovic2019-05-211-1/+1
| | | | | 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-101-4/+2
| | | | | | | | | | - 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] Include pixelRatio property in MapOptionsSudarsana Babu Nagineni2019-03-281-2/+2
| | | | Move pixelRatio property from Map constructor to MapOptions.
* [core] Add setter/getter for size property in MapOptionsSudarsana Babu Nagineni2019-03-281-2/+2
|
* [core] Bump args to 6.2.2 (does not use RTTI)Bruno de Oliveira Abinader2019-03-251-1/+1
|
* [core] Remove file source from public Map ctorBruno de Oliveira Abinader2019-03-201-9/+3
|
* [core] Get FileSource via UpdateParameters in Renderer::ImplBruno de Oliveira Abinader2019-03-131-1/+1
|
* [core] Add MapOptions to define properties of MapSudarsana Babu Nagineni2019-03-081-1/+3
| | | | | | To simplify the Map constructor, introduce MapOptions interface to define the properties that can be set on a Map.
* [core] Transform{State}: s/angle/bearing/Bruno de Oliveira Abinader2019-03-041-1/+1
|
* [core] Remove map zoom setters/gettersBruno de Oliveira Abinader2019-03-041-3/+5
|
* [core] Fix GCC8's new -Wcatch-value warningsZsolt Bölöny2018-06-251-3/+3
| | | Polymorphic types shouldn't be caught by value, as the warning message says. Catch them by constant reference instead.
* [build] Replace boost_libprogram_options with argsBruno de Oliveira Abinader2017-12-181-56/+57
|
* [core] Split MapMode::Still into Static and TileAnsis Brammanis2017-11-171-1/+1
| | | | | `Tile` makes sure the symbols in the resulting tile are tileable while symbols in `Still` match rendering in `Continuous` mode.
* [node, tests] Consolidate headless rendering logic in HeadlessFrontendJohn Firebaugh2017-07-261-26/+9
|
* [render] manage backendscope in renderer frontendIvo van Dongen2017-07-251-1/+1
|
* [core] rename backend to renderer backendIvo van Dongen2017-07-181-1/+1
|
* [core] renderer interfaceIvo van Dongen2017-07-181-2/+5
|
* [core] split backend from mapobserverIvo van Dongen2017-07-181-1/+1
|
* [core] Move setStyleJSON/URL to Style; add Map::setStyleJohn Firebaugh2017-06-221-1/+2
|
* [core] mbgl-render: allow scale factor to be floating point numberRoman Chichina2017-05-151-2/+3
|
* [core, node, darwin, qt] Remove support for paint classesJohn Firebaugh2017-05-151-5/+0
|
* [core] Remove private header includes from CLI utilitiesKonstantin Käfer2017-03-281-7/+8
|
* [core] Ensure that a BackendScope exists when doing GL callsKonstantin Käfer2017-03-231-0/+2
|
* [render] allow passing URLs to mbgl-renderKonstantin Käfer2016-12-071-3/+7
|
* Add ratio argument to render.cpp (#7161)Saman Bemel-Benrud2016-11-231-2/+4
|
* [build] move headless rendering files to platform/defaultKonstantin Käfer2016-11-221-2/+2
|
* [build] move default ThreadPool implementation to platform/defaultKonstantin Käfer2016-11-221-1/+1
|
* [core] change std::array<uint16_t, 2> to mbgl::SizeKonstantin Käfer2016-10-271-4/+4
|
* [core] move gl::Context to Backend and refactor ViewKonstantin Käfer2016-10-251-6/+5
|
* [core] separate Backend from View for headless renderingKonstantin Käfer2016-10-251-2/+3
|
* [core] [node] pass thread pool impl to Map constructorMike Morris2016-10-201-2/+4
| | | | | | | Updates mbgl::Map constructor usage everywhere Adds NodeThreadPool implementation using AsyncQueue to call Nan::AsyncQueueWorker from main thread
* [core, node, android] Remove used "base" parameter from setStyleJSONJohn Firebaugh2016-06-021-1/+1
|
* add pitch to bin/render.cppMike Morris2016-04-051-0/+3
|
* [core] Eliminate platform::assetRoot()John Firebaugh2016-01-131-1/+3
| | | | I regenerated assets.zip so that all file paths have an `assets/` prefix, as the Android AssetFileSource implementation asserts, and removed `TEST_DATA` from the paths.
* [core] Privatize SQLiteCacheJohn Firebaugh2016-01-081-3/+1
|
* [render] Add a RunLoop to `render` main threadThiago Marcos P. Santos2015-12-011-26/+10
| | | | Also simplified the code making the logic more linear.
* [core] Added MapDebugOptionsBruno de Oliveira Abinader2015-11-271-1/+1
| | | | | Map debug options are now cycled up to all debug options enabled, then back to none.
* [core] Fix image type of Map::renderStillJohn Firebaugh2015-11-251-3/+3
| | | | | | | It's a premultiplied image. This implies that we were misusing encodePNG in most cases, as we were passing premultiplied pixels which were then interpreted as unmultiplied. I changed encodePNG to accept premultipled pixels, and unpremultiply in the implementations.
* [core] Rewrite image handlingJohn Firebaugh2015-11-251-7/+4
| | | | | | * Consolidate Image and StillImage * Typecheck unassociated vs premultiplied images * Rewrite default platform image decoding implementation
* [core] bump libuv to 1.7.5 across all platformsMike Morris2015-10-141-1/+7
| | | | | | UV_ASYNC_PARAMS and UV_TIMER_PARAMS for libuv <= 0.10 compatibility use st_mtim.tv_sec in libuv > 0.10.x
* [osx] Fix build on Xcode 6.4John Firebaugh2015-09-281-6/+1
|
* [osx] disable -Wunused-local-typedefsMike Morris2015-09-241-1/+5
| | | | | Fixes OS X builds with Xcode 7, necessitated by https://svn.boost.org/trac/boost/ticket/11240
* Make pixelRatio constant across a Map object lifetimeKonstantin Käfer2015-07-081-2/+1
| | | | also moves framebuffer size out of TransformState into its own object
* Replace mbgl::util::make_unique<> with std::make_unique<>Konstantin Käfer2015-05-261-1/+0
|
* DefaultFileSource has responsibility for handling mapbox:// URLsJohn Firebaugh2015-05-261-4/+4
|
* Add callback for error notifications on renderStill()Thiago Marcos P. Santos2015-05-221-1/+10
| | | | | | | | | The callback will be called when any of the resources requested from the network failed to load. There is not recovery implemented yet, so the closest thing to reseting the Map object and reloading all the resources would be setting a new style.
* allow passing --debug to view tile boundaries in mbgl-renderKonstantin Käfer2015-05-131-0/+6
|
* Update the 'render' to reflect recent API changesThiago Marcos P. Santos2015-05-081-7/+2
| | | | | We don't call start/stop anymore and the resize is done via the map object.
* rename Mode::Static => Mode::StillKonstantin Käfer2015-04-171-1/+1
|