platform/core/uifw/libds.git
4 years agoDSCompositor: initialize wayland display and input in run() 10/241610/1
Sung-Jin Park [Fri, 10 Jul 2020 11:08:43 +0000 (20:08 +0900)]
DSCompositor: initialize wayland display and input in run()

Change-Id: Ica38577e8dbffe3645d991e07894c4e78c9a3e95
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoDSWindow: add skeleton class 09/241609/1
Doyoun Kang [Thu, 9 Jul 2020 17:11:22 +0000 (17:11 +0000)]
DSWindow: add skeleton class

Change-Id: I2e934f4536424a23ff4f47d5a5cf7430fe59476c

4 years agoDSWaylandServer: implements DSWaylandPointer, DSWaylandKeyboard and DSWaylandTouch 08/241608/1
Sung-Jin Park [Fri, 10 Jul 2020 01:05:47 +0000 (10:05 +0900)]
DSWaylandServer: implements DSWaylandPointer, DSWaylandKeyboard and DSWaylandTouch

Change-Id: I274e70c4acffccb245e8da589eea24f68ef37015
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoDSLibinput: init/shutdown ecore system to use ecore fd handler 07/241607/1
jeon [Fri, 10 Jul 2020 05:06:22 +0000 (14:06 +0900)]
DSLibinput: init/shutdown ecore system to use ecore fd handler

Change-Id: I410cf725045082983e49f7617b92b1a0fb00031a

4 years agoDSSeat: connects signals for device add/remove 06/241606/1
jeon [Fri, 10 Jul 2020 04:33:41 +0000 (13:33 +0900)]
DSSeat: connects signals for device add/remove

Change-Id: I43e987af82bbb1f82d3191d3bb8a0acfd6913e48

4 years agoDSInput: Add device add/remove signals 05/241605/1
jeon [Fri, 10 Jul 2020 04:33:01 +0000 (13:33 +0900)]
DSInput: Add device add/remove signals

Change-Id: I39a13760d26abb5283cfa8cfcc3990915bbcf684

4 years agoDSLOG: remove new lines 04/241604/1
SooChan Lim [Fri, 10 Jul 2020 04:00:20 +0000 (13:00 +0900)]
DSLOG: remove new lines

Change-Id: I027f45c33f5e56f7ee120079c5d72fc0fcd0155c

4 years agoDSWaylandServer: implements DSWaylandCompositor, DSWaylandClient and DSWaylandSeat 03/241603/1
Sung-Jin Park [Thu, 9 Jul 2020 07:11:42 +0000 (16:11 +0900)]
DSWaylandServer: implements DSWaylandCompositor, DSWaylandClient and DSWaylandSeat

Change-Id: I706b76ebd3fbb0eba4e9a49285a3985c98144ee6
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoDSCanvas: initialize RenderEngine with EcoreEvas implemenation 02/241602/1
SooChan Lim [Thu, 9 Jul 2020 23:21:19 +0000 (08:21 +0900)]
DSCanvas: initialize RenderEngine with EcoreEvas implemenation

Change-Id: I9cf476b148994c94d231ef9c6691fe65a840334e

4 years agoDSCompositor: initialize the Display Device with TDM 01/241601/1
SooChan Lim [Thu, 9 Jul 2020 23:19:36 +0000 (08:19 +0900)]
DSCompositor: initialize the Display Device with TDM

- initialize the Display Device with TDM
- get the Device Ouptuts form Display Device and call the _onOutputAdded() at run() method
- After that, call the _onInitialization at run() method

Change-Id: I783764547f11cebbbd565f5815bc69163a041c06

4 years agoDSCompositor: change _onPrepareCanvas to _onInitialized 00/241600/1
SooChan Lim [Thu, 9 Jul 2020 22:37:59 +0000 (07:37 +0900)]
DSCompositor: change _onPrepareCanvas to _onInitialized

Change-Id: Id76ac816ca4fd159bb43ddf212b21b7969714c91

4 years agozxdg_popup_v6: Add ZxdgPopupV6 skeleton class 99/241599/1
Junseok, Kim [Wed, 8 Jul 2020 09:17:39 +0000 (18:17 +0900)]
zxdg_popup_v6: Add ZxdgPopupV6 skeleton class

Change-Id: I8199bffe18249fd838b5ce5e56b444da9972550d
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
4 years agozxdg_toplevel_v6: Add ZxdgToplevelV6 skeleton class 98/241598/1
Junseok, Kim [Wed, 8 Jul 2020 09:07:46 +0000 (18:07 +0900)]
zxdg_toplevel_v6: Add ZxdgToplevelV6 skeleton class

Change-Id: I9c5aed5dae03b9f0aaf51f763b945dbc2138d622
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
4 years agozxdg_surface_v6: Add ZxdgSurfaceV6 skeleton class 97/241597/1
Junseok, Kim [Wed, 8 Jul 2020 08:55:04 +0000 (17:55 +0900)]
zxdg_surface_v6: Add ZxdgSurfaceV6 skeleton class

Change-Id: I1789a13f57667d957bd51ecb3865a29e8dba0ade
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
4 years agozxdg_positioner_v6: add ZxdgPositionerV6 skeleton class 96/241596/1
Junseok, Kim [Wed, 8 Jul 2020 08:34:20 +0000 (17:34 +0900)]
zxdg_positioner_v6: add ZxdgPositionerV6 skeleton class

Change-Id: I1d9dbd0de323d16488b37a58f6af38f511581cee
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
4 years agozxdg_shell_v6: Add ZxdgShellV6 skeleton class 95/241595/1
Junseok, Kim [Wed, 8 Jul 2020 07:43:10 +0000 (16:43 +0900)]
zxdg_shell_v6: Add ZxdgShellV6 skeleton class

Change-Id: If899ec750b4ac6de84e504fff910680f23351761

4 years agoDSInput: control device add/remove events from libinput 94/241594/1
jeon [Thu, 9 Jul 2020 02:38:09 +0000 (11:38 +0900)]
DSInput: control device add/remove events from libinput

Change-Id: I62aeff2ca4a28699b59d2fb32555fe4ac799f191

4 years agoremove DSHWC 93/241593/1
SooChan Lim [Thu, 9 Jul 2020 22:16:54 +0000 (07:16 +0900)]
remove DSHWC

Change-Id: I4f0f04783d226269b331f2404862109d62581f0e

4 years agoDSOutput: change the DSOutput into IDSOutput 92/241592/1
SooChan Lim [Thu, 9 Jul 2020 11:38:35 +0000 (20:38 +0900)]
DSOutput: change the DSOutput into IDSOutput

make the DSOutput be the interface for hiding the internal information
like IDSDisplayDeviceOutput interface.

Change-Id: I48f28eea03e3179e6bb221401c901c7c3f7d77d8

4 years agoDSPolicyAread: make the DSPolicyAreadPrivate. 91/241591/1
SooChan Lim [Thu, 9 Jul 2020 06:34:40 +0000 (15:34 +0900)]
DSPolicyAread: make the DSPolicyAreadPrivate.

use Pimpl pattern on DSPolicyArea

Change-Id: I02f5fb371bd5b33f116eb888732d6081dc1c0b9a

4 years agoDSDisplayArea: make the DSDisplayAreaPrivate. 90/241590/1
SooChan Lim [Thu, 9 Jul 2020 05:02:11 +0000 (14:02 +0900)]
DSDisplayArea: make the DSDisplayAreaPrivate.

use Pimpl pattern on DSDisplayArea

Change-Id: I08da8fcbaa60fb917399c0bc653fbd9975c1934e

4 years agoDSCanvas: make the DSCanvasPrivate. 89/241589/1
SooChan Lim [Wed, 8 Jul 2020 09:32:19 +0000 (18:32 +0900)]
DSCanvas: make the DSCanvasPrivate.

use Pimpl pattern on DSCanvas

Change-Id: I3b9811531ddf784f5f36b0c800540eca5bf41b99

4 years agoDSCompositor: make the DSCompositorPrivate. 88/241588/1
SooChan Lim [Wed, 8 Jul 2020 08:25:58 +0000 (17:25 +0900)]
DSCompositor: make the DSCompositorPrivate.

use Pimpl pattern on DSCompsitor

Change-Id: I3199c8653bb57a16a710f5a949e971a3d6211e8b

4 years agochange the raw pointers into the smart pointers 87/241587/1
SooChan Lim [Wed, 8 Jul 2020 05:51:15 +0000 (14:51 +0900)]
change the raw pointers into the smart pointers

Change-Id: Idddc7a14ec8eed73899ebe2975169a8de9d6a481

4 years agoDSInput: Add DSInputDevice's test cases 86/241586/1
jeon [Wed, 8 Jul 2020 07:13:29 +0000 (16:13 +0900)]
DSInput: Add DSInputDevice's test cases

Change-Id: Ie0ac1c63b343a64b9f3260f37f8ded37f4d4ecb2

4 years agoDSInput: add DeviceSubclass enum 85/241585/1
jeon [Wed, 8 Jul 2020 05:23:40 +0000 (14:23 +0900)]
DSInput: add DeviceSubclass enum

Change-Id: I9588a1c34876b72fb3fcf9e866907ff8fbcb188c

4 years agoDSInput: Imply pimpl macros 84/241584/1
jeon [Wed, 8 Jul 2020 05:13:51 +0000 (14:13 +0900)]
DSInput: Imply pimpl macros

Change-Id: I4814aa431461b00a56b4249d1be56f20a3efb0d3

4 years agoDSCore: clarify macros for PIMPL idiom 83/241583/1
Sung-Jin Park [Wed, 8 Jul 2020 04:22:33 +0000 (13:22 +0900)]
DSCore: clarify macros for PIMPL idiom

Change-Id: I5b56d6120b9d8c23d8338806bc168ea3c0a5429f
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoDSCore: add DS_ASSERT macro 82/241582/1
Sung-Jin Park [Wed, 8 Jul 2020 04:13:31 +0000 (13:13 +0900)]
DSCore: add DS_ASSERT macro

Change-Id: I29f33d8a3a09e9523e0ff7a497da96346e2d6bad
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoDSCompositor: implement the eventloop with DSEventLoop object. 81/241581/1
SooChan Lim [Mon, 6 Jul 2020 08:49:37 +0000 (17:49 +0900)]
DSCompositor: implement the eventloop with DSEventLoop object.

Change-Id: Ic0ce513dbac26dabb3107a92ebc79dd999ea5e12

4 years agoDSEventLoop: add DSEventLoop class 80/241580/1
SooChan Lim [Mon, 6 Jul 2020 08:48:11 +0000 (17:48 +0900)]
DSEventLoop: add DSEventLoop class

Change-Id: Ib6c530c400abc8b8b9915add28288dfdad520a98

4 years agoDSInput: Add a DSInputDevice class 79/241579/1
jeon [Mon, 6 Jul 2020 06:04:05 +0000 (15:04 +0900)]
DSInput: Add a DSInputDevice class

Change-Id: Ie9eff1f32b3ca35b2506ddb7b6185557d06ea68a

4 years agoDSSeat: add keyboard/mouse/touch skeleton classes 78/241578/1
jeon [Mon, 6 Jul 2020 06:03:29 +0000 (15:03 +0900)]
DSSeat: add keyboard/mouse/touch skeleton classes

Change-Id: Ia712e6f5d237caf06c239341cfabe9e1ac9cd771

4 years agoDSWaylandServer: add prototype codes related to wl_callback interface. 77/241577/1
Joonbum Ko [Fri, 3 Jul 2020 10:09:17 +0000 (19:09 +0900)]
DSWaylandServer: add prototype codes related to wl_callback interface.

Change-Id: I73eeeffd6029b9791647d51e51ba651036dc4e84
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
4 years agoDSWaylandServer: add prototype codes related to wl_surface interface. 76/241576/1
Joonbum Ko [Thu, 2 Jul 2020 04:56:01 +0000 (13:56 +0900)]
DSWaylandServer: add prototype codes related to wl_surface interface.

Change-Id: If5b19488bb98135deadb0d15b62259782ee30b2d
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
4 years agoDSDisplayDevice: add the IDSDisplayDeviceOutputMode 75/241575/1
SooChan Lim [Fri, 3 Jul 2020 08:22:38 +0000 (17:22 +0900)]
DSDisplayDevice: add the IDSDisplayDeviceOutputMode

Change-Id: I9b304b8d976bd169603499c76122e087d6852647

4 years agoDSInput: Add a DSLibinput class to support libinput 74/241574/1
jeon [Thu, 2 Jul 2020 05:15:04 +0000 (14:15 +0900)]
DSInput: Add a DSLibinput class to support libinput

Change-Id: I7b15f2a90adc1a437c12305661003c7fc2cf1180

4 years agoDSDisplayDevice: implement HWC functions. 73/241573/1
SooChan Lim [Fri, 3 Jul 2020 06:13:25 +0000 (15:13 +0900)]
DSDisplayDevice: implement HWC functions.

Change-Id: I664b763358926f1575f42c122072035e7ca8c366

4 years agoDSBuffer: add DSBufferQueueTBMImpl constructor with tbm_surface_queue_h 72/241572/1
SooChan Lim [Fri, 3 Jul 2020 06:06:28 +0000 (15:06 +0900)]
DSBuffer: add DSBufferQueueTBMImpl constructor with tbm_surface_queue_h

Change-Id: Ib67a22936a5be6166e96ae742be8575177f8678f

4 years agoDSBuffer: add getTBMFormat method 71/241571/1
SooChan Lim [Fri, 3 Jul 2020 05:51:20 +0000 (14:51 +0900)]
DSBuffer: add getTBMFormat method

Change-Id: I1654e409a19f536d05df7dd1cd304ef00fb5c70a

4 years agoDSDebug: add function name and end line at log macro 70/241570/1
SooChan Lim [Fri, 3 Jul 2020 04:38:27 +0000 (13:38 +0900)]
DSDebug: add function name and end line at log macro

Change-Id: I05044625498492c6cc484d5d3a880c1ddc8bb497

4 years agoDSDisplayDevice: make IDSDisplayDeviceHWC be the smart pointer 69/241569/1
SooChan Lim [Thu, 2 Jul 2020 23:44:31 +0000 (08:44 +0900)]
DSDisplayDevice: make IDSDisplayDeviceHWC be the smart pointer

Change-Id: I070b97b3c949680fd71fa99c90d0ee06667f6866

4 years agoDSDisplayDevice: make the pointers related to IDSDisplayDeviceOutput into the smart... 68/241568/1
SooChan Lim [Thu, 2 Jul 2020 23:17:13 +0000 (08:17 +0900)]
DSDisplayDevice: make the pointers related to IDSDisplayDeviceOutput into the smart pointer

Change-Id: I3462edb81c090c6d8f951083948ed705caf04a5e

4 years agotest: change the smart pointer in DSDisplayDeviceTDMImpl tests 67/241567/1
SooChan Lim [Thu, 2 Jul 2020 10:07:52 +0000 (19:07 +0900)]
test: change the smart pointer in DSDisplayDeviceTDMImpl tests

Change-Id: I1c089bd6419b3e15d519fc4a32a5106cf6bf8cc4

4 years agotest: change the DSDisplayDeviceOutput callback tests. 66/241566/1
SooChan Lim [Thu, 2 Jul 2020 09:07:40 +0000 (18:07 +0900)]
test: change the DSDisplayDeviceOutput callback tests.

Change-Id: I5339242dceebba463f209d279466d8947ef92e1d

4 years agoDSDisplay: create the DSDisplayDeviceOutputTDMImpl at DSDisplayDeviceTDMImpl constructor. 65/241565/1
SooChan Lim [Thu, 2 Jul 2020 09:03:10 +0000 (18:03 +0900)]
DSDisplay: create the DSDisplayDeviceOutputTDMImpl at DSDisplayDeviceTDMImpl constructor.

Change-Id: Ic5a6cfa0787bff6f8ab0d9cbd4d901b88fad9279

4 years agoDSRender: redesign DSRender 64/241564/1
SooChan Lim [Thu, 2 Jul 2020 05:17:09 +0000 (14:17 +0900)]
DSRender: redesign DSRender

- simplify the DSRender design with two resources which are DSRenderEngine and DSRenderView.
- implement DSRenderEngineEcoreEvasImpl and DSRenderViewEcoreEvasImpl

Change-Id: I35e61e596e9ec6d5c6c73d16b4094ac23bbb887d

4 years agoDSBuffer: implement the DSBufferQueue methods 63/241563/1
SooChan Lim [Thu, 2 Jul 2020 03:42:40 +0000 (12:42 +0900)]
DSBuffer: implement the DSBufferQueue methods

implement dequeue, enqueue, aquire and release.

Change-Id: I7e90cf7acbb1b36c528c17586a97b266fa440d03

4 years agoDSBuffer: add DSBufferTBMImpl constructor with tbm_surface_h as a parameter 62/241562/1
SooChan Lim [Thu, 2 Jul 2020 03:40:44 +0000 (12:40 +0900)]
DSBuffer: add DSBufferTBMImpl constructor with tbm_surface_h as a parameter

Change-Id: I74ee3614f46e73cfc125b2d22fa7eef399630613

4 years agoDSBuffer: add getNativeBuffer on DSBUffer interface 61/241561/1
SooChan Lim [Thu, 2 Jul 2020 03:39:35 +0000 (12:39 +0900)]
DSBuffer: add getNativeBuffer on DSBUffer interface

Change-Id: I2707aa6043cf1ff3d0e236d5a27e1d81aa5453fe

4 years agoDSBuffer: add some method to get the properties of DSBufferQueue 60/241560/1
SooChan Lim [Thu, 2 Jul 2020 03:37:16 +0000 (12:37 +0900)]
DSBuffer: add some method to get the properties of DSBufferQueue

int        getBufferWidth()
int        getBufferHeight()
void       *getNativeBufferQueue()

Change-Id: I04bb0a2c4b0bbba40b913f35edd16ca7a3dc55b1

4 years agotest: add DSDebugLog.h 59/241559/1
SooChan Lim [Thu, 2 Jul 2020 02:44:21 +0000 (11:44 +0900)]
test: add DSDebugLog.h

Change-Id: Iec2a366a99a43a13b63b18ac36a601a9877c788f

4 years agoDSObject: add test cases (DSObjectTest.*) 58/241558/1
Sung-Jin Park [Wed, 1 Jul 2020 07:59:07 +0000 (16:59 +0900)]
DSObject: add test cases (DSObjectTest.*)

Change-Id: I7a273543675a598bef4ad08927d56b0f78300a2e
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoDSCore: add initial DSCore macros 57/241557/1
Sung-Jin Park [Wed, 1 Jul 2020 07:49:11 +0000 (16:49 +0900)]
DSCore: add initial DSCore macros

Change-Id: I955425fb4bed59e60253cfb7c4d3774b4095fcdf
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoDSObject: add/implments setName function 56/241556/1
Sung-Jin Park [Wed, 1 Jul 2020 07:27:41 +0000 (16:27 +0900)]
DSObject: add/implments setName function

Change-Id: I5477271a66685267348a255b539fd82e53d76241
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoDSWaylandServer: add wl_output interface related prototype codes 55/241555/1
Junkyeong Kim [Wed, 1 Jul 2020 08:00:33 +0000 (17:00 +0900)]
DSWaylandServer: add wl_output interface related prototype codes

Change-Id: I9269b2be415cba8e0ae84d40bb6588231d9f7622

4 years agoDSCompositor: implements run(), basic functions using ecore APIs 54/241554/1
Sung-Jin Park [Tue, 30 Jun 2020 07:01:33 +0000 (16:01 +0900)]
DSCompositor: implements run(), basic functions using ecore APIs

Change-Id: I162a30627a19b5e5f23f188f47bf7158f3e545f5
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agosamples: build exampleCompositor.cpp 53/241553/1
SooChan Lim [Mon, 29 Jun 2020 10:25:16 +0000 (19:25 +0900)]
samples: build exampleCompositor.cpp

exampleCompositor binary cannot execute right now. :)

Change-Id: Ib755e65caffbad20076b530b8cea819515d03643

4 years agoDSWaylandServer: imply Pimpl structure to DSWaylandTizenInputDeviceManager 52/241552/1
jeon [Mon, 29 Jun 2020 05:02:03 +0000 (14:02 +0900)]
DSWaylandServer: imply Pimpl structure to DSWaylandTizenInputDeviceManager

Change-Id: I0589c90c9729af4fb9a0f97fc2cf59c61c144554

4 years agoAdd default interface listener codes for tizen_input_device 51/241551/1
jeon [Fri, 26 Jun 2020 10:03:20 +0000 (19:03 +0900)]
Add default interface listener codes for tizen_input_device

Change-Id: I9e1833d478806a14fe25f6ea17b7f0257a48d70b

4 years agoDSWaylandServer: update dswayland-server-tizen-extension.cpp/.h files 50/241550/1
Sung-Jin Park [Mon, 29 Jun 2020 03:07:37 +0000 (12:07 +0900)]
DSWaylandServer: update dswayland-server-tizen-extension.cpp/.h files

Change-Id: I9416043d5f0d5ad984d179a6537b1f6695730164
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoDSWaylandServer: change definition of DS_UNUSED to remove warning 49/241549/1
Sung-Jin Park [Mon, 29 Jun 2020 03:06:41 +0000 (12:06 +0900)]
DSWaylandServer: change definition of DS_UNUSED to remove warning

Change-Id: I461da2679f83552f1852d1ed2495a5b71a62f03f
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoDSBuffer: redesign and implementation IDSBufferQueue and IDSBuffer. 48/241548/1
SooChan Lim [Fri, 26 Jun 2020 05:45:37 +0000 (14:45 +0900)]
DSBuffer: redesign and implementation IDSBufferQueue and IDSBuffer.

This is a skeleton implementation, so more methods will be added later.

Change-Id: I67641d2e94d38050b70c59ea37258d2ca94a1654

4 years agoDSBuffer: remove DSBufferQueue 47/241547/1
SooChan Lim [Fri, 26 Jun 2020 05:43:26 +0000 (14:43 +0900)]
DSBuffer: remove DSBufferQueue

Change-Id: I1130c0d40f9303dca7d9080df3861e6cc917a6d8

4 years agochange definition of DS_UNUSED to remove warning 46/241546/1
jeon [Thu, 25 Jun 2020 04:33:27 +0000 (13:33 +0900)]
change definition of DS_UNUSED to remove warning

Change-Id: I477d3766f3b26cc4299f1d69e1a3d289e77a941c

4 years agoadd dependencies for tizen extension protocols 45/241545/1
jeon [Fri, 19 Jun 2020 02:02:33 +0000 (11:02 +0900)]
add dependencies for tizen extension protocols

Change-Id: I40caf2ecf09cec611a3fcd1d6ae8510f16b5151d

4 years agoDSRender: modify the file and the class name 44/241544/1
SooChan Lim [Tue, 23 Jun 2020 08:54:59 +0000 (17:54 +0900)]
DSRender: modify the file and the class name

Change-Id: Ia022a8d012b780ef49a18491f9b80f4d6c346e44

4 years agofix the indentation 43/241543/1
SooChan Lim [Tue, 23 Jun 2020 07:24:32 +0000 (16:24 +0900)]
fix the indentation

Change-Id: I4c6db7a7aff1949d7011c02d28971d1d5f277b43

4 years agoDSDisplayDeviceOutput: implement the output callback of the OutputTDM implements 42/241542/1
SooChan Lim [Tue, 23 Jun 2020 06:45:57 +0000 (15:45 +0900)]
DSDisplayDeviceOutput: implement the output callback of the OutputTDM implements

There are five callback functions for the DeviceOuput.

IDSDisplayDevice class has OutputAdded and OutputRemoved callbacks.
  virtual void registerCallbackOutputAdded(DSObject *slot, std::function<void(IDSDisplayDeviceOutput *)> func) = 0;
  virtual void registerCallbackOutputRemoved(DSObject *slot, std::function<void(IDSDisplayDeviceOutput *)> func) = 0;

IDSDisplayDeviceOutput class has OutputConnected, OutputDisconnected and OutputResolutionSet callbacks.
  virtual void registerCallbackOutputConnected(DSObject *slot, std::function<void(IDSDisplayDeviceOutput *)> func) = 0;
  virtual void registerCallbackOutputDisconnected(DSObject *slot, std::function<void(IDSDisplayDeviceOutput *)> func) = 0;
  virtual void registerCallbackOutputResolutionSet(DSObject *slot, std::function<void(IDSDisplayDeviceOutput *)> func) = 0;

DSDisplayDeviceTDMImpl and DSDisplayDeviceOutputTDMImpl override these functions and implement them.

Change-Id: If76a02aa5348d5e1b5827960e86c2de55729792f

4 years agoDSSignal: use std::function as the paremeter of the connect method. 41/241541/1
SooChan Lim [Mon, 22 Jun 2020 01:47:12 +0000 (10:47 +0900)]
DSSignal: use std::function as the paremeter of the connect method.

use std::function instead of the raw function pointer.

Change-Id: I02e368c09e6f673fc8881842694296d171ff9369

4 years agoimplement the skeleton methods of DSDisplayArea 40/241540/1
SooChan Lim [Thu, 18 Jun 2020 02:18:03 +0000 (11:18 +0900)]
implement the skeleton methods of DSDisplayArea

At this time, the test case fails.

Change-Id: I08d9229f16ede242a3a53154158e154211802e8e

4 years agoimplement the skeleton methods of DSCanvas 39/241539/1
SooChan Lim [Thu, 18 Jun 2020 01:46:46 +0000 (10:46 +0900)]
implement the skeleton methods of DSCanvas

At this time, the test case fails.

Change-Id: I117ca29be31411724b8eed4760f102a1cc6ee2dd

4 years agoimplement the skeleton methods of DSPolicyArea 38/241538/1
SooChan Lim [Thu, 18 Jun 2020 01:35:35 +0000 (10:35 +0900)]
implement the skeleton methods of DSPolicyArea

At this time, the test case fails.

Change-Id: I843c7a5c0cf9fd5a5de7cfc41919af7902ce8e78

4 years agoimplement the skeleton methods of DSOutput 37/241537/1
SooChan Lim [Thu, 18 Jun 2020 02:25:19 +0000 (11:25 +0900)]
implement the skeleton methods of DSOutput

At this time, the test case fails.

Change-Id: I4104111532b51f01e92849d51ee57fdac5e0631a

4 years agoimplement the skeleton methods of DSSeat 36/241536/1
SooChan Lim [Thu, 18 Jun 2020 02:32:29 +0000 (11:32 +0900)]
implement the skeleton methods of DSSeat

At this time, the test case fails.

Change-Id: Ib8b2c7a47168be836e5ab5db67ff0ce99e068599

4 years agoimplement the skeleton methods of DSCompositor 35/241535/1
SooChan Lim [Thu, 18 Jun 2020 02:40:38 +0000 (11:40 +0900)]
implement the skeleton methods of DSCompositor

At this time, the test case fails.

Change-Id: I32835f6c0cba2254a3c747537a6010c491ec7df5

4 years agoRevert "include DSPropertyPrivate.h file" 34/241534/1
SooChan Lim [Wed, 17 Jun 2020 04:36:41 +0000 (13:36 +0900)]
Revert "include DSPropertyPrivate.h file"

This reverts commit 5ac60980cc74f02ae06cde396765d0ed1c595847.

Change-Id: I08f3fef79ddc209e16c751685293ea0deddee74c

4 years agoDSWaylandServer: add code for tizen-ws-shell, xdg-shell* interfaces and so on 33/241533/1
Sung-Jin Park [Wed, 17 Jun 2020 01:18:38 +0000 (10:18 +0900)]
DSWaylandServer: add code for tizen-ws-shell, xdg-shell* interfaces and so on

Change-Id: I5f5d0e7530498cad9e9e6dd14530e7a4c0e4d7bf
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoadd some members to CODEOWNERS 32/241532/1
SooChan Lim [Tue, 16 Jun 2020 23:14:07 +0000 (08:14 +0900)]
add some members to CODEOWNERS

Change-Id: Ib2c784b1d8561bfad9c585c399bd533b0e9b9fc1

4 years agoinclude DSPropertyPrivate.h file 31/241531/1
SooChan Lim [Tue, 16 Jun 2020 09:02:15 +0000 (18:02 +0900)]
include DSPropertyPrivate.h file

Change-Id: Ib2c3d9a9af5612fd64400b9baf8fa5826e9278f3

4 years agobeutify the code. 30/241530/1
SooChan Lim [Tue, 16 Jun 2020 07:33:21 +0000 (16:33 +0900)]
beutify the code.

make the code align and obey the coding style.

Change-Id: Ic73fdf61ae3a59b152f83cb64b7b7fc95758b185

4 years agoApply Coding Style 29/241529/1
review-bot [Tue, 16 Jun 2020 06:35:29 +0000 (15:35 +0900)]
Apply Coding Style

Change-Id: I2973ae7fc08cd40d367512e97828080a6899020c

4 years agochange the test package and test binary name 28/241528/1
SooChan Lim [Tue, 16 Jun 2020 05:33:52 +0000 (14:33 +0900)]
change the test package and test binary name

from xxx-unitests to xxx-tests

Change-Id: I63a7b24fee07e968930ad7a3c6ee39d657505e52

4 years agouse the namespace display_server at samples and tests 27/241527/1
SooChan Lim [Tue, 16 Jun 2020 04:41:18 +0000 (13:41 +0900)]
use the namespace display_server at samples and tests

Change-Id: I1f2278d6a6fea0ce683db41829ec0e3b3ad16869

4 years agoimplement DSDispalyDevice class and TDM implementations 26/241526/1
SooChan Lim [Thu, 11 Jun 2020 03:59:18 +0000 (12:59 +0900)]
implement DSDispalyDevice class and TDM implementations

Change-Id: Ia12f8c0be76779d47898939ad06451692675eb41

4 years agoDSWaylandServer: add code for DSWaylandServer 25/241525/1
Sung-Jin Park [Mon, 15 Jun 2020 12:02:57 +0000 (21:02 +0900)]
DSWaylandServer: add code for DSWaylandServer

Change-Id: I769b485b5bdd384664411a21c64011d23c6adfa3
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agosamples: fix the typos 24/241524/1
SooChan Lim [Wed, 10 Jun 2020 04:07:41 +0000 (13:07 +0900)]
samples: fix the typos

Change-Id: I12e6036f2654f234c4b4c9d153092a2c9f07c781

4 years agoApply Coding Style 23/241523/1
review-bot [Thu, 11 Jun 2020 03:59:22 +0000 (12:59 +0900)]
Apply Coding Style

Change-Id: I0c519b59b8ce2544fff4abab0937ab1d8003bd78

4 years agoApply Coding Style 22/241522/1
review-bot [Wed, 10 Jun 2020 02:05:16 +0000 (11:05 +0900)]
Apply Coding Style

Change-Id: Ic24fb5d02e1d4203db8121e7c8bc5bdd30a9b115

4 years agoDSDebug: add DSDebugLog class 21/241521/1
SooChan Lim [Tue, 9 Jun 2020 10:53:50 +0000 (19:53 +0900)]
DSDebug: add DSDebugLog class

Change-Id: Ie4b16276ddff6c8a68e05eb97859570824b115cc

4 years agoDSDisplayArea: add getWidth/Height methods 20/241520/1
SooChan Lim [Mon, 8 Jun 2020 10:53:38 +0000 (19:53 +0900)]
DSDisplayArea: add getWidth/Height methods

Change-Id: Ib525af6b4cd8ea38105993943cbab3a17566e237

4 years agoDSOutput: add getResolutionWidth/Height methods 19/241519/1
SooChan Lim [Mon, 8 Jun 2020 10:53:04 +0000 (19:53 +0900)]
DSOutput: add getResolutionWidth/Height methods

Change-Id: I9a2184ede44b7987e99832cbfe3c03df8a578d2b

4 years agochange the source directories and the menson.build files. 18/241518/1
SooChan Lim [Tue, 9 Jun 2020 02:09:25 +0000 (11:09 +0900)]
change the source directories and the menson.build files.

make the source directories below.
libds - - samples/menson.build --> samples sources
      | - src/menson.build     --> libds sources
      | - tests/menson.build   --> test sources
      - - meson.build

Change-Id: Ib078b5d2d5664563d0b9499abd7360c724eb3317

4 years ago"[Reform] Apply Coding Style" 17/241517/1
review-bot [Thu, 9 Apr 2020 05:30:27 +0000 (14:30 +0900)]
"[Reform] Apply Coding Style"

Change-Id: I48cac0d4f8c51d5a6fe874e9921c5c8e11af4354

4 years agoApply Coding Style 16/241516/1
review-bot [Tue, 9 Jun 2020 00:07:23 +0000 (09:07 +0900)]
Apply Coding Style

Change-Id: I8c3c260f75eeabfc0b6a1c9653e3b0ebf2eb7ccf

4 years agoDSDisplayArea: add initial code for DSDisplayArea 15/241515/1
SooChan Lim [Mon, 8 Jun 2020 10:09:56 +0000 (19:09 +0900)]
DSDisplayArea: add initial code for DSDisplayArea

add initial DSDisplayArea class and testcase for it.

Change-Id: Ibf4d30c86c73e7cd06fd21eb2356d89e9ad10fe2

4 years agoDSPolicyArea: add initial code for DSPolicyArea 14/241514/1
SooChan Lim [Mon, 8 Jun 2020 10:01:37 +0000 (19:01 +0900)]
DSPolicyArea: add initial code for DSPolicyArea

add initial DSPolicyArea class and testcase for it.

Change-Id: I124cc78a4c84292cc9383549f07bdf4cd30384d9

4 years agoDSSeat: add initial code for DSSeat 13/241513/1
SooChan Lim [Mon, 8 Jun 2020 09:51:02 +0000 (18:51 +0900)]
DSSeat: add initial code for DSSeat

add initial DSSeat class and testcase for it.

Change-Id: Iaf71bad6c99506b85689259f94af6aaed70136a2

4 years agoDSCanvas: add initial code for DSCanvas 12/241512/1
SooChan Lim [Mon, 8 Jun 2020 09:40:16 +0000 (18:40 +0900)]
DSCanvas: add initial code for DSCanvas

add initial DSCanvas class and testcase for it.

Change-Id: Id99ad0553f0541190554b8b32d0d9fb8d79ed784

4 years agoDSInput: add initial code for DSInput 11/241511/1
SooChan Lim [Mon, 8 Jun 2020 09:35:19 +0000 (18:35 +0900)]
DSInput: add initial code for DSInput

add initial DSInput class and testcase for it.

Change-Id: I6728348ef242271385542fd301f101115761379b