protocol: Add content-protection protocol
authorScott Anderson <scott.anderson@collabora.com>
Mon, 4 Feb 2019 08:34:56 +0000 (21:34 +1300)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Thu, 4 Jul 2019 08:48:50 +0000 (14:18 +0530)
commit06aeb0eae092c8637b3b7c76dc1d2232cb790af0
treea0559ff52bb9f0b28cd44abec7b2f416f320630c
parent6ef2d45a2d2fa91c18c653e2d25d3f291e1ecd90
protocol: Add content-protection protocol

This protocol allows a client to ask the compositor to only allow it to
be displayed on a "secure" output. This initial version of the protocol
supports HDCP.

This is loosely based on the chromium secure-output protocol [1].

This protocol is mostly useful for closed system, where the client can
trust the compositor, such as set-top boxes. This is not a way to
implement any kind of Digital Rights Management on desktops. The
compositor would be free to lie to the client, anyway.

Signed-off-by: Scott Anderson <scott.anderson@collabora.com>
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
[1]
https://chromium.googlesource.com/chromium/src/+/master/third_party/wayland-protocols/unstable/secure-output/secure-output-unstable-v1.xml
protocol/meson.build
protocol/weston-content-protection.xml [new file with mode: 0644]