summaryrefslogtreecommitdiff
path: root/bin/render.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* show default values and allow setting the output filenameKonstantin Käfer2014-12-111-9/+10
|
* add cli tool for rendering a map to an imageKonstantin Käfer2014-12-111-0/+109