platform/upstream/enlightenment.git
4 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

4 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>
4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 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

4 years agovideo: Do not free an instance in a handler of removing E_Client. 89/247489/1
Seunghun Lee [Wed, 14 Oct 2020 04:55:48 +0000 (13:55 +0900)]
video: Do not free an instance in a handler of removing E_Client.

Do not free an instance associated with tizen_video_object in a handler
of removing E_Client. The instance should be removed with wl_resource.

Change-Id: I6d3ac1ab81cc69a3b161415e84de41a20cf0520a

4 years agovideo: Remove unused variable. 88/247488/1
Seunghun Lee [Tue, 6 Oct 2020 05:39:10 +0000 (14:39 +0900)]
video: Remove unused variable.

Change-Id: I64ed366889acc86afd1da98486076f394af8f27f

4 years agovideo: Rename functions and variables more detail. 87/247487/1
Seunghun Lee [Tue, 6 Oct 2020 05:07:35 +0000 (14:07 +0900)]
video: Rename functions and variables more detail.

no functional changes

Change-Id: I1e506a2f535e8428d5618b1206b551e28eae8e12

4 years agovideo: Destroy hwc interface explicitly when rendering is failed. 86/247486/1
Seunghun Lee [Fri, 11 Sep 2020 08:33:01 +0000 (17:33 +0900)]
video: Destroy hwc interface explicitly when rendering is failed.

It's better to destroy interface explicitly at where it is created.
Therefore there is no need to return boolean value and leave an
extra description for how behavior will be changed according to
return value.

Change-Id: Ia0d828c9e16ce96556d46a2535ff9c1c1f9048b5

4 years agoe_hwc_windows: check visible of image object before obscured_by_target is set 24/247224/2 accepted/tizen/6.0/unified/20201111.064846 accepted/tizen/unified/20201110.125035 submit/tizen/20201109.083635 submit/tizen_6.0/20201110.082943
Changyeon Lee [Mon, 9 Nov 2020 07:02:47 +0000 (16:02 +0900)]
e_hwc_windows: check visible of image object before obscured_by_target is set

Change-Id: Ib06752c9ec9ca8e8332c610d2dce1c45b283349a

4 years agoe_hwc_windows: send discard feedback if commit ins't needed 88/247188/2
Changyeon Lee [Fri, 6 Nov 2020 10:16:00 +0000 (19:16 +0900)]
e_hwc_windows: send discard feedback if commit ins't needed

Change-Id: I4628e82556fcbe4e33df6a17401e0e61fc56883c

4 years agoe_hwc_windows: don' call sync callback if hwc needs re_evaluate 87/247187/2
Changyeon Lee [Fri, 6 Nov 2020 10:06:05 +0000 (19:06 +0900)]
e_hwc_windows: don' call sync callback if hwc needs re_evaluate

transition of hwc can be set false even if hwc_commit is needed.

Change-Id: I528deaebf748e6c6e2f09981c5d1611c61767848

4 years agosubsurface: Place sub-surface under parent even if it's in below_list. 41/246941/3
Seunghun Lee [Thu, 5 Nov 2020 07:58:44 +0000 (16:58 +0900)]
subsurface: Place sub-surface under parent even if it's in below_list.

E didn't handle the task required for placing below parent if
sub-surface was in below_list.
But to me, the name of this API seems to be supposed to make sub-surface
place below parent whenever it's invoked. And I think this way is more
reasonable.

Change-Id: I371fdb8fdd20a2a0b007cdfe1f00573d4a6a0e00

4 years agosubsurface: fix changing stack order of sub-surface with its parent. 40/246940/3
Seunghun Lee [Thu, 5 Nov 2020 07:47:49 +0000 (16:47 +0900)]
subsurface: fix changing stack order of sub-surface with its parent.

Sub-surface can be placed above or below of its parent by passing its
sub-surface with its parent as arguments to
wl_subsurface_place_above/below according to wl_subsurface description.

However, until now enlightenment seems not to have been supported this
operation correctly. In other words, enlightenment wasn't able to handle
stacking order of sub-surface in case wl_subsurface_place_above/below is
required with a parent of sub-surface.
This patch corrects it.

Change-Id: Icd65bf1759f1c7a3b950f6c9c222a41c9817a8ae

4 years agosubsurface: fix not inserting subsurface to pending state first. 35/246935/3
Seunghun Lee [Tue, 22 Sep 2020 05:08:38 +0000 (14:08 +0900)]
subsurface: fix not inserting subsurface to pending state first.

The z-order is double-buffered. So, subsurface has to be inserted to
pending list first, not to active list.

Change-Id: Id76563920c511f8321d11c3e44bdfd80fd605f62

4 years agosubsurface: Raise a protocol error for a bad parent. 34/246934/3
Seunghun Lee [Tue, 22 Sep 2020 04:52:01 +0000 (13:52 +0900)]
subsurface: Raise a protocol error for a bad parent.

This case should be failed noisily.

Change-Id: If20eadc7bab66696fe01f323b03bb3a7f9d7819e

4 years agosubsurface: Do not raise a protocol error for a reference surface as parent. 33/246933/3
Seunghun Lee [Tue, 22 Sep 2020 04:32:11 +0000 (13:32 +0900)]
subsurface: Do not raise a protocol error for a reference surface as parent.

According to a documentation of wl_subsurface, a parent surface can be a
reference surface for wl_subsurface.place_(above/below) interface.

Change-Id: Iafb202dce3a88e12e9be24809a61aca5746e1fc6

4 years agosubsurface: Raise a protocol error about wl_subsurface.place_(above/below). 32/246932/3
Seunghun Lee [Tue, 22 Sep 2020 02:59:22 +0000 (11:59 +0900)]
subsurface: Raise a protocol error about wl_subsurface.place_(above/below).

Check for bad sibling and raise the required error.

Change-Id: Iaa2af9818e35c62fbc8b15ed5222c4bc431eba2a

4 years agoRevert "e_hwc_windows: send discard feedback if commit ins't needed" 33/247033/1 accepted/tizen/unified/20201109.123502 submit/tizen/20201109.013958
Changyeon Lee [Fri, 6 Nov 2020 08:29:12 +0000 (17:29 +0900)]
Revert "e_hwc_windows: send discard feedback if commit ins't needed"

This reverts commit de5d14338e6156fbd43974538ee5a7ab9425adbb.

Change-Id: I6b2b7ed1a1faea41579a5163c9de639aad0d3bcc

4 years agoe_desk: add log for setting/unsetting zoom 02/247002/2 accepted/tizen/unified/20201106.130127 submit/tizen/20201106.045540
Doyoun Kang [Fri, 6 Nov 2020 03:07:39 +0000 (12:07 +0900)]
e_desk: add log for setting/unsetting zoom

Change-Id: If1780377baafea967e15e430bfe6c42742b61eb3

4 years agoRevert "e_desk: run zoom-effect only if the zoom ratio is changed" 01/247001/2
Doyoun Kang [Fri, 6 Nov 2020 03:03:34 +0000 (12:03 +0900)]
Revert "e_desk: run zoom-effect only if the zoom ratio is changed"

This reverts commit ffef14549adfec917d47482ac829e6ce2e78e571.

Change-Id: I0dd273237e86843d6b7322fcdea2d434202e3093

4 years agoe_comp_wl_tizen_hwc: add timer to hwc_commit_feedback 65/246965/2
Changyeon Lee [Thu, 5 Nov 2020 09:47:52 +0000 (18:47 +0900)]
e_comp_wl_tizen_hwc: add timer to hwc_commit_feedback

Change-Id: Ib6abc7274281745b8374f233dce06c7f6514f2f4

4 years agoe_hwc_windows: send discard feedback if commit ins't needed 64/246964/2
Changyeon Lee [Thu, 5 Nov 2020 10:17:14 +0000 (19:17 +0900)]
e_hwc_windows: send discard feedback if commit ins't needed

Change-Id: Id2b40adfcf029a218d8268239bcf2b78296605be

4 years agoe_desk: run zoom-effect only if the zoom ratio is changed 66/246966/1
Doyoun Kang [Thu, 5 Nov 2020 10:49:36 +0000 (19:49 +0900)]
e_desk: run zoom-effect only if the zoom ratio is changed

Change-Id: I2fff406e18cff36a78ad93005a0c515044b4466c

4 years agoRevert "video: Destroy hwc interface explicitly when rendering is failed." 53/246853/1 accepted/tizen/unified/20201105.124332 submit/tizen/20201105.050753
Doyoun Kang [Wed, 4 Nov 2020 11:57:25 +0000 (20:57 +0900)]
Revert "video: Destroy hwc interface explicitly when rendering is failed."

This reverts commit 35e41776c77705c2c37fee10ef7ccbbb73514f93.

Change-Id: Ia462d44af3f7905d0745fe3b442fec9772e25c5a

4 years agoRevert "subsurface: Raise a protocol error about wl_subsurface.place_(above/below)." 52/246852/1
Doyoun Kang [Wed, 4 Nov 2020 11:56:36 +0000 (20:56 +0900)]
Revert "subsurface: Raise a protocol error about wl_subsurface.place_(above/below)."

This reverts commit 634a93f81bbafb5677918f77895d31fd64a9a165.

Change-Id: I7b5e86b9617a51c5c0ac444380495b725ebe1dd9

4 years agoRevert "subsurface: Do not raise a protocol error for a reference surface as parent." 51/246851/1
Doyoun Kang [Wed, 4 Nov 2020 11:56:08 +0000 (20:56 +0900)]
Revert "subsurface: Do not raise a protocol error for a reference surface as parent."

This reverts commit 29359d02eb4667384e599ba6baa0797d14f823ca.

Change-Id: I3321d170c72a97c8b80e7e1b6e794dafe5cbb01a

4 years agoRevert "subsurface: Raise a protocol error for a bad parent." 50/246850/1
Doyoun Kang [Wed, 4 Nov 2020 11:55:52 +0000 (20:55 +0900)]
Revert "subsurface: Raise a protocol error for a bad parent."

This reverts commit d3cbe02df50c847973c1ba147e0a112838af26c5.

Change-Id: Idf59aa2e6a94f6a53c24e2da4abaa161be6e6f44

4 years agoRevert "subsurface: fix not inserting subsurface to pending state first." 49/246849/1
Doyoun Kang [Wed, 4 Nov 2020 11:55:33 +0000 (20:55 +0900)]
Revert "subsurface: fix not inserting subsurface to pending state first."

This reverts commit 87d56cb63c49c94b9ecb25ecab4005bf4f688165.

Change-Id: If1c48b5f777c7e8aff4b237f17c2a88c782ccff1

4 years agoRevert "video: Rename functions and variables more detail." 48/246848/1
Doyoun Kang [Wed, 4 Nov 2020 11:54:54 +0000 (20:54 +0900)]
Revert "video: Rename functions and variables more detail."

This reverts commit 76563ffde2c4b5bf0be317b40145a1e47f43890f.

Change-Id: Idd6661c970e9ff0c205e3987490bdb1f7c389e84

4 years agoRevert "video: Remove unused variable." 47/246847/1
Doyoun Kang [Wed, 4 Nov 2020 11:54:29 +0000 (20:54 +0900)]
Revert "video: Remove unused variable."

This reverts commit 1b1659007bc040a244c98d487c443f2cc2f029fb.

Change-Id: I3041e729eb940f6eb213342301e36ce6fa0a3997

4 years agoRevert "video: Do not free an instance in a handler of removing E_Client." 46/246846/1
Doyoun Kang [Wed, 4 Nov 2020 11:54:02 +0000 (20:54 +0900)]
Revert "video: Do not free an instance in a handler of removing E_Client."

This reverts commit 2c80683703923f54749a81f410cea50f4d772a3b.

Change-Id: Ic2d4371635a9e4019e9390aae297c113eb08c90c

4 years agoRevert "subsurface: Handles restack event only for topmost parent of sub-surface." 45/246845/1
Doyoun Kang [Wed, 4 Nov 2020 11:53:31 +0000 (20:53 +0900)]
Revert "subsurface: Handles restack event only for topmost parent of sub-surface."

This reverts commit 0ce9e1e920050692e28c75cd1cfc3cc38cc0be2e.

Change-Id: I1398b077e061c5ee1bacdece7292bdcd3e43e85b

4 years agoRevert "e_client: Checks if it's valid operation for sub-surface." 44/246844/1
Doyoun Kang [Wed, 4 Nov 2020 11:53:10 +0000 (20:53 +0900)]
Revert "e_client: Checks if it's valid operation for sub-surface."

This reverts commit 1cf2f111f9ff9a1043cde8c0f201ee53d74ef0a4.

Change-Id: Id3b909374118cec52d862cf0ad03272c0db8f1a7

4 years agoRevert "subsurface: Do not update stacking order of entire sub-surface tree." 43/246843/1
Doyoun Kang [Wed, 4 Nov 2020 11:52:08 +0000 (20:52 +0900)]
Revert "subsurface: Do not update stacking order of entire sub-surface tree."

This reverts commit 3d028b1c348ab53170b4f6e70ebe0794de14ff8d.

Change-Id: Id5f8d6ee29e289119fc107c6977b431139389664

4 years agoRevert "subsurface: Remove some unnecessary internal API for sub-surface." 42/246842/1
Doyoun Kang [Wed, 4 Nov 2020 11:51:24 +0000 (20:51 +0900)]
Revert "subsurface: Remove some unnecessary internal API for sub-surface."

This reverts commit f8193c22fa299e2eacdca44fe660545ceaa67c47.

Change-Id: Id45c14e22c74276ee1a0cc3461d8dedb4413b751

4 years agoRevert "video_buffer: Do not call memcpy() with the size greater than dest." 41/246841/1
Doyoun Kang [Wed, 4 Nov 2020 11:51:00 +0000 (20:51 +0900)]
Revert "video_buffer: Do not call memcpy() with the size greater than dest."

This reverts commit a31a94ee5394230d1d0902a30ff299a6dec919ec.

Change-Id: I4cd67474dc9dd73243d8aaf53b5309ba37c23dec

4 years agoRevert "subsurface: Add a function to link sub-surface to its parent." 40/246840/1
Doyoun Kang [Wed, 4 Nov 2020 11:49:20 +0000 (20:49 +0900)]
Revert "subsurface: Add a function to link sub-surface to its parent."

This reverts commit 04f8ba7a72e18f4bc7113b654a0fa9dae4cabbd2.

Change-Id: Ia6bd0fa8146a65ecec1d8cba8a5ab2f200614c2b

4 years agoRevert "subsurface: fix not being able to update stack by place_below_parent." 39/246839/1
Doyoun Kang [Wed, 4 Nov 2020 11:45:09 +0000 (20:45 +0900)]
Revert "subsurface: fix not being able to update stack by place_below_parent."

This reverts commit c1e727fb2bd951f4fdca2da87418d2047d5fe0ba.

Change-Id: Idba380e97acc07c733eb7fd429b572b314a13fe4

4 years agoe_policy_visibility: check iconify_by_client during uniconify children 74/246674/1
Junseok, Kim [Tue, 3 Nov 2020 04:30:14 +0000 (13:30 +0900)]
e_policy_visibility: check iconify_by_client during uniconify children

Change-Id: Ibbe212d5b247cbdbcb3feb81fb4bc7835b758bcd
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
4 years agoe_policy_visibility: check iconify_by_client during activate children 16/246616/2 accepted/tizen/unified/20201103.123330 submit/tizen/20201103.033023
Junseok, Kim [Mon, 2 Nov 2020 11:54:55 +0000 (20:54 +0900)]
e_policy_visibility: check iconify_by_client during activate children

Change-Id: I81ab7785bf34529e137172c755cd1cb377659c44
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
4 years agoRevert "e_client: use e_client_cdata_get instead of using ec->comp_data." 70/246670/1
SooChan Lim [Tue, 3 Nov 2020 02:27:50 +0000 (11:27 +0900)]
Revert "e_client: use e_client_cdata_get instead of using ec->comp_data."

This reverts commit 7f6b3211a4fd1b6b9ea2d76ae0264fdba3156f4a.

Change-Id: I9cc60c45d2d11b9bbd57942672dd3ea7ac7656ba

4 years agoRevert "e_comp_wl_shell: do not check if cdata is null" 69/246669/1
SooChan Lim [Tue, 3 Nov 2020 02:25:32 +0000 (11:25 +0900)]
Revert "e_comp_wl_shell: do not check if cdata is null"

This reverts commit 1678a6c3e4adb923f28809dffd51f60e74efe4e7.

Change-Id: I7baef2c1f5ac53918d00628fc0d98bd716a7692c

4 years agoRevert "e_client: use e_client_mapped_get() instead of cdata->mapped." 68/246668/1
SooChan Lim [Tue, 3 Nov 2020 02:25:20 +0000 (11:25 +0900)]
Revert "e_client: use e_client_mapped_get() instead of cdata->mapped."

This reverts commit bb8e727c1a0d539bc179bf274096abf42ce107b6.

Change-Id: Ifebdcb01720bfcf20f178761b857941433fa17dd

4 years agoRevert "e_client: use e_client_first_mapped_get() function instead of ec->first_mapped" 67/246667/1
SooChan Lim [Tue, 3 Nov 2020 02:24:52 +0000 (11:24 +0900)]
Revert "e_client: use e_client_first_mapped_get() function instead of ec->first_mapped"

This reverts commit a3c87d6c955548848b2a3f8351c9f4ffde4c8915.

Change-Id: I7673e23f79be45238c1ac9dea07eb01d4badc047

4 years agoRevert "e_client: use e_client_mapped_set() function" 66/246666/1
SooChan Lim [Tue, 3 Nov 2020 02:24:33 +0000 (11:24 +0900)]
Revert "e_client: use e_client_mapped_set() function"

This reverts commit f5e6e1fc8f2a65774233529ced93d06ab5d191a5.

Change-Id: Id73e777960fe9a46dffa8dbcfb81d578873e49fb

4 years agoRevert "subsurface: fix mistake caused by previous patch." 65/246665/1
SooChan Lim [Tue, 3 Nov 2020 02:23:48 +0000 (11:23 +0900)]
Revert "subsurface: fix mistake caused by previous patch."

This reverts commit a1cc2617a4c8c9d38e25fe5c5603a41e60a39ef8.

Change-Id: Ibd488f567dab0edba993053ae7a46690997c6479

4 years agoRevert "subsurface: fix unreachable code." 64/246664/1
SooChan Lim [Tue, 3 Nov 2020 02:23:42 +0000 (11:23 +0900)]
Revert "subsurface: fix unreachable code."

This reverts commit 34419db7788634f34bb3e819dfb8ba6c4a46a1d3.

Change-Id: I2c4c286a74de94c1782c8d9391ff6255a6ee2584

4 years agoRevert "e_comp_wl_input: check ec's cdata before accessing it" 63/246663/1
SooChan Lim [Tue, 3 Nov 2020 02:23:08 +0000 (11:23 +0900)]
Revert "e_comp_wl_input: check ec's cdata before accessing it"

This reverts commit 59202013a86d14b7eee5a38eb3927d63f59b6716.

Change-Id: I59f0d3b63cf26b755b9c457bb07205919531a0f3

4 years agoRevert "e_policy_wl: fix resource leak" 62/246662/1
SooChan Lim [Tue, 3 Nov 2020 02:23:02 +0000 (11:23 +0900)]
Revert "e_policy_wl: fix resource leak"

This reverts commit 55306931a567e31a843c766a151500cb7aa95e5e.

Change-Id: I053c64ad5214ec9b439a286073bc3d367fadc4ad

4 years agoRevert "e_comp_wl: remove unreached code." 61/246661/1
SooChan Lim [Tue, 3 Nov 2020 02:22:56 +0000 (11:22 +0900)]
Revert "e_comp_wl: remove unreached code."

This reverts commit 386494e639ba141a7a47f2cc11eb522bb5615c69.

Change-Id: I729e624264299e913f059b46c3e449f0d24bb12b

4 years agoRevert "e_client: fix the dereferenced data" 60/246660/1
SooChan Lim [Tue, 3 Nov 2020 02:22:51 +0000 (11:22 +0900)]
Revert "e_client: fix the dereferenced data"

This reverts commit b40e2c03385173a36e20563e39e900c10b5fc08c.

Change-Id: Ie726329b3c346114f6d84ba4a2865e0611c08073

4 years agoRevert "e_comp_object: fix the unreached code" 59/246659/1
SooChan Lim [Tue, 3 Nov 2020 02:22:49 +0000 (11:22 +0900)]
Revert "e_comp_object: fix the unreached code"

This reverts commit 51a780029c06abc0b6777ae3bfeaacdea660bd3b.

Change-Id: I0d2cad881f585a45b38fc01f3095494fcc97b171

4 years agoRevert "e_xdg_shell_v6: fix the dereferenced data" 58/246658/1
SooChan Lim [Tue, 3 Nov 2020 02:22:46 +0000 (11:22 +0900)]
Revert "e_xdg_shell_v6: fix the dereferenced data"

This reverts commit 51784681bdb849b97982f0335dd197c6715e467c.

Change-Id: I4a45a7685457b42096ca9dcde09aeeed319867fb

4 years agoRevert "e_policy_wl: add null check code" 57/246657/1
SooChan Lim [Tue, 3 Nov 2020 02:22:44 +0000 (11:22 +0900)]
Revert "e_policy_wl: add null check code"

This reverts commit 28a0b5ece733d06ca2540c3ede8edd3f59ea1338.

Change-Id: I91a3eeac3dff2ba0100964d41124e9ebd5e31f91

4 years agoRevert "e_xdg_shell: add null check code" 56/246656/1
SooChan Lim [Tue, 3 Nov 2020 02:22:42 +0000 (11:22 +0900)]
Revert "e_xdg_shell: add null check code"

This reverts commit be3a76a570cf8794cfae96528b3cfccf320269db.

Change-Id: Ibfacc3c412b1b1a81433b2fee878234499080ab6

4 years agoe_xdg_shell: add null check code 12/246612/1 tizen_bkup_20201103
Doyoun Kang [Mon, 2 Nov 2020 10:00:12 +0000 (19:00 +0900)]
e_xdg_shell: add null check code

Change-Id: Icfb405598ca852255e7cac356db37518aaaafb29

4 years agoe_policy_wl: add null check code 11/246611/1
Doyoun Kang [Mon, 2 Nov 2020 09:59:52 +0000 (18:59 +0900)]
e_policy_wl: add null check code

Change-Id: I61a5bd5b9dbdfc1cf012a2d2c02acaa75b77b139

4 years agoe_xdg_shell_v6: fix the dereferenced data 94/246594/1
SooChan Lim [Mon, 2 Nov 2020 09:02:01 +0000 (18:02 +0900)]
e_xdg_shell_v6: fix the dereferenced data

Change-Id: Iac5e1c349df5930d8411b23f7915c5f55e57cb56

4 years agoe_comp_object: fix the unreached code 93/246593/1
SooChan Lim [Mon, 2 Nov 2020 08:53:42 +0000 (17:53 +0900)]
e_comp_object: fix the unreached code

Change-Id: Ib0ed0c1461d8a7efe44f8b0de5c667c0d124b160

4 years agoe_client: fix the dereferenced data 92/246592/1
SooChan Lim [Mon, 2 Nov 2020 08:51:58 +0000 (17:51 +0900)]
e_client: fix the dereferenced data

Change-Id: I2bc1cfe11eaa80b96b27086dfffd194c934e5b90

4 years agoe_comp_wl: remove unreached code. 91/246591/1
SooChan Lim [Mon, 2 Nov 2020 08:48:26 +0000 (17:48 +0900)]
e_comp_wl: remove unreached code.

Change-Id: Ia614dc818a09fe3034b8fa1834b450282a592194

4 years agoe_policy_wl: fix resource leak 88/246588/1 submit/tizen/20201102.084816
Doyoun Kang [Mon, 2 Nov 2020 08:35:45 +0000 (17:35 +0900)]
e_policy_wl: fix resource leak

Change-Id: Id581a191ddc29a8693c63e0bbdd89b7767190322

4 years agoe_comp_wl_input: check ec's cdata before accessing it 87/246587/1
Doyoun Kang [Mon, 2 Nov 2020 08:26:32 +0000 (17:26 +0900)]
e_comp_wl_input: check ec's cdata before accessing it

Change-Id: I8795c6fbd2e7f67987c659eb9f71afba85816e92

4 years agoe_policy_wl: raise window which is not set lock_user_stacking in e_policy_wl_activate 84/246584/1 submit/tizen/20201102.081405
Doyoun Kang [Mon, 2 Nov 2020 08:07:41 +0000 (17:07 +0900)]
e_policy_wl: raise window which is not set lock_user_stacking in e_policy_wl_activate

Change-Id: I3f541f1bcf3e1e473e7a7ffc3d4eaf43d94ea1ad

4 years agosubsurface: fix not being able to update stack by place_below_parent. 91/246491/2
Seunghun Lee [Fri, 30 Oct 2020 03:08:10 +0000 (12:08 +0900)]
subsurface: fix not being able to update stack by place_below_parent.

This problem was caused by the following patch I made for the reason that
described in the commit message.

===
commit 3d028b1c348ab53170b4f6e70ebe0794de14ff8d
Author: Seunghun Lee <shiin.lee@samsung.com>
Date:   Thu Oct 22 13:41:18 2020 +0900

    subsurface: Do not update stacking order of entire sub-surface tree.
===

The stacking order of sub-surface should be actually updated when state
of its immediate parent is applied according to the wl_subsurface
description.

However, 'tizen_policy.subsurface_place_below_parent' seems not to be
designed like that. So, just let 'tizen_policy.subsurface_place_below_parent'
update the stacking order immediately.
Otherwise I think this protocol can't support backward comatibility.
Clients of wayland server must be assuming that changing stacking order by
this protocol will be applied regardless of state of its parent.

Change-Id: I11a7644d16431f612a5674851a40964a48d97bbf

4 years agosubsurface: fix unreachable code. 92/246492/2
Seunghun Lee [Fri, 30 Oct 2020 04:13:37 +0000 (13:13 +0900)]
subsurface: fix unreachable code.

this problem caused by mistake in previous commit.

Change-Id: I8e8d7dbe42c96817df853b8d8d290efa90cf63f0

4 years agosubsurface: fix mistake caused by previous patch. 90/246490/1
Seunghun Lee [Fri, 30 Oct 2020 02:19:54 +0000 (11:19 +0900)]
subsurface: fix mistake caused by previous patch.

It has to raise a protocol error to sub-surface, not its sibling surface.

Change-Id: I6bbe55801807fd1a35eb45d17ff9910e87086c14

4 years agoe_policy_visibility: check above's rot.pending_show flag in _e_vis_ec_above_visible_type 09/246409/2
Doyoun Kang [Thu, 29 Oct 2020 06:00:14 +0000 (15:00 +0900)]
e_policy_visibility: check above's rot.pending_show flag in _e_vis_ec_above_visible_type

Change-Id: I61fdf81684bb6caa6754a7b85e33364753d34b0d

4 years agoe_comp_wl_tizen_hwc: add ec to the log 31/246431/3 submit/tizen/20201102.223648
SooChan Lim [Thu, 29 Oct 2020 07:40:45 +0000 (16:40 +0900)]
e_comp_wl_tizen_hwc: add ec to the log

Change-Id: I71cb1af5061e460e9a66283b216185bfb332113e

4 years agoe_client: use e_client_mapped_set() function 99/246399/2
SooChan Lim [Thu, 29 Oct 2020 03:26:40 +0000 (12:26 +0900)]
e_client: use e_client_mapped_set() function

Change-Id: I473c8bf1c97de00bbe67ed82f6e13af985158914

4 years agoe_client: add e_client_mapped_set() function 98/246398/2
SooChan Lim [Thu, 29 Oct 2020 03:19:04 +0000 (12:19 +0900)]
e_client: add e_client_mapped_set() function

Change-Id: Iecdcff771d1be8fba9f1605ae65dc0f8d521f2f5

4 years agoe_client: use e_client_first_mapped_get() function instead of ec->first_mapped 97/246397/2
SooChan Lim [Thu, 29 Oct 2020 03:14:22 +0000 (12:14 +0900)]
e_client: use e_client_first_mapped_get() function instead of ec->first_mapped

Change-Id: I1ad41755ef726e3bb99501a4b26689df4252328e

4 years agoe_client: use e_client_mapped_get() instead of cdata->mapped. 90/246390/3
SooChan Lim [Thu, 29 Oct 2020 00:54:00 +0000 (09:54 +0900)]
e_client: use e_client_mapped_get() instead of cdata->mapped.

use e_client_mapped_get() api to avoid the direct access of ec->cdata->mapped

Change-Id: If3def60bcd4e6bedd371b6c5cc53885cf61652cd

4 years agoe_client: add e_client_mapped_get() function. 89/246389/1
SooChan Lim [Thu, 29 Oct 2020 00:44:09 +0000 (09:44 +0900)]
e_client: add e_client_mapped_get() function.

Change-Id: I01604ba714dc2726ccc389a6e011ab213cc13318

4 years agoe_comp_wl_shell: do not check if cdata is null 71/246371/1 submit/tizen/20201103.004241
SooChan Lim [Thu, 29 Oct 2020 00:54:21 +0000 (09:54 +0900)]
e_comp_wl_shell: do not check if cdata is null

Change-Id: I49014c62752ef010f646f44eaccbacf08231ea9b

4 years agoe_comp_wl: change the variable name of E_Comp_Wl_Data type from cdata to wl_cdata 60/244760/4
SooChan Lim [Thu, 24 Sep 2020 01:07:45 +0000 (10:07 +0900)]
e_comp_wl: change the variable name of E_Comp_Wl_Data type from cdata to wl_cdata

E20 is going to use the naming rule for E_Comp_Wl_Data and E_Comp_Client_Wl_Data below.
The local var_name for E_Comp_Wl_Data is wl_cdata.
The local var_name for E_Comp_Client_Wl_Data is cdata.

Change-Id: I8a7051d9829670ea5bac4252c64a2859586160a2

4 years agoe_client: use e_client_cdata_get instead of using ec->comp_data. 59/244759/5
SooChan Lim [Thu, 24 Sep 2020 00:00:44 +0000 (09:00 +0900)]
e_client: use e_client_cdata_get instead of using ec->comp_data.

E20 can gets the E_Comp_Wl_Client_Data of E_Client by e_client_cdata_get function.

Change-Id: Ib4b825871ad82251384dc2d44b9a16b5b6e2a498

4 years agoe_client: add e_client_cdata_get function 58/244758/3
SooChan Lim [Wed, 23 Sep 2020 23:57:11 +0000 (08:57 +0900)]
e_client: add e_client_cdata_get function

The e_client provides e_client_cdata_get() function.
A user can get the ec->comp_data with this function.

Change-Id: I2c5206d4b2d311d283303478a66016cc1cacb7ca

4 years agoe_pixmap: use E_Comp_Wl_Client_Data instead of E_Comp_Client_Data. 57/244757/3
SooChan Lim [Wed, 23 Sep 2020 23:52:42 +0000 (08:52 +0900)]
e_pixmap: use E_Comp_Wl_Client_Data instead of E_Comp_Client_Data.

E_Comp_Client_Data will be deprecated.

Change-Id: Ia9b1b25114fbae8cb4c52b5c94109f66dc5f7871

4 years agoe_client: use E_Comp_Wl_Client_Data instead of E_Comp_Client_Data. 56/244756/3
SooChan Lim [Wed, 23 Sep 2020 23:47:26 +0000 (08:47 +0900)]
e_client: use E_Comp_Wl_Client_Data instead of E_Comp_Client_Data.

E_Comp_Client_Data will be deprecated.

Change-Id: I6a9193edef91cc4731dd1a6784ff07d485538ed7

4 years agoe_comp: E_Comp_Wl_Client_Data is used instead of E_Comp_Client_Data. 55/244755/3
SooChan Lim [Wed, 23 Sep 2020 23:43:47 +0000 (08:43 +0900)]
e_comp: E_Comp_Wl_Client_Data is used instead of E_Comp_Client_Data.

E_Comp_Client_Data will be deprecated. E_Comp_Client_Data is the same definition as E_Comp_Wl_Client_Data.
Use E_Comp_Wl_Client_Data intead of this.

Change-Id: I330f131efc1982fa8b65add043e32a32166bb42e

4 years agoe_output: set output's dpms state to off if silent boot mode 08/245408/2
Junkyeong Kim [Thu, 8 Oct 2020 08:06:20 +0000 (17:06 +0900)]
e_output: set output's dpms state to off if silent boot mode

Change-Id: Ib178fc8631b5763c0b31460f5c93a7951e59015d
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agovideo: do not use pp if tdm pp does not support csc or rotation 47/245347/2
Junkyeong Kim [Wed, 7 Oct 2020 11:09:42 +0000 (20:09 +0900)]
video: do not use pp if tdm pp does not support csc or rotation

Change-Id: I29e80bfc7ee8b81e29820abe05fee3fc45abf33b
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agoe_policy_wl: check E_Appinfo is already exist when appinfo_register_pid 37/246337/2 accepted/tizen/unified/20201029.124823 submit/tizen/20201028.110311
Junseok, Kim [Wed, 28 Oct 2020 09:21:09 +0000 (18:21 +0900)]
e_policy_wl: check E_Appinfo is already exist when appinfo_register_pid

Change-Id: I6db38984b178a11fc84a3bb798d09d03175c507b
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
4 years agoe_appinfo: Delete E_Appinfo at compositor unbind instead of tzpol, tzlaunch_appinfo... 42/246242/4
Junseok, Kim [Tue, 27 Oct 2020 07:35:38 +0000 (16:35 +0900)]
e_appinfo: Delete E_Appinfo at compositor unbind instead of tzpol, tzlaunch_appinfo unbind.

The tizen_policy and tizen_launch_appinfo unbind can called by client when the client launching.
Since the E_Appinfo is removed at this time and re-created later, the base_output_resolution could not work properly.
For fix this issue, delete E_Appinfo when the compositor unbind callback called.

And added the E_Appinfo_Owner for recognize the E_Appinfo is created by client or server.
The E_Appinfo that created by client, will be destroyed at deregister_pid/appid request callback.
The others that created by server, will be destroyed at compositor unbind.

Change-Id: Id97ab328bc7a8a7ff97455d33f8b72c720b3b56b
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
4 years agoe_appinfo: remove duplicated E_Appinfo when pid/appid set 41/246241/3
Junseok, Kim [Tue, 27 Oct 2020 07:34:26 +0000 (16:34 +0900)]
e_appinfo: remove duplicated E_Appinfo when pid/appid set

Change-Id: I5b2f2e20dcf566a54e4f25532ededdf8cbb19e8e
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
4 years agoe_hwc_windows: support TDM_HWC_COMMIT_INTERVAL_VBLANK 36/246036/5
Changyeon Lee [Tue, 27 Oct 2020 07:56:33 +0000 (16:56 +0900)]
e_hwc_windows: support TDM_HWC_COMMIT_INTERVAL_VBLANK

if tdm_backend set TDM_HWC_COMMIT_INTERVAL_VBLANK, enlightenment call
tdm_hwc_commit per vblank.

Change-Id: I34e8689aab1f463797c6eb2b9ee733f17ebc8c11

4 years agoe_comp_wl_tbm: use capturable buffer at capture to file 47/245547/10
Changyeon Lee [Mon, 12 Oct 2020 06:42:16 +0000 (15:42 +0900)]
e_comp_wl_tbm: use capturable buffer at capture to file

Change-Id: I13b28b64196d58fe066e6ed82dbdd3c78e72172b

4 years agoe_comp_wl_tbm: add module func set/unset 46/245546/9
Changyeon Lee [Mon, 12 Oct 2020 06:41:24 +0000 (15:41 +0900)]
e_comp_wl_tbm: add module func set/unset

add capturable_buffer_get func and
e_comp_wl_tbm_capturable_buffer_get api

Change-Id: I5b95351b514858e44d807513bbfe5f99a9ff2890

4 years agoe_hwc_windows: don't commit after dpms is set OFF 45/245545/5
Changyeon Lee [Thu, 8 Oct 2020 05:23:41 +0000 (14:23 +0900)]
e_hwc_windows: don't commit after dpms is set OFF

Change-Id: I83605aa4d979e73090f9c406947b88b30383950b