platform/core/uifw/e-mod-tizen-rdp.git
2 years agoMake backup surface to get fast cursor image 28/271428/1
Junkyeong, Kim [Mon, 21 Feb 2022 06:13:47 +0000 (15:13 +0900)]
Make backup surface to get fast cursor image

Backup surface is capture image excepted cursor.
If there is no buffer changed and existed pointer moving only,
can get fast image from backup buffer.
Backup buffer is made when last buffer changed frame_timer handler.

Change-Id: I443782adde6c349570effff39b2c8c4427eaf159

2 years agoExecute frame_timer when called input synchronize event function 20/271420/1
Junkyeong, Kim [Mon, 21 Feb 2022 04:06:55 +0000 (13:06 +0900)]
Execute frame_timer when called input synchronize event function

Change-Id: Iff31864ad67c00c1f7ff9f5c2bd5e5bccc8b1fad
Signed-off-by: Junkyeong, Kim <jk0430.kim@samsung.com>
2 years agoAdd time checking debugging code 09/271409/1
Junkyeong, Kim [Mon, 21 Feb 2022 03:01:20 +0000 (12:01 +0900)]
Add time checking debugging code

Change define to 1 if you want get time info.

Change-Id: Ie7c9b118dd1f99b490237a3c23f8f9346f388bea
Signed-off-by: Junkyeong, Kim <jk0430.kim@samsung.com>
2 years agoPackage version up to 0.1.7 04/270904/1 accepted/tizen/unified/20220212.064810 submit/tizen/20220211.044237
Junkyeong, Kim [Fri, 11 Feb 2022 02:43:58 +0000 (11:43 +0900)]
Package version up to 0.1.7

Change-Id: I905b9e66c641742a2b5ee664881b8c31e87a911a
Signed-off-by: Junkyeong, Kim <jk0430.kim@samsung.com>
2 years agoErase unnecessary new-line character 19/270619/1
Junkyeong, Kim [Mon, 7 Feb 2022 05:17:55 +0000 (14:17 +0900)]
Erase unnecessary new-line character

Change-Id: Ia6afaa451e9218dce322065a166d1e0a47324227
Signed-off-by: Junkyeong, Kim <jk0430.kim@samsung.com>
2 years agoImage transmission only when the screen is changed 17/270617/1
Junkyeong, Kim [Mon, 7 Feb 2022 05:14:09 +0000 (14:14 +0900)]
Image transmission only when the screen is changed

set e_client's buffer changed callback to check visible ec's buffer changing.
set e_pointer hook to check mouse moving.
if there is no event, stop transmission after 5 times.

Change-Id: I3812e305a5ddf0118cc16c61062c432197401f77
Signed-off-by: Junkyeong, Kim <jk0430.kim@samsung.com>
2 years agoSet the timer time by the output size 39/270539/2
Junkyeong, Kim [Fri, 4 Feb 2022 10:13:47 +0000 (19:13 +0900)]
Set the timer time by the output size

if size is bigger need more time to conversion and transition.
- conversion : tbm_surface -> pixman
- transition : send pixman image from tizen(rdp server) to rdp client.

Change-Id: Iede478d8bcdb776f02b9a21b8626aa959b72a893
Signed-off-by: Junkyeong, Kim <jk0430.kim@samsung.com>
2 years agoPackage version up to 0.1.6 28/270328/2 accepted/tizen/unified/20220204.132351 submit/tizen/20220128.060848 submit/tizen/20220203.080515
Junkyeong, Kim [Fri, 28 Jan 2022 05:51:27 +0000 (14:51 +0900)]
Package version up to 0.1.6

Change-Id: I52492cedc0b26ee453b3e2cc01f92c1c4721ba7f
Signed-off-by: Junkyeong, Kim <jk0430.kim@samsung.com>
2 years agoFix composit_image making error handling problem 20/270320/1
Junkyeong, Kim [Fri, 28 Jan 2022 04:46:05 +0000 (13:46 +0900)]
Fix composit_image making error handling problem

stop compositing if cannot get destination postion.
execute tbm_surface unref if compositing failed.

Change-Id: I1f9a55ef49517db8c3867a0a428bb92e658446fe
Signed-off-by: Junkyeong, Kim <jk0430.kim@samsung.com>
2 years agoPackage version up to 0.1.5 62/269662/8
dyamy-lee [Thu, 20 Jan 2022 02:03:31 +0000 (11:03 +0900)]
Package version up to 0.1.5

Change-Id: I748d6f912dca8e8b28d052d24b8fb72fc7d74e2c

2 years agoe_mod_main : add motionless in config structure for not passing mouse motion event 60/269660/8
dyamy-lee [Thu, 20 Jan 2022 01:38:57 +0000 (10:38 +0900)]
e_mod_main : add motionless in config structure for not passing mouse motion event
e_mod_rdp_conf : add setting of motionless config
e_mod_rdp : add motionless in E_Rdp_Backend and implemente case of motionless when mouse move

Change-Id: Ie280b93c9e63222934ec5b7d72728729cc88279f

2 years agoe_mod_rdp : add mouse scale varibales in E_Rdp_Output. 59/269659/8
dyamy-lee [Thu, 20 Jan 2022 01:26:49 +0000 (10:26 +0900)]
e_mod_rdp : add mouse scale varibales in E_Rdp_Output.
            prev_x, prev_y moves to E_Rdp_Output for removing global variable, and multiple mouse_scale

Change-Id: I8a9bedd5c97239cd53ac7716ac8a61a26f8c2daa

2 years agoe_mod_rdp : implement rdp keyboard event using e_info_server api 58/269658/8
dyamy-lee [Thu, 20 Jan 2022 01:53:04 +0000 (10:53 +0900)]
e_mod_rdp : implement rdp keyboard event using e_info_server api

Change-Id: I8fdf0ef6518cb6ada88a2b36f8b371c754955699

2 years agoe_mod_rdp : implement rdp mouse event using e_info_server api 57/269657/7
dyamy-lee [Thu, 20 Jan 2022 01:52:15 +0000 (10:52 +0900)]
e_mod_rdp : implement rdp mouse event using e_info_server api

Change-Id: I2eea4db018f99ae0fa31fd1c40c4af6b5b98cfe6

2 years agoe_mod_rdp : initialize virtual device for rdp_input and add deinit 56/269656/5
dyamy-lee [Thu, 20 Jan 2022 01:51:17 +0000 (10:51 +0900)]
e_mod_rdp : initialize virtual device for rdp_input and add deinit

Change-Id: I5eea2ba5500ea77c25a12319cd56dba9b2f82905

2 years agoPackage version up to 0.1.4 93/269593/1 accepted/tizen/unified/20220120.154522 submit/tizen/20220119.025703
Junkyeong, Kim [Wed, 19 Jan 2022 02:13:59 +0000 (11:13 +0900)]
Package version up to 0.1.4

Change-Id: If2d0e04457361d9b7c642c7c6849ae4bd7119abf
Signed-off-by: Junkyeong, Kim <jk0430.kim@samsung.com>
2 years agoSupport rdp client resize 42/269442/2
Junkyeong, Kim [Fri, 14 Jan 2022 07:49:48 +0000 (16:49 +0900)]
Support rdp client resize

If no_clients_resize rdp config is not set, use client resolution.

Change-Id: Ia075f142acc253d6eed704678a74f607b0468d3d
Signed-off-by: Junkyeong, Kim <jk0430.kim@samsung.com>
2 years agoGet output size from primary output resolution 60/268660/4
Junkyeong, Kim [Wed, 29 Dec 2021 04:54:17 +0000 (13:54 +0900)]
Get output size from primary output resolution

Get rdp output size from primary output resolution. (half size)
If cannot find current mode, use hardcoded WIDTH and HEIGHT.

Change-Id: I3def0e3e47878367c17c5c35043c2b17b4898c67
Signed-off-by: Junkyeong, Kim <jk0430.kim@samsung.com>
2 years agoPackage version up to 0.1.3 83/267083/1 accepted/tizen/unified/20211129.035259 submit/tizen/20211125.071259
Junkyeong, Kim [Thu, 25 Nov 2021 06:26:10 +0000 (15:26 +0900)]
Package version up to 0.1.3

Change-Id: I9c5c52076c69bc14e73aa6e95dc5e655a8970076
Signed-off-by: Junkyeong, Kim <jk0430.kim@samsung.com>
2 years agoFix multiple define error 79/267079/4
Seungha Son [Thu, 25 Nov 2021 05:38:27 +0000 (14:38 +0900)]
Fix multiple define error

 This problem is met during build as ASAN.
 Add global variable '_rdp_log_dom' to extern keyword.
 The global variable in a header file, then this definition
 will go to every c file that includes this header, and
 will get multiple define error.

 Error log :
 [   79s] /usr/lib/gcc/armv7l-tizen-linux-gnueabi/9.2.0/../../../../armv7l-tizen-linux-gnueabi/bin/ld: .libs/module_la-e_mod_rdp.o:/home/abuild/rpmbuild/BUILD/e-mod-tizen-rdp-0.1.2/src/e_mod_rdp.h:26: multiple definition of `_rdp_log_dom'; .libs/module_la-e_mod_main.o:/home/abuild/rpmbuild/BUILD/e-mod-tizen-rdp-0.1.2/src/e_mod_rdp.h:26: first defined here
[   79s] /usr/lib/gcc/armv7l-tizen-linux-gnueabi/9.2.0/../../../../armv7l-tizen-linux-gnueabi/bin/ld: .libs/module_la-e_mod_rdp_conf.o:(.bss.__odr_asan._rdp_log_dom+0x0): multiple definition of `__odr_asan._rdp_log_dom'; .libs/module_la-e_mod_main.o:(.bss.__odr_asan._rdp_log_dom+0x0): first defined here

Change-Id: Iee56a971302625818745e390e4235f12f80cb5b6
Signed-off-by: Seungha Son <seungha.son@samsung.com>
2 years agoPackage version up to 0.1.2 23/266123/4 accepted/tizen/unified/20211115.141535 submit/tizen/20211115.080547
Junkyeong, Kim [Mon, 8 Nov 2021 05:55:44 +0000 (14:55 +0900)]
Package version up to 0.1.2

Change-Id: I10f2ab7091e0d394ee226f6c93d970ced359e133
Signed-off-by: Junkyeong, Kim <jk0430.kim@samsung.com>
2 years agoAdd rdpkey protocol security method 22/266122/5
Junkyeong, Kim [Mon, 8 Nov 2021 05:54:00 +0000 (14:54 +0900)]
Add rdpkey protocol security method

Support rdpkey protocol.
Set the rdp key file location from e-tizen-data.

Change-Id: I3fd94c90dbaed9db0cae8d3fd5d13ffd0eac92d3
Signed-off-by: Junkyeong, Kim <jk0430.kim@samsung.com>
2 years agoInclude cursor image to capture 21/266121/3
Junkyeong, Kim [Mon, 8 Nov 2021 05:46:55 +0000 (14:46 +0900)]
Include cursor image to capture

If cursor coordinate which is sent by rdp client treated,
the cursor image will be shown.
If capture including cursor image, this is client's cursor position.

Change-Id: If1d57ce917494d814db6c2ae1fc426255b05d705
Signed-off-by: Junkyeong, Kim <jk0430.kim@samsung.com>
2 years agochange static value for logging 14/266114/1
Junkyeong, Kim [Mon, 8 Nov 2021 05:32:01 +0000 (14:32 +0900)]
change static value for logging

Change-Id: I3aea7fa7a2bfb9ff23e848aa30b3bd4c65287327
Signed-off-by: Junkyeong, Kim <jk0430.kim@samsung.com>
2 years agoPackage version up to 0.1.1 33/266033/1 accepted/tizen/unified/20211105.130353 submit/tizen/20211105.013223
Junkyeong, Kim [Thu, 4 Nov 2021 07:19:51 +0000 (16:19 +0900)]
Package version up to 0.1.1

Change-Id: I301bd06a22c1b7345461e00ebf623642d4928c14
Signed-off-by: Junkyeong, Kim <jk0430.kim@samsung.com>
2 years agoGet init data from e-tizen-data config file 07/264707/7
Junkyeong, Kim [Tue, 28 Sep 2021 10:27:34 +0000 (19:27 +0900)]
Get init data from e-tizen-data config file

Change-Id: I2b9e3cabdde6474466051cd2ed8912f882a805d3
Signed-off-by: Junkyeong, Kim <jk0430.kim@samsung.com>
2 years agoFix uninitializing error 27/263327/1 accepted/tizen_6.5_unified tizen_6.5 accepted/tizen/6.5/unified/20211028.115128 accepted/tizen/unified/20210928.212639 submit/tizen/20210928.090200 submit/tizen_6.5/20211028.163101 tizen_6.5.m2_release
Junkyeong, Kim [Tue, 31 Aug 2021 10:19:26 +0000 (19:19 +0900)]
Fix uninitializing error

Change-Id: Id3798b68035c1e2aaf81649e10f432f01cccfce3
Signed-off-by: Junkyeong, Kim <jk0430.kim@samsung.com>
2 years agoCheck realloc failure before using 75/263275/1
Junkyeong, Kim [Mon, 30 Aug 2021 11:04:40 +0000 (20:04 +0900)]
Check realloc failure before using

Change-Id: I0d18535c46117a8b46c503e1937db8d1a6d8ea97
Signed-off-by: Junkyeong, Kim <jk0430.kim@samsung.com>
2 years agoFix function return type error 74/263274/1
Junkyeong, Kim [Mon, 30 Aug 2021 11:01:09 +0000 (20:01 +0900)]
Fix function return type error

Change-Id: Icfc7dec8fd268419dd830e86ecaf43d62b5f9eb9
Signed-off-by: Junkyeong, Kim <jk0430.kim@samsung.com>
2 years agoAdd initial code 44/263044/5
Junkyeong, Kim [Wed, 25 Aug 2021 04:43:25 +0000 (13:43 +0900)]
Add initial code

Change-Id: I6af04b464ae932acdee39d5e9a5ff57198277b48
Signed-off-by: Junkyeong, Kim <jk0430.kim@samsung.com>
2 years agoInitial empty repository master
Tizen Infrastructure [Wed, 25 Aug 2021 01:08:50 +0000 (01:08 +0000)]
Initial empty repository