From d6e007f1bf19df6e2194097513410f88e0873d94 Mon Sep 17 00:00:00 2001 From: Junseok Kim Date: Tue, 4 Jun 2024 20:10:44 +0900 Subject: [PATCH 01/16] Revert "wtz-screen: add set_opaque_region" This reverts commit fb573ae411d7acdd0aee41d50ca3bd1503ba346a. Change-Id: I7a25ce4250e554d64bd4c97cf51c30259df9797a --- protocol/tizen/wtz-screen.xml | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/protocol/tizen/wtz-screen.xml b/protocol/tizen/wtz-screen.xml index e430de7..ac04982 100644 --- a/protocol/tizen/wtz-screen.xml +++ b/protocol/tizen/wtz-screen.xml @@ -95,20 +95,6 @@ - - - This request sets the region of the screen that contains - opaque content. - - The opaque region is specified in screen coordinates. - - The compositor ignores the parts of the opaque region that fall - outside of the screen. - - - - - -- 2.7.4 From e6b77a0ba81fab99b1d056b8440d83abd8b290fe Mon Sep 17 00:00:00 2001 From: Seunghun Lee Date: Tue, 4 Jun 2024 14:02:23 +0900 Subject: [PATCH 02/16] tizen: Introduce wtz-video-shell protocol The Video Shell is a tizen extension to the wayland protocol. It is designed to ensure synchronization between updates to the toplevel surface content and the viewport of a video surface traditionally rendered by an extenal process responsible for rendering video content. The protocol mainly introduces the wtz_video_exported_viewport and wtz_video_viewport_source. The wtz_video_exported_viewport is intended to be created within the application process and provides configuration options such as destination size and transformation settings. By extending wtz_video_exported_viewport from wl_subsurface, applications can leverage the synchronization capabilities of wl_subsurface to align updates between the main surface content and video output. The wtz_video_viewport_source, on the other hand, is meant to be created by the process handling video content creation. Its output will be adjusted (scaled up or down) based on the destination size and transformations specified through wtz_video_exported_viewport. This design approach is largely inspired by the wtz-foreign-shell protocol. Change-Id: Idedce06e923e376b147b44e6b1ec8409d71970b5 --- Makefile.am | 19 +++++ protocol/tizen/wtz-video-shell.xml | 156 +++++++++++++++++++++++++++++++++++++ 2 files changed, 175 insertions(+) create mode 100644 protocol/tizen/wtz-video-shell.xml diff --git a/Makefile.am b/Makefile.am index 881e5e2..c7b0db4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -527,6 +527,24 @@ liblinux_dmabuf_unstable_v1_client_la_SOURCES = protocol/unstable/linux-dmabuf-u liblinux_dmabuf_unstable_v1_client_la_CFLAGS = @WAYLAND_CLIENT_CFLAGS@ liblinux_dmabuf_unstable_v1_client_la_LIBADD = @WAYLAND_CLIENT_LIBS@ +### wtz_video_shell +protocol_LTLIBRARIES += \ + libwtz-video-shell-server.la \ + libwtz-video-shell-client.la +pkgconfig_DATA += \ + src/wtz-video-shell-server.pc \ + src/wtz-video-shell-client.pc +protocolinclude_HEADERS += \ + protocol/tizen/wtz-video-shell-server-protocol.h \ + protocol/tizen/wtz-video-shell-client-protocol.h +libwtz_video_shell_server_la_SOURCES = protocol/tizen/wtz-video-shell-protocol.c +libwtz_video_shell_server_la_CFLAGS = @WAYLAND_SERVER_CFLAGS@ +libwtz_video_shell_server_la_LIBADD = @WAYLAND_SERVER_LIBS@ +libwtz_video_shell_client_la_SOURCES = protocol/tizen/wtz-video-shell-protocol.c +libwtz_video_shell_client_la_CFLAGS = @WAYLAND_CLIENT_CFLAGS@ +libwtz_video_shell_client_la_LIBADD = @WAYLAND_CLIENT_LIBS@ + + ### wayland-protocols unstable_protocols = \ protocol/unstable/pointer-gestures/pointer-gestures-unstable-v1.xml \ @@ -583,6 +601,7 @@ tizen_protocols = \ protocol/tizen/wtz-shell.xml \ protocol/tizen/wtz-blender.xml \ protocol/tizen/wtz-blur.xml \ + protocol/tizen/wtz-video-shell.xml \ $(NULL) nobase_dist_pkgdata_DATA = \ diff --git a/protocol/tizen/wtz-video-shell.xml b/protocol/tizen/wtz-video-shell.xml new file mode 100644 index 0000000..3bf19ca --- /dev/null +++ b/protocol/tizen/wtz-video-shell.xml @@ -0,0 +1,156 @@ + + + + Copyright 2024 Samsung Electronics co., Ltd. All Rights Reserved. + + Permission to use, copy, modify, distribute, and sell this + software and its documentation for any purpose is hereby granted + without fee, provided that 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. + + + + TODO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- 2.7.4 From 284b54454537df89f8c84dece89eff9a224027bc Mon Sep 17 00:00:00 2001 From: Seunghun Lee Date: Wed, 5 Jun 2024 12:23:59 +0900 Subject: [PATCH 03/16] Package version up to 1.3.55 Change-Id: Ic2654c0112edcdd6472806cb92b79883d65452fb --- packaging/wayland-extension.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/wayland-extension.spec b/packaging/wayland-extension.spec index 57edc51..fb0d190 100644 --- a/packaging/wayland-extension.spec +++ b/packaging/wayland-extension.spec @@ -2,7 +2,7 @@ %define enable_examples 0 Name: wayland-extension -Version: 1.3.54 +Version: 1.3.55 Release: 0 Summary: Wayland extenstion protocols that add functionality not available in the Wayland core protocol License: MIT -- 2.7.4 From a8f26100279e91276a851bdced13ed426a26d1a3 Mon Sep 17 00:00:00 2001 From: Seunghun Lee Date: Mon, 17 Jun 2024 13:44:28 +0900 Subject: [PATCH 04/16] wtz_video_shell: Fix value of error enum Change-Id: I9dc3b80e8832076a7857b7360c550f1726fc26dc --- protocol/tizen/wtz-video-shell.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/protocol/tizen/wtz-video-shell.xml b/protocol/tizen/wtz-video-shell.xml index 3bf19ca..95f11ce 100644 --- a/protocol/tizen/wtz-video-shell.xml +++ b/protocol/tizen/wtz-video-shell.xml @@ -96,8 +96,8 @@ - - + + -- 2.7.4 From 1cd7908278b42eebb352e90c0d80706ac437619c Mon Sep 17 00:00:00 2001 From: Seunghun Lee Date: Tue, 18 Jun 2024 14:18:56 +0900 Subject: [PATCH 05/16] wtz_video_shell: Rename error name to be more understandable Change-Id: I44b308a91192f86fae1160038cc1bfcef8dd716c --- protocol/tizen/wtz-video-shell.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocol/tizen/wtz-video-shell.xml b/protocol/tizen/wtz-video-shell.xml index 95f11ce..ee00042 100644 --- a/protocol/tizen/wtz-video-shell.xml +++ b/protocol/tizen/wtz-video-shell.xml @@ -95,7 +95,7 @@ - + -- 2.7.4 From 26c30eec5ed1b1b6ad987ace0180a91abe4f839b Mon Sep 17 00:00:00 2001 From: Seunghun Lee Date: Wed, 19 Jun 2024 14:36:34 +0900 Subject: [PATCH 06/16] wtz-video-shell: Add error 'viewport_exists' Change-Id: Ibe30fd69784a449e0f62b48348f87f174993b8b1 --- protocol/tizen/wtz-video-shell.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/protocol/tizen/wtz-video-shell.xml b/protocol/tizen/wtz-video-shell.xml index ee00042..3ae3e16 100644 --- a/protocol/tizen/wtz-video-shell.xml +++ b/protocol/tizen/wtz-video-shell.xml @@ -98,6 +98,7 @@ + -- 2.7.4 From d48caca29084ec5fcc8b72a06aed873ebb19e17a Mon Sep 17 00:00:00 2001 From: Seunghun Lee Date: Mon, 24 Jun 2024 09:37:05 +0900 Subject: [PATCH 07/16] wtz-video-shell: Add 'get_global_resource_id_from_handle' request Change-Id: I0623fdaae6410c08c3161c83aa0963f91d2304a1 --- protocol/tizen/wtz-video-shell.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/protocol/tizen/wtz-video-shell.xml b/protocol/tizen/wtz-video-shell.xml index 3ae3e16..65e4e61 100644 --- a/protocol/tizen/wtz-video-shell.xml +++ b/protocol/tizen/wtz-video-shell.xml @@ -43,6 +43,14 @@ + + + + + + + + -- 2.7.4 From 18e7418a5b3915159239b5c9a529638e8cc5d701 Mon Sep 17 00:00:00 2001 From: Seunghun Lee Date: Wed, 26 Jun 2024 08:33:57 +0900 Subject: [PATCH 08/16] Package version up to 1.3.56 Change-Id: Ic58e949500a5c54f84e88a6efa72dc4528fc1c30 --- packaging/wayland-extension.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/wayland-extension.spec b/packaging/wayland-extension.spec index fb0d190..4d9f881 100644 --- a/packaging/wayland-extension.spec +++ b/packaging/wayland-extension.spec @@ -2,7 +2,7 @@ %define enable_examples 0 Name: wayland-extension -Version: 1.3.55 +Version: 1.3.56 Release: 0 Summary: Wayland extenstion protocols that add functionality not available in the Wayland core protocol License: MIT -- 2.7.4 From 916c4fccd345fac2730365e5b048185ca0731d51 Mon Sep 17 00:00:00 2001 From: Changyeon Lee Date: Mon, 22 Jul 2024 17:36:06 +0900 Subject: [PATCH 09/16] wtz-blur: Add wtz_blur_rectangle Change-Id: I30f52d6b5206b7258f5cbc76fdba96feb6b6224c --- protocol/tizen/wtz-blur.xml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/protocol/tizen/wtz-blur.xml b/protocol/tizen/wtz-blur.xml index f8f7580..4dd6392 100644 --- a/protocol/tizen/wtz-blur.xml +++ b/protocol/tizen/wtz-blur.xml @@ -110,6 +110,43 @@ + + + + Create a rectangle that indicates the area where a blur is applied. + + The blur rectangle is specified in the surface-local coordinates. + + The blur rectangle is double-buffered state, and will be applied on the + next wl_surface.commit. + + If xr and xy are 0, it will be drawn as a rectangle without rounded corners. + The value of rx should be between 0 and w/2. + The value of ry should be between 0 and h/2. + + + + + + + + + + + + + + If the wtz_blur associated with the wtz_blur_round_rectangle is destroyed, + the wtz_blur_round_rectangle object becomes inert. + + + + Destroy the blur rectangle object. + + On the next wl_surface.commit, the blur rectangle object state is withdrawn. + + -- 2.7.4 From a1a58d390befc82f83d6ba72390917a55cb2021e Mon Sep 17 00:00:00 2001 From: Changyeon Lee Date: Tue, 23 Jul 2024 13:51:27 +0900 Subject: [PATCH 10/16] Package version up to 1.3.57 Change-Id: I604043cdf277a891f31fd9bf2cd3162c0ffe9d89 --- packaging/wayland-extension.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/wayland-extension.spec b/packaging/wayland-extension.spec index 4d9f881..258cf7a 100644 --- a/packaging/wayland-extension.spec +++ b/packaging/wayland-extension.spec @@ -2,7 +2,7 @@ %define enable_examples 0 Name: wayland-extension -Version: 1.3.56 +Version: 1.3.57 Release: 0 Summary: Wayland extenstion protocols that add functionality not available in the Wayland core protocol License: MIT -- 2.7.4 From e4fbe6bd832773c15158d78fd2e937377a487784 Mon Sep 17 00:00:00 2001 From: "duna.oh" Date: Thu, 18 Jul 2024 20:03:03 +0900 Subject: [PATCH 11/16] tizen_input_device_manager: add requests of relative_motion_grab/ungrab Change-Id: Ib372b2117ad8e36218cd451be06ee5f0738be8ae --- protocol/tizen/tizen-extension.xml | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/protocol/tizen/tizen-extension.xml b/protocol/tizen/tizen-extension.xml index e88146e..f85718a 100644 --- a/protocol/tizen/tizen-extension.xml +++ b/protocol/tizen/tizen-extension.xml @@ -1660,7 +1660,7 @@ - + Tizen input device manager is a global interface. This object has device add/remove events to provide tizen input device object to a client. This allows for a client to get the con @@ -1899,6 +1899,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- 2.7.4 From 7928ff47ff342ec4a0055186ba6eb15c32d61875 Mon Sep 17 00:00:00 2001 From: "duna.oh" Date: Mon, 29 Jul 2024 13:28:56 +0900 Subject: [PATCH 12/16] Package version up to 1.3.58 Change-Id: I13e88e97f22eac0f035347b3f69920f07cb615c1 --- packaging/wayland-extension.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/wayland-extension.spec b/packaging/wayland-extension.spec index 258cf7a..6228772 100644 --- a/packaging/wayland-extension.spec +++ b/packaging/wayland-extension.spec @@ -2,7 +2,7 @@ %define enable_examples 0 Name: wayland-extension -Version: 1.3.57 +Version: 1.3.58 Release: 0 Summary: Wayland extenstion protocols that add functionality not available in the Wayland core protocol License: MIT -- 2.7.4 From 1ef5a6d691520f0fad42f96325a791e838d1d2d1 Mon Sep 17 00:00:00 2001 From: Seunghun Lee Date: Thu, 8 Aug 2024 16:27:34 +0900 Subject: [PATCH 13/16] wtz-video-shell: Add protocol errors The subsurface to export as video viewport cannot have a child subsurface. This patch adds protocol errors to prevent video viewport subsurface from having a child subsurface. Change-Id: I6086558827fc866b73378e6e267671c29b8dc0e5 --- protocol/tizen/wtz-video-shell.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/protocol/tizen/wtz-video-shell.xml b/protocol/tizen/wtz-video-shell.xml index 65e4e61..07ba872 100644 --- a/protocol/tizen/wtz-video-shell.xml +++ b/protocol/tizen/wtz-video-shell.xml @@ -32,6 +32,7 @@ + @@ -58,6 +59,7 @@ + -- 2.7.4 From f3e646fd2f5003b4154d16a4a1f09284fe199b21 Mon Sep 17 00:00:00 2001 From: Seunghun Lee Date: Thu, 8 Aug 2024 16:31:55 +0900 Subject: [PATCH 14/16] Package version up to 1.3.59 Change-Id: Id676b4b1c22a15bbc03f0f8d74cab69450fcd7d9 --- packaging/wayland-extension.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/wayland-extension.spec b/packaging/wayland-extension.spec index 6228772..f60b6fd 100644 --- a/packaging/wayland-extension.spec +++ b/packaging/wayland-extension.spec @@ -2,7 +2,7 @@ %define enable_examples 0 Name: wayland-extension -Version: 1.3.58 +Version: 1.3.59 Release: 0 Summary: Wayland extenstion protocols that add functionality not available in the Wayland core protocol License: MIT -- 2.7.4 From 23e3e5cb6fd6fdaf38cb43751a5344182953f8b6 Mon Sep 17 00:00:00 2001 From: Changyeon Lee Date: Tue, 20 Aug 2024 12:11:19 +0900 Subject: [PATCH 15/16] wtz-blur: Add wtz_blur_behid Change-Id: Ieba8e0385c133b6d6862c4c74b1f5e42fbe0ff99 --- protocol/tizen/wtz-blur.xml | 59 ++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 53 insertions(+), 6 deletions(-) diff --git a/protocol/tizen/wtz-blur.xml b/protocol/tizen/wtz-blur.xml index 4dd6392..062620c 100644 --- a/protocol/tizen/wtz-blur.xml +++ b/protocol/tizen/wtz-blur.xml @@ -25,8 +25,8 @@ - This protocol allows clients to have more control over blurring background - of surface. + This protocol allows clients to have more control over blurring + a surface background and behind. @@ -46,8 +46,8 @@ - - Create a blur object for a surface. + + Create a blur object for a surface background. If the wl_surface already has a blur object associated, the blur_exists protocol error is raised. @@ -57,12 +57,25 @@ + + + + Create a blur behind object for a surface behind. + + If the wl_surface already has a blur behind object associated, the + blur_exists protocol error is raised. + + + + - A surface extension interface for setting a blurring background - to the surface. + A surface extension interface for setting a blurring to a surface + background. Use of this interface has no effect on the surface's opaque region as set by wl_surface.set_opaque_region. @@ -149,4 +162,38 @@ + + + A surface extension interface for setting a fullscreen blurring to + a surface behind. + + Use of this interface has no effect on the surface's opaque region + as set by wl_surface.set_opaque_region. + + If the wl_surface associated with the wtz_blur_behind is destroyed, + the wtz_blur object becomes inert. + + + + + Destroy the blur object. + + On the next wl_surface.commit, the blur object state is withdrawn. + + + + + + Set the blur radius for compositing a surface behind. + + The blur radius is double-buffered state, and will be applied on + the next wl_surface.commit. + + The initial value for an blur radius is zero. That means a blurring + behind will be disabled. + + + + + -- 2.7.4 From 71ff108287aa34117f2a5596e97e904fa63f4c53 Mon Sep 17 00:00:00 2001 From: Changyeon Lee Date: Tue, 20 Aug 2024 18:20:27 +0900 Subject: [PATCH 16/16] Package version up to 1.3.60 Change-Id: Ifdddd9459d310fb5b6fc6a7300fc6617ecf7bd53 --- packaging/wayland-extension.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/wayland-extension.spec b/packaging/wayland-extension.spec index f60b6fd..5f93a76 100644 --- a/packaging/wayland-extension.spec +++ b/packaging/wayland-extension.spec @@ -2,7 +2,7 @@ %define enable_examples 0 Name: wayland-extension -Version: 1.3.59 +Version: 1.3.60 Release: 0 Summary: Wayland extenstion protocols that add functionality not available in the Wayland core protocol License: MIT -- 2.7.4