gstwaylandsink: Add rotate-method property
authorRobert Mader <robert.mader@collabora.com>
Thu, 2 Jun 2022 12:22:21 +0000 (14:22 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 20 Jun 2022 18:30:56 +0000 (18:30 +0000)
commit6aa0b0cae223c25208fa59fd4683e7b95aa43e4a
treeeda8100bb1f9c3c5dce7957c822997bd463d51df
parent5fc953e838067a650b9edf0988cf55c8a6f122da
gstwaylandsink: Add rotate-method property

Similar to and inspired by glimagesink and gtkglsink.

Using the Wayland buffer transform API allows to offload
rotate operations to the Wayland compositor. This can have
several advantages:
 - The Wayland compositor may be able to use hardware plane
   capabilities to do the rotation.
 - In case of pre-rotated content on rotated outputs the
   rotations may equal out, potentially allowing the
   compositor to use hardware planes even if they don't
   support rotate operations.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2543>
subprojects/gst-plugins-bad/docs/plugins/gst_plugins_cache.json
subprojects/gst-plugins-bad/ext/wayland/gstwaylandsink.c
subprojects/gst-plugins-bad/ext/wayland/gstwaylandsink.h
subprojects/gst-plugins-bad/gst-libs/gst/wayland/gstwlwindow.c
subprojects/gst-plugins-bad/gst-libs/gst/wayland/gstwlwindow.h