Ozone-DRM now supports overlay plane in-fences, which signal when an image is ready to be displayed as an overlay (i.e., all rendering to it has been executed by the GPU). Using fences increases the efficiency of the rendering and display code paths and provides more opportunities for asynchronous operations.
In order to take advantage of the Ozone-DRM fence support, we need to pass "rendering done" fences from the GLRenderer to the Ozone-DRM backend when scheduling overlays. This involves producing fences on the GLRenderer/client side, updating the CHROMIUM_schedule_overlay_plane extension to support fences, and handling the passed fences on the service and Ozone-DRM side.
Comment 1 by dtapu...@chromium.org
, Apr 6 2018