summaryrefslogtreecommitdiff
path: root/bin/render.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [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
|
* align static render mode and still image render modeKonstantin Käfer2015-04-171-10/+24
| | | | | - static rendering now also runs in a separate thread; you have to start it with map.start(Map::Mode::Static) and join the thread with map.stop() before destructing the Map object - map.renderStill() takes a callback with will be invoked on the *map* thread, so you'll have to figure out your own method of dispatching back to the main thread.
* make implementation files private headersKonstantin Käfer2015-04-131-1/+1
|
* hide Thread<> and separate the Implementation objectKonstantin Käfer2015-04-131-3/+2
|
* add Thread<T> and RunLoopKonstantin Käfer2015-04-101-2/+3
| | | | | | Thread<T> is a generic thread management object that starts a thread, creates an object T in that thread and calls its .start() function. When the Thread<T> object is destructed (which must happen in the thread that created it), it'll call the object's .stop() function, and wait for thread termination. The .stop() function must somehow get the thread to terminate. Note that object T's constructor/destructor/start()/stop() must be protected/private, and Thread<T> must be declared as a friend class. All public functions may be called from any thread and are exposed through operator->(). RunLoop encapsulates a libuv runloop and has a facility of dispatching function objects to the thread. It can be used either as a worker thread class by itself, or it can be derived from. This commit converts SQLiteCache to derive from RunLoop and removes the custom code used previously for managing the cache thread.
* Make the logging system staticThiago Marcos P. Santos2015-03-121-13/+1
| | | | | | | No initialization is needed anymore and we can use the logging functions safely at any point of the code (threading is not handled though, so you might get multiplexed messages if you log from two threads simultaneously).
* Trivial build fix, do not call private methodThiago Marcos P. Santos2015-03-111-1/+0
| | | | Resize is internally called by the view now.
* Fix build warnings on GCCThiago Marcos P. Santos2015-03-111-0/+7
| | | | Apperently boost has a few quirks on its headers.
* update static image rendering executableKonstantin Käfer2015-03-061-10/+4
|
* fixes #476 & #853: pixel/meter/latlng conversion routines in core & iOSJustin R. Miller2015-02-161-1/+1
|
* refactor makefileKonstantin Käfer2015-02-041-8/+11
|
* update bin/render for recent changesMike Morris2015-01-161-1/+1
|
* don't assing nullptr to std::stringKonstantin Käfer2014-12-161-1/+4
|
* don't provide a default value for the stylesheet fileKonstantin Käfer2014-12-111-1/+1
|
* allow setting the cache databaseKonstantin Käfer2014-12-111-1/+3
|