platform/upstream/enlightenment.git
3 years agoe_hwc_windows: remove restriction ui subsurface 99/252199/2 accepted/tizen/unified/20210127.144837 submit/tizen/20210126.104819
Changyeon Lee [Mon, 25 Jan 2021 10:16:18 +0000 (19:16 +0900)]
e_hwc_windows: remove restriction ui subsurface

subsurface can be displayed by DEVICE type

Change-Id: I63506b0857cf981e401ad67e9ea048d332cd52ea

3 years agoe_hwc_window: add e_hwc_window_get and remove e_hwc_window_new/free 98/252198/2
Changyeon Lee [Mon, 25 Jan 2021 06:54:54 +0000 (15:54 +0900)]
e_hwc_window: add e_hwc_window_get and remove e_hwc_window_new/free

1. make e_hwc_window_new/free to static func _e_hwc_window_new/del
2. use e_hwc_window_get at video and presentation mode
3. add e_hwc_window_video_set for video

Change-Id: I286f36bc7354cdc012af9e2de87a28c089240568

3 years agoe_hwc_window: add e_hwc_window_ref/unref 97/252197/1
Changyeon Lee [Mon, 25 Jan 2021 04:35:24 +0000 (13:35 +0900)]
e_hwc_window: add e_hwc_window_ref/unref

use e_hwc_window_ref/unref instead e_object_ref/unref

Change-Id: I750999e846434ff811669346e186936a7345a495

3 years agoe_input: support a LIBINPUT_EVENT_TOUCH_CANCEL 52/250752/6
jeon [Mon, 4 Jan 2021 09:09:54 +0000 (18:09 +0900)]
e_input: support a LIBINPUT_EVENT_TOUCH_CANCEL

Change-Id: Iea7a8754cd9a4c6fce267792a613c6376754fe24

3 years agoe_service_quickpanel: set focus to quickpanel that finish show effect and not focused 00/252000/3
Junseok, Kim [Thu, 21 Jan 2021 11:32:13 +0000 (20:32 +0900)]
e_service_quickpanel: set focus to quickpanel that finish show effect and not focused

Change-Id: Icdec3e1a9bf066e91a18f165bb09ad6398cc172d
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
3 years agoe_hwc_window_queue: reset constraints if norender is pushed 78/251878/2 accepted/tizen/unified/20210121.134601 submit/tizen/20210121.033805
Changyeon Lee [Wed, 20 Jan 2021 05:08:53 +0000 (14:08 +0900)]
e_hwc_window_queue: reset constraints if norender is pushed

if norender is pushed, hwc doesn't change accpeted state of window.
so hwc_window can be block render because hwc_window_queue doesn't
send usable event.

Change-Id: I6cddbd80866a294561a70eb9729ef0e14ea3b2fa

3 years agoe_hwc: add E_HWC_HOOK_NORENDER_SET hook 77/251877/2
Changyeon Lee [Tue, 19 Jan 2021 12:35:02 +0000 (21:35 +0900)]
e_hwc: add E_HWC_HOOK_NORENDER_SET hook

Change-Id: Iace117688b6b501bd2e276f5307763b8d8005dd0

3 years agoe_hwc_window: consider output transform when set cursor transform 00/251800/2
Changyeon Lee [Tue, 19 Jan 2021 04:27:23 +0000 (13:27 +0900)]
e_hwc_window: consider output transform when set cursor transform

Change-Id: Ic8b412bf6f774e3926ef09e790212aed6873c5df

3 years agoe_comp: remove unnecessary error log 81/251581/2
Changyeon Lee [Fri, 15 Jan 2021 08:26:58 +0000 (17:26 +0900)]
e_comp: remove unnecessary error log

Change-Id: Ibf12a713c82262724cbc25a2f5ae3c3769c6c00e

3 years agoe_hwc_windows: don't check visible of client if client is added to visible list 12/251512/2
Changyeon Lee [Thu, 14 Jan 2021 10:55:11 +0000 (19:55 +0900)]
e_hwc_windows: don't check visible of client if client is added to visible list

if ec is got from effect_client, it checks twice visible of hwc_window

Change-Id: I0941695a92eeb102e124de0e63bf259cc785d084

3 years agoe_hwc_windows: set window transition even if target bufer isn't changed 11/251511/2
Changyeon Lee [Thu, 14 Jan 2021 08:27:43 +0000 (17:27 +0900)]
e_hwc_windows: set window transition even if target bufer isn't changed

Change-Id: I145c279108436c08e8ee69a5a64e9e1f1ad2456f

3 years agoe_hwc_window_queue: use size of buffer when to compare queue with client 10/251510/2
Changyeon Lee [Tue, 12 Jan 2021 09:23:20 +0000 (18:23 +0900)]
e_hwc_window_queue: use size of buffer when to compare queue with client

comparing buffer and queue is better way

Change-Id: Ia71e443b908d9182ec0d7e68df7317e464240a97

3 years agoe_devicemgr: create an input generator touch device has configurred touch count accepted/tizen/unified/20210121.015632 submit/tizen/20210120.080543
jeon [Fri, 15 Jan 2021 05:44:25 +0000 (14:44 +0900)]
e_devicemgr: create an input generator touch device has configurred touch count

Change-Id: Ic4f9907a120c0844cfa24193bf4000bcf1c87bf6

3 years agosubsurface: Regard wl_subsurface for video viewport as not normal subsurface 57/251857/1
Seunghun Lee [Tue, 19 Jan 2021 09:48:31 +0000 (18:48 +0900)]
subsurface: Regard wl_subsurface for video viewport as not normal subsurface

This is a workaround patch to fix the problem that some E_Client
couldn't take advantage of HW Composition because of its child
wl_subsurface which is not actually viewable due to its purpose
for video viewport.

Now that this function returns EINA_FALSE if given E_Client has
1x1 wl_subsurface or the one for video viewport, the implementation
of HWC will try to apply given E_Client to HW Composition.

Change-Id: I8aec661647187faac7ff1be67154ab5e32080e79

3 years agoe_client: consider ec's force_obscured while focusable check 78/251778/1
Junseok, Kim [Tue, 19 Jan 2021 08:31:01 +0000 (17:31 +0900)]
e_client: consider ec's force_obscured while focusable check

Change-Id: Icd4843f41e491782e091af7450e1557f2e96e7f1
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
3 years agoe_hwc_windows: set E_HWC_WINDOW_STATE_NONE if color of image is invisible 74/251474/1
Changyeon Lee [Wed, 13 Jan 2021 10:49:36 +0000 (19:49 +0900)]
e_hwc_windows: set E_HWC_WINDOW_STATE_NONE if color of image is invisible

module set argb to 0000 for making invisible even if comp object is show state

Change-Id: Ib1fb25936496128e6889f4a0e40f9ce15c35c08f

3 years agovideo: Fix segfaults running render job with deleted E_Client 15/251415/2 accepted/tizen/unified/20210115.004628 submit/tizen/20210113.113637
Seunghun Lee [Wed, 13 Jan 2021 10:05:33 +0000 (19:05 +0900)]
video: Fix segfaults running render job with deleted E_Client

Rendering job relies on 'comp_data' field of E_Client, and 'comp_data'
gets invalid at some point after E_Client is deleted.
Since there is no way to know when 'comp_data' gets invalid exactly,
it checks if E_Client is deleted whenever render job is needed.

Change-Id: I472abb606795540fbd79f55cf2323596a244c4e2

3 years agoe_devicemgr: support a set_touch_count request 95/250595/3
jeon [Wed, 30 Dec 2020 04:52:00 +0000 (13:52 +0900)]
e_devicemgr: support a set_touch_count request

Change-Id: I96fd84bcbf2bf01ac3d54f4da5f116ad690c3435

3 years agoe_devicemgr: send touch max slot count to client 55/250255/5
jeon [Tue, 22 Dec 2020 10:00:12 +0000 (19:00 +0900)]
e_devicemgr: send touch max slot count to client

Change-Id: I04555cc88b4840376ec666f97692aa65440db8ed

3 years agoe_client: check ec is rotation show pending when zone visibility calc 01/251101/4
Junseok, Kim [Fri, 8 Jan 2021 05:22:53 +0000 (14:22 +0900)]
e_client: check ec is rotation show pending when zone visibility calc

There was a bug that send iconify to ec when ec is doing rotation.
due to iconify event, the application turns to pause and didn't ack
rotation.
for fix this issue, if the ec is rotation show pending, don't append to
changed_list the ec.

Change-Id: Ia10f94c91bb08fb595f61c457adbb40868247ef8
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
3 years agoe_info_server: update screen_rotation_pre value to e.cfg as a variable of e_config 42/251342/3
Sung-Jin Park [Wed, 13 Jan 2021 18:31:37 +0000 (03:31 +0900)]
e_info_server: update screen_rotation_pre value to e.cfg as a variable of e_config

Change-Id: Ia9be4736a20b196d65cee18bfd3a43d7734768b2
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoe_plane_renderer: don't set backup buffer if surface was acquired from fb_target 16/251216/1
Changyeon Lee [Mon, 11 Jan 2021 07:59:47 +0000 (16:59 +0900)]
e_plane_renderer: don't set backup buffer if surface was acquired from fb_target

if renderer state is candidate, surface of plane was acquired from fb target

Change-Id: I3dc4367837b167fd90ea83a574ac70225ff9c212

3 years agoe_plane: fix wrong transform of backup buffer 15/251215/1
Changyeon Lee [Mon, 11 Jan 2021 07:40:58 +0000 (16:40 +0900)]
e_plane: fix wrong transform of backup buffer

Change-Id: If5a28f56a0141a047d7aca3f4ede6cd82a213f83

3 years agoe_policy_visibility: don't force update if comp_object is not redirected 14/251214/1
Changyeon Lee [Thu, 7 Jan 2021 05:15:43 +0000 (14:15 +0900)]
e_policy_visibility: don't force update if comp_object is not redirected

if comp_object is not redirected, the compositor doesn't want to update it.
for example, if client is composited by hwc, comp_object is not redirected.

Change-Id: Ic3affe0b6a81d0ac7a03bb8f15d567c456d9d816

3 years agoe_client: set ec->changed in e_client_show_pending_unset 96/251196/1 accepted/tizen/unified/20210111.125423 submit/tizen/20210111.073615
Doyoun Kang [Mon, 11 Jan 2021 07:11:19 +0000 (16:11 +0900)]
e_client: set ec->changed in e_client_show_pending_unset

Change-Id: I49d0067fd2f8ff0186224b17452247059a5ee45c

3 years agoe_test_helper: remove coverity issue - REVERSE_INULL 78/251178/1
Doyoun Kang [Mon, 11 Jan 2021 04:45:15 +0000 (13:45 +0900)]
e_test_helper: remove coverity issue - REVERSE_INULL

Change-Id: I863e130e2658535db11b4660aa5169c99a0cc506

3 years agoe_comp_wl: do not update transform core if deskzoom doing animation 04/251104/2
Junseok, Kim [Fri, 8 Jan 2021 04:50:01 +0000 (13:50 +0900)]
e_comp_wl: do not update transform core if deskzoom doing animation

Change-Id: I4a6cd642966b074448bd319db39262add4490268
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
3 years agoe_client: doing transform core update with zoom of all subsurfaces when subsurface... 03/251103/1
Junseok, Kim [Fri, 8 Jan 2021 04:49:00 +0000 (13:49 +0900)]
e_client: doing transform core update with zoom of all subsurfaces when subsurface transform core update

Change-Id: I4784995375fef667cbb49b3ca820d40a603395b2
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
3 years agoe_desk: add function for check desk zoom is animating 02/251102/1
Junseok, Kim [Fri, 8 Jan 2021 04:45:39 +0000 (13:45 +0900)]
e_desk: add function for check desk zoom is animating

Change-Id: Id9cc3e73e2d2439a94d570408e6bab6a21ddf95b
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
3 years agoe_config/visibility: add a configuration - deiconify_pending_timeout 03/250703/1 accepted/tizen/unified/20210104.130218 submit/tizen/20210104.034514
Doyoun Kang [Mon, 4 Jan 2021 03:27:55 +0000 (12:27 +0900)]
e_config/visibility: add a configuration - deiconify_pending_timeout

Change-Id: I3a687a82d8629453ab05b0148a5e574ac414e242

3 years agoe_info_server: add null checking in _e_info_server_cb_screen_dump_cb 41/250541/3
Junkyeong Kim [Tue, 29 Dec 2020 07:57:25 +0000 (16:57 +0900)]
e_info_server: add null checking in _e_info_server_cb_screen_dump_cb

Change-Id: I78e446544c0dd9235396966ab9c15130f73c8fec
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
3 years agoe_info_server: change screen_dump function to tbm_surface_internal_capture_buffer 98/250498/4
Junkyeong Kim [Mon, 28 Dec 2020 09:49:25 +0000 (18:49 +0900)]
e_info_server: change screen_dump function to tbm_surface_internal_capture_buffer

Change-Id: I8fb2bd4c012720b00b6efd3d1b7d49940482ea8a
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
3 years agoe_devicemgr_input: realloc memory for multi touch when max touch count is updated 08/250508/4
jeon [Mon, 28 Dec 2020 12:42:50 +0000 (21:42 +0900)]
e_devicemgr_input: realloc memory for multi touch when max touch count is updated

Change-Id: I9fddb59ae1c187e2de0de18edd5374537fca771d

3 years agoe_hwc_window: don't override client type if override of ec is false 55/250455/1 accepted/tizen/unified/20201229.124649 submit/tizen/20201228.035700
Changyeon Lee [Thu, 24 Dec 2020 08:55:45 +0000 (17:55 +0900)]
e_hwc_window: don't override client type if override of ec is false

Change-Id: I795c512662744936c1d0a676826f33ea874d6cb7

3 years agoe_policy_visibility: remove norender push/pop 35/249735/3
Changyeon Lee [Wed, 16 Dec 2020 08:50:49 +0000 (17:50 +0900)]
e_policy_visibility: remove norender push/pop

norender is pushed for keeping the frame of client.
but it isn't needed because the evas object isn't changed
untill job is executed.

Change-Id: Ifff542739fe8cbf5fe5fdb94241e148ed0259896

3 years agoe_hwc_windows: don't update windows if norender is pushed 34/249734/3
Changyeon Lee [Wed, 16 Dec 2020 08:49:36 +0000 (17:49 +0900)]
e_hwc_windows: don't update windows if norender is pushed

Change-Id: Iea6c4e2ac817eb2f872f2810c42b09b06fab40c9

3 years agoe_info_server: stop loop if client is NULL 25/249925/1 accepted/tizen/unified/20201222.122621 submit/tizen/20201219.005909
Junseok, Kim [Thu, 17 Dec 2020 08:04:03 +0000 (17:04 +0900)]
e_info_server: stop loop if client is NULL

if the client is NULL, then stop the loop for prevent NULL pointer dereference.

Change-Id: I7f35aac091f1ef61a456c7a57e4b38e1abf30ecf
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
3 years agoe_input_device: free eina_hash in error case 24/249924/1
Junseok, Kim [Thu, 17 Dec 2020 07:42:16 +0000 (16:42 +0900)]
e_input_device: free eina_hash in error case

Change-Id: I75ab8cead30a699485ae486354ececd207b11bcc
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
3 years agoe_comp_object: remove the useless condition 20/249620/3
SooChan Lim [Tue, 15 Dec 2020 10:51:33 +0000 (19:51 +0900)]
e_comp_object: remove the useless condition

e_client_has_xwindow(ec) always returns false.

Change-Id: I29baa19da7f6f7b51ac85781e8a94850e9a42876

3 years agoe_comp_wl: remove the useless condition 19/249619/3
SooChan Lim [Tue, 15 Dec 2020 10:48:57 +0000 (19:48 +0900)]
e_comp_wl: remove the useless condition

e_client_has_xwindow(ec) always returns false.

Change-Id: I95f871d2925825e7d39f0f9e5d43c3a53e8a4032

3 years agoe_input, e_comp_wl, e_devicemgr: enable setting the maximum touch count using configu... 57/249257/8 submit/tizen/20201216.054340
Sung-Jin Park [Wed, 9 Dec 2020 09:01:46 +0000 (18:01 +0900)]
e_input, e_comp_wl, e_devicemgr: enable setting the maximum touch count using configuration

Change-Id: Id4c941d5154acdb97e4df1618c9f9830d997dd21
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoe_output: check rotation value to execute e_comp's evas resize in _e_output_primary_u... 89/249589/1
Junkyeong Kim [Tue, 15 Dec 2020 07:40:53 +0000 (16:40 +0900)]
e_output: check rotation value to execute e_comp's evas resize in _e_output_primary_update

Change-Id: I8fb736f6fab59c6b0ae746f283e125ccd88cc7a2
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
3 years agotests: remove extern "C" 17/249517/4 accepted/tizen/unified/20201215.123250 submit/tizen/20201215.033043
SooChan Lim [Mon, 14 Dec 2020 08:58:44 +0000 (17:58 +0900)]
tests: remove extern "C"

extern "C" is useless

Change-Id: I0306004c6bb901c07e074e587dc2091ab6642103

3 years agotests: add tc-e_util_transform test cases 15/249515/4
SooChan Lim [Mon, 14 Dec 2020 06:34:40 +0000 (15:34 +0900)]
tests: add tc-e_util_transform test cases

This file contains testcases for e_util_transform api.

Change-Id: I3706e0f504d86550e15a266c83653d204dd6a3dc

3 years agoe_win: fix build-error at the case of -fpermissive option. 14/249514/4
SooChan Lim [Mon, 14 Dec 2020 07:20:28 +0000 (16:20 +0900)]
e_win: fix build-error at the case of -fpermissive option.

Change-Id: If44b53f55e9901ca80f50bc49310c383277f038e

3 years agoe_dialog: change the name of argument 13/249513/4
SooChan Lim [Mon, 14 Dec 2020 06:51:54 +0000 (15:51 +0900)]
e_dialog: change the name of argument

The class keyword make compile-error when enlightenment builds with c++ compiler.

Change-Id: Id87c53c29faff3aa1c739823a4b73a23b8d0c926

3 years agoe_client: add __cplusplus define at usage of class keyword 12/249512/4
SooChan Lim [Mon, 14 Dec 2020 06:50:16 +0000 (15:50 +0900)]
e_client: add __cplusplus define at usage of class keyword

The class keyword make compile-error when enlightenment builds with c++ compiler.

Change-Id: I399c45847cf8d27197020668d9cf8cf6720f8844

3 years agoe_output: expose the enum values. 11/249511/2
SooChan Lim [Mon, 14 Dec 2020 06:33:33 +0000 (15:33 +0900)]
e_output: expose the enum values.

if not, the file which includes e_output.h makes build error.

Change-Id: I48d13bd3e37b974acc30e46c3cce79628c6b3049

3 years agoe_gesture: expose the enum values. 10/249510/2
SooChan Lim [Mon, 14 Dec 2020 06:32:12 +0000 (15:32 +0900)]
e_gesture: expose the enum values.

if not, the file which includes e_gesture.h makes build error.

Change-Id: I5b0c53ddf060e5b6c1877255f5b9fff4a23c1c1a

3 years agotests: add enlightenment-tests for unit testing. 09/249509/2
SooChan Lim [Mon, 14 Dec 2020 03:53:11 +0000 (12:53 +0900)]
tests: add enlightenment-tests for unit testing.

make a binary and a package
- binary name : enlightenment-tests
- package name : enlightenment-tests-xxx.rpm

Change-Id: Iba34889298a3a94c488dbfe65c9ccd59efc8fd40

3 years agoe_comp_wl: use cdata instead of ec->comp_data at _e_comp_wl_surface_state_commit... 65/249465/3
SooChan Lim [Sat, 12 Dec 2020 06:05:00 +0000 (15:05 +0900)]
e_comp_wl: use cdata instead of ec->comp_data at _e_comp_wl_surface_state_commit function

Change-Id: Ib7220c67826dcb104bcd7bea658de32b4915643a

3 years agoe_policy_stack: check top is mapped when transient_for apply 52/249352/3
Junseok Kim [Thu, 10 Dec 2020 10:08:09 +0000 (19:08 +0900)]
e_policy_stack: check top is mapped when transient_for apply

Change-Id: I94f610d1b5c42d76cbafb022652a27f45dc64bae
Signed-off-by: Junseok Kim <juns.kim@samsung.com>
3 years agoe_comp_object: reset focus if focus_policy is not top_stack in _e_comp_smart_hide 40/249440/1 accepted/tizen/unified/20201214.124451 submit/tizen/20201211.120426
Doyoun Kang [Fri, 11 Dec 2020 12:00:12 +0000 (21:00 +0900)]
e_comp_object: reset focus if focus_policy is not top_stack in _e_comp_smart_hide

Change-Id: I67c11e86f9c986be700d4d4022e0892c683ca483

3 years agoe_comp_wl_tbm: add egl_image_buffer_get func to E_Comp_wl_Tbm_Funcs 13/249413/1
SooChan Lim [Fri, 11 Dec 2020 03:55:13 +0000 (12:55 +0900)]
e_comp_wl_tbm: add egl_image_buffer_get func to E_Comp_wl_Tbm_Funcs

egl_image_buffer_get func has to provide the tbm_surface_h for making the egl_image.

Change-Id: Ibf2b2720b322e5183d16200296fe20f69747396e

3 years agovideo: Fix errors in calculation of transform 68/248968/2
Seunghun Lee [Thu, 3 Dec 2020 22:59:24 +0000 (07:59 +0900)]
video: Fix errors in calculation of transform

It was discovered that change of video wasn't able to be applied with
the state, which was destination area out bound of screen with
WL_OUTPUT_TRANSFORM_90.

It turned out because of errors in calculation of transform. That error
made source(input) area empty and empty area cannot be applied.

The transform value which caused this issue was as follow:

wl_subsurface_set_position(840, 0)
wl_viewport_set_destination(1080, 1920)
wl_viewport_set_source(0, 1936, 1080, 2160)
wl_surface_set_buffer_transform(WL_OUTPUT_TRANSFORM_90)

* The state of output: size (1920x1080) transform (0)

Change-Id: I3134980d46305a03965076c843a568fd84f226d0

3 years agoviewport: Restore source area to entire area of buffer 78/248978/2 accepted/tizen/unified/20201207.123247 submit/tizen/20201206.010849
Seunghun Lee [Fri, 4 Dec 2020 03:22:00 +0000 (12:22 +0900)]
viewport: Restore source area to entire area of buffer

Source area has to be restored to entire area of buffer when client
requests to unset source area by setting width and height to -1.0
according to what wl_scaler of wayland-extension specification spelled
out.

This patch fixes it to follow the specification.

Change-Id: I0cc48f74e9850a59fca99137d8b5c381ddf53259

3 years agoe_policy_wl: change code for handling force_obscured window 44/248944/3
Doyoun Kang [Thu, 3 Dec 2020 08:55:58 +0000 (17:55 +0900)]
e_policy_wl: change code for handling force_obscured window

E_policy run uniconify_render process when the force_obscured ec is activated or uniconified.
The client window which requests activate or uniconify can get the iconic state change event.

Change-Id: I427edc2829a2e9a1f4646eda12dc947c3e726250

3 years agoe_policy: send iconify state change event when ec vis turn on and didn't send event. 29/248929/5
Junseok, Kim [Thu, 3 Dec 2020 06:12:04 +0000 (15:12 +0900)]
e_policy: send iconify state change event when ec vis turn on and didn't send event.

Added last_sent_type for store latest iconify_state_change event.
and send iconify_state_change event when ec turn to visibility on and didn't send the event.

Change-Id: I74c33b4ade57c095c2287273d54a4ae1237666c2
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
3 years agoe_comp_wl: fix to return value properly 38/248938/1
Sung-Jin Park [Thu, 3 Dec 2020 09:53:19 +0000 (18:53 +0900)]
e_comp_wl: fix to return value properly

Change-Id: I58bd6967581bd552309fdca65083bf9c7a284780
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoe_service_quickpanel: add function pointer for quickpanel_type_get 23/248923/2
Doyoun Kang [Thu, 3 Dec 2020 07:59:30 +0000 (16:59 +0900)]
e_service_quickpanel: add function pointer for quickpanel_type_get

Change-Id: Idb6771d0ee083e3935411ea111219d67a17f6c54

3 years agoe_comp_wl: fix to send touch cancel event only when display turns off 06/248906/1
Sung-Jin Park [Thu, 3 Dec 2020 06:33:03 +0000 (15:33 +0900)]
e_comp_wl: fix to send touch cancel event only when display turns off

Change-Id: I762841886e159d81a3a536274c011e0ea6ead582
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoe_policy/e_service_quickpanel: add e_policy_quickpanel_type_get API 74/248574/1 accepted/tizen/unified/20201201.124809 submit/tizen/20201130.065945
Doyoun Kang [Mon, 30 Nov 2020 06:29:25 +0000 (15:29 +0900)]
e_policy/e_service_quickpanel: add e_policy_quickpanel_type_get API

Change-Id: I8c34bcd0b3711cc5eec4005236b34da8394192e3

3 years agoe_policy/e_service_quickpanel: add E_EVENT_POLICY_QUICKPANEL_VISIBLE_STATE_CHANGE... 73/248573/1
Doyoun Kang [Mon, 30 Nov 2020 06:17:34 +0000 (15:17 +0900)]
e_policy/e_service_quickpanel: add E_EVENT_POLICY_QUICKPANEL_VISIBLE_STATE_CHANGE event

When a quickpanel window is shown or hidden, then e generates
E_EVENT_POLICY_QUICKPANEL_VISIBLE_STATE_CHANGE event to notify another module.

Change-Id: I00c86c53dba0e5302daa93b1bd4ee9d4d35206ea

3 years agoe_policy: move enumerations for quickpanel to e_policy.h file 71/248571/1
Doyoun Kang [Mon, 30 Nov 2020 06:07:27 +0000 (15:07 +0900)]
e_policy: move enumerations for quickpanel to e_policy.h file

Change-Id: Ifbe421df930b3bcc923f79c7abbb4c8258efbe40

3 years agoe_policy_wl: handle show/hide request for tizen_policy interface 04/248504/3 accepted/tizen/unified/20201127.130445 submit/tizen/20201127.083508
Doyoun Kang [Fri, 27 Nov 2020 07:26:24 +0000 (16:26 +0900)]
e_policy_wl: handle show/hide request for tizen_policy interface

This change is based on tizen_policy version 8.

Change-Id: I5b0936d2e22d2fc0238e6a36968e9707d3141553

3 years agoe_config/e_policy_wl: add raise_before_show config 03/248503/2
Doyoun Kang [Fri, 27 Nov 2020 07:18:48 +0000 (16:18 +0900)]
e_config/e_policy_wl: add raise_before_show config

if raise_before_show configuration is enabled, then window can raise before showing.

Change-Id: I344484cbf23e519f5787f785835e35c0f07177c3

3 years agoe_hwc_window: fix wrong transform of recover buffer 44/248344/1
Changyeon Lee [Wed, 25 Nov 2020 11:31:16 +0000 (20:31 +0900)]
e_hwc_window: fix wrong transform of recover buffer

if recover buffer is created by display buffer, recover buffer has
the transform normal
in case of window is rotated, recover buffer has wrong transform
so we add trnasform to window buffer and
set transform of display buffer to recover buffer.

Change-Id: I50bf4a12abfe50ec0b89d227ba441a7d9d179aeb

3 years agoRevert "e_comp_wl: use e_client_data_get" 19/248219/1 accepted/tizen/unified/20201124.123022 submit/tizen/20201124.042649
SooChan Lim [Tue, 24 Nov 2020 03:17:51 +0000 (12:17 +0900)]
Revert "e_comp_wl: use e_client_data_get"

This reverts commit f2fdb61ed951aec0441a50c71912af9f731e5a5b.

Change-Id: Ic398a6485f0450f209b0571afd2510735a61c1a9

3 years agoe_client: add e_client_cdata_new/free api. 49/248049/6 submit/tizen/20201120.053428
SooChan Lim [Fri, 20 Nov 2020 03:08:43 +0000 (12:08 +0900)]
e_client: add e_client_cdata_new/free api.

add creation/free functions for E_Comp_Wl_Client_Data and use them.

Change-Id: I541c280a7e228e318e087191b0a233a9d57a0077

3 years agoe_comp_wl: assign cdata to ec->comp_data 52/248052/1
SooChan Lim [Fri, 20 Nov 2020 04:50:02 +0000 (13:50 +0900)]
e_comp_wl: assign cdata to ec->comp_data

This patch fixes the crash issue

Change-Id: I33bee613da6d61689b1e3900c2cd1bc9b912e84c

3 years agoviewport: Raise errors when bad src or dst values are used.
Seunghun Lee [Thu, 12 Nov 2020 00:52:34 +0000 (09:52 +0900)]
viewport: Raise errors when bad src or dst values are used.

The detail error cases are described at 'scaler.xml' in
wayland-extension project.

Change-Id: Idff11a08ed8c0f4d2f95909fda6230b623e208d1

3 years agoe_comp_wl_capture: correct image size according to orientation of image. 78/247978/2 submit/tizen/20201119.103351
Seunghun Lee [Wed, 18 Nov 2020 06:28:05 +0000 (15:28 +0900)]
e_comp_wl_capture: correct image size according to orientation of image.

When try to capture the image of buffer to which the output transform
has been applied, should consider to swapping size.

Change-Id: Ib0d8946e5f66c65743facda60de73301ee78862b

3 years agoe_comp_wl_capture: Add tbm buffer type for video capture. 77/247977/2
Seunghun Lee [Wed, 18 Nov 2020 06:24:49 +0000 (15:24 +0900)]
e_comp_wl_capture: Add tbm buffer type for video capture.

It's to support video capture which creates tizen_video_object but not
composited by hwc. In that case, buffer type will be
E_COMP_WL_BUFFER_TYPE_TBM.

Change-Id: Ibbe6eed5b30fc435fae70d773884141f1ec1fb8e

3 years agosubsurface: set below_object to pass events. 00/248000/2
Seunghun Lee [Thu, 19 Nov 2020 05:32:03 +0000 (14:32 +0900)]
subsurface: set below_object to pass events.

The event EVAS_CALLBACK_MOUSE_OUT cannot happen by creation
of below_obj.

This patch is to fix that Evas object associated with E_Client got
event of mouse_out unexpectedly because of creation of below_obj
even though cursor still remained on the window.

Change-Id: Ia5a5162c7f63f8f7578bdc1ad7bfec1485e3d387

3 years agoe_info_server: add -trace damage option 08/247808/2
Changyeon Lee [Tue, 17 Nov 2020 04:10:49 +0000 (13:10 +0900)]
e_info_server: add -trace damage option

if -trace damage is enabled, log of damage is printed by ELOGF
and green rectangle is rendered.

Change-Id: I783d9cfeae8363031b434d9a409c8b819c1bf043

3 years agoe_service_volume: use e_client_cdata_get 22/247622/1 submit/tizen/20201117.045823
SooChan Lim [Tue, 10 Nov 2020 06:29:53 +0000 (15:29 +0900)]
e_service_volume: use e_client_cdata_get

Change-Id: I6326776c777bf6ba7a8c5dcd53a4d98c2d849615

3 years agoe_service_launcher: use e_client_cdate_get 21/247621/1
SooChan Lim [Tue, 10 Nov 2020 06:22:48 +0000 (15:22 +0900)]
e_service_launcher: use e_client_cdate_get

Change-Id: I567aae2ff4fc9509401f239f3da9c2635f95ec99

3 years agoe_service_cbhm: use e_client_cdata_get 20/247620/1
SooChan Lim [Tue, 10 Nov 2020 06:21:31 +0000 (15:21 +0900)]
e_service_cbhm: use e_client_cdata_get

Change-Id: Icc427bf13f563e225f3f8fa2e45f68ae23d1cf96

3 years agoe_policy_wl: use e_client_cdata_get 19/247619/1 submit/tizen/20201119.232032
SooChan Lim [Wed, 11 Nov 2020 04:24:00 +0000 (13:24 +0900)]
e_policy_wl: use e_client_cdata_get

Change-Id: Id83f9afad0206633a64c6b4197953134b8527a81

3 years agoe_xdg_shell_v6: use e_client_cdata_get 18/247618/1
SooChan Lim [Wed, 11 Nov 2020 03:19:10 +0000 (12:19 +0900)]
e_xdg_shell_v6: use e_client_cdata_get

Change-Id: Iecee71a1e1e27a99dd7897569bf8edab57f26df8

3 years agoe_process: use e_client_cdata_get 17/247617/1
SooChan Lim [Wed, 11 Nov 2020 03:10:58 +0000 (12:10 +0900)]
e_process: use e_client_cdata_get

Change-Id: If9f57a5a17d85762f70b405655a214d4f00fc6f7

3 years agoe_desk_group: use e_client_cdata_get 16/247616/1
SooChan Lim [Wed, 11 Nov 2020 03:10:09 +0000 (12:10 +0900)]
e_desk_group: use e_client_cdata_get

Change-Id: I99a71663c216dcc66fe5925914554b89d4de6fa0

3 years agoe_desk: use e_client_cdata_get 15/247615/1
SooChan Lim [Wed, 11 Nov 2020 03:09:22 +0000 (12:09 +0900)]
e_desk: use e_client_cdata_get

Change-Id: If2a62f92387b7e68034f946b8d9ea4c7af813482

3 years agoe_slot: use e_client_cdata_get 14/247614/1
SooChan Lim [Wed, 11 Nov 2020 03:08:06 +0000 (12:08 +0900)]
e_slot: use e_client_cdata_get

Change-Id: I9bde01128cf56d930e9778849aef418c65b26034

3 years agoe_comp_wl: use e_client_data_get 13/247613/1 submit/tizen/20201119.231807
SooChan Lim [Wed, 11 Nov 2020 05:09:31 +0000 (14:09 +0900)]
e_comp_wl: use e_client_data_get

Change-Id: I87d2c906d50fd5ce7d2a89b18073c64cab5a6dbd

3 years agoe_comp_object: use e_client_cdata_get 12/247612/1 submit/tizen/20201119.231741
SooChan Lim [Wed, 11 Nov 2020 04:27:04 +0000 (13:27 +0900)]
e_comp_object: use e_client_cdata_get

Change-Id: I5192f2fbf8b17a955e94a8f664097d8e21dbe9e6

3 years agoe_client: use e_client_cdata_get 11/247611/1
SooChan Lim [Wed, 11 Nov 2020 00:42:43 +0000 (09:42 +0900)]
e_client: use e_client_cdata_get

Change-Id: I4b1bdb840b2d1a254d78c08b7616bd875f4e2a5f

3 years agoe_output: erase unnecessary null checking condition 14/246614/3
Junkyeong Kim [Mon, 2 Nov 2020 11:32:03 +0000 (20:32 +0900)]
e_output: erase unnecessary null checking condition

Change-Id: I286383717255dba0e81c3ec157cb3dae2a489ab8
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
3 years agoe_explicit_sync: use e_client_cdata_get 81/247481/3 accepted/tizen/unified/20201112.124133 submit/tizen/20201111.090326
SooChan Lim [Wed, 11 Nov 2020 00:54:25 +0000 (09:54 +0900)]
e_explicit_sync: use e_client_cdata_get

Change-Id: Ib3d11e1cb06b5aa4452433b2820377d877b47f2f

3 years agoe_eom: use e_client_cdata_get 80/247480/3
SooChan Lim [Wed, 11 Nov 2020 00:53:57 +0000 (09:53 +0900)]
e_eom: use e_client_cdata_get

Change-Id: I1f1126332ffcf699b7a9a1d51b9e89382485e89b

3 years agoe_presentation_time: use e_client_cdata_get 79/247479/3
SooChan Lim [Wed, 11 Nov 2020 00:51:42 +0000 (09:51 +0900)]
e_presentation_time: use e_client_cdata_get

Change-Id: I2878ed830f78aa59b617f698cb7d0cfb96399209

3 years agoe_plane_renderer: use e_client_cdata_get 78/247478/3
SooChan Lim [Wed, 11 Nov 2020 00:50:56 +0000 (09:50 +0900)]
e_plane_renderer: use e_client_cdata_get

Change-Id: Ia94b11726d63b0ccfe49f279f2a7c45d134080b9

3 years agoe_plane: use e_client_cdata_get 77/247477/3
SooChan Lim [Wed, 11 Nov 2020 00:50:05 +0000 (09:50 +0900)]
e_plane: use e_client_cdata_get

Change-Id: I61a811b5f628dc912ccd66fc282d94c38fee92af

3 years agoe_hwc_windows: use e_client_cdata_get 76/247476/3
SooChan Lim [Wed, 11 Nov 2020 00:47:59 +0000 (09:47 +0900)]
e_hwc_windows: use e_client_cdata_get

Change-Id: I41f58c21cbae9e6d77ef3273e4704fa8dd0300a3

3 years agoe_hwc_window_queue: use e_client_cdata_get 75/247475/3
SooChan Lim [Wed, 11 Nov 2020 00:46:32 +0000 (09:46 +0900)]
e_hwc_window_queue: use e_client_cdata_get

Change-Id: I75a1eb03dc0416dccb8e4ce8d5ce3056dc87240a

3 years agoe_hwc_planes: use e_client_cdata_get 74/247474/3
SooChan Lim [Wed, 11 Nov 2020 00:45:34 +0000 (09:45 +0900)]
e_hwc_planes: use e_client_cdata_get

Change-Id: I1f5ccc05ff6557e20782f93f9d217b7b6f040634

3 years agoe_hwc_window: use e_client_cdata_get 73/247473/3
SooChan Lim [Wed, 11 Nov 2020 00:45:03 +0000 (09:45 +0900)]
e_hwc_window: use e_client_cdata_get

Change-Id: Ied0741907dee35971aa3072c6c1253daf3bb5eb0

3 years agoe_output: use e_client_cdata_get 72/247472/3
SooChan Lim [Wed, 11 Nov 2020 00:49:22 +0000 (09:49 +0900)]
e_output: use e_client_cdata_get

Change-Id: I2fe492cc4050285a48a83d6d4dcd5eeb9bc36cae

3 years agoe_comp_screen: use e_client_cdata_get 71/247471/3
SooChan Lim [Wed, 11 Nov 2020 00:43:12 +0000 (09:43 +0900)]
e_comp_screen: use e_client_cdata_get

Change-Id: Iabe0f01f65d3d73e39aa962f8973b22044df59db

3 years agovideo_buffer: Do not call memcpy() with the size greater than dest. 90/247490/1
Seunghun Lee [Mon, 26 Oct 2020 06:36:43 +0000 (15:36 +0900)]
video_buffer: Do not call memcpy() with the size greater than dest.

Calling memcpy() with the size greater than dest may lead to a segfault,
since this causes a buffer overrun.
The pitch size of src is not guaranteed to have the same size as dest.
So it should use min value.

Change-Id: I3b4125cc7faa02bfc52e904160ffe711dc354594