The SystemRenderer lives on the render thread and holds all resources shared between multiple Views belonging to the same System (font atlases, texture caches etc.) More...
Public Member Functions | |
virtual | ~SystemRenderer () |
virtual ViewRenderer * | CreateViewRenderer (View *owner, const ViewRendererSettings &settings)=0 |
Creates a new ViewRenderer used to draw a single View. More... | |
virtual void | Destroy ()=0 |
Destroys the SystemRenderer freeing all resources associated with it. More... | |
virtual void | RegisterRenderThread (renoir::RendererBackend *backend)=0 |
Registers the SystemRenderer with a render thread and sets the rendering backend. More... | |
virtual void | FreeRenderingResources ()=0 |
Frees all rendering resources used by Cohtml that are shared in the System. More... | |
The SystemRenderer lives on the render thread and holds all resources shared between multiple Views belonging to the same System (font atlases, texture caches etc.)
|
virtual |
|
pure virtual |
Creates a new ViewRenderer used to draw a single View.
owner | the view that will be rendered by the new ViewRenderer |
settings | settings of the new ViewRenderer |
|
pure virtual |
Destroys the SystemRenderer freeing all resources associated with it.
|
pure virtual |
Frees all rendering resources used by Cohtml that are shared in the System.
|
pure virtual |
Registers the SystemRenderer with a render thread and sets the rendering backend.
backend | Backend to be used in the render thread |