websitetaya.blogg.se

Wayland compositor
Wayland compositor




Head – The head to register, must not be already registered. This signals the core that a new head has become available, leading to heads_changed hook being called later. void weston_compositor_add_head ( struct weston_compositor * compositor, struct weston_head * head )  Schedule a call on idle to heads_changed callback. Weston_compositor_stack_plane static void weston_compositor_schedule_heads_changed ( struct weston_compositor * compositor )  Only powers down the outputs if the compositor is not already in sleep mode.Ĭompositor – The compositor instance void weston_compositor_stack_plane ( struct weston_compositor * ec, struct weston_plane * plane, struct weston_plane * above )  This is used for example to prevent further rendering while the compositor is shutting down.Ĭompositor – The compositor instance void weston_compositor_sleep ( struct weston_compositor * compositor ) Ĭauses rendering to the outputs to cease, and no frame events to be sent.

wayland compositor

Turns off rendering and frame events for the compositor. Otherwise if the compositor was inactive (idle/locked, offscreen, or sleeping) then the compositor’s wake signal will fire.Ĭompositor – The compositor instance void weston_compositor_offscreen ( struct weston_compositor * compositor )  If the compositor was in a sleeping mode, all outputs are powered back on via DPMS. Restores the compositor to active status. Weston_compositor_schedule_repaint void weston_compositor_wake ( struct weston_compositor * compositor )  Weston_compositor_damage_all void weston_compositor_schedule_repaint ( struct weston_compositor * compositor )  Weston_compositor_pick_view void weston_compositor_damage_all ( struct weston_compositor * compositor )  Weston_compositor_get_time struct weston_view * weston_compositor_pick_view ( struct weston_compositor * compositor, wl_fixed_t x, wl_fixed_t y )  Compositor API  void weston_compositor_get_time ( struct timespec * time ) 

wayland compositor

Using weston_compositor_create(), while for releasing all the resourcesĪssociated with it and then destroy it, you should use

wayland compositor

Weston_compositor represents the core object of the library, whichĪggregates all the other objects and maintains their state.






Wayland compositor