gtk2/gsk
Emmanuele Bassi 6b3c0052fc gsk: Make GskRenderer.render() drawing context-agnostic
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.
2016-10-18 11:49:15 +01:00
..
resources/glsl Use the projection to flip around the content 2016-10-18 11:49:10 +01:00
gsk.h Initial implementation of GSK rendering pipeline 2016-10-18 11:29:34 +01:00
gskcairorenderer.c gsk: Make GskRenderer.render() drawing context-agnostic 2016-10-18 11:49:15 +01:00
gskcairorendererprivate.h Initial implementation of GSK rendering pipeline 2016-10-18 11:29:34 +01:00
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 Initial implementation of GSK rendering pipeline 2016-10-18 11:29:34 +01:00
gskenumtypes.h.template Initial implementation of GSK rendering pipeline 2016-10-18 11:29:34 +01:00
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: Make GskRenderer.render() drawing context-agnostic 2016-10-18 11:49:15 +01:00
gskglrendererprivate.h Initial implementation of GSK rendering pipeline 2016-10-18 11:29:34 +01:00
gskprivate.c Initial implementation of GSK rendering pipeline 2016-10-18 11:29:34 +01:00
gskprivate.h Initial implementation of GSK rendering pipeline 2016-10-18 11:29:34 +01:00
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: Make GskRenderer.render() drawing context-agnostic 2016-10-18 11:49:15 +01:00
gskrenderer.h gsk: Remove GskRenderer:auto-clear 2016-10-18 11:49:15 +01:00
gskrendererprivate.h gsk: Make GskRenderer.render() drawing context-agnostic 2016-10-18 11:49:15 +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 Initial implementation of GSK rendering pipeline 2016-10-18 11:29:34 +01:00
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 Initial implementation of GSK rendering pipeline 2016-10-18 11:29:34 +01:00
Makefile.am gsk: Add profiler object 2016-10-18 11:49:10 +01:00