You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
We should add a mode that supports headless rendering. This is useful for running this renderer on a server to provide compatibility tiles, and to run visual tests, and to run benchmarks.
A few things are different when rendering headless:
We have to create a custom framebuffer to render into
Incremental rendering doesn't make sense; always wait until we have acquired all resources
Label placement doesn't have to take rotation and zooming into account; it's static (like Mapnik)
I'm going to implement this as a "view": There is a live view (which is backed by a screen buffer and does incremental rendering), and a static view (which is backed by a custom framebuffer).
Current status: Headless rendering works on OS X. The libuv event loop terminates once we have acquired all assets. Once it terminates, we do one single render.
Activity
springmeyer commentedon Apr 15, 2014
sweet.
first cut at headless rendering
kkaefer commentedon Apr 16, 2014
Current status: Headless rendering works on OS X. The libuv event loop terminates once we have acquired all assets. Once it terminates, we do one single render.
Code is in https://github.com/mapbox/llmr-native/blob/7e3f374bd482e5d7a553482ad0e908cf2a1c0d2f/test/headless.cpp
I'm going to create separate issues for all further changes.
[msvc] Fix compilation errors and warnings (mapbox#141)