virtual ~RendererObserver()=default
virtual void onRemoveUnusedStyleImages(const std::vector< std::string > &)
virtual void onWillStartRenderingMap()
First frame.
virtual void onInvalidate()
Signals that a repaint is required.
virtual void onRegisterShaders(gfx::ShaderRegistry &)
virtual void onDidFinishRenderingMap()
Final frame.
virtual void onStyleImageMissing(const std::string &, const StyleImageMissingCallback &done)
virtual void onResourceError(std::exception_ptr)
Resource failed to download / parse.
std::function< void()> StyleImageMissingCallback
Style is missing an image.
virtual void onDidFinishRenderingFrame(RenderMode, bool, bool)
End of frame, booleans flags that a repaint is required and that placement changed.
virtual void onWillStartRenderingFrame()
Start of frame, initial is the first frame for this map.
A ShaderRegistry contains a collection of gfx::Shader instances. Using the registry,...
std::unique_ptr< Expression > string(std::unique_ptr< Expression >, std::unique_ptr< Expression > def=nullptr)