From efff1076bcac46c05cb5378843177732769a3538 Mon Sep 17 00:00:00 2001 From: Doyoun Kang Date: Wed, 29 Mar 2023 12:58:50 +0900 Subject: [PATCH 01/16] Package version up to 1.3.39 Change-Id: Ia1b125cb7c35f17e861ccad924ef75fcec5f46f7 --- 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 105dbcd..a412f2d 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.38 +Version: 1.3.39 Release: 0 Summary: Wayland extenstion protocols that add functionality not available in the Wayland core protocol License: MIT -- 2.7.4 From e3e1b45b53923a6519cacbb58118f6b1e87b8ea5 Mon Sep 17 00:00:00 2001 From: InHong Han Date: Thu, 6 Apr 2023 10:19:29 +0900 Subject: [PATCH 02/16] text, input-method: Add protocol for surrounding text Change-Id: I22bc00429fb0418209febf85a75ea141eede9df4 --- protocol/tizen/input-method.xml | 18 ++++++++++++++++++ protocol/tizen/text.xml | 42 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/protocol/tizen/input-method.xml b/protocol/tizen/input-method.xml index e078568..7fedae4 100644 --- a/protocol/tizen/input-method.xml +++ b/protocol/tizen/input-method.xml @@ -405,6 +405,24 @@ + + + + The plain surrounding text around the input position. Cursor is the + position in bytes within the surrounding text relative to the beginning + of the text. Anchor is the position in bytes of the selection anchor + within the surrounding text relative to the beginning of the text. If + there is no selected text then anchor is the same as cursor. If the text + length exceeds 4000 bytes, the segmented text is delivered multiple times. + You can use the block_size to set the number of times the text is delivered. + And the block_index is the order of text delivered. + + + + + + + diff --git a/protocol/tizen/text.xml b/protocol/tizen/text.xml index 4e831f0..2e8780e 100644 --- a/protocol/tizen/text.xml +++ b/protocol/tizen/text.xml @@ -301,6 +301,48 @@ + + + Sets the surrounding plain text around the input, excluding the preedit + text. + + The client should notify the compositor of any changes in any of the + values carried with this request, including changes caused by handling + incoming text-input events as well as changes caused by other + mechanisms like keyboard typing. + + If the client is unaware of the text around the cursor, it should not + issue this request, to signify lack of support to the compositor. + + Text is UTF-8 encoded, and should include the cursor position, the + complete selection and additional characters before and after them. + + Cursor is the byte offset of the cursor within text buffer. + + Anchor is the byte offset of the selection anchor within text buffer. + If there is no selected text, anchor is the same as cursor. + + If the text length exceeds 4000 bytes, the segmented text is delivered + multiple times. You can use the block_size to set the number of times + the text is delivered. And the block_index is the order of text delivered. + + If any preedit text is present, it is replaced with a cursor for the + purpose of this event. + + Values set with this request are double-buffered. They will get applied + on the next commit request, and stay valid until the next committed + enable or disable request. + + The initial state for affected fields is empty, meaning that the text + input does not support sending surrounding text. If the empty values + get applied, subsequent attempts to change them may have no effect. + + + + + + + Notify the text_input object when it received focus. Typically in -- 2.7.4 From 8421d344216ab70d671773021a7385ff449c636a Mon Sep 17 00:00:00 2001 From: InHong Han Date: Mon, 10 Apr 2023 17:12:58 +0900 Subject: [PATCH 03/16] Package version up to 1.3.40 Change-Id: I444f085a13f685132e06ed9a43a3e102c4821f59 --- 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 a412f2d..a4f37fe 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.39 +Version: 1.3.40 Release: 0 Summary: Wayland extenstion protocols that add functionality not available in the Wayland core protocol License: MIT -- 2.7.4 From 7a47f76d2388b8ca6197a8072bc44852ea6ce73a Mon Sep 17 00:00:00 2001 From: Sungjin Park Date: Mon, 17 Apr 2023 13:38:20 +0900 Subject: [PATCH 04/16] Provided development files for pointer-constraints and relative-pointer unstable version 1 protocol Change-Id: I34c74febfaeca1dcc2bf110e1360a1b4114360ee Signed-off-by: Sungjin Park --- Makefile.am | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/Makefile.am b/Makefile.am index 2edaa7d..107e4ff 100644 --- a/Makefile.am +++ b/Makefile.am @@ -366,6 +366,40 @@ liblinux_explicit_synchronization_unstable_v1_client_la_SOURCES = protocol/unsta liblinux_explicit_synchronization_unstable_v1_client_la_CFLAGS = @WAYLAND_CLIENT_CFLAGS@ liblinux_explicit_synchronization_unstable_v1_client_la_LIBADD = @WAYLAND_CLIENT_LIBS@ +### pointer-constraints (unstable v1) +protocol_LTLIBRARIES += \ + libpointer-constraints-unstable-v1-server.la \ + libpointer-constraints-unstable-v1-client.la +pkgconfig_DATA += \ + src/pointer-constraints-unstable-v1-server.pc \ + src/pointer-constraints-unstable-v1-client.pc +protocolinclude_HEADERS += \ + protocol/unstable/pointer-constraints-unstable-v1-server-protocol.h \ + protocol/unstable/pointer-constraints-unstable-v1-client-protocol.h +libpointer_constraints_unstable_v1_server_la_SOURCES = protocol/unstable/pointer-constraints-unstable-v1-protocol.c +libpointer_constraints_unstable_v1_server_la_CFLAGS = @WAYLAND_SERVER_CFLAGS@ +libpointer_constraints_unstable_v1_server_la_LIBADD = @WAYLAND_SERVER_LIBS@ +libpointer_constraints_unstable_v1_client_la_SOURCES = protocol/unstable/pointer-constraints-unstable-v1-protocol.c +libpointer_constraints_unstable_v1_client_la_CFLAGS = @WAYLAND_CLIENT_CFLAGS@ +libpointer_constraints_unstable_v1_client_la_LIBADD = @WAYLAND_CLIENT_LIBS@ + +### relative-pointer (unstable v1) +protocol_LTLIBRARIES += \ + librelative-pointer-unstable-v1-server.la \ + librelative-pointer-unstable-v1-client.la +pkgconfig_DATA += \ + src/relative-pointer-unstable-v1-server.pc \ + src/relative-pointer-unstable-v1-client.pc +protocolinclude_HEADERS += \ + protocol/unstable/relative-pointer-unstable-v1-server-protocol.h \ + protocol/unstable/relative-pointer-unstable-v1-client-protocol.h +librelative_pointer_unstable_v1_server_la_SOURCES = protocol/unstable/relative-pointer-unstable-v1-protocol.c +librelative_pointer_unstable_v1_server_la_CFLAGS = @WAYLAND_SERVER_CFLAGS@ +librelative_pointer_unstable_v1_server_la_LIBADD = @WAYLAND_SERVER_LIBS@ +librelative_pointer_unstable_v1_client_la_SOURCES = protocol/unstable/relative-pointer-unstable-v1-protocol.c +librelative_pointer_unstable_v1_client_la_CFLAGS = @WAYLAND_CLIENT_CFLAGS@ +librelative_pointer_unstable_v1_client_la_LIBADD = @WAYLAND_CLIENT_LIBS@ + ### wtz_foreign protocol_LTLIBRARIES += \ libwtz-foreign-server.la \ -- 2.7.4 From 97c7d05335b5e7fb8500cf7215bd362d0bd7852c Mon Sep 17 00:00:00 2001 From: "duna.oh" Date: Wed, 14 Jun 2023 11:04:50 +0900 Subject: [PATCH 05/16] Package version up to 1.3.41 Change-Id: Ie2119fcbc2828587db8de4579d4eb5ade106e786 --- 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 a4f37fe..ba29469 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.40 +Version: 1.3.41 Release: 0 Summary: Wayland extenstion protocols that add functionality not available in the Wayland core protocol License: MIT -- 2.7.4 From 03e4dca5738018d49aaecffe82f986263454bc89 Mon Sep 17 00:00:00 2001 From: Changyeon Lee Date: Fri, 30 Jun 2023 16:58:43 +0900 Subject: [PATCH 06/16] add single-pixel-buffer-v1 staging protocol Change-Id: I801c5b1e2b9365194e3022e6b689315f6b773519 --- Makefile.am | 33 ++++++++++- packaging/wayland-extension.spec | 1 + protocol/staging/single-pixel-buffer/README | 4 ++ .../single-pixel-buffer/single-pixel-buffer-v1.xml | 69 ++++++++++++++++++++++ 4 files changed, 106 insertions(+), 1 deletion(-) create mode 100644 protocol/staging/single-pixel-buffer/README create mode 100644 protocol/staging/single-pixel-buffer/single-pixel-buffer-v1.xml diff --git a/Makefile.am b/Makefile.am index 107e4ff..58f6e76 100644 --- a/Makefile.am +++ b/Makefile.am @@ -29,6 +29,14 @@ protocol/unstable/%-server-protocol.h : $(top_srcdir)/protocol/unstable/*/%.xml protocol/unstable/%-client-protocol.h : $(top_srcdir)/protocol/unstable/*/%.xml $(wayland_scanner) client-header < $< > $@ +### protocol/staging/protocol.[ch] +protocol/staging/%-protocol.c : $(top_srcdir)/protocol/staging/*/%.xml + $(wayland_scanner) code < $< > $@ +protocol/staging/%-server-protocol.h : $(top_srcdir)/protocol/staging/*/%.xml + $(wayland_scanner) server-header < $< > $@ +protocol/staging/%-client-protocol.h : $(top_srcdir)/protocol/staging/*/%.xml + $(wayland_scanner) client-header < $< > $@ + ### protocol/stable/protocol.[ch] protocol/stable/%-protocol.c : $(top_srcdir)/protocol/stable/*/%.xml $(wayland_scanner) code < $< > $@ @@ -451,6 +459,23 @@ libwtz_shell_client_la_SOURCES = protocol/tizen/wtz-shell-protocol.c libwtz_shell_client_la_CFLAGS = @WAYLAND_CLIENT_CFLAGS@ libwtz_shell_client_la_LIBADD = @WAYLAND_CLIENT_LIBS@ +### single-pixel-buffer +protocol_LTLIBRARIES += \ + libsingle-pixel-buffer-v1-server.la \ + libsingle-pixel-buffer-v1-client.la +pkgconfig_DATA += \ + src/single-pixel-buffer-v1-server.pc \ + src/single-pixel-buffer-v1-client.pc +protocolinclude_HEADERS += \ + protocol/staging/single-pixel-buffer-v1-server-protocol.h \ + protocol/staging/single-pixel-buffer-v1-client-protocol.h +libsingle_pixel_buffer_v1_server_la_SOURCES = protocol/staging/single-pixel-buffer-v1-protocol.c +libsingle_pixel_buffer_v1_server_la_CFLAGS = @WAYLAND_SERVER_CFLAGS@ +libsingle_pixel_buffer_v1_server_la_LIBADD = @WAYLAND_SERVER_LIBS@ +libsingle_pixel_buffer_v1_client_la_SOURCES = protocol/staging/single-pixel-buffer-v1-protocol.c +libsingle_pixel_buffer_v1_client_la_CFLAGS = @WAYLAND_CLIENT_CFLAGS@ +libsingle_pixel_buffer_v1_client_la_LIBADD = @WAYLAND_CLIENT_LIBS@ + ### wayland-protocols unstable_protocols = \ protocol/unstable/pointer-gestures/pointer-gestures-unstable-v1.xml \ @@ -477,6 +502,10 @@ unstable_protocols = \ protocol/unstable/primary-selection/primary-selection-unstable-v1.xml \ $(NULL) +staging_protocols = \ + protocol/staging/single-pixel-buffer/single-pixel-buffer-v1.xml \ + $(NULL) + stable_protocols = \ protocol/stable/presentation-time/presentation-time.xml \ protocol/stable/viewporter/viewporter.xml \ @@ -505,12 +534,14 @@ tizen_protocols = \ nobase_dist_pkgdata_DATA = \ $(unstable_protocols) \ + $(staging_protocols) \ $(stable_protocols) \ $(tizen_protocols) \ $(NULL) dist_noinst_DATA = \ $(sort $(foreach p,$(unstable_protocols),$(dir $p)README)) \ + $(sort $(foreach p,$(staging_protocols),$(dir $p)README)) \ $(sort $(foreach p,$(stable_protocols),$(dir $p)README)) \ $(NULL) @@ -518,7 +549,7 @@ pkgconfig_DATA += src/wayland-protocols.pc dist_check_SCRIPTS = tests/scan.sh -TESTS = $(unstable_protocols) $(stable_protocols) $(tizen_protocols) +TESTS = $(unstable_protocols) $(staging_protocols) $(stable_protocols) $(tizen_protocols) TEST_EXTENSIONS = .xml AM_TESTS_ENVIRONMENT = SCANNER='$(wayland_scanner)'; export SCANNER; XML_LOG_COMPILER = $(srcdir)/tests/scan.sh diff --git a/packaging/wayland-extension.spec b/packaging/wayland-extension.spec index ba29469..b09d954 100644 --- a/packaging/wayland-extension.spec +++ b/packaging/wayland-extension.spec @@ -147,6 +147,7 @@ make %{?_smp_mflags} %defattr(-,root,root) %_datadir/wayland-extension/protocol/tizen/* %_datadir/wayland-extension/protocol/stable/* +%_datadir/wayland-extension/protocol/staging/* %_datadir/wayland-extension/protocol/unstable/* %_libdir/pkgconfig/wayland-protocols.pc diff --git a/protocol/staging/single-pixel-buffer/README b/protocol/staging/single-pixel-buffer/README new file mode 100644 index 0000000..b3ae55e --- /dev/null +++ b/protocol/staging/single-pixel-buffer/README @@ -0,0 +1,4 @@ +Single-pixel buffer protocol + +Maintainers: +Simon Ser diff --git a/protocol/staging/single-pixel-buffer/single-pixel-buffer-v1.xml b/protocol/staging/single-pixel-buffer/single-pixel-buffer-v1.xml new file mode 100644 index 0000000..b157155 --- /dev/null +++ b/protocol/staging/single-pixel-buffer/single-pixel-buffer-v1.xml @@ -0,0 +1,69 @@ + + + + Copyright © 2022 Simon Ser + + 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. + + + + This protocol extension allows clients to create single-pixel buffers. + + Compositors supporting this protocol extension should also support the + viewporter protocol extension. Clients may use viewporter to scale a + single-pixel buffer to a desired size. + + Warning! The protocol described in this file is currently in the testing + phase. Backward compatible changes may be added together with the + corresponding interface version bump. Backward incompatible changes can + only be done by creating a new major version of the extension. + + + + + The wp_single_pixel_buffer_manager_v1 interface is a factory for + single-pixel buffers. + + + + + Destroy the wp_single_pixel_buffer_manager_v1 object. + + The child objects created via this interface are unaffected. + + + + + + Create a single-pixel buffer from four 32-bit RGBA values. + + Unless specified in another protocol extension, the RGBA values use + pre-multiplied alpha. + + The width and height of the buffer are 1. + + + + + + + + + -- 2.7.4 From 830b779f248b88b11a8154fa24905029a3dd0fa8 Mon Sep 17 00:00:00 2001 From: Changyeon Lee Date: Mon, 3 Jul 2023 15:41:19 +0900 Subject: [PATCH 07/16] Package version up to 1.4.42 Change-Id: Id55361472ca45cc234c545329d678ddc2f36afdf --- 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 b09d954..ee2d9ec 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.41 +Version: 1.3.42 Release: 0 Summary: Wayland extenstion protocols that add functionality not available in the Wayland core protocol License: MIT -- 2.7.4 From 17fcb2727d21a22dc34d8c831dd293b1a18acb19 Mon Sep 17 00:00:00 2001 From: Changyeon Lee Date: Wed, 5 Jul 2023 19:40:05 +0900 Subject: [PATCH 08/16] add wtz-blender tizen protocol This protocol provides set of interfaces used to control the alpha compositing of surface contents, base on a Chromium alpha-compositing-unstable-v1 and wayland-protocols wp_blender (development phase). Although both protocols provide an interface to equation, this protocol does not provide it because current display-server of tizen only supports premultiplied alpha blending. Change-Id: I94b13c0226d9c95a410734a11124f32fcb1d371d --- Makefile.am | 17 +++++++ protocol/tizen/wtz-blender.xml | 107 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 124 insertions(+) create mode 100644 protocol/tizen/wtz-blender.xml diff --git a/Makefile.am b/Makefile.am index 58f6e76..e20f79d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -408,6 +408,23 @@ librelative_pointer_unstable_v1_client_la_SOURCES = protocol/unstable/relative-p librelative_pointer_unstable_v1_client_la_CFLAGS = @WAYLAND_CLIENT_CFLAGS@ librelative_pointer_unstable_v1_client_la_LIBADD = @WAYLAND_CLIENT_LIBS@ +### wtz_blender +protocol_LTLIBRARIES += \ + libwtz-blender-server.la \ + libwtz-blender-client.la +pkgconfig_DATA += \ + src/wtz-blender-server.pc \ + src/wtz-blender-client.pc +protocolinclude_HEADERS += \ + protocol/tizen/wtz-blender-server-protocol.h \ + protocol/tizen/wtz-blender-client-protocol.h +libwtz_blender_server_la_SOURCES = protocol/tizen/wtz-blender-protocol.c +libwtz_blender_server_la_CFLAGS = @WAYLAND_SERVER_CFLAGS@ +libwtz_blender_server_la_LIBADD = @WAYLAND_SERVER_LIBS@ +libwtz_blender_client_la_SOURCES = protocol/tizen/wtz-blender-protocol.c +libwtz_blender_client_la_CFLAGS = @WAYLAND_CLIENT_CFLAGS@ +libwtz_blender_client_la_LIBADD = @WAYLAND_CLIENT_LIBS@ + ### wtz_foreign protocol_LTLIBRARIES += \ libwtz-foreign-server.la \ diff --git a/protocol/tizen/wtz-blender.xml b/protocol/tizen/wtz-blender.xml new file mode 100644 index 0000000..b418c99 --- /dev/null +++ b/protocol/tizen/wtz-blender.xml @@ -0,0 +1,107 @@ + + + + + Copyright 2023 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. + + + + This protocol allows clients to have more control over alpha compositing + of surface contents. + + + + + A global allows clients to create wtz_blend objects. + + + + + + + + + Destroy the blender object. + + + + + + Create a blend object for a surface. + + If the wl_surface already has a blend object associated, the + blend_exists protocol error is raised. + + + + + + + + + A surface extension interface for setting a global alpha value applied + to the whole surface. + + When the blend object is created its its alpha value is UINT32_MAX + (ie, opaque). + + Use of this interface has no effect on the surface's opaque region + as set by wl_surface.set_opaque_region. Clients must make sure to set + their opaque region correctly to prevent repaint artifacts. + + The blend object must be destroyed before the wl_surface, otherwise the + defunct protocol error is raised. + + + + + + + + + Destroy the blend object. + + On the next wl_surface.commit, the blend object state is withdrawn. + + + + + + Set the alpha value applied to the whole surface for compositing. This + alpha value is applied as an additional step after the processing of + per-pixel alpha values for the wl_surface. + + Zero means completely transparent, UINT32_MAX means completely opaque. + + The alpha value is double-buffered state, and will be applied on the + next wl_surface.commit. + + + + + + -- 2.7.4 From 3ea98b87926e201a4ebcb17e20e2e45eef212acf Mon Sep 17 00:00:00 2001 From: Changyeon Lee Date: Thu, 6 Jul 2023 16:00:27 +0900 Subject: [PATCH 09/16] Package version up to 1.4.43 Change-Id: Ia8f39953840394ef6f2066b058238074919b78f5 --- 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 ee2d9ec..6758a9c 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.42 +Version: 1.3.43 Release: 0 Summary: Wayland extenstion protocols that add functionality not available in the Wayland core protocol License: MIT -- 2.7.4 From 96ccfda0bfaa7ef188833f5b48aae0d44856c66d Mon Sep 17 00:00:00 2001 From: Changyeon Lee Date: Thu, 6 Jul 2023 18:04:00 +0900 Subject: [PATCH 10/16] wtz-blender: fix Copyright Change-Id: Ie57dd4b706dedaa8bbddb5065de0082d9edf7fdc --- protocol/tizen/wtz-blender.xml | 45 +++++++++++++++++++++--------------------- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/protocol/tizen/wtz-blender.xml b/protocol/tizen/wtz-blender.xml index b418c99..8f7e981 100644 --- a/protocol/tizen/wtz-blender.xml +++ b/protocol/tizen/wtz-blender.xml @@ -2,28 +2,29 @@ - Copyright 2023 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. + Copyright 2016 The Chromium Authors + Copyright 2017-2018 Collabora Ltd + Copyright 2018 NXP + Copyright 2023 Simon Ser + Copyright 2023 Samsung Electronics Co., 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 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. -- 2.7.4 From 55adba38a6710e18ff6e3c405b44141372b4303e Mon Sep 17 00:00:00 2001 From: Changyeon Lee Date: Fri, 14 Jul 2023 11:24:43 +0900 Subject: [PATCH 11/16] wtz-blender: remove defunct error If the wl_surface associated with the wtz_blend is destroyed, the wtz_blend object becomes inert. Change-Id: I56f988bd96a55a79bc5367cc242ed2f6c585f1aa --- protocol/tizen/wtz-blender.xml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/protocol/tizen/wtz-blender.xml b/protocol/tizen/wtz-blender.xml index 8f7e981..fbe94eb 100644 --- a/protocol/tizen/wtz-blender.xml +++ b/protocol/tizen/wtz-blender.xml @@ -74,14 +74,10 @@ as set by wl_surface.set_opaque_region. Clients must make sure to set their opaque region correctly to prevent repaint artifacts. - The blend object must be destroyed before the wl_surface, otherwise the - defunct protocol error is raised. + If the wl_surface associated with the wtz_blend is destroyed, + the wtz_blend object becomes inert. - - - - Destroy the blend object. -- 2.7.4 From a1db14ebcdc490834d6b1fdb83e146abbc0040b8 Mon Sep 17 00:00:00 2001 From: Changyeon Lee Date: Fri, 14 Jul 2023 16:18:07 +0900 Subject: [PATCH 12/16] wtz-blender: add set_equation Change-Id: I6f9e71f7ad905b62d82544dd4f1a0d3c0481aede --- protocol/tizen/wtz-blender.xml | 33 ++++++++++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 3 deletions(-) diff --git a/protocol/tizen/wtz-blender.xml b/protocol/tizen/wtz-blender.xml index fbe94eb..2e2e091 100644 --- a/protocol/tizen/wtz-blender.xml +++ b/protocol/tizen/wtz-blender.xml @@ -29,7 +29,7 @@ This protocol allows clients to have more control over alpha compositing - of surface contents. + and blending of surface contents. @@ -64,8 +64,8 @@ - A surface extension interface for setting a global alpha value applied - to the whole surface. + A surface extension interface for setting a blending equation and + a global alpha value applied to the whole surface. When the blend object is created its its alpha value is UINT32_MAX (ie, opaque). @@ -78,6 +78,10 @@ the wtz_blend object becomes inert. + + + + Destroy the blend object. @@ -86,6 +90,16 @@ + + + Blending equations that can be used when compositing a surface. + + By default, "premultiplied" is used. + + + + + Set the alpha value applied to the whole surface for compositing. This @@ -99,6 +113,19 @@ + + + + Set the blending equation for compositing the surface. + + If the blending equation is invalid, the invalid_equation protocol + error is raised. + + The blending equation is double-buffered state, and will be applied on + the next wl_surface.commit. + + + -- 2.7.4 From dfc40587b937e223c9894e667806061ee74655c8 Mon Sep 17 00:00:00 2001 From: Changyeon Lee Date: Fri, 14 Jul 2023 17:10:37 +0900 Subject: [PATCH 13/16] Package version up to 1.3.44 Change-Id: Ide6b4797ffba8dcc21a85a35159dae5c7e6dcb8c --- 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 6758a9c..3ee215d 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.43 +Version: 1.3.44 Release: 0 Summary: Wayland extenstion protocols that add functionality not available in the Wayland core protocol License: MIT -- 2.7.4 From 64ff06b09a61454aae38f9c37d48c7fc6bb80368 Mon Sep 17 00:00:00 2001 From: Changyeon Lee Date: Mon, 17 Jul 2023 19:41:09 +0900 Subject: [PATCH 14/16] Add missing wtz-blender.xml in tizen protocols Change-Id: I8f18f09e95c399765cbe12bc8f8a8aa311767d0a --- Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.am b/Makefile.am index e20f79d..b6d6c9b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -547,6 +547,7 @@ tizen_protocols = \ protocol/tizen/wtz-foreign.xml \ protocol/tizen/wtz-screen.xml \ protocol/tizen/wtz-shell.xml \ + protocol/tizen/wtz-blender.xml \ $(NULL) nobase_dist_pkgdata_DATA = \ -- 2.7.4 From 401f295de2c0747b2e0b2a9488e02e28db3538d4 Mon Sep 17 00:00:00 2001 From: "duna.oh" Date: Tue, 22 Aug 2023 17:15:03 +0900 Subject: [PATCH 15/16] tizen_input_device_manager: add requests of keyboard_grab/ungrab Change-Id: I260e2f0dcf5109dbaf2886c78b35af767faa4320 --- protocol/tizen/tizen-extension.xml | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/protocol/tizen/tizen-extension.xml b/protocol/tizen/tizen-extension.xml index 417cd60..f4ace49 100644 --- a/protocol/tizen/tizen-extension.xml +++ b/protocol/tizen/tizen-extension.xml @@ -1646,7 +1646,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 @@ -1863,6 +1863,28 @@ + + + + + + + + + + + + + + + + + + + + + + -- 2.7.4 From f98247ed2f6f7f4e0b14c368c4d4dd4da3f4075f Mon Sep 17 00:00:00 2001 From: "duna.oh" Date: Tue, 22 Aug 2023 17:17:39 +0900 Subject: [PATCH 16/16] Package version up to 1.3.45 Change-Id: I404bf02a84681e7f42406694b92362c6a6b7e363 --- 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 3ee215d..c110553 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.44 +Version: 1.3.45 Release: 0 Summary: Wayland extenstion protocols that add functionality not available in the Wayland core protocol License: MIT -- 2.7.4