mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
6b3c0052fc
We're going to need to allow rendering on a specific cairo_t in order to implement fallback code paths inside GTK; this means that there will be times when we have a transient GskRenderer instance that does not have a GdkDrawingContext to draw on. Instead of adding a new render() implementation for those cases and then decide which one to use, we can remove the drawing context argument from the virtual function itself, and allow using a NULL GdkDrawingContext when calling gsk_renderer_render(). A later commit will add a generic function to create a transient GskRenderer with a cairo_t attached to it. Renderers inside GSK will have to check whether we have access to a GdkDrawingContext, in which case we're going to use it; or if we have access to a cairo_t and a window. |
||
---|---|---|
.. | ||
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 | ||
gskprofiler.c | ||
gskprofilerprivate.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 |