mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
clutter/offscreen-effect: Document paint nodes
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1355>
This commit is contained in:
parent
4898408404
commit
46c68f368f
@ -60,6 +60,30 @@
|
|||||||
* #ClutterOffscreenEffectClass.create_texture() virtual function; no chain up
|
* #ClutterOffscreenEffectClass.create_texture() virtual function; no chain up
|
||||||
* to the #ClutterOffscreenEffect implementation is required in this
|
* to the #ClutterOffscreenEffect implementation is required in this
|
||||||
* case.
|
* case.
|
||||||
|
*
|
||||||
|
* ## Paint nodes
|
||||||
|
*
|
||||||
|
* #ClutterOffscreenEffect 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"
|
#include "clutter-build-config.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user