platform/core/uifw/libds.git
4 years agoDSCore: fix fromWlResource() to get DSWaylandXXX correctly from wl_resource() 73/241773/1
Sung-Jin Park [Mon, 10 Aug 2020 10:00:50 +0000 (19:00 +0900)]
DSCore: fix fromWlResource() to get DSWaylandXXX correctly from wl_resource()

Change-Id: I4d40aa0b88524bee386dd1bee0860ccf7c2a34af
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agotest: remove libds.a 72/241772/1
SooChan Lim [Mon, 10 Aug 2020 09:54:59 +0000 (18:54 +0900)]
test: remove libds.a

Change-Id: I9d3c7ac4053e5bb92f2fc32839f9fbd3f3f5ee34

4 years agoIDSWaylandShell: add Interface class for Shell and ShellSurface 71/241771/1
Doyoun Kang [Mon, 10 Aug 2020 08:34:29 +0000 (17:34 +0900)]
IDSWaylandShell: add Interface class for Shell and ShellSurface

- IDSWaylandShell
: implemented by zxdg_shell_v6, zxdg_shell_v5, etc.
- IDSWaylandShellSurface
: implemented by zxdg_surface, zxdg_shell_v5, etc.

Change-Id: Ia6f14a34b06a879dfb966f6fb92ba28ce389b69d

4 years agoDSTizenAppinfo/DSTizenAppinfoMgr: add new classes and test codes 70/241770/1
Duna Oh [Fri, 7 Aug 2020 06:36:48 +0000 (15:36 +0900)]
DSTizenAppinfo/DSTizenAppinfoMgr: add new classes and test codes

Change-Id: I26c4a6a5e158daab32c1de9ae5e0854d31cb9cfb

4 years agoDSWaylandTizenPosition: add skeleton code 69/241769/1
Doyoun Kang [Mon, 10 Aug 2020 05:37:33 +0000 (14:37 +0900)]
DSWaylandTizenPosition: add skeleton code

Change-Id: Icd4b3b8d26c66f2af29acde6f9ac1a8ce2acff72

4 years agoDSOutput: create DSWaylandOutput object after IDSDisplayDeviceOutput sets the mode. 68/241768/1
SooChan Lim [Sun, 9 Aug 2020 04:33:20 +0000 (13:33 +0900)]
DSOutput: create DSWaylandOutput object after IDSDisplayDeviceOutput sets the mode.

Change-Id: I742344d68185a87ea5b88cde483e17cb9149e408

4 years agoDSDisplayDevice: add get functions. 67/241767/1
SooChan Lim [Sun, 9 Aug 2020 04:32:05 +0000 (13:32 +0900)]
DSDisplayDevice: add get functions.

add getRefreshRate(), getName() functions

Change-Id: I18b3dcba30f15ab0c8babb64e9bd3328151f8ea1

4 years agosamples: use xdg shell at samples 66/241766/1
SooChan Lim [Sun, 9 Aug 2020 04:31:05 +0000 (13:31 +0900)]
samples: use xdg shell at samples

Change-Id: Iabe2a0793bb0e9565c0e25b13971bfdb508e3734

4 years agoDSRenderEngineDaliImpl-test: Temporarily disabled all tests. 65/241765/1
Joonbum Ko [Thu, 6 Aug 2020 01:10:11 +0000 (10:10 +0900)]
DSRenderEngineDaliImpl-test: Temporarily disabled all tests.

Change-Id: I0b789997998a2513c871e5e31dca50a184026b2e
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
4 years agoDSDebug: add code to print line number 64/241764/1
Doyoun Kang [Sun, 9 Aug 2020 05:28:19 +0000 (14:28 +0900)]
DSDebug: add code to print line number

Change-Id: Ibbdb6852f991727712183a9dcb07ad72a5e9661c

4 years agoDSWaylandInputMethod: process wl_input_method_context requests 63/241763/1
jeon [Fri, 7 Aug 2020 11:01:44 +0000 (20:01 +0900)]
DSWaylandInputMethod: process wl_input_method_context requests

Change-Id: I16e146c3d5cce0a004e462a4bfa16cd4d44bbb2f

4 years agoimplementation DSWaylandOutput 62/241762/1
Junkyeong Kim [Thu, 6 Aug 2020 08:53:25 +0000 (17:53 +0900)]
implementation DSWaylandOutput

Change-Id: Ibb2002e5dbb54af83c6ac646703b4a895d04167a

4 years agoDSWaylandSurface: uses DS_WAYLAND_DEFINE/IMPL_FROM_RESOURCE macros to provide fromRes... 61/241761/1
Sung-Jin Park [Fri, 7 Aug 2020 08:00:33 +0000 (17:00 +0900)]
DSWaylandSurface: uses DS_WAYLAND_DEFINE/IMPL_FROM_RESOURCE macros to provide fromResource()

Change-Id: Ied93d0dbee747f7a7ea3bd26c2e6d37c34712468
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoDSCore: adds macros to get the pointer of DSWaylandXXX from wl_resource 60/241760/1
Sung-Jin Park [Fri, 7 Aug 2020 07:59:12 +0000 (16:59 +0900)]
DSCore: adds macros to get the pointer of DSWaylandXXX from wl_resource

Change-Id: I32d2462a70625d1572b3e28285a2ab8d3564e7ca
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoDSSeat: fix to set DSWaylandKeyboard/Pointer/Touch to DSKeyboard/Pointer/Touch 59/241759/1
Sung-Jin Park [Thu, 6 Aug 2020 09:35:52 +0000 (18:35 +0900)]
DSSeat: fix to set DSWaylandKeyboard/Pointer/Touch to DSKeyboard/Pointer/Touch

Change-Id: I37dc46fd44a94db1b5b1b823e4ff416655d21704
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoexampleClient: fix not to destroy wl_surface 58/241758/1
Sung-Jin Park [Thu, 6 Aug 2020 09:33:55 +0000 (18:33 +0900)]
exampleClient: fix not to destroy wl_surface

Change-Id: I169c1f69fae32ad62608bd0ca24e9273bdda1d71
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoDSRenderViewEcoreEvasImpl: register BufferChanged instead of SizeChanged 57/241757/1
SooChan Lim [Thu, 6 Aug 2020 08:36:43 +0000 (17:36 +0900)]
DSRenderViewEcoreEvasImpl: register BufferChanged instead of SizeChanged

Change-Id: I9a7ea3b7f8c4e2c044b64f588ee3e80a924000e3

4 years agoDSRenderViewDaliImpl: register BufferChanged instead of SizeChanged. 56/241756/1
SooChan Lim [Thu, 6 Aug 2020 08:36:09 +0000 (17:36 +0900)]
DSRenderViewDaliImpl: register BufferChanged instead of SizeChanged.

Change-Id: I826d6598c57c128faa84bafd5cf3c2987f03ab08

4 years agoDSWindow: add registerCallbackBufferChanged function 55/241755/1
SooChan Lim [Thu, 6 Aug 2020 08:35:15 +0000 (17:35 +0900)]
DSWindow: add registerCallbackBufferChanged function

Change-Id: If75029b9ee94c920e5c04046ccdf3f6020697652

4 years agoDSDisplayArea: do HWC Commit and renderFrame at Idle handler of main loop 54/241754/1
SooChan Lim [Thu, 6 Aug 2020 08:32:44 +0000 (17:32 +0900)]
DSDisplayArea: do HWC Commit and renderFrame at Idle handler of main loop

Change-Id: I570d731ffe62f487e99ed78f44bfab0b9687eea5

4 years agosamples: make the wayland rendering sample without wl_shell 53/241753/1
SooChan Lim [Thu, 6 Aug 2020 07:08:15 +0000 (16:08 +0900)]
samples: make the wayland rendering sample without wl_shell

Change-Id: I221441092b21d7d63a4b99bbe72d4cdaefb04004

4 years agoDSPolicyArea: attach a zone to the corresponding seat 52/241752/1
Sung-Jin Park [Thu, 6 Aug 2020 08:10:56 +0000 (17:10 +0900)]
DSPolicyArea: attach a zone to the corresponding seat

Change-Id: I5e5a33f5b8f8a7dc9c9adce3d5168085a576be15
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoDSSeat: adds basic APIs and implements input event handlers 51/241751/1
Sung-Jin Park [Thu, 6 Aug 2020 08:08:31 +0000 (17:08 +0900)]
DSSeat: adds basic APIs and implements input event handlers

Change-Id: I43e118be926a504f3b0fef6f929a9593121fb80a
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoDSZone: modify code to create DSWindowShell on surfaceCreate callback 50/241750/1
Doyoun Kang [Thu, 6 Aug 2020 07:11:16 +0000 (16:11 +0900)]
DSZone: modify code to create DSWindowShell on surfaceCreate callback

Change-Id: I84dffe95a49deb251c0bf5cce58a685c7e62a9c3

4 years agoDSRenderViewEcoreEvasImpl: add __onWindowSizeChanged callback function 49/241749/1
SooChan Lim [Thu, 6 Aug 2020 05:42:30 +0000 (14:42 +0900)]
DSRenderViewEcoreEvasImpl: add __onWindowSizeChanged callback function

which is registered at registerCallbackSizeChanged function of DSWindow

Change-Id: I203487ce26fae832d15836b57472e322874c74c0

4 years agoDSRenderViewDaliImpl: add __onWindowSizeChanged callback function 48/241748/1
SooChan Lim [Thu, 6 Aug 2020 05:37:21 +0000 (14:37 +0900)]
DSRenderViewDaliImpl: add __onWindowSizeChanged callback function

which is registered at registerCallbackSizeChanged function of DSWindow

Change-Id: Iafe0c701ab567b4f533d41cd2f1099b6609a72ec

4 years agoDSWaylandServer: add processEvent(), set/getFocus() in DSPointer/DSKeyboard/DSTouch... 47/241747/1
Sung-Jin Park [Wed, 5 Aug 2020 11:49:08 +0000 (20:49 +0900)]
DSWaylandServer: add processEvent(), set/getFocus() in DSPointer/DSKeyboard/DSTouch class

Change-Id: Ie0abbaab240d2c9a8e0a4b3e0c92573d293b55e6
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoDSWaylandTextInput: process wl_text_input requests 46/241746/1
jeon [Wed, 5 Aug 2020 12:13:48 +0000 (21:13 +0900)]
DSWaylandTextInput: process wl_text_input requests

Change-Id: I09abdbf918ad316a20d36163cc7778633559fbe4

4 years agoDelete eldbus dependency. 45/241745/1
Joonbum Ko [Wed, 5 Aug 2020 09:04:11 +0000 (18:04 +0900)]
Delete eldbus dependency.

Change-Id: I458377826e51df848e4c8e572cbfaa5a2152d746
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
4 years agoDSRenderEngineDaliImpl: Changed default bg color to TRANSPARENT. 44/241744/1
Joonbum Ko [Wed, 5 Aug 2020 06:31:05 +0000 (15:31 +0900)]
DSRenderEngineDaliImpl: Changed default bg color to TRANSPARENT.

Change-Id: I42f5c4b075ee4c4b66d818c73bcbfb9313cfb942
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
4 years agoDSRenderEngineDaliImpl: Added properties to actor. 43/241743/1
Joonbum Ko [Wed, 5 Aug 2020 06:30:16 +0000 (15:30 +0900)]
DSRenderEngineDaliImpl: Added properties to actor.

Change-Id: Ic5b7cb40c03baf052bbc2ef9f6398bcef909b6a5
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
4 years agoDSRenderEngineDaliImpl-test: Set color value to the correct color index 42/241742/1
Joonbum Ko [Wed, 5 Aug 2020 06:28:44 +0000 (15:28 +0900)]
DSRenderEngineDaliImpl-test: Set color value to the correct color index

Change-Id: I25f3ace0e5d564b01805a5a729dd0609ae68fb76
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
4 years agoDSRenderEngineDaliImpl-test: Give time sleep to wait to call eglSwapBuffers. 41/241741/1
Joonbum Ko [Tue, 4 Aug 2020 01:59:24 +0000 (10:59 +0900)]
DSRenderEngineDaliImpl-test: Give time sleep to wait to call eglSwapBuffers.

 - It is temporary patch for testing it. so, it will be deprecated.

Change-Id: If56bf95713377a36be0192c626c8f1027282891d
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
4 years agoAdd eldbus dependency for testing. 40/241740/1
Joonbum Ko [Fri, 31 Jul 2020 08:36:09 +0000 (17:36 +0900)]
Add eldbus dependency for testing.

Change-Id: I57389ee0e0bd14c09367dedd048b728c77ba24ac
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
4 years agoDSRenderEngineDaliImpl-test: Add a TC to test texture mapping. 39/241739/1
Joonbum Ko [Fri, 31 Jul 2020 06:25:24 +0000 (15:25 +0900)]
DSRenderEngineDaliImpl-test: Add a TC to test texture mapping.

Change-Id: I97fcf518b9ea0cbd3c2a60655e524d6dd5fd516f
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
4 years agoDSRenderEngineDaliImpl-test: Add DSEventLoop to test dali renderer. 38/241738/1
Joonbum Ko [Thu, 30 Jul 2020 07:47:39 +0000 (16:47 +0900)]
DSRenderEngineDaliImpl-test: Add DSEventLoop to test dali renderer.

Change-Id: I7d0a35c6b3ec57a7faa2240eb9a02df8334a301f
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
4 years agoDSRenderViewDaliImpl: Implemented initial dali render view. 37/241737/1
Joonbum Ko [Thu, 30 Jul 2020 07:43:27 +0000 (16:43 +0900)]
DSRenderViewDaliImpl: Implemented initial dali render view.

Change-Id: I2962cfa9cec012f46c57006c7ea36ca53840a18a
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
4 years agoImplemented initial phase to use dali render engine. 36/241736/1
Joonbum Ko [Mon, 27 Jul 2020 11:44:28 +0000 (20:44 +0900)]
Implemented initial phase to use dali render engine.

Change-Id: I8456a0573aa17933f3666ccc40bde3cc8b45f968
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
4 years agoAdd build dependencies to use dali libs. 35/241735/1
Joonbum Ko [Tue, 28 Jul 2020 11:46:32 +0000 (20:46 +0900)]
Add build dependencies to use dali libs.

Change-Id: I05a09166de68211cff88c201d8c0ff4770da5bf6
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
4 years agoDSWaylandServer: add getFocus()/setFocus() APIs for DSWaylandPointer/Keyboard/Touch 34/241734/1
Sung-Jin Park [Wed, 5 Aug 2020 05:24:53 +0000 (14:24 +0900)]
DSWaylandServer: add getFocus()/setFocus() APIs for DSWaylandPointer/Keyboard/Touch

Change-Id: I2ab9eac5d708a906acd8ef0c44c375d169555a7f
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoDSWaylandSeat: add APIs (getName/getPointer/getKeyboard/getTouch) 33/241733/1
Sung-Jin Park [Wed, 5 Aug 2020 05:23:09 +0000 (14:23 +0900)]
DSWaylandSeat: add APIs (getName/getPointer/getKeyboard/getTouch)

Change-Id: I98c9acfeda2dda7fdec3add446ac0d48aa3f4894
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoDSInput: fix print() to leave log with DSLOG_INF() 32/241732/1
Sung-Jin Park [Wed, 5 Aug 2020 01:41:54 +0000 (10:41 +0900)]
DSInput: fix print() to leave log with DSLOG_INF()

Change-Id: I7fc012304253843352cbeeef13f9bd6fb343be41
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoDSWaylandSurface: add checking client attach null buffer 31/241731/1
Changyeon Lee [Wed, 5 Aug 2020 04:46:10 +0000 (13:46 +0900)]
DSWaylandSurface: add checking client attach null buffer

Change-Id: I6e03e7390c6a8fb7cd6a2334e6edfabf4ab4f164

4 years agoDSWaylandExtension: change log level in init() 30/241730/1
Doyoun Kang [Wed, 5 Aug 2020 00:33:09 +0000 (09:33 +0900)]
DSWaylandExtension: change log level in init()

Change-Id: I84e24c8aac3f95177dff8fbf9cbf9a9941ca3239

4 years agoDSZone: remove unnecessary header file 29/241729/1
Doyoun Kang [Wed, 5 Aug 2020 00:28:47 +0000 (09:28 +0900)]
DSZone: remove unnecessary header file

Change-Id: I9872f0178555ec0c0be18014c1577b0801944023

4 years agoDSWaylandCompositor: add code to initialze DSWaylandExtension 28/241728/1
Doyoun Kang [Tue, 4 Aug 2020 12:56:50 +0000 (21:56 +0900)]
DSWaylandCompositor: add code to initialze DSWaylandExtension

Change-Id: I9645b4d465b85904cfd58a4aa3bae7986f253cb3

4 years agoRevert "DSCompositor: add code to create DSWaylandExtension" 27/241727/1
Doyoun Kang [Tue, 4 Aug 2020 12:46:54 +0000 (21:46 +0900)]
Revert "DSCompositor: add code to create DSWaylandExtension"

This reverts commit 28205782954df472ab10742de453633fbcf39e5b.

Change-Id: I6c2e4f728d7a006ae7610894182984659c7c083d

4 years agoexampleClient: bind tizen_policy 26/241726/1
Doyoun Kang [Tue, 4 Aug 2020 11:59:49 +0000 (20:59 +0900)]
exampleClient: bind tizen_policy

Change-Id: Ie71212eab477528d56a9ead604f20b24e64abbf0

4 years agoDSCompositor: add code to create DSWaylandExtension 25/241725/1
Doyoun Kang [Tue, 4 Aug 2020 11:58:22 +0000 (20:58 +0900)]
DSCompositor: add code to create DSWaylandExtension

Change-Id: I4ca77cfdf79d61d18fce032d192ce1989b2044d8

4 years agoDSBuffer: set XDG_RUNTIME_DIR in test 24/241724/1
Changyeon Lee [Tue, 4 Aug 2020 06:45:19 +0000 (15:45 +0900)]
DSBuffer: set XDG_RUNTIME_DIR in test

Change-Id: I8fc16b45ef51da23cc791a72264438f6d94b5c12

4 years agoDSDisplayDeviceHWCTDMImpl: update frame of target window in commit 23/241723/1
Changyeon Lee [Tue, 4 Aug 2020 06:07:28 +0000 (15:07 +0900)]
DSDisplayDeviceHWCTDMImpl: update frame of target window in commit

Change-Id: I6be02a4c80c9c4e9623ef22d1f2b64e6d8028837

4 years agoIDSDisplayDeviceHWCWindowTDM: add TargetImpl 22/241722/1
Changyeon Lee [Tue, 4 Aug 2020 05:56:59 +0000 (14:56 +0900)]
IDSDisplayDeviceHWCWindowTDM: add TargetImpl

Change-Id: Ibc36905ca15eb3855021f32ec6fbb3ce2a4bfab5

4 years agoIDSDisplayDeviceHWCWindow: add interface about frame update 21/241721/1
Changyeon Lee [Tue, 4 Aug 2020 05:56:34 +0000 (14:56 +0900)]
IDSDisplayDeviceHWCWindow: add interface about frame update

Change-Id: I22f9ced80a40764143bb72f101407ff3b3c4348b

4 years agoDSBufferRef: initalize DSObject ptr 20/241720/1
Changyeon Lee [Tue, 4 Aug 2020 05:36:34 +0000 (14:36 +0900)]
DSBufferRef: initalize DSObject ptr

Change-Id: I58f0dc71133f0d88c970578413905ba879aa4273

4 years agoDSBufferQueueTBMImpl: create IDSBuffer in acquire_buffer 19/241719/1
Changyeon Lee [Tue, 4 Aug 2020 05:31:16 +0000 (14:31 +0900)]
DSBufferQueueTBMImpl: create IDSBuffer in acquire_buffer

tbm_surface of compositor is dequeued in render engine.
so tbm_surface can be acquired even if BufferQueue doesn't dequeue it

Change-Id: I7acbe8dcebebb063bbb977d5402ce96ea2a01a9f

4 years agoDSEventLoop: make registerCallbackIdleEnterer 18/241718/1
SooChan Lim [Tue, 4 Aug 2020 02:27:47 +0000 (11:27 +0900)]
DSEventLoop: make registerCallbackIdleEnterer

Use DSSignal for the idle handler for not using the static callback function.

Change-Id: If010120baaf71a30367a00dfdfa6c3de36d77c9d

4 years agoadd skeleton code for DSWaylandExtension class 17/241717/1
Doyoun Kang [Tue, 4 Aug 2020 04:54:48 +0000 (13:54 +0900)]
add skeleton code for DSWaylandExtension class

Change-Id: I2d308ff205d180bcc64d27725fc1e923d999d610

4 years agoDSWaylandTizenAppinfo: add skeleton codes for tizen_launch_appinfo 16/241716/1
Duna Oh [Mon, 3 Aug 2020 02:55:23 +0000 (11:55 +0900)]
DSWaylandTizenAppinfo: add skeleton codes for tizen_launch_appinfo

Change-Id: I8d1e3af8e939fd9314b18fdd621a0326be12b42f

4 years agoDSTextInput: create DSTextInput class to connect classes for ISF 15/241715/1
jeon [Fri, 31 Jul 2020 12:16:11 +0000 (21:16 +0900)]
DSTextInput: create DSTextInput class to connect classes for ISF

Change-Id: I71ad5b861cce2f65ae91068f0d1850e5b9bff058

4 years agoDSWindow : add onSurfaceCommitted callback funtion 14/241714/1
SooChan Lim [Sun, 2 Aug 2020 11:55:05 +0000 (20:55 +0900)]
DSWindow : add onSurfaceCommitted callback funtion

Change-Id: I964779023645b047e271a807ca47dc98b114476a

4 years agoDSWaylandSurface: get Buffer from CommitInfo 13/241713/1
SooChan Lim [Sun, 2 Aug 2020 11:53:57 +0000 (20:53 +0900)]
DSWaylandSurface: get Buffer from CommitInfo

Change-Id: I11b868b792d6bf85a47fe8186743c4e64a7da68a

4 years agoDSBuffer: add getSize from Buffer 12/241712/1
SooChan Lim [Sun, 2 Aug 2020 11:52:01 +0000 (20:52 +0900)]
DSBuffer: add getSize from Buffer

Change-Id: Icad8dc418720b4e8455f67028a49a7ddfb500105

4 years agoDSEventLoop : make DSEventLoop be singelton 11/241711/1
SooChan Lim [Sun, 2 Aug 2020 07:34:33 +0000 (16:34 +0900)]
DSEventLoop : make DSEventLoop be singelton

Change-Id: I7728a2de0d994db4948dbdb4dbe2ec08dcb9875a

4 years agoDSZone: add getWindowList(), findWindow() to make a relationship between a shell... 10/241710/1
Sung-Jin Park [Fri, 31 Jul 2020 11:43:55 +0000 (20:43 +0900)]
DSZone: add getWindowList(), findWindow() to make a relationship between a shell surface and a window shell instance

Change-Id: I7ca938cde5e75a6d1253a30e2830c7885390cf23
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoDSWindow: add surface() to get DSWaylandSurface pointer 09/241709/1
Sung-Jin Park [Fri, 31 Jul 2020 11:41:53 +0000 (20:41 +0900)]
DSWindow: add surface() to get DSWaylandSurface pointer

Change-Id: I7125478add4d33fecae0d6fb5e535cebd8cc0c9d
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoDSWaylandSurface: add fromWlResource(), getWlResource() 08/241708/1
Sung-Jin Park [Fri, 31 Jul 2020 10:21:44 +0000 (19:21 +0900)]
DSWaylandSurface: add fromWlResource(), getWlResource()

Change-Id: I3107839258ce94d7fb568b72a562070c28cca15f
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoadd code for creating DSWindowShell 07/241707/1
Doyoun Kang [Fri, 31 Jul 2020 04:34:29 +0000 (13:34 +0900)]
add code for creating DSWindowShell

Change-Id: Iee599713cbf61a3c72267bce74c4171b7f99855a

4 years agoDSBufferManager: initialize DSWaylandCompositor 06/241706/1
Changyeon Lee [Fri, 31 Jul 2020 10:14:01 +0000 (19:14 +0900)]
DSBufferManager: initialize DSWaylandCompositor

Change-Id: I9294258542f4d8a1a51d0d7e159b4697f1c74c57

4 years agoDSBuffer: add DSBufferRef class 05/241705/1
Changyeon Lee [Fri, 31 Jul 2020 07:42:26 +0000 (16:42 +0900)]
DSBuffer: add DSBufferRef class

DSBufferRef can reference of DSBuffer.
if reference of DSBuffer is zero, release event of wl_buffer is sent
to client.

Change-Id: Icf3fb96433ef3234533feaec77c0bb6735bd3aee

4 years agoDSBuffer: add DSBufferManager class 04/241704/1
Changyeon Lee [Fri, 31 Jul 2020 07:37:37 +0000 (16:37 +0900)]
DSBuffer: add DSBufferManager class

1. initialize wayland-tbm-server and shm
2. manage wl_resource of wl_buffer and IDSBuffer
3. get IDSBuffer from wl_buffer

Change-Id: I88e88e9a761b48c4982b6e11d0e1ec7a7de30355

4 years agoDSBufferTBMImple: support creating DSBuffer with wl_buffer resouce 03/241703/1
Changyeon Lee [Fri, 31 Jul 2020 07:33:45 +0000 (16:33 +0900)]
DSBufferTBMImple: support creating DSBuffer with wl_buffer resouce

add ref count
add create with wl_buffer resource

Change-Id: Ifc378eea4e1502aa9998461573ad562111d02ed2

4 years agoDSXkb: strdup a result of getenv 02/241702/1
jeon [Fri, 31 Jul 2020 05:57:03 +0000 (14:57 +0900)]
DSXkb: strdup a result of getenv

Change-Id: I5f5ca2abd31f853aa8e50537e130a123048786af

4 years agoDSWindow: add setGeometry() func(s) 01/241701/1
Sung-Jin Park [Fri, 31 Jul 2020 05:39:44 +0000 (14:39 +0900)]
DSWindow: add setGeometry() func(s)

Change-Id: I4c6df59415aa10ad8953ff5eef5c1742baf24256
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoDSDisplayArea: remove setPosition and setSize 00/241700/1
SooChan Lim [Fri, 31 Jul 2020 04:55:09 +0000 (13:55 +0900)]
DSDisplayArea: remove setPosition and setSize

These methods do not support at this time.
The size and position of the DisplayArea is determined by DSOutput.

Change-Id: Ic69ce8fa1e9f593a29e23ce9647450e6d76ec486

4 years agoDSDisplayArea: add __onEventIdleEnterer method 99/241699/1
SooChan Lim [Fri, 31 Jul 2020 03:39:14 +0000 (12:39 +0900)]
DSDisplayArea: add __onEventIdleEnterer method

__onEventIdleEnterer method is called at the idle enterer in DSEventLoop

Change-Id: I204dc463e6b747d28d9ce74a549b3e2e6d459deb

4 years agoDSEventLoop: add addIdleEnterer method 98/241698/1
SooChan Lim [Fri, 31 Jul 2020 03:38:05 +0000 (12:38 +0900)]
DSEventLoop: add addIdleEnterer method

addIdleEnterer is static method in order to use this method anywhere.

Change-Id: Ic82c62caed004c813c6c68913af74f15b644de88

4 years agoDSXkb: Imply xkb to get keyname and update modifiers 97/241697/1
jeon [Thu, 30 Jul 2020 10:46:28 +0000 (19:46 +0900)]
DSXkb: Imply xkb to get keyname and update modifiers

Change-Id: I8f4064428691e949e9447e3894616571eae00900

4 years agoDSDisplayArea: make IDSDisplayDeviceHWCWindow 96/241696/1
SooChan Lim [Thu, 30 Jul 2020 11:50:57 +0000 (20:50 +0900)]
DSDisplayArea: make IDSDisplayDeviceHWCWindow

Change-Id: Ieeb7f8b122d8aadae69bb7baeb5c1bd9c90e78ca

4 years agoTest: add test for DSOutputImpl::getDisplayDeviceOutput 95/241695/1
SooChan Lim [Thu, 30 Jul 2020 11:36:16 +0000 (20:36 +0900)]
Test: add test for DSOutputImpl::getDisplayDeviceOutput

Change-Id: I3fadb8f3fbf19bec4b14e137a29cc7779779053f

4 years agoDSDisplayDevice: DSDisplayDeviceHWCWindow has DSWindow 94/241694/1
SooChan Lim [Thu, 30 Jul 2020 10:34:20 +0000 (19:34 +0900)]
DSDisplayDevice: DSDisplayDeviceHWCWindow has DSWindow

DSDisplayDeviceHWCWindow can get the window information from DSWindow

Change-Id: I1b6f28b1dec4a6f76e4e004ff44deb966bdb3ace

4 years agoDSDisplayArea: add DSRenderView to the list 93/241693/1
SooChan Lim [Thu, 30 Jul 2020 10:24:48 +0000 (19:24 +0900)]
DSDisplayArea: add DSRenderView to the list

Change-Id: I5c64fdcc32b2dab36d15afc00dcaa7989fe74917

4 years agoDSDisplayArea: get the IDisplayDeviceOutput 92/241692/1
SooChan Lim [Thu, 30 Jul 2020 10:15:47 +0000 (19:15 +0900)]
DSDisplayArea: get the IDisplayDeviceOutput

DSDisplayAreaPrivate gets
 - IDSDisplayDeviceOutput from DSOutputImpl
 - IDSDisplayDeivceHWC from IDSDisplayDeviceOutput
 - IDSBufferQueue from IDSDisplayDeivceHWC

Change-Id: Ifb2b7576d425a7639e0441fc52ac110e3a4b4eb6

4 years agoDSOutput: add getDisplayDeviceOutput method 91/241691/1
SooChan Lim [Thu, 30 Jul 2020 10:14:57 +0000 (19:14 +0900)]
DSOutput: add getDisplayDeviceOutput method

Change-Id: Ia9731d22897c2d9addfde2c083b8906a226b8a03

4 years agoDSDisplayArea: store DSZone 90/241690/1
SooChan Lim [Thu, 30 Jul 2020 08:56:40 +0000 (17:56 +0900)]
DSDisplayArea: store DSZone

Change-Id: I7927fcd662ab8174560ad4cf977ac4d888bbb44e

4 years agoDSCanvas : fix the test fail 89/241689/1
SooChan Lim [Thu, 30 Jul 2020 07:02:41 +0000 (16:02 +0900)]
DSCanvas : fix the test fail

Check the __policyArea at attachPolicyArea method

Change-Id: I6bfc8f46528b1b9de21dc9047f92c93ad7687c70

4 years agoDSWindow : create DSWindow with DSWaylandSurface 88/241688/1
SooChan Lim [Thu, 30 Jul 2020 06:41:13 +0000 (15:41 +0900)]
DSWindow : create DSWindow with DSWaylandSurface

DSWindow is associated with DSWaylandSurface.

Change-Id: Ibbeb53b74c8ff0904e0bf2f96f182b0a6dc14b35

4 years agoDSBuffer: add canAquireBuffer method in DSBufferQueue 87/241687/1
SooChan Lim [Thu, 30 Jul 2020 08:12:05 +0000 (17:12 +0900)]
DSBuffer: add canAquireBuffer method in DSBufferQueue

Change-Id: Ic7aab2ea2843725a5d85c6a30c257294069f8b67

4 years agotests: fix DSClient-test not to make a lockup during running libds-tests 86/241686/1
Sung-Jin Park [Thu, 30 Jul 2020 05:54:05 +0000 (14:54 +0900)]
tests: fix DSClient-test not to make a lockup during running libds-tests

Change-Id: Id7bc82e3de5563347c4ebedb3a2bb35c490260a0
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoDSXkb: Add DSXkb class for using xkb keymap 85/241685/1
jeon [Wed, 29 Jul 2020 13:27:29 +0000 (22:27 +0900)]
DSXkb: Add DSXkb class for using xkb keymap

Change-Id: I3a13e44e8168d45f4d5a8634fafad0f3b2f287c9

4 years agoDSPolicyArea: move the DSZone from DSCanvasPrivate to DSPolicyAreaPrivate 84/241684/1
SooChan Lim [Wed, 29 Jul 2020 23:27:09 +0000 (08:27 +0900)]
DSPolicyArea: move the DSZone from DSCanvasPrivate to DSPolicyAreaPrivate

Change-Id: Ic5d391e18888e856db2784a7f6c4d9d8bc17da05

4 years agoDSStruct: add stSize structure 83/241683/1
SooChan Lim [Wed, 29 Jul 2020 23:26:08 +0000 (08:26 +0900)]
DSStruct: add stSize structure

Change-Id: Ieaea009eac15b923540ce7d13a349dfdc72b428e

4 years agoDSDisplayArea: move the DSRenderEngine from DSCanvasPrivate to DSDisplayAreaPrivate 82/241682/1
SooChan Lim [Wed, 29 Jul 2020 02:18:01 +0000 (11:18 +0900)]
DSDisplayArea: move the DSRenderEngine from DSCanvasPrivate to DSDisplayAreaPrivate

Change-Id: If02a695d24518155f921687a53f1a800312558b3

4 years agoDSWaylandTizenIndicator: add implementation of visible state change 81/241681/1
Junseok, Kim [Tue, 28 Jul 2020 12:18:37 +0000 (21:18 +0900)]
DSWaylandTizenIndicator: add implementation of visible state change

Change-Id: I5239d116859d37a470836e1b7c5987795b179e00
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
4 years agoDSCanvas: add registerCallbackWindowCreated and make renderView 80/241680/1
SooChan Lim [Wed, 29 Jul 2020 01:14:16 +0000 (10:14 +0900)]
DSCanvas: add registerCallbackWindowCreated and make renderView

DSCanvas makes DSRenderView when DSZone creates the DSWindow.

Change-Id: Ia9e180b26b45457a8e6c0fd58bbee9353ec534ec

4 years agoTest: fix the crash at DSZoneTest.registerCallbackWindowCreated 79/241679/1
SooChan Lim [Wed, 29 Jul 2020 03:53:09 +0000 (12:53 +0900)]
Test: fix the crash at DSZoneTest.registerCallbackWindowCreated

Change-Id: If7516376623a7c80bb6d6a787312a7e6245a3daf

4 years agoTest: add DSZone::registerCallbackWindowCreated test 78/241678/1
SooChan Lim [Tue, 28 Jul 2020 05:23:42 +0000 (14:23 +0900)]
Test: add DSZone::registerCallbackWindowCreated test

Change-Id: I8be9afd92c693c17816ead059508885c14ea3f75

4 years agoDSZone : add registerCallbackWindowCreated method 77/241677/1
SooChan Lim [Tue, 28 Jul 2020 05:23:14 +0000 (14:23 +0900)]
DSZone : add registerCallbackWindowCreated method

Change-Id: I08b43f97474ba7af8ddc0c083403eabf38fd3b82

4 years agoTest: add default tests for DSWaylandInputPanel and DSWaylandInputPanelSurface 76/241676/1
jeon [Tue, 28 Jul 2020 07:19:55 +0000 (16:19 +0900)]
Test: add default tests for DSWaylandInputPanel and DSWaylandInputPanelSurface

Change-Id: Iaa24d891e27a608eede1702239d7fc1ee97c75e2

4 years agoTest: add default tests for DSWaylandTextInput and DSWaylandTextInputManager 75/241675/1
jeon [Tue, 28 Jul 2020 07:16:00 +0000 (16:16 +0900)]
Test: add default tests for DSWaylandTextInput and DSWaylandTextInputManager

Change-Id: Iaf5f7308da90e20efb5390e0983864f43fce48f8

4 years agoTest: add default tests for DSWaylandInputMethod and DSWaylandInputMethodContext 74/241674/1
jeon [Tue, 28 Jul 2020 07:08:31 +0000 (16:08 +0900)]
Test: add default tests for DSWaylandInputMethod and DSWaylandInputMethodContext

Change-Id: I94f4c9c8a4c57002b1f4e0c0f4d50bb7d4e18042