platform/core/uifw/libds.git
3 years agoDSWaylandSurfaceCommitInfo: initialize bufferChanged to false 11/242311/1
Sung-Jin Park [Mon, 24 Aug 2020 10:24:40 +0000 (19:24 +0900)]
DSWaylandSurfaceCommitInfo: initialize bufferChanged to false

Change-Id: Iba5d6da7e04512640d8e98ae28cc3da624884418
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSRenderViewDaliImpl: change the visibility of the dali actor. 10/242310/1
SooChan Lim [Mon, 24 Aug 2020 07:59:21 +0000 (16:59 +0900)]
DSRenderViewDaliImpl: change the visibility of the dali actor.

when buffer exist, set visible.
when buffer is null, set unvisible.

Change-Id: I944f99582bde658a7aac9ce6fe602b5f3a9761b4

3 years agoDSWindow: client can commit null buffer. 09/242309/1
SooChan Lim [Mon, 24 Aug 2020 07:57:29 +0000 (16:57 +0900)]
DSWindow: client can commit null buffer.

Change-Id: I6a7b98d9151f70f68aec0b0ccbb9fd95ab437691

3 years agoDSWaylandSurface: add bufferChanged method 08/242308/1
SooChan Lim [Mon, 24 Aug 2020 07:55:50 +0000 (16:55 +0900)]
DSWaylandSurface: add bufferChanged method

allow to check if buffer is attached. wayland client can attach null buffer resource.

Change-Id: I284b186e150e4fa577eb7b451d81f1a14d9e68ea

3 years agoDSSeat: add/register slot for windowStackChanged signal 07/242107/1
Sung-Jin Park [Mon, 24 Aug 2020 05:48:05 +0000 (14:48 +0900)]
DSSeat: add/register slot for windowStackChanged signal

Change-Id: Ida868f529c5c9a766b08414da5a269caee525506
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSZone: emit windowStackChanged signal when the stack has been changed 06/242106/1
Sung-Jin Park [Mon, 24 Aug 2020 05:47:23 +0000 (14:47 +0900)]
DSZone: emit windowStackChanged signal when the stack has been changed

Change-Id: I9755c327797fcebc22eac7accab49cd9ba22b331
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSWindow: add setZOrder/getZOrder API 05/242105/1
Sung-Jin Park [Mon, 24 Aug 2020 05:32:26 +0000 (14:32 +0900)]
DSWindow: add setZOrder/getZOrder API

Change-Id: I4345dbc9de85e18545138cfd7b619f191bb8cf67
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSWindowShellPrivate: initialize __layer value 04/242104/1
Doyoun Kang [Mon, 24 Aug 2020 00:05:45 +0000 (09:05 +0900)]
DSWindowShellPrivate: initialize __layer value

Change-Id: I834fbb839c74ca732600922353cbb271dc58db6d

3 years agoDSWaylandZxdgToplevel: implement set_parent 03/242103/1
Doyoun Kang [Sun, 23 Aug 2020 23:46:56 +0000 (08:46 +0900)]
DSWaylandZxdgToplevel: implement set_parent

Change-Id: If4e310ceea19cae12bad463d09913d87b85a7086

3 years agoimplement tizen_policy_set_transient_for 02/242102/1
Doyoun Kang [Sat, 22 Aug 2020 08:12:09 +0000 (17:12 +0900)]
implement tizen_policy_set_transient_for

Change-Id: I072c7aad76e60f95da68680c4ec40fd871af38d8

3 years agoDSWindowManager: add API for setting parent window 01/242101/1
Doyoun Kang [Sat, 22 Aug 2020 08:11:24 +0000 (17:11 +0900)]
DSWindowManager: add API for setting parent window

Change-Id: I87e6d1550ce89eede32ec2b2a421332126469e9d

3 years agoDSZone: add setWindowParent API 00/242100/1
Doyoun Kang [Sat, 22 Aug 2020 08:10:25 +0000 (17:10 +0900)]
DSZone: add setWindowParent API

Change-Id: I595e7cc1c33f8f0a6a5055caa58360e03b3038ca

3 years agoDSWindowShell/DSWindow : handle set/get Parent 99/242099/1
Doyoun Kang [Sat, 22 Aug 2020 07:49:29 +0000 (16:49 +0900)]
DSWindowShell/DSWindow : handle set/get Parent

Change-Id: I99f21cf923b640213e48fc8c9c186f9fa213ddc6

3 years agoDSWaylandCompositor/DSWaylandSurface: add API to get surface by resource ID 98/242098/1
Doyoun Kang [Sat, 22 Aug 2020 07:44:55 +0000 (16:44 +0900)]
DSWaylandCompositor/DSWaylandSurface: add API to get surface by resource ID

Change-Id: I1946ac7b360cce6b22693c547cbf97aec3cab29a

3 years agoDSUtilSocket: set permission to sockets 97/242097/1
jeon [Fri, 21 Aug 2020 11:49:05 +0000 (20:49 +0900)]
DSUtilSocket: set permission to sockets

Change-Id: I3328fa30d8a55b2f11accc01a28821b3e2d2ecc9

3 years agoDSUtilSocket: add skeleton codes to control socket 96/242096/1
jeon [Fri, 21 Aug 2020 08:39:06 +0000 (17:39 +0900)]
DSUtilSocket: add skeleton codes to control socket

Change-Id: I1dab0ff9c770782171b54f013bd7cfeac55299ef

3 years agoDSSeat: release shared_ptr of the last focus window 95/242095/1
Sung-Jin Park [Fri, 21 Aug 2020 12:10:33 +0000 (21:10 +0900)]
DSSeat: release shared_ptr of the last focus window

Change-Id: I40b942456fbabbe2298eebe460fc6a8a94e3c856
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSTextInput: change argument DSWindow to DSWaylandSurface 94/242094/1
jeon [Fri, 21 Aug 2020 08:10:09 +0000 (17:10 +0900)]
DSTextInput: change argument DSWindow to DSWaylandSurface

Change-Id: I20ba8de29a83fe39d130dcbc005126e053a496fe

3 years agoDSRenderEngineDaliImpl: call Adaptor::Get().RenderOnce() twice 93/242093/1
SooChan Lim [Fri, 21 Aug 2020 10:05:27 +0000 (19:05 +0900)]
DSRenderEngineDaliImpl: call Adaptor::Get().RenderOnce() twice

Need to check dali engine later. why should libds calls RenderOnce() twice

Change-Id: I4b0348318678e244b5dc0b2d4e3c03519d546e78

3 years agoDSSeat: renew focus on Window created/destroy handlers 27/242027/1
Sung-Jin Park [Fri, 21 Aug 2020 08:17:10 +0000 (17:17 +0900)]
DSSeat: renew focus on Window created/destroy handlers

Change-Id: Ide2333d094cff0fd303fd4bedc5485070b07779e
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSWindowShell: add unsetFocus() 26/242026/1
Sung-Jin Park [Fri, 21 Aug 2020 08:16:26 +0000 (17:16 +0900)]
DSWindowShell: add unsetFocus()

Change-Id: I8e9221fdd893e2ec0372621ef77be0f51522ddf6
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSWindow: add unsetFocus() 25/242025/1
Sung-Jin Park [Fri, 21 Aug 2020 08:15:14 +0000 (17:15 +0900)]
DSWindow: add unsetFocus()

Change-Id: I35e738c2d7d381d3ac7234663db74999956e8aa3
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSWindowManager/DSZone/DSWindowShell/DSWindow: add codes to handle window's vkbd... 24/242024/1
Junseok, Kim [Fri, 21 Aug 2020 06:20:49 +0000 (15:20 +0900)]
DSWindowManager/DSZone/DSWindowShell/DSWindow: add codes to handle window's vkbd floating

Change-Id: Id6c386e3505585c97feaee491798546f5de57ae3
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
3 years agoDSWaylandTizenVisibility: add skeleton code 23/242023/1
Doyoun Kang [Fri, 21 Aug 2020 01:23:42 +0000 (10:23 +0900)]
DSWaylandTizenVisibility: add skeleton code

Change-Id: I4d51f0f34118177d83f9a296caf1b5cc4e821dbd

3 years agoexampleCompositor: enable a DSTextInput 22/242022/1
jeon [Fri, 21 Aug 2020 05:13:32 +0000 (14:13 +0900)]
exampleCompositor: enable a DSTextInput

Change-Id: I79bda1490aba4bcfa20dca54ea62fb1b19e41ec0

3 years agoDSWaylandTextInput: fix error and invalid methods to prevent crash 21/242021/1
jeon [Fri, 21 Aug 2020 05:13:06 +0000 (14:13 +0900)]
DSWaylandTextInput: fix error and invalid methods to prevent crash

Change-Id: I4e5f2d2a07e70bfde455417090564644f4aa9ea9

3 years agoDSWaylandTextInput: add skeleton codes for input_panel_enabled request 20/242020/1
jeon [Fri, 21 Aug 2020 06:01:10 +0000 (15:01 +0900)]
DSWaylandTextInput: add skeleton codes for input_panel_enabled request

Change-Id: I595bf67198084fb8ba7756d878f2795050df4821

3 years agoprotocols: update wayland protocols 19/242019/1
jeon [Fri, 21 Aug 2020 06:00:46 +0000 (15:00 +0900)]
protocols: update wayland protocols

Change-Id: Ic1d34e543022fbbccdd7f194cc7b9fc865255588

3 years agotest: free waylandSurface before releasing DSWaylandCompositor 18/242018/1
SooChan Lim [Fri, 21 Aug 2020 06:36:20 +0000 (15:36 +0900)]
test: free waylandSurface before releasing DSWaylandCompositor

Change-Id: I106f6860270dc9ad89eb05f1a4507de5f18c1542
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
3 years agoDSDisplayDeviceHWCWindowTDMTargetImpl: add ecore_init()/ecore_shutdown() 17/242017/1
SooChan Lim [Fri, 21 Aug 2020 05:40:47 +0000 (14:40 +0900)]
DSDisplayDeviceHWCWindowTDMTargetImpl: add ecore_init()/ecore_shutdown()

Change-Id: Ie9e232c347602db60b43ef4238bd9c0fa7bde988

3 years agoDSRenderViewDaliImpl: remove actor from offscreen at destructor 16/242016/1
SooChan Lim [Fri, 21 Aug 2020 05:30:38 +0000 (14:30 +0900)]
DSRenderViewDaliImpl: remove actor from offscreen at destructor

Change-Id: I967d9f5961f9f62b109f2321729114a2f3585d1f

3 years agoDSRenderEngineDaliImpl: register WindowDestroyed callback of window object 15/242015/1
SooChan Lim [Fri, 21 Aug 2020 05:28:34 +0000 (14:28 +0900)]
DSRenderEngineDaliImpl: register WindowDestroyed callback of window object

need to kick the Dali Renderer when the window is destroyed.

Change-Id: I4547baf37dda4863780f1f3d1490641376ba4a76

3 years agoDSWindow: make registerCallbackWindowDestroyed method 14/242014/1
SooChan Lim [Fri, 21 Aug 2020 05:22:34 +0000 (14:22 +0900)]
DSWindow: make registerCallbackWindowDestroyed method

Change-Id: I5c2ef80a43b83956808bc9142221dfb949ffa992

3 years agoDSDisplayDeviceHWC: make updateFrame return bool type. 13/242013/1
SooChan Lim [Fri, 21 Aug 2020 05:19:01 +0000 (14:19 +0900)]
DSDisplayDeviceHWC: make updateFrame return bool type.

Change-Id: I1a75b0b6e4cbb5634e59cffca1b5d549ad825535

3 years agoDSDisplayArea: destory DSRenderView and DSDisplayDeviceHWCWindow 12/242012/1
SooChan Lim [Fri, 21 Aug 2020 05:14:57 +0000 (14:14 +0900)]
DSDisplayArea: destory DSRenderView and DSDisplayDeviceHWCWindow

Change-Id: Id79476dfabdbb4c6726783f47be648265fb8b0bc

3 years agoDSDisplayDeviceHWCWindow: add getWindow() methods 11/242011/1
SooChan Lim [Fri, 21 Aug 2020 05:14:07 +0000 (14:14 +0900)]
DSDisplayDeviceHWCWindow: add getWindow() methods

Change-Id: If0b794b2b078db36e03b56efa524bb0bc8cce738

3 years agoDSRenderView: add getWindow() methods 10/242010/1
SooChan Lim [Fri, 21 Aug 2020 05:10:13 +0000 (14:10 +0900)]
DSRenderView: add getWindow() methods

Change-Id: I17c92e24c328c121c742089508955c7925bfa473

3 years agoDSWaylandSurface: release BufferManager resource in destructor 09/242009/1
Doyoun Kang [Thu, 20 Aug 2020 12:23:04 +0000 (21:23 +0900)]
DSWaylandSurface: release BufferManager resource in destructor

Change-Id: I88d69d74e9b2966142faf36815f86e63950c6762

3 years agoDSDisplayDeviceHWC: register the acquirable buffer 08/242008/1
SooChan Lim [Thu, 20 Aug 2020 23:39:07 +0000 (08:39 +0900)]
DSDisplayDeviceHWC: register the acquirable buffer

Register the acquirable buffer and write the value to event fd.

Change-Id: I8bea0e945fbcfd7cea5ef110b154189f01b86346

3 years agoDSBuffer: add registerCallbackAcquirable function 07/242007/1
SooChan Lim [Thu, 20 Aug 2020 23:23:54 +0000 (08:23 +0900)]
DSBuffer: add registerCallbackAcquirable function

call a callback function when the DSBufferQueue can aquire

Change-Id: I89672b5c7f6b160c1198b52c76e3c2013edcf803

3 years agoDSDisplayDeviceHWC: make event_fd and add it to fd handler. 06/242006/1
SooChan Lim [Thu, 20 Aug 2020 23:34:03 +0000 (08:34 +0900)]
DSDisplayDeviceHWC: make event_fd and add it to fd handler.

Make a event_fd in order to notify the acquirable buffer from buffer queue.
The process needs to wake up when the buffer queue prepare the acquirable buffer.
In order that, DSDisplayDeviceHWCWindowTDMTargetImpl create the event fd and track
it to wake up the process.

Change-Id: I8e650ed45583abda87e9f8ebd86a6ac2e0784628

3 years agoDSWaylandRegion: add skeleton codes for create wl_region 11/241911/1 accepted/tizen/unified/20200826.133051 submit/tizen/20200821.011208
jeon [Thu, 20 Aug 2020 09:35:17 +0000 (18:35 +0900)]
DSWaylandRegion: add skeleton codes for create wl_region

Change-Id: I7d1c55392df451612ea667f6b44ed80d234f0e73

3 years agoadd code to handle focus_skip_set 10/241910/1
Doyoun Kang [Thu, 20 Aug 2020 10:36:21 +0000 (19:36 +0900)]
add code to handle focus_skip_set

Change-Id: I9dfa518f7916681b13534be2d08152026e2fd637

3 years agoDSZone/DSWaylandTizenPolicy/DSWindowManager: add code to handle window stack 09/241909/1
Doyoun Kang [Thu, 20 Aug 2020 09:56:37 +0000 (18:56 +0900)]
DSZone/DSWaylandTizenPolicy/DSWindowManager: add code to handle window stack

Change-Id: Ifa1c05f98050d3f117b9fdeae027feb53b49ef8f

3 years agotests: fix DSWaylandTizenInputDevice-test to use class instancec when it's valid 75/241875/1 accepted/tizen/unified/20200820.213435 submit/tizen/20200820.120357
Sung-Jin Park [Thu, 20 Aug 2020 07:02:43 +0000 (16:02 +0900)]
tests: fix DSWaylandTizenInputDevice-test to use class instancec when it's valid

Change-Id: I69a0cb2195b370895cae014fb5f5319a7acfa21e
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSZone: fix to use waylandCompositor when it's valid 74/241874/1
Sung-Jin Park [Thu, 20 Aug 2020 07:02:12 +0000 (16:02 +0900)]
DSZone: fix to use waylandCompositor when it's valid

Change-Id: I7b995b018865b17ec9e73736b430a9539227e82b
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSWaylandInputPanel: comment on unreachable code 73/241873/1
Sung-Jin Park [Thu, 20 Aug 2020 07:00:43 +0000 (16:00 +0900)]
DSWaylandInputPanel: comment on unreachable code

Change-Id: I9ba546261d3317b04a82144296a7a8d5c8713e7e
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSSeat: renew focus window on window creation/destroy handlers 72/241872/1
Sung-Jin Park [Thu, 20 Aug 2020 06:07:37 +0000 (15:07 +0900)]
DSSeat: renew focus window on window creation/destroy handlers

Change-Id: I88d6a9460a56c847a4cf57983a179449ecaa2b2f
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSTouch: add resetFocus(), fix setFocus() 71/241871/1
Sung-Jin Park [Thu, 20 Aug 2020 06:05:01 +0000 (15:05 +0900)]
DSTouch: add resetFocus(), fix setFocus()

Change-Id: Ie5885f765c44fc88bfbb2d781810729ed2696aa6
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSPointer: add resetFocus() 70/241870/1
Sung-Jin Park [Thu, 20 Aug 2020 06:04:25 +0000 (15:04 +0900)]
DSPointer: add resetFocus()

Change-Id: I6a7e8b1104f92367ba8cefc170b9255886204638
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSKeyboard: add resetFocus(), fix setFocus() and log 69/241869/1
Sung-Jin Park [Thu, 20 Aug 2020 06:03:57 +0000 (15:03 +0900)]
DSKeyboard: add resetFocus(), fix setFocus() and log

Change-Id: I5c76e29b4188a88ca88d89afd670322973de59da
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSWaylandTouch: add resetFocus() 68/241868/1
Sung-Jin Park [Thu, 20 Aug 2020 06:01:57 +0000 (15:01 +0900)]
DSWaylandTouch: add resetFocus()

Change-Id: Ief2ca9ead908778c2ec65e55efb022826e027c2b
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSWaylandPointer: add resetFocus() 67/241867/1
Sung-Jin Park [Thu, 20 Aug 2020 06:01:36 +0000 (15:01 +0900)]
DSWaylandPointer: add resetFocus()

Change-Id: I91ff2e65678b3c10a8e30fa3fa1c0cfe8b74a092
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSWaylandKeyboard: add resetFocus() 66/241866/1
Sung-Jin Park [Thu, 20 Aug 2020 06:01:01 +0000 (15:01 +0900)]
DSWaylandKeyboard: add resetFocus()

Change-Id: I4bb3fbb00fd297762daeed0671cf0b3200f2aed1
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSZone: add registerCallbackWindowDestroy() 65/241865/1
Sung-Jin Park [Thu, 20 Aug 2020 05:59:50 +0000 (14:59 +0900)]
DSZone: add registerCallbackWindowDestroy()

Change-Id: Ie2887d8700ce481bfd6f6c04cb4a5c9d443a3874
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSDebug: fix to print 'domain' before the funtion name 64/241864/1
Sung-Jin Park [Thu, 20 Aug 2020 05:58:40 +0000 (14:58 +0900)]
DSDebug: fix to print 'domain' before the funtion name

Change-Id: I1fcfdad9d29980c7017e02bd067dba32cd7b9fbe
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSWaylandTizenAppInfo: set Resource handle for event 63/241863/1
jeon [Wed, 19 Aug 2020 12:59:20 +0000 (21:59 +0900)]
DSWaylandTizenAppInfo: set Resource handle for event

Change-Id: I186bcf883839386acba358986091961f8b8cbd82

3 years agoadd code to handle geometry 62/241862/1
Doyoun Kang [Thu, 20 Aug 2020 00:55:19 +0000 (09:55 +0900)]
add code to handle geometry

- DSWindowManager / DSZone / DSWindowShell / DSWindow : add code to handle position/size
- TizenPolicy : add list for tizen_position
- TizenPosition : implement set function
- ZxdgSurface : implement set_window_geometry function

Change-Id: I464017642e31eca791a36b131dab6ff8688acf6f

3 years agotests: add null ptr check on DSWaylandTizenInputDeviceManager-test 61/241861/1
Sung-Jin Park [Wed, 19 Aug 2020 06:39:40 +0000 (15:39 +0900)]
tests: add null ptr check on DSWaylandTizenInputDeviceManager-test

Change-Id: Iaa26b683c3ed9e7798ad82dd9aedf0e73921b643
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSBuffer: initialize member varable, add null ptr check @ constructor 60/241860/1
Sung-Jin Park [Wed, 19 Aug 2020 06:26:55 +0000 (15:26 +0900)]
DSBuffer: initialize member varable, add null ptr check @ constructor

Change-Id: I9c3a940533041424c38d72611947f63347175c64
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSWaylandInputPanel: disable unreachable code 59/241859/1
Sung-Jin Park [Wed, 19 Aug 2020 06:25:54 +0000 (15:25 +0900)]
DSWaylandInputPanel: disable unreachable code

Change-Id: I1c1ee9e3dedee034969c769d6275e2bc428244d2
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSWaylandInputMethod: initialize member variable @ constructor 58/241858/1
Sung-Jin Park [Wed, 19 Aug 2020 06:23:27 +0000 (15:23 +0900)]
DSWaylandInputMethod: initialize member variable @ constructor

Change-Id: I09193e3bded606217d67b7e2bd71dc4f7072a303
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSCompositor: initialize dsBufferManager @ constructor 57/241857/1
Sung-Jin Park [Wed, 19 Aug 2020 06:20:20 +0000 (15:20 +0900)]
DSCompositor: initialize dsBufferManager @ constructor

Change-Id: I4a48386e5c2aae294ec6501d58c68c2e59e5adf0
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSWaylandCompositor: initialize m_clientCreateListener @ constructor 56/241856/1
Sung-Jin Park [Wed, 19 Aug 2020 05:56:09 +0000 (14:56 +0900)]
DSWaylandCompositor: initialize m_clientCreateListener @ constructor

Change-Id: I054886f3fbc90c102b70d2f24e3e3314b54e7a47
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSWaylandOutput: initialize member variables @ constructor 55/241855/1
Sung-Jin Park [Wed, 19 Aug 2020 05:55:13 +0000 (14:55 +0900)]
DSWaylandOutput: initialize member variables @ constructor

Change-Id: Ic3bb02ea09a10a2aa6b40e2cf8624ec24f885f9e
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSZone: add null check for waylandCompositor variable 54/241854/1
Sung-Jin Park [Wed, 19 Aug 2020 05:54:02 +0000 (14:54 +0900)]
DSZone: add null check for waylandCompositor variable

Change-Id: I7883a7d0054a0aaf756b48b0d073071a56c24e96
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agolibds-mock: initialize member variables and add exception code @ constructor of MockW... 53/241853/1
Sung-Jin Park [Wed, 19 Aug 2020 04:12:56 +0000 (13:12 +0900)]
libds-mock: initialize member variables and add exception code @ constructor of MockWaylandCompositor

Change-Id: I7ac66ef93fce9a08b3e5bbacd48079c7b44e00f5
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agotests: initialize member variables @ constuctor of TestZone class 52/241852/1
Sung-Jin Park [Wed, 19 Aug 2020 04:12:05 +0000 (13:12 +0900)]
tests: initialize member variables @ constuctor of TestZone class

Change-Id: Ib2165f55d4e5a14b05c85fc7274831803fea1678
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSWaylandZxdg*: initialize member variables @ constructor 51/241851/1
Sung-Jin Park [Wed, 19 Aug 2020 04:10:23 +0000 (13:10 +0900)]
DSWaylandZxdg*: initialize member variables @ constructor

Change-Id: Ic8f3026caa343df75042c4d967e2159f1a24f9f4
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSWaylandSurface: initialize member variables @ constructor 50/241850/1
Sung-Jin Park [Wed, 19 Aug 2020 04:09:23 +0000 (13:09 +0900)]
DSWaylandSurface: initialize member variables @ constructor

Change-Id: I30852908d86dabd6a7f038248ac393035e0c13fa
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSBuffer: intialize member variable @ DSBufferTBMImpl() 49/241849/1
Sung-Jin Park [Wed, 19 Aug 2020 04:08:07 +0000 (13:08 +0900)]
DSBuffer: intialize member variable @ DSBufferTBMImpl()

Change-Id: Id3ca531f9d32ab049058744a35b255605fe7e1ca
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSSeat: fix build warning, getTopWindowOnPosition() to return value properly 48/241848/1
Sung-Jin Park [Wed, 19 Aug 2020 03:58:28 +0000 (12:58 +0900)]
DSSeat: fix build warning, getTopWindowOnPosition() to return value properly

Change-Id: I8b8c9072f8a7e6c7eb91968f58f5e5744e58b36f
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoadd gcov option for checking code coverage 47/241847/1
Junkyeong Kim [Wed, 19 Aug 2020 04:18:51 +0000 (13:18 +0900)]
add gcov option for checking code coverage

Change-Id: Id3eebafe701c46bb08ec11949c00a79ee0330640
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
3 years agotests: fix the build warning 46/241846/1
SooChan Lim [Wed, 19 Aug 2020 03:59:24 +0000 (12:59 +0900)]
tests: fix the build warning

Change-Id: I58d14fad2ed0ef346e79705f0df239c19c577a79

3 years agosamples: change the comments on exampleCompositor 45/241845/1
SooChan Lim [Wed, 19 Aug 2020 03:49:22 +0000 (12:49 +0900)]
samples: change the comments on exampleCompositor

Change-Id: I82dfa3b0fd5f59d2c2bc01f05680bd19cc45ca3f

3 years agoDSDisplayArea: Change the default renderer to DaliRenderEngine. 44/241844/1
Joonbum Ko [Fri, 14 Aug 2020 04:48:14 +0000 (13:48 +0900)]
DSDisplayArea: Change the default renderer to DaliRenderEngine.

Change-Id: Ibf93fb8ea83cfebb3580bbfb479b5efe35be629e
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
3 years agoadd sample code to handle request (set title) 43/241843/1
Doyoun Kang [Tue, 18 Aug 2020 07:36:24 +0000 (16:36 +0900)]
add sample code to handle request (set title)

Change-Id: I6e95c415675585ea4188df166644610413d6298d

3 years agoDSWindowManager: add register/unregister zone/surface 42/241842/1
Doyoun Kang [Tue, 18 Aug 2020 07:31:35 +0000 (16:31 +0900)]
DSWindowManager: add register/unregister zone/surface

Change-Id: I0993c30c11572ece50df11c620974f1cb51e8352

3 years agoDSWaylandTouch: fix crash at the constructor and setFocus() 41/241841/1
Sung-Jin Park [Tue, 18 Aug 2020 07:28:56 +0000 (16:28 +0900)]
DSWaylandTouch: fix crash at the constructor and setFocus()

Change-Id: I6406ab69856a7c21467ee11888edf122f27e9f7a
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSWaylandPointer: fix crash at the constructor and setFocus() 40/241840/1
Sung-Jin Park [Tue, 18 Aug 2020 07:25:56 +0000 (16:25 +0900)]
DSWaylandPointer: fix crash at the constructor and setFocus()

Change-Id: Iaa6352dc3e4f391fa2135085dc3552afc981678e
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSWaylandSurface: add hasResource() to check validity of a DSWaylandSurface instance 39/241839/1
Sung-Jin Park [Tue, 18 Aug 2020 05:35:22 +0000 (14:35 +0900)]
DSWaylandSurface: add hasResource() to check validity of a DSWaylandSurface instance

Change-Id: I2131ca2f173a2e2a6e43f1ad1560d94cb3920b50
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSWaylandKeyboard: fix to initialze member variable properly, add exception handling... 38/241838/1
Sung-Jin Park [Tue, 18 Aug 2020 05:32:46 +0000 (14:32 +0900)]
DSWaylandKeyboard: fix to initialze member variable properly, add exception handling on setFocus()

Change-Id: I20211a9be278d73bd21baacb230704f347711040
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSRenderEngineDaliImpl: set default value of __needToRender to 'true' 37/241837/1
Joonbum Ko [Tue, 18 Aug 2020 05:24:23 +0000 (14:24 +0900)]
DSRenderEngineDaliImpl: set default value of __needToRender to 'true'

Change-Id: I9078b360b1308fe39145f0d509456209550c6e0c
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
3 years agoDSSeat: get Top Window on x, y coordinates and set it as a focus window for touch... 36/241836/1
Sung-Jin Park [Sat, 15 Aug 2020 06:40:03 +0000 (15:40 +0900)]
DSSeat: get Top Window on x, y coordinates and set it as a focus window for touch/pointer

Change-Id: I45e4bdae90b3f7cd9a50b50f69853aab7765a62a
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSPointer: implement mouseDown/Move/Up/In/Out event handler 35/241835/1
Sung-Jin Park [Sat, 15 Aug 2020 06:38:42 +0000 (15:38 +0900)]
DSPointer: implement mouseDown/Move/Up/In/Out event handler

Change-Id: I8221adc5b1357ca97e75a0f29776aa13e022a7ae
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSWaylandPointer: add set/getFocus(), send event APIs 34/241834/1
Sung-Jin Park [Fri, 14 Aug 2020 11:51:50 +0000 (20:51 +0900)]
DSWaylandPointer: add set/getFocus(), send event APIs

Change-Id: I056f8ab50aa47cd173850dad47218579e99c2ab5
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSSeat: setCurrentEventTime for pointer event 33/241833/1
Sung-Jin Park [Fri, 14 Aug 2020 11:50:23 +0000 (20:50 +0900)]
DSSeat: setCurrentEventTime for pointer event

Change-Id: I40347f8c6a76844a045a5651cb3a06276159277f
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSTouch: add touchDown/Up/Move APIs 32/241832/1
Sung-Jin Park [Fri, 14 Aug 2020 10:55:53 +0000 (19:55 +0900)]
DSTouch: add touchDown/Up/Move APIs

Change-Id: I72c4413e76f2d9b99a7236cfffec4bc21b416b77
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSWaylandTouch: implment send touchDown/Up/Move events to touch focus client 31/241831/1
Sung-Jin Park [Fri, 14 Aug 2020 10:54:40 +0000 (19:54 +0900)]
DSWaylandTouch: implment send touchDown/Up/Move events to touch focus client

Change-Id: I7dab84ca478c3486702ba807c3790cf31920803a
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSSeat: remove unnecessary log for touch event handler 30/241830/1
Sung-Jin Park [Wed, 12 Aug 2020 12:55:54 +0000 (21:55 +0900)]
DSSeat: remove unnecessary log for touch event handler

Change-Id: I25cc6e6025131c5f5656ccc8ad5e5c44c74d5b22
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSInput: add/get timestamp for pointer/touch events propagation 29/241829/1
Sung-Jin Park [Wed, 12 Aug 2020 12:55:06 +0000 (21:55 +0900)]
DSInput: add/get timestamp for pointer/touch events propagation

Change-Id: Icc4e167ba5be37e504cf574e855de087120163c6
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoDSRenderEngineDaliImpl: Make it to render only when RenderView updated. 28/241828/1
Joonbum Ko [Fri, 14 Aug 2020 04:15:15 +0000 (13:15 +0900)]
DSRenderEngineDaliImpl: Make it to render only when RenderView updated.

 - The ecore_evas renderer has a function to check if there is
  an updated evas object.
   Therefore, even if ecore_evas_manual_render is called each idle time,
  it does not actually render if nothing has been updated.
 - On the other hand, if DALi calls RenderOnce whenever idle time,
  there is an overhead of waking up the render thread
  even if there is nothing to draw.

 - Since the RenderEngine does not have a RenderView,
  it is difficult for the RenderEngine to know whether
  the RenderView has been updated.
   Therefore, DSRenderEngineDaliImpl inherits DSObject,
  and it is modified to register BufferChanged callback
  in DSWindow received at the time of makeRenderView call.

 - When BufferChanged callback is called,
  private member __needToRender is made true.
 - Even if renderFrame is called, RenderOnce is called only
  when __needToRender is true,
  and __needToRender is changed to false immediately after that.

 - This modification can be revised back
  if it is possible to change to a better structure.

Change-Id: I5717abee1bd4819abf9629892ccb8843a4f6a209
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
3 years agoDSRenderViewDaliImpl: Fix wrong wording. 27/241827/1
Joonbum Ko [Thu, 13 Aug 2020 10:56:02 +0000 (19:56 +0900)]
DSRenderViewDaliImpl: Fix wrong wording.

Change-Id: I3f8205a54e3c9ecff752bbebbc87eadb9371cafb
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
3 years agoDSWaylandInputPanel: add methods for control input_panel window 26/241826/1
jeon [Fri, 14 Aug 2020 06:09:06 +0000 (15:09 +0900)]
DSWaylandInputPanel: add methods for control input_panel window

Change-Id: Id513347571867882061d3f4b48befcffdafad12b

3 years agoDSWindowManager: initial code for DSWindowManager Class 25/241825/1
Doyoun Kang [Fri, 14 Aug 2020 07:31:47 +0000 (16:31 +0900)]
DSWindowManager: initial code for DSWindowManager Class

Change-Id: I90e9ac5ae820c9e333db73bb16efc34501566d32

3 years agoDSWaylandZxdg: code cleanup (indentation) 24/241824/1
Doyoun Kang [Fri, 14 Aug 2020 04:09:52 +0000 (13:09 +0900)]
DSWaylandZxdg: code cleanup (indentation)

Change-Id: I001a07ba51ab2d9387786144066e99605b561187

3 years agoDSWindow: remove buffer size checking code in commit callback 23/241823/1
Doyoun Kang [Fri, 14 Aug 2020 03:57:48 +0000 (12:57 +0900)]
DSWindow: remove buffer size checking code in commit callback

Change-Id: I9ba3460c38dfda8a2ebdacc48aefb3a6c29cb885

3 years agoDSZone: add code to release DSWaylandSurface 22/241822/1
Doyoun Kang [Fri, 14 Aug 2020 03:53:51 +0000 (12:53 +0900)]
DSZone: add code to release DSWaylandSurface

Change-Id: I7344bd0bb03e01c491f951b8b4b0c300d23e30f5

3 years agoDSWaylandCompositor: support DSWaylandSurface destroy callback function 21/241821/1
Doyoun Kang [Fri, 14 Aug 2020 03:43:28 +0000 (12:43 +0900)]
DSWaylandCompositor: support DSWaylandSurface destroy callback function

Change-Id: I2450874fd4c3a442d941a2f6b0fb8082e86b3ef2

3 years agoDSRenderViewDaliImpl: Implement BufferChanged callback. 20/241820/1
Joonbum Ko [Thu, 13 Aug 2020 07:09:52 +0000 (16:09 +0900)]
DSRenderViewDaliImpl: Implement BufferChanged callback.

Change-Id: I5a0e14340aa91ae2ad1fbf6ffa79a3f35ed3eeca
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>