NotePublic/Software/Applications/Weston/Layer_与_Surface_管理.md

610 B

Layer 与 Surface 管理

LayerManagerControl create layer 1000 1920 1080 LayerManagerControl set layer 1000 source region 0 0 1920 1080 LayerManagerControl set layer 1000 destination region 0 0 1920 1080 LayerManagerControl set layer 1000 visibility 1

LayerManagerControl set screen 0 render order 1000 LayerManagerControl set surface 2000 source region 0 0 1920 1080 LayerManagerControl set surface 2000 destination region 0 0 1920 1080 LayerManagerControl set layer 1000 render order 2000 LayerManagerControl set surface 2000 visibility 1

LayerManagerControl get layers LayerManagerControl get surfaces