From 8f065810f6d73b244fd303323a8a58bdcb421296 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 4 Jan 2021 10:46:58 +0100 Subject: protocol: add drm.xml This is Mesa's legacy wl_drm protocol. It will eventually get replaced with linux-dmabuf, however right now it's the only way to get the DRM device used by the parent compositor. --- protocol/drm.xml | 189 +++++++++++++++++++++++++++++++++++++++++++++++++++ protocol/meson.build | 1 + 2 files changed, 190 insertions(+) create mode 100644 protocol/drm.xml diff --git a/protocol/drm.xml b/protocol/drm.xml new file mode 100644 index 00000000..eaf2654a --- /dev/null +++ b/protocol/drm.xml @@ -0,0 +1,189 @@ + + + + + Copyright © 2008-2011 Kristian Høgsberg + Copyright © 2010-2011 Intel Corporation + + Permission to use, copy, modify, distribute, and sell this + software and its documentation for any purpose is hereby granted + without fee, provided that\n the above copyright notice appear in + all copies and that both that copyright notice and this permission + notice appear in supporting documentation, and that the name of + the copyright holders not be used in advertising or publicity + pertaining to distribution of the software without specific, + written prior permission. The copyright holders make no + representations about the suitability of this software for any + purpose. It is provided "as is" without express or implied + warranty. + + THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS + SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY + SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN + AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, + ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF + THIS SOFTWARE. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Bitmask of capabilities. + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/protocol/meson.build b/protocol/meson.build index de6db493..a602cd1d 100644 --- a/protocol/meson.build +++ b/protocol/meson.build @@ -31,6 +31,7 @@ protocols = { 'xdg-foreign-unstable-v2': wl_protocol_dir / 'unstable/xdg-foreign/xdg-foreign-unstable-v2.xml', 'xdg-output-unstable-v1': wl_protocol_dir / 'unstable/xdg-output/xdg-output-unstable-v1.xml', # Other protocols + 'drm': 'drm.xml', 'gtk-primary-selection': 'gtk-primary-selection.xml', 'kde-idle': 'idle.xml', 'kde-server-decoration': 'server-decoration.xml', -- cgit v1.2.3