gtk2/gsk
Emmanuele Bassi dace0791a9 gsk: Add the ability to create fallback renderers
While porting GTK to GskRenderer we noticed that the current fallback
code for widgets using Cairo to draw is not enough to cover all the
possible cases.

For instance, if a container widget still uses GtkWidget::draw to render
its children, and at least one of them has been ported to using render
nodes instead, the container won't know how to draw it.

For this reason we want to provide to layers above GSK the ability to
create a "fallback" renderer instance, created using a "parent"
GskRenderer instance, but using a Cairo context as the rendering target
instead of a GdkDrawingContext.

GTK will use this inside the gtk_widget_draw() implementation, if a
widget implements GtkWidgetClass.get_render_node().
2016-10-18 11:49:16 +01:00
..
resources/glsl Use the projection to flip around the content 2016-10-18 11:49:10 +01:00
gsk.h
gskcairorenderer.c gsk: Add the ability to create fallback renderers 2016-10-18 11:49:16 +01:00
gskcairorendererprivate.h
gskdebug.c Some debug help 2016-10-18 11:49:12 +01:00
gskdebugprivate.h Some debug help 2016-10-18 11:49:12 +01:00
gskenums.h Small fixes for the docs 2016-10-18 11:49:13 +01:00
gskenumtypes.c.template
gskenumtypes.h.template
gskgldriver.c gsk: Reuse VAOs with identical buffers 2016-10-18 11:49:13 +01:00
gskgldriverprivate.h gsk: Reuse VAOs with identical buffers 2016-10-18 11:49:13 +01:00
gskglprofiler.c gsk: Bind GL context to the GL profiler 2016-10-18 11:49:10 +01:00
gskglprofilerprivate.h gsk: Bind GL context to the GL profiler 2016-10-18 11:49:10 +01:00
gskglrenderer.c gsk: Add the ability to create fallback renderers 2016-10-18 11:49:16 +01:00
gskglrendererprivate.h
gskprivate.c
gskprivate.h
gskprofiler.c gsk: Add profiler object 2016-10-18 11:49:10 +01:00
gskprofilerprivate.h gsk: Add profiler object 2016-10-18 11:49:10 +01:00
gskrenderer.c gsk: Add the ability to create fallback renderers 2016-10-18 11:49:16 +01:00
gskrenderer.h gsk: Add the ability to create fallback renderers 2016-10-18 11:49:16 +01:00
gskrendererprivate.h gsk: Add the ability to create fallback renderers 2016-10-18 11:49:16 +01:00
gskrendernode.c gsk: Move GskRenderNode getters to internal API 2016-10-18 11:49:15 +01:00
gskrendernode.h gsk: Move GskRenderNode getters to internal API 2016-10-18 11:49:15 +01:00
gskrendernodeiter.c Small fixes for the docs 2016-10-18 11:49:13 +01:00
gskrendernodeiter.h
gskrendernodeprivate.h gsk: Move GskRenderNode getters to internal API 2016-10-18 11:49:15 +01:00
gskshaderbuilder.c gsk: Move resource handling inside GskGLDriver 2016-10-18 11:49:09 +01:00
gskshaderbuilderprivate.h gsk: Consolidate program creation and storage 2016-10-18 11:49:07 +01:00
gsktypes.h
Makefile.am gsk: Add profiler object 2016-10-18 11:49:10 +01:00