platform/core/uifw/libds.git
2 years agobackend/wayland: Implement start() interface of ds_backend 67/278067/1
Seunghun Lee [Fri, 22 Apr 2022 00:17:57 +0000 (09:17 +0900)]
backend/wayland: Implement start() interface of ds_backend

The wayland backend defers creating new outputs until a user calls
ds_backend_start() even though a user requests creation of output before
ds_backend_start().

The wayland backend now emits a signal of new_output if a user calls
ds_backend_start(), which is for the behavior of ds_backend_start() to
be consistent regardless of the actual running backend.

Change-Id: If1748c7f591409c31b91438ba4ec561f7897e3fc

2 years agotinyds: Use WAYLAND_DISPLAY and WAYLAND_SOCKET for wl backend 66/278066/1
Seunghun Lee [Mon, 25 Apr 2022 07:06:21 +0000 (16:06 +0900)]
tinyds: Use WAYLAND_DISPLAY and WAYLAND_SOCKET for wl backend

Instead of assuming the name of wayland display server by iterating
arbitrary number of names, it uses values of WAYLAND_DISPLAY and
WAYLAND_SOCKET environments.

The library of wayland-client uses these values when trying to connect
to wayland server.

Change-Id: I0579dab7eadcd3580b0ee0ebadb9175fc0bcd0a5

2 years agobackend/wayland: Remove writable flag from event source 65/278065/1
Seunghun Lee [Thu, 21 Apr 2022 07:56:48 +0000 (16:56 +0900)]
backend/wayland: Remove writable flag from event source

Instead of having a writable flag on event source, it just marks
wayland event source as needing a post-dispatch check. The event loop
will call dispatch function again after all dispatching is done, with
mask = 0.

Change-Id: I183122d602626079137fbd34870dca1844f8ecd5

2 years agoexamples/tinyds: Handle ds_pointer 64/278064/1
Seunghun Lee [Thu, 21 Apr 2022 05:05:11 +0000 (14:05 +0900)]
examples/tinyds: Handle ds_pointer

This adds listeners of ds_pointer and prints logs.

Change-Id: I2eb47fc87958859fad5ad3b10d6a0608e7c2bce5

2 years agoexamples/tinyds: Enhance readability 63/278063/1
Seunghun Lee [Wed, 20 Apr 2022 11:16:37 +0000 (20:16 +0900)]
examples/tinyds: Enhance readability

No functional changes

- Use a first argument of function as a prefix of function name.
- Rename some of function name more clearly.
- Remove forward declaration of event handlers.

Change-Id: I73bc409fe7d33233cf7d5482923ea52ea142ee4e

2 years agoexamples/tinyds: Clean up all views when finish server 62/278062/1
Seunghun Lee [Wed, 20 Apr 2022 11:11:59 +0000 (20:11 +0900)]
examples/tinyds: Clean up all views when finish server

Even though all view would have been cleaned up by an destroy event of
xdg_surface, this is just to clean up views explicitly just in case.

No functional changes.

Change-Id: If92f6ee73d1b8a4043f93105478b8fc3e7e78c68

2 years agoexamples/tinyds: Clarify single output support 61/278061/1
Seunghun Lee [Wed, 20 Apr 2022 10:54:19 +0000 (19:54 +0900)]
examples/tinyds: Clarify single output support

tinyds doesn't support multiple outputs for now, so don't pretend to
support multiple outputs.

Change-Id: Icf8dcdeb89ff256d5d827f3dc67cb3d08b4f9a2a

2 years agoexamples/tinyds: Remove redundant referencing ds_buffer 60/278060/1
Seunghun Lee [Wed, 20 Apr 2022 09:10:04 +0000 (18:10 +0900)]
examples/tinyds: Remove redundant referencing ds_buffer

ds_buffer is supposed to be referenced by ds_output while using it, so
tinyds doesn't have any reasons to reference a ds_buffer for the output.

Change-Id: I7f4aacd9263f4b70c57d269f118605b743d5b847

2 years agoAdd ds_touch 59/278059/1
Duna Oh [Wed, 20 Apr 2022 11:57:38 +0000 (20:57 +0900)]
Add ds_touch

Change-Id: I8236a20c3b29dfcca82e8d5734858dce94bb17ad

2 years agoxdg_shell: Destroy ds_xdg_surfaces when cleaning up client 58/278058/1
Seunghun Lee [Wed, 20 Apr 2022 06:45:55 +0000 (15:45 +0900)]
xdg_shell: Destroy ds_xdg_surfaces when cleaning up client

This patch fixes memory corruption caused by removing
ds_xdg_surfaces's link in destroy_xdg_surface().

When wl_client is destroyed, ds_xdg_shell_client can be destroyed
before its own ds_xdg_surfaces. This led to memory corruption because of
illegal access to a freed memory when trying to remove list of
ds_xdg_surface.link.

Change-Id: I2558e445af25e85a84f761f845dae22eb10eeab4

2 years agoexamples/tinyds: Handle ds_keyboard 57/278057/1
Seunghun Lee [Wed, 20 Apr 2022 02:29:17 +0000 (11:29 +0900)]
examples/tinyds: Handle ds_keyboard

tinyds now handles ds_keyboard, and it may be terminated by pressing
Alt + Ctrl + Shift + BackSapce.

Change-Id: I06ba652cd4103df9bc7a60fdc6d7b3a8fca56621

2 years agopackaging: Add missing file mistakenly unpacked 56/278056/1
Seunghun Lee [Mon, 18 Apr 2022 04:27:17 +0000 (13:27 +0900)]
packaging:  Add missing file mistakenly unpacked

Change-Id: Ib2a1b45b4dc9a7d3fdeeb47cfce74d0bb552f48c

2 years agoEnable user to get keyboard modifiers 55/278055/1
Seunghun Lee [Mon, 18 Apr 2022 01:37:06 +0000 (10:37 +0900)]
Enable user to get keyboard modifiers

input-device-test take modifiers into account when handling key.

Change-Id: Iec87c300323d891e18873afcf9b1eabf886ee068

2 years agoexamples: Rename pointer-test to input-device-test 54/278054/1
Seunghun Lee [Mon, 18 Apr 2022 01:35:14 +0000 (10:35 +0900)]
examples: Rename pointer-test to input-device-test

This patch also adds code for ds_keyboard in input-device-test.

Change-Id: I0e37a9a11beca9c38afc51e6841a08330e4852ab

2 years agobackend/wayland: Support ds_keyboard 53/278053/1
Seunghun Lee [Mon, 18 Apr 2022 01:33:19 +0000 (10:33 +0900)]
backend/wayland: Support ds_keyboard

Change-Id: I30a6a86e79f34abb22b789dee9ffe50d9d121a88

2 years agoAdd ds_keyboard 52/278052/1
Seunghun Lee [Mon, 18 Apr 2022 01:29:23 +0000 (10:29 +0900)]
Add ds_keyboard

A ds_keyboard is for abstracting phisical keyboard device.

Change-Id: I382ea96db01679f036283b213c4e540e36687c9d

2 years agoAdd missing header for alloca 51/278051/1
Seunghun Lee [Fri, 15 Apr 2022 07:11:57 +0000 (16:11 +0900)]
Add missing header for alloca

Change-Id: I87ff3dbbfe27a387c835ca2602b011e3dd866733

2 years agoAdd ds_input_device, and ds_pointer. 50/278050/1
Seunghun Lee [Thu, 7 Apr 2022 01:46:48 +0000 (10:46 +0900)]
Add ds_input_device, and ds_pointer.

This patch is just the beginning of ds_input_device.

Currently, a ds_input_device is created only on the wayland backend, and
it only supports a ds_pointer.
Other devices like keyboard and touch, and other backends like libinput
will be supported in future patches.

Change-Id: Ib0714d81b1083e063992848444517759aa7efadd

2 years agoUpdate CODEOWNERS 49/278049/1
임수찬/Tizen Platform Lab(SR)/삼성전자 [Mon, 11 Apr 2022 00:27:52 +0000 (09:27 +0900)]
Update CODEOWNERS

Change-Id: I6fef91c7a648346b2cdbd3da77f7dfbbb30d3803

2 years agoUpdate CODEOWNERS 48/278048/1
임수찬/Tizen Platform Lab(SR)/삼성전자 [Mon, 11 Apr 2022 00:27:40 +0000 (09:27 +0900)]
Update CODEOWNERS

Change-Id: I1c8886c715c1fbf276cee3f3bf01ac6b3bf86641

2 years agoadd ws_members as reviewers 47/278047/1
SooChan Lim [Wed, 30 Mar 2022 10:57:41 +0000 (19:57 +0900)]
add ws_members as reviewers

Change-Id: I6e027ad8496c66d91de0edfa5cd9a9c8ed2bb712

2 years agoadd extern 'C' at tbm_server.h 46/278046/1
SooChan Lim [Wed, 30 Mar 2022 07:44:45 +0000 (16:44 +0900)]
add extern 'C' at tbm_server.h

Change-Id: Ida5b0215bcfd753f124c9b3d3102caeb881f5160

2 years agoAdd ds_tbm_server 45/278045/1
Seunghun Lee [Mon, 28 Mar 2022 11:03:20 +0000 (20:03 +0900)]
Add ds_tbm_server

ds_tbm_server initializes wayland_tbm to allow wl_client to use
tbm_surface as a wl_buffer.

Change-Id: Ic3a450b6d450bad94388eeca5e9433b5dc799513

2 years agoFix typo on a word of header guard 44/278044/1
Seunghun Lee [Thu, 17 Mar 2022 10:52:29 +0000 (19:52 +0900)]
Fix typo on a word of header guard

Change-Id: Ie18d91a7868efa6b13175693d4f9a99c2481d09e

2 years agoAdd an example of using ds_tdm_buffer_queue 43/278043/1
Seunghun Lee [Thu, 17 Mar 2022 07:40:37 +0000 (16:40 +0900)]
Add an example of using ds_tdm_buffer_queue

Dependeing on the declaration of USE_TDM_BUFFER_QUEUE macro, tinyds-tdm
may be run with ds_tbm_buffer_queue.

Change-Id: I1d221d2d5eb94024902eea66d08f5973f1914771

2 years agolibds-tizen: Add ds_tdm_buffer_queue 42/278042/1
Seunghun Lee [Wed, 16 Mar 2022 04:18:21 +0000 (13:18 +0900)]
libds-tizen: Add ds_tdm_buffer_queue

A ds_tdm_buffer_queue is a buffer queue that is able to be acquired from
ds_tdm_output.

A ds_tdm_buffer_queue provides a handle of native queue to a user and
the user may pass it to a renderer. The renderer then should think of
native queue as tbm_surface_queue_h. With the tbm_surface_queue_h, the
renderer may dequeue a surface from it and draw on the dequeued buffer.
After finish drawing on the buffer, the renderer should enqueue it to
the tbm_surface_queue_h.

As soon as the renderer enqueues buffer to the tbm_surface_queue_h, the
user can recieve a notification that the buffer can be acquired from the
ds_tbm_buffer_queue using ds_tdm_buffer_queue_add_acquirable_listener().
Then user may acquire a buffer from the ds_tdm_buffer_queue and attach
it to a ds_output.

Note that although the renderer may enqueue a buffer on different thread
from the thread working on libds, but libds will call a callback
function which is registered using
ds_tdm_buffer_queue_add_acquirable_listener() on the thread working on
libds.

Change-Id: Ia5c477ceabda7e85f6441a73e76884b95eafa6fb

2 years agoAdd directories for tizen features 41/278041/1
Seunghun Lee [Wed, 16 Mar 2022 02:43:49 +0000 (11:43 +0900)]
Add directories for tizen features

Change-Id: Ia3a389e793d6ecb3a20e783059fd301e432f73bc

2 years agoBuild 'include' subdir after 'src' 40/278040/1
Seunghun Lee [Tue, 8 Mar 2022 07:21:28 +0000 (16:21 +0900)]
Build 'include' subdir after 'src'

A variable 'features' referred from 'include' subdir is set during build
of 'src'.

Change-Id: I541215320de7100e22d9c0a1a7eed4100c021397

2 years agooutput: Add ds_output_enable/disable APIs 39/278039/1
Seunghun Lee [Fri, 4 Mar 2022 07:27:16 +0000 (16:27 +0900)]
output: Add ds_output_enable/disable APIs

Change-Id: I0e267ad8e411462487529bfde3d732a845903773

2 years agoRemove too noisy logs 38/278038/1
Seunghun Lee [Fri, 4 Mar 2022 05:49:34 +0000 (14:49 +0900)]
Remove too noisy logs

Change-Id: I8e4051464641323a3d08bfa230c2f09f3ccd9bf7

2 years agoFix formatting 37/278037/1
Seunghun Lee [Fri, 4 Mar 2022 05:25:20 +0000 (14:25 +0900)]
Fix formatting

Change-Id: I5df4c04cbd50c3f7b4065dfd5b9084f3919c3d3e

2 years agobackend/tdm: Remove prefix tdm from static functions 36/278036/1
Seunghun Lee [Fri, 4 Mar 2022 01:49:50 +0000 (10:49 +0900)]
backend/tdm: Remove prefix tdm from static functions

It's to avoid confusion with tdm api.
For static functions, the names chosen aren't as important.

Change-Id: I8e952eac5dfdba304896a8f3d7f6a56f9ed00332

2 years agobackend/tdm: Split commit function into small functions 35/278035/1
Seunghun Lee [Fri, 4 Mar 2022 01:44:57 +0000 (10:44 +0900)]
backend/tdm: Split commit function into small functions

No functional changes. It improves readability.

Change-Id: I0b95360f5dc54e7023ab3f54c3b9cf2057a82686

2 years agooutput: Rename function more explicitly 34/278034/1
Seunghun Lee [Thu, 3 Mar 2022 10:03:50 +0000 (19:03 +0900)]
output: Rename function more explicitly

Change-Id: I58c743aafd6c9b610056391ff9f4ac69e9d90f54

2 years agobackend/tdm: Get buffer only if it's necessary 33/278033/1
Seunghun Lee [Thu, 3 Mar 2022 10:01:28 +0000 (19:01 +0900)]
backend/tdm: Get buffer only if it's necessary

Change-Id: I8c4fcc67b316c5eae0c11ad817632319d17fb2aa

2 years agoexamples: Use output mode instead of arbitrary size 32/278032/1
Seunghun Lee [Thu, 3 Mar 2022 09:03:25 +0000 (18:03 +0900)]
examples: Use output mode instead of arbitrary size

Change-Id: I973e052a2a32eb3fc62c02014af4e2cb3ede1380

2 years agobackend/tdm: Update output mode 31/278031/1
Seunghun Lee [Thu, 3 Mar 2022 09:02:49 +0000 (18:02 +0900)]
backend/tdm: Update output mode

Change-Id: I42e206491db375e4d420e24b9010f3828a87aec3

2 years agoAnnotate a refresh variable 30/278030/1
Seunghun Lee [Thu, 3 Mar 2022 09:01:14 +0000 (18:01 +0900)]
Annotate a refresh variable

Change-Id: I19205ea185c82a51c4d7eeb8e410a1efacd38fc5

2 years agoadd CODEOWNERS 29/278029/1
SooChan Lim [Sun, 6 Mar 2022 23:28:59 +0000 (08:28 +0900)]
add CODEOWNERS

which allow the members to be addded as reviewers when the PR is
uploaded.

Change-Id: Id495ae84b626211ee5826ec0844b8f4dfad1fbb7

2 years agoPut the extern "C" 28/278028/1
SooChan Lim [Sun, 6 Mar 2022 23:10:09 +0000 (08:10 +0900)]
Put the extern "C"

Without this extern "C", C++ program which uses libds does not recognize
the symbols in libds header files.

Change-Id: Id6e79c68472af9e8e1616aca6d37a4feaea75450

2 years agochange the version into 0.1.2 27/278027/1
SooChan Lim [Sun, 6 Mar 2022 23:09:00 +0000 (08:09 +0900)]
change the version into 0.1.2

Change-Id: I2318426a79b98caa36938e431ba284f43b51ef70

2 years agoMove all source code to src directory 26/278026/1
Seunghun Lee [Thu, 3 Mar 2022 03:11:03 +0000 (12:11 +0900)]
Move all source code to src directory

Change-Id: I51081bea5075603242a52764f449f4ff367b58d9

2 years agoexamples: Use pixman helper 25/278025/1
Seunghun Lee [Wed, 2 Mar 2022 09:14:12 +0000 (18:14 +0900)]
examples: Use pixman helper

Change-Id: Ia50a6369bf80c5c7cb0e5de254ca9a579d6dba9d

2 years agoAdd tdm backend server and client as an example 24/278024/1
Seunghun Lee [Wed, 2 Mar 2022 09:09:39 +0000 (18:09 +0900)]
Add tdm backend server and client as an example

Change-Id: I4d35ae551f9a72c1122a8bd85553062140397de5

2 years agobackend/tdm: Extract buffer code into functions 23/278023/1
Seunghun Lee [Wed, 2 Mar 2022 02:43:09 +0000 (11:43 +0900)]
backend/tdm: Extract buffer code into functions

Change-Id: I084ce7006a78f506405fb231fa347ae9438bdeeb

2 years agoAdd build options of backends 22/278022/1
Seunghun Lee [Wed, 2 Mar 2022 02:36:44 +0000 (11:36 +0900)]
Add build options of backends

Change-Id: I40c6faff4b28050ae97a097c5f77f0decad96468

2 years agoAdd missing cleanup 21/278021/1
Seunghun Lee [Wed, 2 Mar 2022 02:08:12 +0000 (11:08 +0900)]
Add missing cleanup

Change-Id: I2d279bea220b4279448b31b70789f00920c8a1bb

2 years agoAdd tinyds on tdm (wip) 20/278020/1
Seunghun Lee [Thu, 24 Feb 2022 08:36:44 +0000 (17:36 +0900)]
Add tinyds on tdm (wip)

Change-Id: I6d67f0ee668d329c5c98d6da47128f3e6479f83a

2 years agoFlesh out ds_buffer 19/278019/1
Seunghun Lee [Thu, 24 Feb 2022 08:36:08 +0000 (17:36 +0900)]
Flesh out ds_buffer

Change-Id: I9a5aa9a9c7897e22733645eebe25a6c696a3c9cb

2 years agoMove ds_backend implementation 18/278018/1
Seunghun Lee [Thu, 24 Feb 2022 06:59:36 +0000 (15:59 +0900)]
Move ds_backend implementation

no functional changes

Change-Id: Ia788984c7e43ec4c163bf009479e30c32f01f247

2 years agoAdd an example of tdm backend 17/278017/1
Seunghun Lee [Thu, 24 Feb 2022 06:01:35 +0000 (15:01 +0900)]
Add an example of tdm backend

Change-Id: Id15d7eb6a721a6b3fcbe4b3871c32dc0ff8687d1

2 years agoFlesh out tdm backend 16/278016/1
Seunghun Lee [Thu, 24 Feb 2022 06:01:07 +0000 (15:01 +0900)]
Flesh out tdm backend

Change-Id: Ibb9557cca0f764ee7721563ce86def7164e58555

2 years agoAdd tbm allocator 15/278015/1
Seunghun Lee [Thu, 24 Feb 2022 05:58:44 +0000 (14:58 +0900)]
Add tbm allocator

Change-Id: Iab7cb52148134b46ff2c12c945c3746c38146da0

2 years agoFirst draft for tdm backend 14/278014/1
Seunghun Lee [Wed, 23 Feb 2022 04:39:35 +0000 (13:39 +0900)]
First draft for tdm backend

Change-Id: I5d73b20242a1e865713834f785a7fa0ff1f3ed11

2 years agoRemove _t suffix from struct 13/278013/1
Seunghun Lee [Wed, 2 Mar 2022 02:03:37 +0000 (11:03 +0900)]
Remove _t suffix from struct

Change-Id: I166e2fc310f3bf6ee2ae5986c85b06a74314d468

2 years agoInitial libds 12/278012/1
Seunghun Lee [Mon, 21 Feb 2022 04:58:09 +0000 (13:58 +0900)]
Initial libds

Change-Id: I60d7c170e7f0b918c17f2bf52c01018167dafe91

2 years agoInitial commit 11/278011/1
임수찬/Tizen Platform Lab(SR)/삼성전자 [Thu, 3 Feb 2022 03:54:32 +0000 (12:54 +0900)]
Initial commit

Change-Id: I5cab00df22a871c6aa7ddcb111f0e8ca7f7731b2

2 years agoRemove all legacy files 10/278010/1
SooChan Lim [Mon, 18 Jul 2022 04:37:26 +0000 (13:37 +0900)]
Remove all legacy files

The legacy libds is not used anymore.
The new libds source code will be merge.

Change-Id: I78ac63c3f064271f6dd4293127cb775189e6b129

2 years agoupdate following wayland protocols 58/269058/1 backup_cpp_ver_20220705 cpp_ver_2021 accepted/tizen/unified/20220118.123326 submit/tizen/20220106.083953 submit/tizen/20220113.015408 submit/tizen/20220117.015138
Junseok, Kim [Fri, 7 Jan 2022 05:36:30 +0000 (14:36 +0900)]
update following wayland protocols

- wayland
- tizen-extension
- tizen-hwc
- input-method

Change-Id: If4af733eeeb6c80103a96379ae3c82bafcbd0f79

3 years agoChange API usage of OffscreenWindow::New 86/259186/1 accepted/tizen/6.5/unified/20211028.120530 accepted/tizen/unified/20210609.140325 submit/tizen/20210609.012218 submit/tizen/20210609.063802 submit/tizen_6.5/20211028.163101 tizen_6.5.m2_release
Daekwang Ryu [Wed, 2 Jun 2021 02:43:55 +0000 (11:43 +0900)]
Change API usage of OffscreenWindow::New

Change-Id: I56aaff48b586c79adcd3b3628230d43f564dbcc4
OffscreenWindow::New was changed.

3 years agoDSWaylandInputPanel: fix not to use invalid iterator 51/258751/1 submit/tizen/20210525.074532
Sung-Jin Park [Tue, 25 May 2021 06:43:48 +0000 (15:43 +0900)]
DSWaylandInputPanel: fix not to use invalid iterator

Change-Id: Id5ee96de9d5873ad6ce605b1cebc6a3cc4469aa7
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoBuild: set b_pie option 62/258062/1 accepted/tizen/unified/20210511.072235 submit/tizen/20210511.035622
ulgal-park [Mon, 10 May 2021 04:49:11 +0000 (13:49 +0900)]
Build: set b_pie option

set b_pie option to true for make PIE

Change-Id: Ief61c2c76e3b68bfcc316bf4ba37a5fc8431ca3b

3 years agodswayland-server: update latest wayland protocols 28/255928/1 accepted/tizen/unified/20210331.053946 submit/tizen/20210325.053856
Junseok, Kim [Thu, 25 Mar 2021 05:25:29 +0000 (14:25 +0900)]
dswayland-server: update latest wayland protocols

    update following wayland protocols

    - wayland
    - tizen-extension
    - input-method
    - tzsh

Change-Id: I3f605811dbbe73e2c9122440fb4c9f79e9437c88
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
3 years agoDSWaylandInputMethod: added temporary rotation degree 74/247574/1 accepted/tizen/unified/20201116.130514 submit/tizen/20201113.081305
Junseok, Kim [Thu, 12 Nov 2020 05:39:05 +0000 (14:39 +0900)]
DSWaylandInputMethod: added temporary rotation degree

Change-Id: I755e509a8515f2ab837798521b227af247b6178a
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
3 years agodswayland-server: add new interface of input-method 73/247573/1
Junseok, Kim [Thu, 12 Nov 2020 02:17:46 +0000 (11:17 +0900)]
dswayland-server: add new interface of input-method

Change-Id: Icbfd28f6b77e54930524a1a467e09b4738525493
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
3 years agoDSWaylandServer: define LCOV_EXCL blocks for event handling logics from client 46/243546/1 tizen_6.0_bkup_20201112 accepted/tizen/6.0/unified/20201030.113408 accepted/tizen/6.0/unified/hotfix/20201103.001310 accepted/tizen/unified/20200908.130446 submit/tizen/20200908.035217 submit/tizen_6.0/20201029.205105 submit/tizen_6.0_hotfix/20201102.192505 submit/tizen_6.0_hotfix/20201103.114805 tizen_6.0.m2_release
Sung-Jin Park [Tue, 8 Sep 2020 02:49:05 +0000 (11:49 +0900)]
DSWaylandServer: define LCOV_EXCL blocks for event handling logics from client

Change-Id: I9de1b0722e2acdfe3660a7adb68567e5243f5b9b
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSUtil: define LCOV_EXCL blocks for error handling code 45/243545/1
Sung-Jin Park [Tue, 8 Sep 2020 02:35:21 +0000 (11:35 +0900)]
DSUtil: define LCOV_EXCL blocks for error handling code

Change-Id: I4f2eedf8056e040c5698c0ec31984d982640c423
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSTouch: add LCOV_EXCL for event functions 44/243544/1
Junseok, Kim [Tue, 8 Sep 2020 02:32:01 +0000 (11:32 +0900)]
DSTouch: add LCOV_EXCL for event functions

Change-Id: I93abbda15d38e9746f474eb2461bd40e42af3220
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
3 years agoDSSeat: add LCOV_EXCL for event functions 43/243543/1
Junseok, Kim [Tue, 8 Sep 2020 02:31:40 +0000 (11:31 +0900)]
DSSeat: add LCOV_EXCL for event functions

Change-Id: If93d9a62ca14f7f0d0645b7ecbf82afa8beb191f
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
3 years agoDSPointer: add LCOV_EXCL for event functions 42/243542/1
Junseok, Kim [Tue, 8 Sep 2020 02:31:23 +0000 (11:31 +0900)]
DSPointer: add LCOV_EXCL for event functions

Change-Id: I62ea6fc6e6ac9cfe7d0369410a85426b4be66864
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
3 years agoDSKeyboard: add LCOV_EXCL for event functions 41/243541/1
Junseok, Kim [Tue, 8 Sep 2020 02:31:02 +0000 (11:31 +0900)]
DSKeyboard: add LCOV_EXCL for event functions

Change-Id: I45e0b13abc87f14bbf831a4e2ad96bae6dc5c9db
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
3 years agoDSRenderViewDaliImpl:Renaming PropertyBuffer to VertexBuffer 78/243478/1 accepted/tizen/unified/20200908.003021 submit/tizen/20200907.111142
Joogab Yun [Wed, 2 Sep 2020 05:23:01 +0000 (14:23 +0900)]
DSRenderViewDaliImpl:Renaming PropertyBuffer to VertexBuffer

Change-Id: I4e5987f9508f4d212484cf4c3b74a22a22233219
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
3 years agotests: enhance the coverage for DSWaylandSurface 77/243477/1
SooChan Lim [Mon, 7 Sep 2020 08:47:02 +0000 (17:47 +0900)]
tests: enhance the coverage for DSWaylandSurface

Change-Id: I708a6fc597911c54d9bfe7711fc2563b82dfb8d9

3 years agoDSWaylandServer: define LCOV_EXCL blocks 76/243476/1
Sung-Jin Park [Mon, 7 Sep 2020 08:43:03 +0000 (17:43 +0900)]
DSWaylandServer: define LCOV_EXCL blocks

Change-Id: Ia41e80c487d74a6763c4db240baf27cd646f5ef2
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agotests: fix DSWaylandClient-test 75/243475/1
Sung-Jin Park [Mon, 7 Sep 2020 07:32:20 +0000 (16:32 +0900)]
tests: fix DSWaylandClient-test

Change-Id: I2e478d09b0a3b0ed38416e2e7572ca8f2c1016c3
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agotests: add TCs for DSSeat 74/243474/1
Sung-Jin Park [Mon, 7 Sep 2020 07:27:30 +0000 (16:27 +0900)]
tests: add TCs for DSSeat

Change-Id: I37796ace107edb7763eb433f40fbb888b17f62e0
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSSeat: add hasPointer/Keyboard/Touch API 73/243473/1
Sung-Jin Park [Mon, 7 Sep 2020 07:26:59 +0000 (16:26 +0900)]
DSSeat: add hasPointer/Keyboard/Touch API

Change-Id: I985c2107fa24446e3530fa2bf59e7f5459d07353
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSwaylandTizenAppinfo-test: add more test cases for better code coverage 72/243472/1
Duna Oh [Thu, 3 Sep 2020 06:13:33 +0000 (15:13 +0900)]
DSwaylandTizenAppinfo-test: add more test cases for better code coverage

Change-Id: I776474f8eb2f06141b393b54397a942e7771547a

3 years agoDSTraceIno-test: add more test cases for better code coverage 71/243471/1
Duna Oh [Thu, 3 Sep 2020 02:06:25 +0000 (11:06 +0900)]
DSTraceIno-test: add more test cases for better code coverage

Change-Id: I0c70687ec6b70f4f082073c31160a107755e1c57

3 years agoDSZone: add testDestroyWindow() for test cases 70/243470/1
Duna Oh [Thu, 3 Sep 2020 02:05:11 +0000 (11:05 +0900)]
DSZone: add testDestroyWindow() for test cases

Change-Id: I870cd47f2544f8ff0813b8b1a77bd78acc175e19

3 years agoDSEventLoop: add testEmitIdleEntererFuncs() for test cases 69/243469/1
Duna Oh [Thu, 3 Sep 2020 02:04:32 +0000 (11:04 +0900)]
DSEventLoop: add testEmitIdleEntererFuncs() for test cases

Change-Id: I70d59b678e53d1bc3f696001a37a57f5f82637d8

3 years agoDSWaylandServer: define LCOV_EXCL block(s) for wayland basic classes 68/243468/1
Sung-Jin Park [Thu, 3 Sep 2020 03:39:31 +0000 (12:39 +0900)]
DSWaylandServer: define LCOV_EXCL block(s) for wayland basic classes

Change-Id: I4c8bd966c9300385407888ffb6eea562e88ce3bc
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSWindowShell: add TCs 67/243467/1
Doyoun Kang [Thu, 3 Sep 2020 02:15:34 +0000 (11:15 +0900)]
DSWindowShell: add TCs

Change-Id: Ic3bd18612635228e73b47cab600cb58d11c06244

3 years agoDSWindow: add TCs 66/243466/1
Doyoun Kang [Thu, 3 Sep 2020 02:14:45 +0000 (11:14 +0900)]
DSWindow: add TCs

Change-Id: I15d8b6af8bce600fea21da5e50687129eccfab9f

3 years agotest/meson.build: enable DSWaylandTizenPolicyExt test 65/243465/1
Junseok, Kim [Wed, 2 Sep 2020 12:39:48 +0000 (21:39 +0900)]
test/meson.build: enable DSWaylandTizenPolicyExt test

Change-Id: Iefb18de69c8b3d0293eb9f0f93d30357cc0aa77c
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
3 years agoDSWaylandServer: swap tizen_policy_ext files to tizen-policy-ext 64/243464/1
Junseok, Kim [Wed, 2 Sep 2020 12:38:23 +0000 (21:38 +0900)]
DSWaylandServer: swap tizen_policy_ext files to tizen-policy-ext

The tizen_policy_ext protocol renamed as tizen-policy-ext and merged
into wayland-extension.
So, adjust like that

Change-Id: I0b585e3c9f505429d1c7f45a6e519605ce0fa6f5
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
3 years agoDSDebug: Added LCOV_EXCL to whole code 63/243463/1
Junseok, Kim [Wed, 2 Sep 2020 11:14:56 +0000 (20:14 +0900)]
DSDebug: Added LCOV_EXCL to whole code

Change-Id: I814cb5980098b8f38292017f84cf69447d9e8790
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
3 years agoDSBufferRef: do not use DSBufferRefPrivate class 62/243462/1
SooChan Lim [Wed, 2 Sep 2020 10:57:57 +0000 (19:57 +0900)]
DSBufferRef: do not use DSBufferRefPrivate class

Change-Id: I4b01742125392d45f4bfe2807d1e14db9732b4fb

3 years agoDSZone-test: renew some testcases and add new testcase for DSZone API 61/243461/1
Junseok, Kim [Wed, 2 Sep 2020 09:54:58 +0000 (18:54 +0900)]
DSZone-test: renew some testcases and add new testcase for DSZone API

Change-Id: I8e3b43fb6b5c9cc453206550654ffa0361981cf3
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
3 years agotests: add Reset Focus test for DSWaylandKeyboard 60/243460/1
jeon [Wed, 2 Sep 2020 07:56:32 +0000 (16:56 +0900)]
tests: add Reset Focus test for DSWaylandKeyboard

Change-Id: I828a59c134e361472247bad33da34b05b53f0886

3 years agoset LCOV_EXCL blocks 59/243459/1
jeon [Wed, 2 Sep 2020 07:56:11 +0000 (16:56 +0900)]
set LCOV_EXCL blocks

Change-Id: Ia4cbb03555a32f2e1bd082038718c096d2c27e0e

3 years agotests: add ResetFocus test for DSWaylandPointer 58/243458/1
jeon [Wed, 2 Sep 2020 07:55:56 +0000 (16:55 +0900)]
tests: add ResetFocus test for DSWaylandPointer

Change-Id: I1fed15d212e1b191387df10d599a698950bab665

3 years agoDSWaylandTouch: set LCOV_EXCL blocks 57/243457/1
jeon [Wed, 2 Sep 2020 07:41:10 +0000 (16:41 +0900)]
DSWaylandTouch: set LCOV_EXCL blocks

Change-Id: I13787d8976ab0c59e523207eef93737272e3c04c

3 years agotests: add ResetFocus test for DSWaylandTouch 56/243456/1
jeon [Wed, 2 Sep 2020 07:40:23 +0000 (16:40 +0900)]
tests: add ResetFocus test for DSWaylandTouch

Change-Id: Id4374be0b42af7d22db6f015d233767f6aad5fea

3 years agoDSDisplayDeviceHWCTDMImpl: add LCOV exceptions 55/243455/1
SooChan Lim [Wed, 2 Sep 2020 05:52:41 +0000 (14:52 +0900)]
DSDisplayDeviceHWCTDMImpl: add LCOV exceptions

Change-Id: I09abcc5167dc47655349416069b56273d261810f

3 years agotests: add getOutput test 54/243454/1
SooChan Lim [Wed, 2 Sep 2020 05:06:36 +0000 (14:06 +0900)]
tests: add getOutput test

Change-Id: Id47bb015bf9358cfb3da0c0f9fe5527baba95f5b

3 years agotests : add some tests for DSCanvas 53/243453/1
SooChan Lim [Wed, 2 Sep 2020 05:01:32 +0000 (14:01 +0900)]
tests : add some tests for DSCanvas

Change-Id: I2fa4bbf489bd27ece922fc3a3cd82a76624dc980

3 years agoDSProperty-test: renew test codes 52/243452/1
Junseok, Kim [Wed, 2 Sep 2020 05:41:35 +0000 (14:41 +0900)]
DSProperty-test: renew test codes

renew test codes
- divide tests by function group
- use DSPropertyException
- add new test for pointer data type

Change-Id: I989d4b5aaa700fb2357fcfb807d86dab9418a17e

3 years agoDSProperty: change overrided private initializer using args 51/243451/1
Junseok, Kim [Wed, 2 Sep 2020 05:39:40 +0000 (14:39 +0900)]
DSProperty: change overrided private initializer using args

Change-Id: Ia17d11ccca5e367c4d0d001c5980f9e7a3463d31

3 years agoDSProperty: move DSPropertyExceptopn from private class to public class 50/243450/1
Junseok, Kim [Wed, 2 Sep 2020 05:38:27 +0000 (14:38 +0900)]
DSProperty: move DSPropertyExceptopn from private class to public class

Change-Id: Id68c0a4ebc1ed5c44b9cba8953fbd28c6e4b9ef5