clutter/offscreen-effect: Document paint nodes

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1355
This commit is contained in:
Georges Basile Stavracas Neto 2020-07-05 18:55:04 -03:00
parent 5e680fd43f
commit dd80e623a0

View File

@ -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:
*
* |[<!-- language="plain" -->
* Effect
*
* Layer Pipeline
*
* Actor
* ]|
*
* When the actor contents are cached, the generated paint node tree
* looks like this:
*
* |[<!-- language="plain" -->
* Effect
*
* Pipeline
* ]|
*
* In both cases, the "Pipeline" node is created with the return value
* of #ClutterOffscreenEffectClass.create_pipeline().
*/
#include "clutter-build-config.h"