From a7cf181fce7f1062fbf893c09a0fe58e06b1f552 Mon Sep 17 00:00:00 2001 From: Seunghun Lee Date: Wed, 31 Mar 2021 14:25:28 +0900 Subject: [PATCH 01/16] Package version up to 1.3.17 Change-Id: I76c79685143e6108fccf72690c7f61e8ac5cd9c9 --- 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 0f0b4e9..d2b30df 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.16 +Version: 1.3.17 Release: 0 Summary: Wayland extenstion protocols that add functionality not available in the Wayland core protocol License: MIT -- 2.7.4 From 67a8a46f5cedf4c4449c8fdaaab90a3cbb976e64 Mon Sep 17 00:00:00 2001 From: Seunghun Lee Date: Wed, 21 Apr 2021 18:11:19 +0900 Subject: [PATCH 02/16] Revert "Introduce wtz-foreign protocol" This reverts commit 633414048f1482f81de142778ac0d72825abd72d. The foreign "surface" concept has been abandoned, instead the foreign "shell" concept will be adopted in the following patch. The reason behind this is requirement by developers of multimedia that it'd be hard to apply it to multimedia implementation with foreign "surface" concept. Change-Id: Id19240a36f3f5838f07f42837eb06beeebc1602e --- Makefile.am | 18 --- protocol/tizen/wtz-foreign.xml | 255 ----------------------------------------- 2 files changed, 273 deletions(-) delete mode 100644 protocol/tizen/wtz-foreign.xml diff --git a/Makefile.am b/Makefile.am index 7b3306d..57e8afa 100644 --- a/Makefile.am +++ b/Makefile.am @@ -366,23 +366,6 @@ 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@ -### wtz_foreign -protocol_LTLIBRARIES += \ - libwtz-foreign-server.la \ - libwtz-foreign-client.la -pkgconfig_DATA += \ - src/wtz-foreign-server.pc \ - src/wtz-foreign-client.pc -protocolinclude_HEADERS += \ - protocol/tizen/wtz-foreign-server-protocol.h \ - protocol/tizen/wtz-foreign-client-protocol.h -libwtz_foreign_server_la_SOURCES = protocol/tizen/wtz-foreign-protocol.c -libwtz_foreign_server_la_CFLAGS = @WAYLAND_SERVER_CFLAGS@ -libwtz_foreign_server_la_LIBADD = @WAYLAND_SERVER_LIBS@ -libwtz_foreign_client_la_SOURCES = protocol/tizen/wtz-foreign-protocol.c -libwtz_foreign_client_la_CFLAGS = @WAYLAND_CLIENT_CFLAGS@ -libwtz_foreign_client_la_LIBADD = @WAYLAND_CLIENT_LIBS@ - ### wayland-protocols unstable_protocols = \ protocol/unstable/pointer-gestures/pointer-gestures-unstable-v1.xml \ @@ -430,7 +413,6 @@ tizen_protocols = \ protocol/tizen/tizen-extension.xml \ protocol/tizen/fullscreen-shell.xml \ protocol/tizen/tizen-policy-ext.xml \ - protocol/tizen/wtz-foreign.xml \ $(NULL) nobase_dist_pkgdata_DATA = \ diff --git a/protocol/tizen/wtz-foreign.xml b/protocol/tizen/wtz-foreign.xml deleted file mode 100644 index c57fd14..0000000 --- a/protocol/tizen/wtz-foreign.xml +++ /dev/null @@ -1,255 +0,0 @@ - - - - - Copyright 2021 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 specifies a way for making it possible to share wayland - surfaces between wayland clients. - - For that, this provides two globals, wtz_exporter and wtz_importer. - The wayland client may bind a wtz_exporter global if it wants to - export its wl_surface resource, and may bind a wtz_importer global if - it wants to import wl_surface exported by another wayland client. - In order for a client A to get a reference of a surface of client B, - client B must first export its surface using a specific request of - wtz_exporter. - Upon doing this, client B will receive a handle (a unique string) that - it may share with client A in some way (for example D-Bus). - After client A has received the handle from client B, it may use a - specific request of wtz_importer to create a reference to the surface - client B just exported. - See the corresponding requests for details. - - The current use case is out-of-process multimedia processing in the - Tizen platform. In Tizen platform, multimedia process creates its - own wl_surface for displaying decoded video buffer, but at the same - time application process needs a way to control the attributes, - such as geometry, of wl_surface created by multimedia process - synchronously. - - - - - A global interface used for exporting wayland surfaces that can - later be imported using wtz_importer. - - - - - - - - - - Notify the compositor that the wtz_exporter object will - no longer be used. - - - - - - The export_surface request exports the passed surface so that - it can later be imported via wtz_importer. When called, a new - wtz_exported_surface object will be created and - wtz_exported.handle will be sent immediately. - See the corresponding interface and event for details. - - A surface may be exported only one time, and exported handle - may be used to create an wtz_imported_surface only one time. - Attemting export a surface more than once will raise an - already_exported error. - - Note that only a surface that doesn't have any role may be - exported. That is, this gives passed wl_surface the - exported_surface role. So if wl_surface that has another role, - such as wl_subsurface, is given, this protocol will raise a - role error. - - - - - - - - - A global interface used for importing surfaces exported by - wtz_exporter. With this interface, a client can create a reference - to a surface of another client. - - - - - - - - - - Notify the compositor that the wtz_importer object will no - longer be used. - - - - - - The import_surface reuqest imports a surface that has been - exported from another client with an associated handle. - - This request requires a surface created by on its own. And - for now, the surface must have sub-surface role. Otherwise, - an invalid_role error will be raised. - - When this request is successfully made, the exported surface - become an integral part of given sub-surface, and stay glued - to the sub-surface. This is similar to sub-surface behavior - for its parent. - - When called, a new wtz_imported_surface object will be created. - And imporing client can manipulate attributes - such as size, - orientation, and map state - of exported surface via - wtz_imported_surface interface. This state is double-buffered, - and is applied on the next wl_surface.commit. - That is, this all changes will be made atomically using - wl_subsurface.set_sync. - See wtz_imported_surface for details. - - - - - - - - - - An wtz_exported_surface object represents an exported reference to - a surface. The exported surface may be referenced as long as the - wtz_exported_surface object not destroyed. Destroying the - wtz_exported_surface invalidates any relationship the importer may - have established using wtz_imported_surface. - - The viewport of exported surface will be changed by imported - surface. - - - - - Revoke the previously exported surface. This invalidates any - relationship the importer may have set up using the - wtz_imported_surface created given the handle sent via - wtz_exported.handle. - - - - - - The handle event contains the unique handle of this exported - surface reference. It may be shared with any client, which then - can use it to import the surface by calling - wtz_importer.import_surface. A handle may be used to import - the surface only one time. - - - - - - - Sent whenever the viewport size of exported surface changes by - manipulating imported surface. - - - - - - - - Sent whenever the viewport orientation of exported surface - changes by manipulating imported surface. - - - - - - - - An wtz_imported_surface object represents an imported reference to - surface exported by some client. A client can use this interface - to manipulate destination size, orientation, and map state of - exported surface. - - - - - - - - - - Notify the compositor that it will no longer use the - wtz_imported_surface object. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- 2.7.4 From 15b663a03ee96ebdf107dfdd4fac8b0381b417df Mon Sep 17 00:00:00 2001 From: Seunghun Lee Date: Fri, 19 Feb 2021 11:19:22 +0900 Subject: [PATCH 03/16] Introduce wtz-foreign protocol wtz-foreign is a protocol meant to enable sharing wayland resources between wayland clients. The only resource that clients are now able to share with this protocol is a foreign shell. And the protocol may be able to be extended in the future for sharing various resources. The use case for foreign shell is out-of-process video playing surface. For that, it provides a way to export and import a foreign shell. Video playing application may export foreign shell with passing its sub-surface, creating a handle for the foreign shell. The handle, in form of a unique string, may be shared in some way with other clients (for example, D-Bus) which can then import the foreign shell with passing its surface. This gives the surface the role of a foreign shell surface. In this way, each client has a object. Which are named wtz_exported_shell and wtz_foreign_shell. The exporter may manipulate destination, transform, and position with wl_subsurface and wtz_exported_shell interface. The importer may attach and commit buffer with wl_surface without care of its destination, transform, and position. So final view by compositor will be determined by this combination. Besides, the exporter may change the state of foreign shell along with the changes of parent surface in an atomic manner using sub-surface given when creating exported foreign shell. Change-Id: I51ed03bcbe7740763895f09802ea249c061cef12 --- Makefile.am | 18 ++++ protocol/tizen/wtz-foreign.xml | 224 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 242 insertions(+) create mode 100644 protocol/tizen/wtz-foreign.xml diff --git a/Makefile.am b/Makefile.am index 57e8afa..7b3306d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -366,6 +366,23 @@ 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@ +### wtz_foreign +protocol_LTLIBRARIES += \ + libwtz-foreign-server.la \ + libwtz-foreign-client.la +pkgconfig_DATA += \ + src/wtz-foreign-server.pc \ + src/wtz-foreign-client.pc +protocolinclude_HEADERS += \ + protocol/tizen/wtz-foreign-server-protocol.h \ + protocol/tizen/wtz-foreign-client-protocol.h +libwtz_foreign_server_la_SOURCES = protocol/tizen/wtz-foreign-protocol.c +libwtz_foreign_server_la_CFLAGS = @WAYLAND_SERVER_CFLAGS@ +libwtz_foreign_server_la_LIBADD = @WAYLAND_SERVER_LIBS@ +libwtz_foreign_client_la_SOURCES = protocol/tizen/wtz-foreign-protocol.c +libwtz_foreign_client_la_CFLAGS = @WAYLAND_CLIENT_CFLAGS@ +libwtz_foreign_client_la_LIBADD = @WAYLAND_CLIENT_LIBS@ + ### wayland-protocols unstable_protocols = \ protocol/unstable/pointer-gestures/pointer-gestures-unstable-v1.xml \ @@ -413,6 +430,7 @@ tizen_protocols = \ protocol/tizen/tizen-extension.xml \ protocol/tizen/fullscreen-shell.xml \ protocol/tizen/tizen-policy-ext.xml \ + protocol/tizen/wtz-foreign.xml \ $(NULL) nobase_dist_pkgdata_DATA = \ diff --git a/protocol/tizen/wtz-foreign.xml b/protocol/tizen/wtz-foreign.xml new file mode 100644 index 0000000..d7918f5 --- /dev/null +++ b/protocol/tizen/wtz-foreign.xml @@ -0,0 +1,224 @@ + + + + + Copyright 2021 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 specifies a way for making it possible to share wayland + resources between wayland clients. + + For that, this provides two globals, wtz_exporter and wtz_importer. + The wayland client may bind a wtz_exporter global if it wants to + export its resource, and may bind a wtz_importer global if it wants to + import resources exported by another wayland client. + + In order for a client A to get a reference of a resource of client B, + client B must first export its resource using a specific request of + wtz_exporter. + Upon doing this, client B will receive a handle (a unique string) that + it may share with client A in some way (for example D-Bus). + After client A has received the handle from client B, it may use a + specific request of wtz_importer to create a reference to the resource + client B just exported. + See the corresponding requests for details. + + + + + A global interface used for exporting wayland resources that can later + be imported using wtz_importer. + + + + + + + + + + Notify the compositor that the wtz_exporter object will no longer be + used. + + + + + + The export_shell request exports the passed sub-surface as a foreign shell + so that it can later be imported via wtz_importer. When called, a new + wtz_exported_shell object will be created and wtz_exported_shell.handle + will be sent immediately. And the handle can be used to import foreign + shell later associated with this exported_shell. + + Note that only sub-surface can be exported as a foreign shell. So, attempt + to export non sub-surface will raise a protocol error. + + A sub-surface may be exported as a foreign shell only once, and each + exported handle may be used to create an wtz_foreign_shell once. + That is, multiple times exporting and importing is not allowed. + So attempt to export already exported sub-surface will raise a protocol + error. + + + + + + + + + A global interface used for importing resources exported by + wtz_exporter. With this interface, a client can create a reference + to a resource of another client. + + + + + + + + + + Notify the compositor that the wtz_importer object will no longer be used. + + + + + + The import_shell request imports a foreign shell from any client given a + handle created with wtz_exporter.export_shell. + When called, a new wtz_foreign_shell object will be created. + + This gives the surface the role of a foreign shell surface. If the surface + already has another role like wl_shell_surface, sub-surfaces etc., + it raises a protocol error. + + + + + + + + + + A wtz_exported_shell object represents an exported reference to a + foreign shell associated with sub-surface. + + The related wl_surface cannot no longer be used for attaching wl_buffer. + So, attaching a wl_buffer on this wl_surface would have no effect. + Instead, a wl_buffer for contents will be submitted by the wl_surface + associated with a wtz_foreign_shell. + + With this interface, client may change map state, destination size and + transform value. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- 2.7.4 From fc190793c41e2ffecf0aa6eca09c73911d0e26e4 Mon Sep 17 00:00:00 2001 From: Seunghun Lee Date: Wed, 21 Apr 2021 18:28:55 +0900 Subject: [PATCH 04/16] Package version up to 1.3.18 Change-Id: Ib7259b771890aafbab594e3c108c562a75321661 --- 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 d2b30df..b8c95cc 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.17 +Version: 1.3.18 Release: 0 Summary: Wayland extenstion protocols that add functionality not available in the Wayland core protocol License: MIT -- 2.7.4 From 90ac6e43b56d2ff1051e0e541d5972ac39a8468f Mon Sep 17 00:00:00 2001 From: Seunghun Lee Date: Mon, 24 May 2021 18:17:46 +0900 Subject: [PATCH 05/16] wtz-foreign: Remove events for destination/transform_changed There is no point in providing these events for now. Let us provide it if it becomes necessary, or if specific use case is discovered. Change-Id: I48d8c7d139af70e4023cb41395aed7d7b9586407 --- protocol/tizen/wtz-foreign.xml | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/protocol/tizen/wtz-foreign.xml b/protocol/tizen/wtz-foreign.xml index d7918f5..3fb09c5 100644 --- a/protocol/tizen/wtz-foreign.xml +++ b/protocol/tizen/wtz-foreign.xml @@ -205,20 +205,6 @@ - - - - - - - - - - - - - -- 2.7.4 From de4073ff7d889759b902c0fac3ad4d6d6be9e2e7 Mon Sep 17 00:00:00 2001 From: Seunghun Lee Date: Fri, 28 May 2021 15:37:17 +0900 Subject: [PATCH 06/16] Package version up to 1.3.19 Change-Id: I2dc2347a77a519db93c0fcce2fe134ee63b17553 --- 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 b8c95cc..743030c 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.18 +Version: 1.3.19 Release: 0 Summary: Wayland extenstion protocols that add functionality not available in the Wayland core protocol License: MIT -- 2.7.4 From e5105c7dee3ebbd071349e6402a6d3f966164c91 Mon Sep 17 00:00:00 2001 From: SooChan Lim Date: Mon, 7 Jun 2021 12:04:47 +0900 Subject: [PATCH 07/16] tizen-hwc: add create_commit_feedback request This request will be used instead of commit_feedback request. The commit_feedback request generates the tizen_commit_feedback function code. This tizen_commit_feedback function symbol is the same as interface name, which is tizen_hwc_commit_feedback. So this commit make them have different name each other. The commit_feedback request will be removed later. Change-Id: I22da00d88c7627fbeba46fb79fcb38f77568a950 --- protocol/tizen/tizen-hwc.xml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/protocol/tizen/tizen-hwc.xml b/protocol/tizen/tizen-hwc.xml index 95dc034..bd143eb 100644 --- a/protocol/tizen/tizen-hwc.xml +++ b/protocol/tizen/tizen-hwc.xml @@ -21,6 +21,19 @@ + + + + Request a notification when a display server requests a hwc_commit to the device(Hardware). + This request is a tizen-specific one. The client wants to know when a display server + executes the requests of the wl_surface to the device. In this case, the display server + has to send committed event to the client on tizen_commit_feedback interface after it + executed the hwc_commit to the device. + + + + + -- 2.7.4 From 961b20328a9ca681fbbb4bc61c83c8bb06f4524e Mon Sep 17 00:00:00 2001 From: SooChan Lim Date: Tue, 22 Jun 2021 14:47:21 +0900 Subject: [PATCH 08/16] tizen-hwc: remove the commit_feedback request This request generates the tizen_hwc_commit_feedback function. This name of the function is the same as the interface name of tizen_hwc_commit_feedback. It makes the build warning because the function name and the resource type name are the same. use create_commit_feedback instead of commit_feedback Change-Id: I948de82c808801fb97350e1a7e1b86e5834d79d8 --- protocol/tizen/tizen-hwc.xml | 13 ------------- unittests/tc-tizen-hwc.cpp | 6 +++--- 2 files changed, 3 insertions(+), 16 deletions(-) diff --git a/protocol/tizen/tizen-hwc.xml b/protocol/tizen/tizen-hwc.xml index bd143eb..9ecf457 100644 --- a/protocol/tizen/tizen-hwc.xml +++ b/protocol/tizen/tizen-hwc.xml @@ -9,19 +9,6 @@ - - - Request a notification when a display server requests a hwc_commit to the device(Hardware). - This request is a tizen-specific one. The client wants to know when a display server - executes the requests of the wl_surface to the device. In this case, the display server - has to send committed event to the client on tizen_commit_feedback interface after it - executed the hwc_commit to the device. - - - - - - Request a notification when a display server requests a hwc_commit to the device(Hardware). diff --git a/unittests/tc-tizen-hwc.cpp b/unittests/tc-tizen-hwc.cpp index bb0a1b0..f16a026 100644 --- a/unittests/tc-tizen-hwc.cpp +++ b/unittests/tc-tizen-hwc.cpp @@ -101,7 +101,7 @@ private: }; static void -compositor_tizen_hwc_cb_commit_feedback(struct wl_client *client, +compositor_tizen_hwc_cb_create_commit_feedback(struct wl_client *client, struct wl_resource *tizen_hwc_resource, struct wl_resource *surface_resource, uint32_t id, @@ -131,7 +131,7 @@ compositor_tizen_hwc_cb_destroy(struct wl_client *client, struct wl_resource *ti static const struct tizen_hwc_interface compositor_tizen_hwc_implementation = { .destroy = compositor_tizen_hwc_cb_destroy, - .commit_feedback = compositor_tizen_hwc_cb_commit_feedback + .create_commit_feedback = compositor_tizen_hwc_cb_create_commit_feedback }; static void @@ -226,7 +226,7 @@ TEST_F(TizenHwcTest, TizenHwcCommit) struct wl_surface *surface_res = wl_compositor_create_surface(client.GetGlobalResWlCompositor()); struct tizen_hwc *tizen_hwc = client.GetGlobalResTizenHwc(); - struct tizen_hwc_commit_feedback *hwc_commit_feedback = tizen_hwc_commit_feedback(tizen_hwc, surface_res, 1); + struct tizen_hwc_commit_feedback *hwc_commit_feedback = tizen_hwc_create_commit_feedback(tizen_hwc, surface_res, 1); tizen_hwc_commit_feedback_add_listener(hwc_commit_feedback, &hwc_commit_feedback_cb_listener, &client); -- 2.7.4 From c0db10b8c85b72e4be6a892776e688a4ac520984 Mon Sep 17 00:00:00 2001 From: SooChan Lim Date: Fri, 25 Jun 2021 11:58:39 +0900 Subject: [PATCH 09/16] Package version up to 1.3.20 Change-Id: I0caa33e10c0f8f2974ed6bccee8a8bfaed4db7c0 --- 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 743030c..58743a5 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.19 +Version: 1.3.20 Release: 0 Summary: Wayland extenstion protocols that add functionality not available in the Wayland core protocol License: MIT -- 2.7.4 From 80292ad2fffcf32f9526c0ea1698957d9871fae6 Mon Sep 17 00:00:00 2001 From: Gwanglim Lee Date: Thu, 1 Jul 2021 16:03:18 +0900 Subject: [PATCH 10/16] tizen-hwc: fixed dereference after null issue Change-Id: I57ad8b0ae7e2c67ba4193744f08e40e802b1080f --- unittests/tc-tizen-hwc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittests/tc-tizen-hwc.cpp b/unittests/tc-tizen-hwc.cpp index f16a026..e93e563 100644 --- a/unittests/tc-tizen-hwc.cpp +++ b/unittests/tc-tizen-hwc.cpp @@ -111,7 +111,7 @@ compositor_tizen_hwc_cb_create_commit_feedback(struct wl_client *client, // create frame callback if (!(hwc_commit_feedback_resource= wl_resource_create(client, &tizen_hwc_commit_feedback_interface, 1, id))) { - wl_resource_post_no_memory(hwc_commit_feedback_resource); + wl_client_post_no_memory(client); return; } -- 2.7.4 From 6a7765a70e06ed7442a06e9b007c7105b914b9aa Mon Sep 17 00:00:00 2001 From: Doyoun Kang Date: Thu, 15 Jul 2021 17:47:36 +0900 Subject: [PATCH 11/16] tizen_policy: add requests for setting transient_for_below/parent_with_below We add requests as below in tizen_policy. - set_transient_for_below - set_parent_with_below These requests make relationship between windows as a parent and a child. And the child is always under the parent. This is different from set_transient_for and set_parent. Change-Id: Ic5166d6364b45457e29ac8828319d0ba15eba380 --- protocol/tizen/tizen-extension.xml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/protocol/tizen/tizen-extension.xml b/protocol/tizen/tizen-extension.xml index c9232d5..5dbc7ed 100644 --- a/protocol/tizen/tizen-extension.xml +++ b/protocol/tizen/tizen-extension.xml @@ -19,7 +19,7 @@ - + @@ -360,6 +360,21 @@ + + + This makes a relationship between parent and child. A child is always placed under a parent. + + + + + + + + This makes a relationship between parent and child. A child is always placed under a parent. + + + + -- 2.7.4 From ea60f86df8ef640685ec8e4fa8fbb5c158b84625 Mon Sep 17 00:00:00 2001 From: Doyoun Kang Date: Thu, 15 Jul 2021 18:10:46 +0900 Subject: [PATCH 12/16] Package version up to 1.3.21 Change-Id: Ic9baa32fb4fd3887ae52feac4d440d04c5f3dfff --- 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 58743a5..3057b54 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.20 +Version: 1.3.21 Release: 0 Summary: Wayland extenstion protocols that add functionality not available in the Wayland core protocol License: MIT -- 2.7.4 From 22a9eec2f6e8a6e7456bab82d75dcc696a2df7ad Mon Sep 17 00:00:00 2001 From: Doyoun Kang Date: Tue, 27 Jul 2021 16:03:46 +0900 Subject: [PATCH 13/16] tizen_policy: allow null for parent parameter in set_parent_with_below If parent parameter is null, then child removes the parent-child relationship. Change-Id: I542f7a3053ccda53dfd8ccc019f42262b32ed861 --- protocol/tizen/tizen-extension.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/protocol/tizen/tizen-extension.xml b/protocol/tizen/tizen-extension.xml index 5dbc7ed..0b5957a 100644 --- a/protocol/tizen/tizen-extension.xml +++ b/protocol/tizen/tizen-extension.xml @@ -371,9 +371,10 @@ This makes a relationship between parent and child. A child is always placed under a parent. + Setting a null parent for a child window removes any parent-child relationship for the child. - + -- 2.7.4 From e3a5cd9c3616062d5fd0c6500dd54a4707eedff3 Mon Sep 17 00:00:00 2001 From: Doyoun Kang Date: Tue, 27 Jul 2021 16:07:09 +0900 Subject: [PATCH 14/16] Package version up to 1.3.22 Change-Id: I880dd37b8225966ff806ae8d5c7d5d68b38366aa --- 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 3057b54..9451034 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.21 +Version: 1.3.22 Release: 0 Summary: Wayland extenstion protocols that add functionality not available in the Wayland core protocol License: MIT -- 2.7.4 From 838144a8e6daa1cfdff69ec2dbe5ee14f4108d53 Mon Sep 17 00:00:00 2001 From: "Junkyeong, Kim" Date: Tue, 24 Aug 2021 19:17:54 +0900 Subject: [PATCH 15/16] tizen_screenmirror: add request set_auto_rotation Add new request to support auto rotation for screenmirror. Change-Id: Ia94285d314b806d80b5db129cffebb9752eb55d4 Signed-off-by: Junkyeong, Kim --- protocol/tizen/tizen-extension.xml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/protocol/tizen/tizen-extension.xml b/protocol/tizen/tizen-extension.xml index 0b5957a..bae9ee3 100644 --- a/protocol/tizen/tizen-extension.xml +++ b/protocol/tizen/tizen-extension.xml @@ -771,7 +771,7 @@ - + Clients can get a screenmirror object from this interface. @@ -815,7 +815,7 @@ - + A client can use this interface to get stream images of screen. Before starting, queue all buffers. Then, start a screenmirror. After starting, a dequeued event @@ -873,6 +873,14 @@ occurs when the screenmirror is stopped eventually + + + + + Client can set auto rotation value for screenmirror. + + + -- 2.7.4 From 2706b883aa5cf303337a9a3dbdb93d4faa20d6c9 Mon Sep 17 00:00:00 2001 From: "Junkyeong, Kim" Date: Tue, 24 Aug 2021 19:19:54 +0900 Subject: [PATCH 16/16] Package version up to 1.3.23 Change-Id: I44a9095c998d91b3893eef5beca51a4fba7e992f Signed-off-by: Junkyeong, Kim --- 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 9451034..238cc78 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.22 +Version: 1.3.23 Release: 0 Summary: Wayland extenstion protocols that add functionality not available in the Wayland core protocol License: MIT -- 2.7.4