[Bf-blender-cvs] [9e7dd12ad9a] wl_default: add extern 'wayland-protocols' 1.21

Christian Rauch noreply at git.blender.org
Thu Jul 1 23:49:56 CEST 2021


Commit: 9e7dd12ad9a7e5f963b9b4795ea764cc1b4376e3
Author: Christian Rauch
Date:   Wed Jun 23 21:35:59 2021 +0100
Branches: wl_default
https://developer.blender.org/rB9e7dd12ad9a7e5f963b9b4795ea764cc1b4376e3

add extern 'wayland-protocols' 1.21

source: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/tree/1.21

===================================================================

A	extern/wayland-protocols/COPYING
A	extern/wayland-protocols/stable/presentation-time/README
A	extern/wayland-protocols/stable/presentation-time/presentation-time.xml
A	extern/wayland-protocols/stable/viewporter/README
A	extern/wayland-protocols/stable/viewporter/viewporter.xml
A	extern/wayland-protocols/stable/xdg-shell/README
A	extern/wayland-protocols/stable/xdg-shell/xdg-shell.xml
A	extern/wayland-protocols/staging/xdg-activation/README
A	extern/wayland-protocols/staging/xdg-activation/x11-interoperation.rst
A	extern/wayland-protocols/staging/xdg-activation/xdg-activation-v1.xml
A	extern/wayland-protocols/unstable/fullscreen-shell/README
A	extern/wayland-protocols/unstable/fullscreen-shell/fullscreen-shell-unstable-v1.xml
A	extern/wayland-protocols/unstable/idle-inhibit/README
A	extern/wayland-protocols/unstable/idle-inhibit/idle-inhibit-unstable-v1.xml
A	extern/wayland-protocols/unstable/input-method/README
A	extern/wayland-protocols/unstable/input-method/input-method-unstable-v1.xml
A	extern/wayland-protocols/unstable/input-timestamps/README
A	extern/wayland-protocols/unstable/input-timestamps/input-timestamps-unstable-v1.xml
A	extern/wayland-protocols/unstable/keyboard-shortcuts-inhibit/README
A	extern/wayland-protocols/unstable/keyboard-shortcuts-inhibit/keyboard-shortcuts-inhibit-unstable-v1.xml
A	extern/wayland-protocols/unstable/linux-dmabuf/README
A	extern/wayland-protocols/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml
A	extern/wayland-protocols/unstable/linux-explicit-synchronization/README
A	extern/wayland-protocols/unstable/linux-explicit-synchronization/linux-explicit-synchronization-unstable-v1.xml
A	extern/wayland-protocols/unstable/pointer-constraints/README
A	extern/wayland-protocols/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml
A	extern/wayland-protocols/unstable/pointer-gestures/README
A	extern/wayland-protocols/unstable/pointer-gestures/pointer-gestures-unstable-v1.xml
A	extern/wayland-protocols/unstable/primary-selection/README
A	extern/wayland-protocols/unstable/primary-selection/primary-selection-unstable-v1.xml
A	extern/wayland-protocols/unstable/relative-pointer/README
A	extern/wayland-protocols/unstable/relative-pointer/relative-pointer-unstable-v1.xml
A	extern/wayland-protocols/unstable/tablet/README
A	extern/wayland-protocols/unstable/tablet/tablet-unstable-v1.xml
A	extern/wayland-protocols/unstable/tablet/tablet-unstable-v2.xml
A	extern/wayland-protocols/unstable/text-input/README
A	extern/wayland-protocols/unstable/text-input/text-input-unstable-v1.xml
A	extern/wayland-protocols/unstable/text-input/text-input-unstable-v3.xml
A	extern/wayland-protocols/unstable/xdg-decoration/README
A	extern/wayland-protocols/unstable/xdg-decoration/xdg-decoration-unstable-v1.xml
A	extern/wayland-protocols/unstable/xdg-foreign/README
A	extern/wayland-protocols/unstable/xdg-foreign/xdg-foreign-unstable-v1.xml
A	extern/wayland-protocols/unstable/xdg-foreign/xdg-foreign-unstable-v2.xml
A	extern/wayland-protocols/unstable/xdg-output/README
A	extern/wayland-protocols/unstable/xdg-output/xdg-output-unstable-v1.xml
A	extern/wayland-protocols/unstable/xdg-shell/README
A	extern/wayland-protocols/unstable/xdg-shell/xdg-shell-unstable-v5.xml
A	extern/wayland-protocols/unstable/xdg-shell/xdg-shell-unstable-v6.xml
A	extern/wayland-protocols/unstable/xwayland-keyboard-grab/README
A	extern/wayland-protocols/unstable/xwayland-keyboard-grab/xwayland-keyboard-grab-unstable-v1.xml

===================================================================

diff --git a/extern/wayland-protocols/COPYING b/extern/wayland-protocols/COPYING
new file mode 100644
index 00000000000..8ab3291e385
--- /dev/null
+++ b/extern/wayland-protocols/COPYING
@@ -0,0 +1,33 @@
+Copyright © 2008-2013 Kristian Høgsberg
+Copyright © 2010-2013 Intel Corporation
+Copyright © 2013      Rafael Antognolli
+Copyright © 2013      Jasper St. Pierre
+Copyright © 2014      Jonas Ådahl
+Copyright © 2014      Jason Ekstrand
+Copyright © 2014-2015 Collabora, Ltd.
+Copyright © 2015      Red Hat Inc.
+
+Permission is hereby granted, free of charge, to any person obtaining a
+copy of this software and associated documentation files (the "Software"),
+to deal in the Software without restriction, including without limitation
+the rights to use, copy, modify, merge, publish, distribute, sublicense,
+and/or sell copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice (including the next
+paragraph) shall be included in all copies or substantial portions of the
+Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
+THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+DEALINGS IN THE SOFTWARE.
+
+---
+
+The above is the version of the MIT "Expat" License used by X.org:
+
+    http://cgit.freedesktop.org/xorg/xserver/tree/COPYING
diff --git a/extern/wayland-protocols/stable/presentation-time/README b/extern/wayland-protocols/stable/presentation-time/README
new file mode 100644
index 00000000000..c7781ea802f
--- /dev/null
+++ b/extern/wayland-protocols/stable/presentation-time/README
@@ -0,0 +1,5 @@
+Presentation time protocol
+
+Maintainers:
+Pekka Paalanen <pekka.paalanen at collabora.co.uk>
+
diff --git a/extern/wayland-protocols/stable/presentation-time/presentation-time.xml b/extern/wayland-protocols/stable/presentation-time/presentation-time.xml
new file mode 100644
index 00000000000..d1731f0369c
--- /dev/null
+++ b/extern/wayland-protocols/stable/presentation-time/presentation-time.xml
@@ -0,0 +1,266 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<protocol name="presentation_time">
+<!-- wrap:70 -->
+
+  <copyright>
+    Copyright © 2013-2014 Collabora, Ltd.
+
+    Permission is hereby granted, free of charge, to any person obtaining a
+    copy of this software and associated documentation files (the "Software"),
+    to deal in the Software without restriction, including without limitation
+    the rights to use, copy, modify, merge, publish, distribute, sublicense,
+    and/or sell copies of the Software, and to permit persons to whom the
+    Software is furnished to do so, subject to the following conditions:
+
+    The above copyright notice and this permission notice (including the next
+    paragraph) shall be included in all copies or substantial portions of the
+    Software.
+
+    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
+    THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+    FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+    DEALINGS IN THE SOFTWARE.
+  </copyright>
+
+  <interface name="wp_presentation" version="1">
+    <description summary="timed presentation related wl_surface requests">
+
+<!-- Introduction -->
+
+      The main feature of this interface is accurate presentation
+      timing feedback to ensure smooth video playback while maintaining
+      audio/video synchronization. Some features use the concept of a
+      presentation clock, which is defined in the
+      presentation.clock_id event.
+
+      A content update for a wl_surface is submitted by a
+      wl_surface.commit request. Request 'feedback' associates with
+      the wl_surface.commit and provides feedback on the content
+      update, particularly the final realized presentation time.
+
+<!-- Completing presentation -->
+
+      When the final realized presentation time is available, e.g.
+      after a framebuffer flip completes, the requested
+      presentation_feedback.presented events are sent. The final
+      presentation time can differ from the compositor's predicted
+      display update time and the update's target time, especially
+      when the compositor misses its target vertical blanking period.
+    </description>
+
+    <enum name="error">
+      <description summary="fatal presentation errors">
+        These fatal protocol errors may be emitted in response to
+        illegal presentation requests.
+      </description>
+      <entry name="invalid_timestamp" value="0"
+             summary="invalid value in tv_nsec"/>
+      <entry name="invalid_flag" value="1"
+             summary="invalid flag"/>
+    </enum>
+
+    <request name="destroy" type="destructor">
+      <description summary="unbind from the presentation interface">
+        Informs the server that the client will no longer be using
+        this protocol object. Existing objects created by this object
+        are not affected.
+      </description>
+    </request>
+
+    <request name="feedback">
+      <description summary="request presentation feedback information">
+        Request presentation feedback for the current content submission
+        on the given surface. This creates a new presentation_feedback
+        object, which will deliver the feedback information once. If
+        multiple presentation_feedback objects are created for the same
+        submission, they will all deliver the same information.
+
+        For details on what information is returned, see the
+        presentation_feedback interface.
+      </description>
+      <arg name="surface" type="object" interface="wl_surface"
+           summary="target surface"/>
+      <arg name="callback" type="new_id" interface="wp_presentation_feedback"
+           summary="new feedback object"/>
+    </request>
+
+    <event name="clock_id">
+      <description summary="clock ID for timestamps">
+        This event tells the client in which clock domain the
+        compositor interprets the timestamps used by the presentation
+        extension. This clock is called the presentation clock.
+
+        The compositor sends this event when the client binds to the
+        presentation interface. The presentation clock does not change
+        during the lifetime of the client connection.
+
+        The clock identifier is platform dependent. On Linux/glibc,
+        the identifier value is one of the clockid_t values accepted
+        by clock_gettime(). clock_gettime() is defined by
+        POSIX.1-2001.
+
+        Timestamps in this clock domain are expressed as tv_sec_hi,
+        tv_sec_lo, tv_nsec triples, each component being an unsigned
+        32-bit value. Whole seconds are in tv_sec which is a 64-bit
+        value combined from tv_sec_hi and tv_sec_lo, and the
+        additional fractional part in tv_nsec as nanoseconds. Hence,
+        for valid timestamps tv_nsec must be in [0, 999999999].
+
+        Note that clock_id applies only to the presentation clock,
+        and implies nothing about e.g. the timestamps used in the
+        Wayland core protocol input events.
+
+        Compositors should prefer a clock which does not jump and is
+        not slewed e.g. by NTP. The absolute value of the clock is
+        irrelevant. Precision of one millisecond or better is
+        recommended. Clients must be able to query the current clock
+        value directly, not by asking the compositor.
+      </description>
+      <arg name="clk_id" type="uint" summary="platform clock identifier"/>
+    </event>
+
+  </interface>
+
+  <interface name="wp_presentation_feedback" version="1">
+    <description summary="presentation time feedback event">
+      A presentation_feedback object returns an indication that a
+      wl_surface content update has become visible to the user.
+      One object corresponds to one content update submission
+      (wl_surface.commit). There are two possible outcomes: the
+      content update is presented to the user, and a presentation
+      timestamp delivered; or, the user did not see the content
+      update because it was superseded or its surface destroyed,
+      and the content update is discarded.
+
+      Once a presentation_feedback object has delivered a 'presented'
+      or 'discarded' event it is automatically destroyed.
+    </description>
+
+    <event name="sync_output">
+      <description summary="presentation synchronized to this output">
+        As presentation can be synchronized to only one output at a
+        time, this event tells which output it was. This event is only
+        sent prior to the presented event.
+
+        As clients may bind to the same global wl_output multiple
+        times, this event is sent for each bound instance that matches
+        the synchronized output. If a client has not bound to the
+        right wl_output global at all, this event is not sent.
+      </description>
+      <arg name="output" type="object" interface="wl_output"
+           summary="presentation output"/>
+    </event>
+
+    <enum name="kind" bitfield="true">
+      <description summary="bitmask of flags in presented event">
+        These flags provide information about how the presentation of
+        the related content update was done. The intent is to help
+        clients assess the reliability of the feedback and the visual
+        quality with respect to possible tearing and timings. The
+        flags are:
+
+        VSYNC:
+        The presentation was synchronized to the "vertical retrace" by
+        the display hardware such 

@@ Diff output truncated at 10240 characters. @@



More information about the Bf-blender-cvs mailing list