WESTON_DPMS_OFF
};
+/* enum for content protection requests/status
+ *
+ * This enum represents the content protection requests and statuses in
+ * libweston and its enum values correspond to those of 'type' enum defined in
+ * weston-content-protection protocol. The values should exactly match to the
+ * values of the 'type' enum of the protocol.
+ */
+
+enum weston_hdcp_protection {
+ WESTON_HDCP_DISABLE = 0,
+ WESTON_HDCP_ENABLE_TYPE_0,
+ WESTON_HDCP_ENABLE_TYPE_1
+};
+
/** Represents a monitor
*
* This object represents a monitor (hardware backends like DRM) or a window
struct wl_list head_list; /**< List of driven weston_heads */
+ enum weston_hdcp_protection desired_protection;
+
void (*start_repaint_loop)(struct weston_output *output);
int (*repaint)(struct weston_output *output,
pixman_region32_t *damage,
wl_list_init(&output->link);
wl_signal_init(&output->user_destroy_signal);
output->enabled = false;
+ output->desired_protection = WESTON_HDCP_DISABLE;
wl_list_init(&output->head_list);