You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
weston/doc/sphinx/toc/libweston/images/react-to-heads-changed.msc

24 lines
718 B

#!/usr/bin/mscgen -Tpng
msc {
hscale="1.5";
c [label = "compositor"], w [label = "libweston core"],
b [label = "backend"];
|||;
--- [label = "Compositor reacts to heads_changed"];
c <<= w [label = "heads_changed callback"];
c box c [label = "Iterate with weston_compositor_iterate_heads(), for each head"];
c => w [label = "weston_head_is_connected()"];
c << w [label = "bool"];
c => w [label = "weston_head_is_enabled()"];
c << w [label = "bool"];
c => w [label = "weston_head_is_device_changed()"];
c << w [label = "bool"];
c abox c [label = "If the head needs enabling, create an output."];
c abox c [label = "If the head needs disabling, disable the output or destroy the output."];
c >> w;
}