Skip to content

compositor: Remove fully occluded views from scene

Harish Krupo requested to merge harishkrupo/weston:wl_callback_disable into main

Identify a view's occlusion status. A view can have one of these occlusion states:

  • NOT_OCCLUDED
  • PARTIALLY_OCCLUDED
  • FULLY_OCCLUDED

This information could be used to disable sending wl_callback for the views which are currently FULLY_OCCLUDED. These views can also be ignored while repainting a scene.

Implements: #198

Test:

  • Open weston-terminal
  • Run WAYLAND_DEBUG=1 weston-simple-egl
  • Run another instance of weston-terminal
  • Move the second terminal so as to cover the egl app's full surface
  • Observe that the wl_callback is not sent for the app.

Signed-off-by: Harish Krupo harish.krupo.kps@intel.com

Edited by Daniel Stone

Merge request reports

Loading