• Ankit Nautiyal's avatar
    libweston: Add support to set content-protection for a weston_surface · 4b6e73d6
    Ankit Nautiyal authored
    The protection requested for a given surface, must reach through the
    weston_surface::pending_state, in the commit-cycle for the
    weston_surface, so that it gets updated in the next commit.
    
    As some protection is requested for a given weston_surface, it means
    protection must be set for each of the outputs which show the surface.
    
    While setting the protection of a weston_output, care must be taken
    so as to avoid, degrading the protection of another surfaces, enjoying
    the protection. For this purpose, all the weston_surfaces that are
    shown on a weston_output are checked for their desired protection.
    The highest of all such desired protections must be set for the
    weston_output to avoid degrading of existing protected surfaces.
    A surface requesting protection for a lower content-type can still be
    provided protection for a higher type but the converse cannot be
    allowed.
    
    This patch adds support to set content-protection for a suface, which
    inturn sets the content-protection for each of the outputs on which
    it is shown, provided, none of the existing surface's protection
    request is downgraded.
    Signed-off-by: Ankit Nautiyal's avatarAnkit Nautiyal <ankit.k.nautiyal@intel.com>
    4b6e73d6
Name
Last commit
Last update
.gitlab-ci Loading commit data...
clients Loading commit data...
compositor Loading commit data...
data Loading commit data...
desktop-shell Loading commit data...
doc Loading commit data...
fullscreen-shell Loading commit data...
include Loading commit data...
ivi-shell Loading commit data...
libweston Loading commit data...
libweston-desktop Loading commit data...
man Loading commit data...
protocol Loading commit data...
remoting Loading commit data...
shared Loading commit data...
tests Loading commit data...
tools/zunitc Loading commit data...
wcap Loading commit data...
xwayland Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING Loading commit data...
README.md Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...
notes.txt Loading commit data...
releasing.txt Loading commit data...
weston.ini.in Loading commit data...