From dd80e623a066299c1e7b8e9f287090c2b12334cc Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Sun, 5 Jul 2020 18:55:04 -0300 Subject: [PATCH] clutter/offscreen-effect: Document paint nodes https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1355 --- clutter/clutter/clutter-offscreen-effect.c | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/clutter/clutter/clutter-offscreen-effect.c b/clutter/clutter/clutter-offscreen-effect.c index 7be3056b3..7799dfd65 100644 --- a/clutter/clutter/clutter-offscreen-effect.c +++ b/clutter/clutter/clutter-offscreen-effect.c @@ -60,6 +60,30 @@ * #ClutterOffscreenEffectClass.create_texture() virtual function; no chain up * to the #ClutterOffscreenEffect implementation is required in this * case. + * + * ## Paint nodes + * + * #ClutterOffscreenEffect is generates the following paint node tree: + * + * |[ + * Effect + * ├─────────┐ + * Layer Pipeline + * │ + * Actor + * ]| + * + * When the actor contents are cached, the generated paint node tree + * looks like this: + * + * |[ + * Effect + * │ + * Pipeline + * ]| + * + * In both cases, the "Pipeline" node is created with the return value + * of #ClutterOffscreenEffectClass.create_pipeline(). */ #include "clutter-build-config.h"