forked from AuroraMiddleware/gtk
3d90a070d5
Render nodes need access to rendering information like scaling factors. If we keep render nodes separate from renderers until we submit a nodes tree for rendering we're going to have to duplicate all that information in a way that makes the API more complicated and fuzzier on its semantics. By having GskRenderer create GskRenderNode instances we can tie nodes and renderers together; since higher layers will also have access to the renderer instance, this does not add any burden to callers. Additionally, if memory measurements indicate that we are spending too much time in the allocation of new render nodes, we can now easily implement a free-list or a renderer-specific allocator without breaking the API. |
||
---|---|---|
.. | ||
resources/glsl | ||
gsk.h | ||
gskcairorenderer.c | ||
gskcairorendererprivate.h | ||
gskdebug.c | ||
gskdebugprivate.h | ||
gskenums.h | ||
gskenumtypes.c.template | ||
gskenumtypes.h.template | ||
gskgldriver.c | ||
gskgldriverprivate.h | ||
gskglprofiler.c | ||
gskglprofilerprivate.h | ||
gskglrenderer.c | ||
gskglrendererprivate.h | ||
gskprivate.c | ||
gskprivate.h | ||
gskrenderer.c | ||
gskrenderer.h | ||
gskrendererprivate.h | ||
gskrendernode.c | ||
gskrendernode.h | ||
gskrendernodeiter.c | ||
gskrendernodeiter.h | ||
gskrendernodeprivate.h | ||
gskshaderbuilder.c | ||
gskshaderbuilderprivate.h | ||
gsktypes.h | ||
Makefile.am |