platform/core/uifw/libds.git
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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

4 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

4 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

4 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

4 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

4 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

4 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>
4 years agoDSRenderEngineDaliImpl-test: Add a new testcase for compositing twe windows. 19/241819/1
Joonbum Ko [Thu, 13 Aug 2020 06:52:44 +0000 (15:52 +0900)]
DSRenderEngineDaliImpl-test: Add a new testcase for compositing twe windows.

 - This test shows a simple compositing of two windows.
 - The first added windowA was created in 500x500 size and red color.
 - The second added windowB was created in 250x250 size and blue color.
 - Since Dali's scene graph traverse method is DFS,
  windowA added first is rendered first,
  and windowB is rendered on top of it.

   ┌─────┬─────┐
   │  B  │     │
   │ blue│  A  │
   ┣─────┘     │
   │    red    │
   │          │
   └───────────┘

Change-Id: I7b0807ebd5e9c4c41983f7830f5041dad700b3d6
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
4 years agoDSRenderEngineDaliImpl-test: Modified to not use unnecessary deviceHWCWindow. 18/241818/1
Joonbum Ko [Thu, 13 Aug 2020 06:18:12 +0000 (15:18 +0900)]
DSRenderEngineDaliImpl-test: Modified to not use unnecessary deviceHWCWindow.

Change-Id: I6a0565c3b619aa9ae058f265bae8136cfb9fbdac
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
4 years agoRevert "DSRenderEngineDaliImpl-test: Temporarily disabled all tests." 17/241817/1
Joonbum Ko [Thu, 13 Aug 2020 05:40:09 +0000 (14:40 +0900)]
Revert "DSRenderEngineDaliImpl-test: Temporarily disabled all tests."

This reverts commit 1fadca5328f955da815c1af354fec22321bb0d4a.

Change-Id: Idcaaf5fa0fcdfe3eeda660c9101d04e3afcaa171

4 years agoDSRenderEngineDaliImpl-test: Change image size to 500x500. 16/241816/1
Joonbum Ko [Thu, 13 Aug 2020 05:37:07 +0000 (14:37 +0900)]
DSRenderEngineDaliImpl-test: Change image size to 500x500.

Change-Id: I7462fc73a4cd9fb29561ce4da7565ba712c89568
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
4 years agoDSRenderEngineDaliImpl-test: Modified to refer to stride when creating tbm_surface. 15/241815/1
Joonbum Ko [Thu, 13 Aug 2020 05:18:33 +0000 (14:18 +0900)]
DSRenderEngineDaliImpl-test: Modified to refer to stride when creating tbm_surface.

 - this commit only affects this test.

Change-Id: I23498cee31735598dddfc6e92fa3e3107bac1cda
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
4 years agoDSWaylandInputPanel: process wl_input_panel_surface requests 14/241814/1
jeon [Tue, 11 Aug 2020 12:24:50 +0000 (21:24 +0900)]
DSWaylandInputPanel: process wl_input_panel_surface requests

Change-Id: I3b73fb98807dc432af91f80b74b3e7bed90893d0

4 years agoDSRenderViewDaliImpl: set the default position to (0, 0, 0). 13/241813/1
Joonbum Ko [Thu, 13 Aug 2020 04:31:16 +0000 (13:31 +0900)]
DSRenderViewDaliImpl: set the default position to (0, 0, 0).

Change-Id: Ife301798923d452e5a9c2e14e7f76ec6847dd266
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
4 years agoDSRenderViewDaliImpl: set the default anchor point of actor to TOP_LEFT. 12/241812/1
Joonbum Ko [Thu, 13 Aug 2020 04:30:43 +0000 (13:30 +0900)]
DSRenderViewDaliImpl: set the default anchor point of actor to TOP_LEFT.

Change-Id: I5a1c5b0b1bd38206a680e6b7a87c4270779d0606
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
4 years agoDSRenderEngineDaliImple: Change to use Start() to fix build error. 11/241811/1
Joonbum Ko [Wed, 12 Aug 2020 11:09:56 +0000 (20:09 +0900)]
DSRenderEngineDaliImple: Change to use Start() to fix build error.

Change-Id: I1cd5adf6ea14c85602dfdfcb6811cb46f931c011
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
4 years agoDSRenderViewDaliImpl: set the size of renderViewActor to buffer size. 10/241810/1
Joonbum Ko [Wed, 12 Aug 2020 10:49:55 +0000 (19:49 +0900)]
DSRenderViewDaliImpl: set the size of renderViewActor to buffer size.

Change-Id: If55b61e699556b8f3f4be3bf9e602ac3e550ba8a
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
4 years agoDSRenderEngineDaliImpl: Set dali render thread mode to MANUAL. 09/241809/1
Joonbum Ko [Wed, 12 Aug 2020 07:41:41 +0000 (16:41 +0900)]
DSRenderEngineDaliImpl: Set dali render thread mode to MANUAL.

 - There are two RenderModes provided by Dali::OffscreenApplication.
   1. AUTO
   2. MANUAL
 - AUTO performs rendering without stopping while
  traversing the Scene Graph even if it is not requested.
 - MANUAL is a mode that basically stops the render thread
  and performs rendering only when there is a render once request.

Change-Id: Iabfc409ff5fdfc8b24ecbc45944e2d7ba8a442b8
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
4 years agoDSRenderEngineDaliImpl: Delete unnecessary Textlabel 08/241808/1
Joonbum Ko [Wed, 12 Aug 2020 06:43:28 +0000 (15:43 +0900)]
DSRenderEngineDaliImpl: Delete unnecessary Textlabel

Change-Id: If7674214fcc1500541bdd25e0fa2f1b0b7d2a7a9
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
4 years agoDSWindow: add APIs for set/get Position 07/241807/1
Doyoun Kang [Thu, 13 Aug 2020 04:42:40 +0000 (13:42 +0900)]
DSWindow: add APIs for set/get Position

Change-Id: I111ee4b32e0f43265d49433f1b2edd063355fe57

4 years agoAdd code send configure event 06/241806/1
Doyoun Kang [Thu, 13 Aug 2020 04:12:58 +0000 (13:12 +0900)]
Add code send configure event

Change-Id: I9447aa24c642d683fce41ab75c555b564abd4136

4 years agoDSWindowShell: add APIs to set/get IDSWaylandShellSurface 05/241805/1
Doyoun Kang [Thu, 13 Aug 2020 03:58:01 +0000 (12:58 +0900)]
DSWindowShell: add APIs to set/get IDSWaylandShellSurface

Change-Id: Ib74dceb66e5c34f5ee79e6f0a12fb5e15c841cb8

4 years agoDSWindow: add API for set/get DSWindowShell 04/241804/1
Doyoun Kang [Thu, 13 Aug 2020 03:44:22 +0000 (12:44 +0900)]
DSWindow: add API for set/get DSWindowShell

Change-Id: Ie8fd7437694604fce63c28e36df5c344ed3e3a41

4 years agoDSWindowShell: add APIs for set/getGeometry 03/241803/1
Doyoun Kang [Thu, 13 Aug 2020 02:46:40 +0000 (11:46 +0900)]
DSWindowShell: add APIs for set/getGeometry

Change-Id: I50f486d4b8fdd81e786214b54af90225e39b1a67

4 years agoDSWindow: change APIs set/getGeometry to set/getSize 02/241802/1
Doyoun Kang [Wed, 12 Aug 2020 11:35:28 +0000 (20:35 +0900)]
DSWindow: change APIs set/getGeometry to set/getSize

Change-Id: I02869e0ce5361b0ee14a15dd3ef46bb4d3d45cd9

4 years agoDSWaylandOutput: add getBaseResolutionFromAppinfo() func to get resolution informatio... 01/241801/1
Duna Oh [Thu, 13 Aug 2020 04:56:06 +0000 (13:56 +0900)]
DSWaylandOutput: add getBaseResolutionFromAppinfo() func to get resolution information from DSTizenAppinfo

Change-Id: Ibc07c1a65af07c8bc4c528cf1d3b65412245ecb6

4 years agoDSTizenAppinfoMgr: change into singleton and add getInstance(),releaseInstance() 00/241800/1
Duna Oh [Thu, 13 Aug 2020 04:51:40 +0000 (13:51 +0900)]
DSTizenAppinfoMgr: change into singleton and add getInstance(),releaseInstance()

Change-Id: Ie7b93ea027785c79d932671d5e4b116361889c71

4 years agoDSWaylandServer: add initializer of m_glovalVersion and m_displayDestroyedListener 99/241799/1
Junseok, Kim [Wed, 12 Aug 2020 12:06:47 +0000 (21:06 +0900)]
DSWaylandServer: add initializer of m_glovalVersion and m_displayDestroyedListener

Added initializer of m_glovalVersion and m_displayDestroyedListener for all dswayland-server classes

Change-Id: Ic4c7fca6653f395a9c491918c0e844852b88e512
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
4 years agoDSWaylandProtocolTrace: add skeleton code with singleton 98/241798/1
dyamy-lee [Tue, 11 Aug 2020 04:51:56 +0000 (13:51 +0900)]
DSWaylandProtocolTrace: add skeleton code with singleton

Change-Id: I795496753aa315bff435c86d16a9c7c254904354

4 years agoDSWaylandServer: fix to use wl_array pointer to following changes of dswayland-server... 97/241797/1
Junseok, Kim [Wed, 12 Aug 2020 08:43:13 +0000 (17:43 +0900)]
DSWaylandServer: fix to use wl_array pointer to following changes of dswayland-server header

Change-Id: If368b1b8bf186ee64e2a3c3970d633a41a6dc8d5
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
4 years agoDSWaylandServer: replace from std::string to wl_array pointer inside of dswayland... 96/241796/1
Junseok, Kim [Wed, 12 Aug 2020 08:42:10 +0000 (17:42 +0900)]
DSWaylandServer: replace from std::string to wl_array pointer inside of dswayland-server code/header files

Change-Id: Ib9c20b6fa76bdb6ae0c6f9c66474f954a14aefb8
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
4 years agoall files: add LICENSE information 95/241795/1
Sung-Jin Park [Wed, 12 Aug 2020 05:50:10 +0000 (14:50 +0900)]
all files: add LICENSE information

Change-Id: I4b4fba3fbcf7bc7820c6506ce057c05e3b9c2d3a
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoDSZone: add code to find DSWindowShell by DSWaylandSurface 94/241794/1
Doyoun Kang [Wed, 12 Aug 2020 03:04:03 +0000 (12:04 +0900)]
DSZone: add code to find DSWindowShell by DSWaylandSurface

Change-Id: Ib063a1203b4b948c066b7a24ffc3289f78527648

4 years agoIDSWaylandShellSurface/ZxdgSurfaceV6: add APIs to set/get DSWaylandSurface 93/241793/1
Doyoun Kang [Wed, 12 Aug 2020 02:54:48 +0000 (11:54 +0900)]
IDSWaylandShellSurface/ZxdgSurfaceV6: add APIs to set/get DSWaylandSurface

Change-Id: I9fb21e442a5d25e61c52d299659671293aaa4eb5

4 years agotests: update tests for DSWaylandCompositor, DSWaylandSeat, DSWaylandKeyboard and... 92/241792/1
Sung-Jin Park [Wed, 12 Aug 2020 01:37:44 +0000 (10:37 +0900)]
tests: update tests for DSWaylandCompositor, DSWaylandSeat, DSWaylandKeyboard and DSKeyboard

Change-Id: Ibe0eca9fbcb0b963eed7194e57374bf32d72f363
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoDSSeat: add getXkb() 91/241791/1
Sung-Jin Park [Wed, 12 Aug 2020 01:38:47 +0000 (10:38 +0900)]
DSSeat: add getXkb()

Change-Id: Ic1f36dff62ac90dd00561838ed99f6abc70c35cb
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoDSSeat: install input event handlers, implement key event propagation 90/241790/1
Sung-Jin Park [Tue, 11 Aug 2020 13:01:00 +0000 (22:01 +0900)]
DSSeat: install input event handlers, implement key event propagation

Change-Id: Ibd077012d85f6a2753076b3362a76e815a95c1cb
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoDSWaylandKeyboard: implements event send functions for wl_keyboard 89/241789/1
Sung-Jin Park [Tue, 11 Aug 2020 12:52:03 +0000 (21:52 +0900)]
DSWaylandKeyboard: implements event send functions for wl_keyboard

Change-Id: I624efe06267cb4f07d07598f265ff42548411f5a
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoDSWaylandSeat: add setXkb()/getXkb()/setCurrentTime()/getCurrentTime() 88/241788/1
Sung-Jin Park [Tue, 11 Aug 2020 12:45:46 +0000 (21:45 +0900)]
DSWaylandSeat: add setXkb()/getXkb()/setCurrentTime()/getCurrentTime()

Change-Id: I116051e624c65f04107924bd3a412eeddecf58e6
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoDSWaylandServer: fix send_enter() of wl_keyboard class 87/241787/1
Sung-Jin Park [Tue, 11 Aug 2020 12:42:08 +0000 (21:42 +0900)]
DSWaylandServer: fix send_enter() of wl_keyboard class

Change-Id: I8ebcbabbc4a863856d97d70a3f0cd4450c6307b8
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoDSWaylandCompositor: add currentTime() 86/241786/1
Sung-Jin Park [Tue, 11 Aug 2020 12:34:04 +0000 (21:34 +0900)]
DSWaylandCompositor: add currentTime()

Change-Id: Iec7f08f6b82ef783312630b2b08ce91f351eb796
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoDSInput: read/add timestamp to input event(s) 85/241785/1
Sung-Jin Park [Tue, 11 Aug 2020 12:24:11 +0000 (21:24 +0900)]
DSInput: read/add timestamp to input event(s)

Change-Id: I858bffbf96554d587d01d2881e9c4249741f5fbf
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoexampleClient: add keyboard repeat info handler, intialize xkb_context 84/241784/1
Sung-Jin Park [Tue, 11 Aug 2020 12:13:27 +0000 (21:13 +0900)]
exampleClient: add keyboard repeat info handler, intialize xkb_context

Change-Id: I873528fc2af4df77def400bf6e61604d32980e27
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoPackaging: add/install LICENSE file 83/241783/1
Sung-Jin Park [Wed, 12 Aug 2020 00:36:16 +0000 (09:36 +0900)]
Packaging: add/install LICENSE file

Change-Id: Ica61d5c03d80b8717556cbaa87e49f07ec36ebc9
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoDSWaylandCompositor: set __shell to be nullptr at constructor 82/241782/1
SooChan Lim [Wed, 12 Aug 2020 00:27:56 +0000 (09:27 +0900)]
DSWaylandCompositor: set __shell to be nullptr at constructor

It fixes a crash at the DSCanvasTest.attachPolicyArea.

Change-Id: Id111166004adbbdf69a929c06baa8e6eb3f9febd

4 years agoDSRender: fix not to call _offscreenApplication.Run() 81/241781/1
Sung-Jin Park [Tue, 11 Aug 2020 23:55:56 +0000 (08:55 +0900)]
DSRender: fix not to call _offscreenApplication.Run()

Change-Id: I809869538013da6c221f3359f8075e0e5bd007bb
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
4 years agoDSZone: add ShellSurfaceCreated callback 80/241780/1
Doyoun Kang [Tue, 11 Aug 2020 06:45:20 +0000 (15:45 +0900)]
DSZone: add ShellSurfaceCreated callback

Change-Id: Iac4fb4ef87121c059364c467623ff98e46e9ad56

4 years agoDSWaylandCompositor: add APIs to set/get IDSWaylandShell 79/241779/1
Doyoun Kang [Tue, 11 Aug 2020 06:17:26 +0000 (15:17 +0900)]
DSWaylandCompositor: add APIs to set/get IDSWaylandShell

Change-Id: Ide80f340df35f8c080dd7d67560b3f32884816d7

4 years agoexampleClient: add code to use zxdg_shell 78/241778/1
Doyoun Kang [Mon, 10 Aug 2020 10:39:54 +0000 (19:39 +0900)]
exampleClient: add code to use zxdg_shell

Change-Id: I2558dc5a0180a73dfacf3fb8c2b13f694ecbd30a

4 years agotest: make tests to be succeeded. 77/241777/1
SooChan Lim [Mon, 10 Aug 2020 10:46:43 +0000 (19:46 +0900)]
test: make tests to be succeeded.

Change-Id: I05a43a096392f04cbd0fba33d8aacbdb6d36c4d2

4 years agoDSCore: put std header files to DSCore.h 76/241776/1
SooChan Lim [Mon, 10 Aug 2020 09:41:07 +0000 (18:41 +0900)]
DSCore: put std header files to DSCore.h

Change-Id: I78dbecc1194c8d299644e732de7fd3a0c5d6e7d6

4 years agoDSTizenAppinfoMgr: fix the crash 75/241775/1
SooChan Lim [Mon, 10 Aug 2020 10:16:50 +0000 (19:16 +0900)]
DSTizenAppinfoMgr: fix the crash

Change-Id: I8d337a7ed08ea0b1eec7daea834fcef6b8e6a819

4 years agoDSTizenAppinfoMgr: print string values instead of std::string object 74/241774/1
SooChan Lim [Mon, 10 Aug 2020 10:15:56 +0000 (19:15 +0900)]
DSTizenAppinfoMgr: print string values instead of std::string object

Change-Id: Id0969296f21b1e12e73903341bb1364d1c95f690

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>