platform/core/uifw/libtdm.git
7 years agohelper: consider the real buffer size 25/133625/1
Boram Park [Sat, 10 Jun 2017 23:25:27 +0000 (08:25 +0900)]
helper: consider the real buffer size

Change-Id: I6950f430aa2581c93709c80200f7b60600b56af4

7 years agohelper: add tdm_helper_get_buffer_full_size() to get the real buffer size 24/133624/1
Boram Park [Sat, 10 Jun 2017 23:24:07 +0000 (08:24 +0900)]
helper: add tdm_helper_get_buffer_full_size() to get the real buffer size

Change-Id: Ie27d3b52ab57171b25628e8a85fc509d1e643e21

7 years agopackage version up to 1.6.20 accepted/tizen/3.0/common/20170601.105940 accepted/tizen/3.0/ivi/20170531.231426 accepted/tizen/3.0/mobile/20170531.231416 accepted/tizen/3.0/tv/20170531.231419 accepted/tizen/3.0/wearable/20170531.231421 accepted/tizen/unified/20170531.082746 submit/tizen_3.0/20170530.054055
Boram Park [Tue, 30 May 2017 05:37:17 +0000 (14:37 +0900)]
package version up to 1.6.20

Change-Id: I6aa36f184b3d4e23c9388af1fc89e1d0ea24c11b

7 years agoserver: ignore chown & chmod errors 69/131569/2
Boram Park [Tue, 30 May 2017 04:57:18 +0000 (13:57 +0900)]
server: ignore chown & chmod errors

Change-Id: I0a923486ca44f8b2b0232bfe4d728a39a66d6df0

7 years agopackage version up to 1.6.19 accepted/tizen/3.0/common/20170530.103800 accepted/tizen/3.0/ivi/20170529.225822 accepted/tizen/3.0/mobile/20170529.225810 accepted/tizen/3.0/tv/20170529.225814 accepted/tizen/3.0/wearable/20170529.225818 submit/tizen_3.0/20170526.071727
Boram Park [Fri, 26 May 2017 04:32:45 +0000 (13:32 +0900)]
package version up to 1.6.19

Change-Id: Ide4d9c9d0deeb0cf0e034497d40824ac8ebd4f8e

7 years agoserver: skip chown if not a super user 43/131243/1
Boram Park [Fri, 26 May 2017 04:08:34 +0000 (13:08 +0900)]
server: skip chown if not a super user

If tdm_display_init is called by non super user, we don't need to
change the owner and group of a tdm socket file. And also changing
the owner of the tdm socket file which is created by non super user
is not allowed. So we just skip chown in this case.

Change-Id: Ib119becc4b9048f0fcc79c52089cfe04907cac60

7 years agopackage version up to 1.6.18 accepted/tizen/3.0/common/20170523.125958 accepted/tizen/3.0/ivi/20170523.020705 accepted/tizen/3.0/mobile/20170523.020628 accepted/tizen/3.0/tv/20170523.020656 accepted/tizen/3.0/wearable/20170523.020700 submit/tizen_3.0/20170522.152331
Boram Park [Mon, 22 May 2017 15:23:07 +0000 (00:23 +0900)]
package version up to 1.6.18

Change-Id: I6fc719c0eee8e70d6bf482251490697d6d355492

7 years agoserver: set permission and group to tdm-socket when it is added 20/130520/2
Changyeon Lee [Mon, 22 May 2017 13:23:05 +0000 (22:23 +0900)]
server: set permission and group to tdm-socket when it is added

Change-Id: I9052f391202781a9ac34c2fce7efacdd75e83761

7 years agopackage version up to 1.6.17 accepted/tizen/3.0/common/20170515.150157 accepted/tizen/3.0/ivi/20170515.064400 accepted/tizen/3.0/mobile/20170515.064350 accepted/tizen/3.0/tv/20170515.064352 accepted/tizen/3.0/wearable/20170515.064357 accepted/tizen/unified/20170511.033600 submit/tizen/20170511.001324 submit/tizen_3.0/20170511.105516 tizen_4.0.m1_release
Boram Park [Thu, 11 May 2017 00:12:51 +0000 (09:12 +0900)]
package version up to 1.6.17

Change-Id: I302bba1a0087af5ba28a90b8cca52e99d70c174b

7 years agovblank: support global fps 40/128640/2
Boram Park [Thu, 27 Apr 2017 04:39:10 +0000 (13:39 +0900)]
vblank: support global fps

Change-Id: Iec9c621fc270336a0d95c4a2f90b583704f9cc46

7 years agovblank: correct target time 39/128639/2
Boram Park [Tue, 2 May 2017 05:25:12 +0000 (14:25 +0900)]
vblank: correct target time

We should consider the vblank interval to calculate the target time.

Change-Id: I7f78631d644ce5dce0e2dfb2c8d8bcefbab45205

7 years agomonitor: add trace option to debug server-client protocol 38/128638/2
Boram Park [Tue, 2 May 2017 04:47:32 +0000 (13:47 +0900)]
monitor: add trace option to debug server-client protocol

Change-Id: Id27af997282b51db1541e2d7e59e521d95097d66

7 years agovblank: use tdm_server_get_client_name 37/128637/2
Boram Park [Tue, 2 May 2017 02:35:53 +0000 (11:35 +0900)]
vblank: use tdm_server_get_client_name

Change-Id: I4f47cca1d1f4fa268ab330fd947cd91e5c9458b8

7 years agoserver: trace client information 36/128636/2
Boram Park [Tue, 2 May 2017 02:33:43 +0000 (11:33 +0900)]
server: trace client information

Change-Id: I3e9ae2599119240628ff276aeebdd7cb34ff1341

7 years agopackage version up to 1.6.16 accepted/tizen/3.0/common/20170508.153030 accepted/tizen/3.0/ivi/20170508.050235 accepted/tizen/3.0/mobile/20170508.050201 accepted/tizen/3.0/tv/20170508.050213 accepted/tizen/3.0/wearable/20170508.050225 accepted/tizen/unified/20170429.023631 submit/tizen/20170428.002735 submit/tizen_3.0-common/20170508.080135 submit/tizen_3.0-common/20170508.081301 submit/tizen_3.0-common/20170508.091535 submit/tizen_3.0/20170428.002945 submit/tizen_3.0_common/20170508.091735
SooChan Lim [Fri, 28 Apr 2017 00:26:57 +0000 (09:26 +0900)]
package version up to 1.6.16

Change-Id: I8f48e66666d0e2e664facf5a179b327c21683d7b

7 years agochange sscanf to strtol for getting fd 54/125454/1
Junkyeong Kim [Mon, 17 Apr 2017 08:43:42 +0000 (17:43 +0900)]
change sscanf to strtol for getting fd

Change-Id: I7fed3efbd3fc9a9273a670b3b967707453471be2
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agopackage version up to 1.6.15 accepted/tizen/unified/20170414.163558 submit/tizen/20170414.032341 submit/tizen_3.0/20170414.032646
Boram Park [Fri, 14 Apr 2017 03:23:26 +0000 (12:23 +0900)]
package version up to 1.6.15

Change-Id: Ied1c6d1fb9b1a09b2e495c7ee39366d7b3fd675b

7 years agotdm: don't send output changes if client doesn't watch them 32/125132/1
Boram Park [Fri, 14 Apr 2017 02:46:50 +0000 (11:46 +0900)]
tdm: don't send output changes if client doesn't watch them

Change-Id: I0c77afab20462f01cc8d2676e868d48b32978878

7 years agopackage version up to 1.6.14 42/123842/1 accepted/tizen/3.0/common/20170410.142601 accepted/tizen/3.0/ivi/20170410.090253 accepted/tizen/3.0/mobile/20170410.090152 accepted/tizen/3.0/tv/20170410.090211 accepted/tizen/3.0/wearable/20170410.090235 accepted/tizen/unified/20170407.190916 submit/tizen/20170407.080244 submit/tizen_3.0/20170407.080348
Boram Park [Fri, 7 Apr 2017 07:51:59 +0000 (16:51 +0900)]
package version up to 1.6.14

Change-Id: Ic05b0a42b8ec8f5856afeaba3d74e05525f3e62d

7 years agolog: enable dlog by default to debug client error 41/123841/1
Boram Park [Fri, 7 Apr 2017 07:51:19 +0000 (16:51 +0900)]
log: enable dlog by default to debug client error

Change-Id: Id3c2a1b7fc7089efb6d62fdb1832fcd48fd4f688

7 years agoclient: allow set-fps during vblank running 40/123840/1
Boram Park [Fri, 7 Apr 2017 07:51:02 +0000 (16:51 +0900)]
client: allow set-fps during vblank running

Change-Id: I8139d220d7938b5b5001e68c066c066cf2e49f61

7 years agopackage version up to 1.6.13 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/3.0/common/20170327.141000 accepted/tizen/3.0/ivi/20170327.052514 accepted/tizen/3.0/mobile/20170327.052405 accepted/tizen/3.0/tv/20170327.052450 accepted/tizen/3.0/wearable/20170327.052501 accepted/tizen/common/20170323.154640 accepted/tizen/ivi/20170324.024021 accepted/tizen/mobile/20170324.023923 accepted/tizen/tv/20170324.023943 accepted/tizen/unified/20170324.024044 accepted/tizen/wearable/20170324.024001 submit/tizen/20170323.101716 submit/tizen_3.0/20170323.101730
Boram Park [Thu, 23 Mar 2017 10:15:17 +0000 (19:15 +0900)]
package version up to 1.6.13

Change-Id: I622f6d65a5d106d7f8ac86e6f92eb8441d8f8d55

7 years agolog: add debugging logs for dump 08/120608/1
Boram Park [Thu, 23 Mar 2017 09:18:50 +0000 (18:18 +0900)]
log: add debugging logs for dump

Change-Id: If8d84e12c2ece5cd46379d97c42f45ffaa80cc36

7 years agotest: remove sig handler to avoid deadlock 74/120574/1
Boram Park [Thu, 23 Mar 2017 07:59:32 +0000 (16:59 +0900)]
test: remove sig handler to avoid deadlock

Change-Id: I4db7accacebca43bca85751d18918a94dfb43d94

7 years agoevent_loop: set the user func and data before calling wayland API. 20/120520/1
Boram Park [Thu, 23 Mar 2017 06:51:33 +0000 (15:51 +0900)]
event_loop: set the user func and data before calling wayland API.

The user func can be called at the line of wl api by the backend implementation

Change-Id: Idfc19afa17f584531ef37834c592f59f803d2823

7 years agouse %license macro to copy the COPYING file. 51/120251/1
SooChan Lim [Wed, 22 Mar 2017 07:13:05 +0000 (16:13 +0900)]
use %license macro to copy the COPYING file.

Change-Id: I66b44ad1d92bf2db69cd7215ae16d5eca309e46e

7 years agopackage version up to 1.6.12
Boram Park [Thu, 9 Mar 2017 04:17:11 +0000 (13:17 +0900)]
package version up to 1.6.12

to upload patch to server again

Change-Id: I62aceb2224fa19e41849123d6ede17c0f4726f42

7 years agopackage version up to 1.6.11
Boram Park [Thu, 9 Mar 2017 03:58:58 +0000 (12:58 +0900)]
package version up to 1.6.11

Change-Id: I33a8efdb08ce79a280fc52476b3b7999f52c188c

7 years agooutput: don't refresh current_dpms_value in case of commit-per-vblank disabled 42/118142/1
Boram Park [Thu, 9 Mar 2017 03:58:11 +0000 (12:58 +0900)]
output: don't refresh current_dpms_value in case of commit-per-vblank disabled

Change-Id: I76bef3fa002e1112faa3a1ad17a23d2dc5ea624e

7 years agooutput: don't call output_get_dpms in case of commit-per-vblank disabled 12/118012/1
Boram Park [Wed, 8 Mar 2017 08:48:37 +0000 (17:48 +0900)]
output: don't call output_get_dpms in case of commit-per-vblank disabled

Change-Id: I3e1b57d58b6a71586a247b7611dd592baa2ad73e

7 years agolayer: init local variable 60/117860/1 accepted/tizen/3.0/common/20170308.133916 accepted/tizen/3.0/ivi/20170308.084130 accepted/tizen/3.0/mobile/20170308.084042 accepted/tizen/3.0/tv/20170308.084105 accepted/tizen/3.0/wearable/20170308.084120 accepted/tizen/common/20170309.175006 accepted/tizen/ivi/20170308.120431 accepted/tizen/mobile/20170308.120345 accepted/tizen/tv/20170308.120400 accepted/tizen/unified/20170310.080656 accepted/tizen/wearable/20170308.120411 submit/tizen/20170308.022253 submit/tizen_3.0/20170308.022418 submit/tizen_unified/20170310.011402
Boram Park [Wed, 8 Mar 2017 01:05:40 +0000 (10:05 +0900)]
layer: init local variable

Change-Id: I73bb6e3f2ae443b4d571395e13b5eae39d2d9c94

7 years agopackage version up to 1.6.10
Boram Park [Tue, 7 Mar 2017 10:57:11 +0000 (19:57 +0900)]
package version up to 1.6.10

Change-Id: I3e0e98825a48f5ab2ac9d1ee1330e64beb3b3b56

7 years agolayer: support to remove the commit handler 59/117759/1
Boram Park [Tue, 7 Mar 2017 09:43:18 +0000 (18:43 +0900)]
layer: support to remove the commit handler

Change-Id: I732e0ffbe44b47d195fcec3ecbff3b2221e6de09

7 years agolayer: remove the commit handler when all resource are freed 58/117758/1
Boram Park [Tue, 7 Mar 2017 09:42:31 +0000 (18:42 +0900)]
layer: remove the commit handler when all resource are freed

Change-Id: I0f8afee8189a806cf4014faace4c09cdde8d51f1

7 years agopackage version up to 1.6.9
Boram Park [Tue, 7 Mar 2017 08:49:33 +0000 (17:49 +0900)]
package version up to 1.6.9

Change-Id: Ic0b49e444558d4fb643a765af7ddc1bc274c4b80

7 years agovblank: remove the vblank handler when wait_info freed 42/117742/1
Boram Park [Tue, 7 Mar 2017 08:36:43 +0000 (17:36 +0900)]
vblank: remove the vblank handler when wait_info freed

If not removed, it makes the crash when the vblank handler is called
for the freed wait_info.

Change-Id: I07b168da39d1ff9f4e5effe69b99dd249d976027

7 years agooutput: support to remove the commit & vblank handler 41/117741/1
Boram Park [Tue, 7 Mar 2017 07:56:25 +0000 (16:56 +0900)]
output: support to remove the commit & vblank handler

Change-Id: I36a569d4e6fdc018fb188444c3ca10f082c4c672

7 years agolog: enhance debugging log for DPMS change 49/117349/1
Boram Park [Sat, 4 Mar 2017 14:11:09 +0000 (23:11 +0900)]
log: enhance debugging log for DPMS change

Change-Id: I77ad1ebcc5b9f2b6434970446d429cdd26640fe5

7 years agolayer: call the layer commit handlers once tdm_layer_commit returns success 48/117348/1
Boram Park [Sat, 4 Mar 2017 14:09:47 +0000 (23:09 +0900)]
layer: call the layer commit handlers once tdm_layer_commit returns success

Once _tdm_layer_commit returns success, the layer commit handler MUST be called always.
That is, even if we get error in _tdm_layer_got_output_vblank() function for some reasons,
the layer commit handler MUST be called.

Change-Id: Ia251061c965a9dec89ed655266bb23667a097e5e

7 years agooutput: use tdm_output_get_dpms_internal to get the DPMS value. 47/117347/1
Boram Park [Sat, 4 Mar 2017 14:07:12 +0000 (23:07 +0900)]
output: use tdm_output_get_dpms_internal to get the DPMS value.

To make sure that the backend's output_get_dpms is called inside of a function
because it can change the current_dpms_value variable.

Change-Id: I207213776aa90033c2e03068ef86ff7d1986ce31

7 years agopackage version up to 1.6.8 accepted/tizen/common/20170303.153627 accepted/tizen/ivi/20170305.223602 accepted/tizen/mobile/20170305.223515 accepted/tizen/tv/20170305.223530 accepted/tizen/unified/20170309.034712 accepted/tizen/wearable/20170305.223546 submit/tizen/20170303.113322 submit/tizen_3.0/20170303.113310 submit/tizen_unified/20170308.100410
Boram Park [Fri, 3 Mar 2017 10:54:54 +0000 (19:54 +0900)]
package version up to 1.6.8

Change-Id: I98d1bba2549bb099b4bc220d392df3cf920f3d5b

7 years agolog: enhance debug log 50/117250/1
Boram Park [Fri, 3 Mar 2017 10:50:46 +0000 (19:50 +0900)]
log: enhance debug log

Change-Id: Idf32a49c6fb5380f0b01837d91fc28f196839bfc

7 years agooutput: call the output commit handler immediately when dpms off 32/117232/2
Boram Park [Fri, 3 Mar 2017 08:20:36 +0000 (17:20 +0900)]
output: call the output commit handler immediately when dpms off

Change-Id: I33264947381669d3104c37c99f41b88b961b4c3f

7 years agoset null init for tdm_private_vblank *v 81/115681/1 accepted/tizen/3.0/common/20170222.125713 accepted/tizen/3.0/ivi/20170222.081911 accepted/tizen/3.0/mobile/20170222.081500 accepted/tizen/3.0/tv/20170222.081648 accepted/tizen/3.0/wearable/20170222.081746 accepted/tizen/common/20170221.135431 accepted/tizen/ivi/20170221.230117 accepted/tizen/mobile/20170221.225949 accepted/tizen/tv/20170221.230032 accepted/tizen/wearable/20170221.230058 submit/tizen/20170221.074644 submit/tizen_3.0/20170221.074919
Junkyeong Kim [Tue, 21 Feb 2017 05:08:09 +0000 (14:08 +0900)]
set null init for tdm_private_vblank *v

Change-Id: Iac60a6f0330a28b7bc82248748967bdc8f5e9441
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agopackage version up to 1.6.7 accepted/tizen/3.0/common/20170216.151622 accepted/tizen/3.0/ivi/20170216.060701 accepted/tizen/3.0/mobile/20170216.060633 accepted/tizen/3.0/tv/20170216.060647 accepted/tizen/3.0/wearable/20170216.060655 accepted/tizen/common/20170215.171210 accepted/tizen/ivi/20170216.094732 accepted/tizen/mobile/20170216.094705 accepted/tizen/tv/20170216.094714 accepted/tizen/wearable/20170216.094718 submit/tizen/20170215.124736 submit/tizen_3.0/20170215.124721
Boram Park [Wed, 15 Feb 2017 12:45:38 +0000 (21:45 +0900)]
package version up to 1.6.7

Change-Id: Iee6a3cb8506ac95b5d94eaadef9cfe6cba6f847c

7 years agovblank: move the set-client-vblank-fps function to server function 98/114898/1
Boram Park [Wed, 15 Feb 2017 12:09:46 +0000 (21:09 +0900)]
vblank: move the set-client-vblank-fps function to server function

Change-Id: Iaca45f4daa29c1d070f976f011633a10f2e3483d

7 years agomutex: don't use the tdm macros for gLock variable. 19/114819/1
Boram Park [Wed, 15 Feb 2017 07:29:05 +0000 (16:29 +0900)]
mutex: don't use the tdm macros for gLock variable.

When _pthread_mutex_unlock macro, tdm_mutex_locked becomes 0. Then, TDM_MUTEX_IS_LOCKED
return 0 even though display->lock is locked. TDM_MUTEX_IS_LOCKED actually is for
display->lock.

Change-Id: Idd4f638b84c0d244de61404e08ee4dfcf81921a2

7 years agodebug: enhance debug information for mutex lock/unlock 18/114818/1
Boram Park [Wed, 15 Feb 2017 07:26:24 +0000 (16:26 +0900)]
debug: enhance debug information for mutex lock/unlock

Change-Id: I0ec99252d2a71d5f770fe3ecb8ce803df74c1c75

7 years agopackage version up to 1.6.6 accepted/tizen/3.0/common/20170213.160533 accepted/tizen/3.0/ivi/20170213.034823 accepted/tizen/3.0/tv/20170213.034602 accepted/tizen/3.0/wearable/20170213.034718 accepted/tizen/common/20170210.170450 accepted/tizen/ivi/20170214.225530 accepted/tizen/mobile/20170214.225425 accepted/tizen/tv/20170214.225444 accepted/tizen/wearable/20170214.225513 submit/tizen/20170210.072046 submit/tizen_3.0/20170210.070135 submit/tizen_3.0/20170210.071009
Boram Park [Fri, 10 Feb 2017 05:43:05 +0000 (14:43 +0900)]
package version up to 1.6.6

Change-Id: If839d522bcc6a67723cc2eafd5941634d8bfda9c

7 years agodisplay: separate output & layer part from display 24/114124/1
Boram Park [Fri, 10 Feb 2017 05:32:35 +0000 (14:32 +0900)]
display: separate output & layer part from display

tdm_display.c had more than 2000 lines. To increase readability, separate
output & layer part from display

Change-Id: I06493e50fbd931a006bef0cf402f02fb7f3d4a0e

7 years agobuffer: correct the buffer management 99/114099/2
Boram Park [Fri, 10 Feb 2017 00:09:35 +0000 (09:09 +0900)]
buffer: correct the buffer management

Change-Id: Ica59998a4739b95727e0cf19bad8a5387c795d3a

7 years agobuffer: use tdm_private_layer_buffer structure for layer buffers 98/114098/2
Boram Park [Thu, 9 Feb 2017 11:25:38 +0000 (20:25 +0900)]
buffer: use tdm_private_layer_buffer structure for layer buffers

Change-Id: I45b5e8842328da77e9fd78bce811d018f3229431

7 years agodisplay: correct fps count 35/113835/1
Boram Park [Thu, 9 Feb 2017 05:19:50 +0000 (14:19 +0900)]
display: correct fps count

Change-Id: I0cbe1789db617f4c8ffc81735b33628048f2d6a7

7 years agovblank: add set_vblank_fps functionality for the given PID 02/113502/2
Boram Park [Wed, 8 Feb 2017 03:39:16 +0000 (12:39 +0900)]
vblank: add set_vblank_fps functionality for the given PID

Change-Id: I28a8b5ca1e585f68817da6f887aed13f188b64f0

7 years agopackage version up to 1.6.5 accepted/tizen/3.0/common/20170209.112953 accepted/tizen/3.0/ivi/20170209.033556 accepted/tizen/3.0/mobile/20170209.033504 accepted/tizen/3.0/tv/20170209.033530 accepted/tizen/3.0/wearable/20170209.033543 accepted/tizen/common/20170208.155357 accepted/tizen/ivi/20170210.004543 accepted/tizen/mobile/20170210.004433 accepted/tizen/tv/20170210.004507 accepted/tizen/wearable/20170210.004530 submit/tizen/20170208.112407 submit/tizen_3.0/20170208.112400
Boram Park [Wed, 8 Feb 2017 11:23:06 +0000 (20:23 +0900)]
package version up to 1.6.5

Change-Id: I41c28ddc3a78c58e8914ab86530f0c1f526c63c2

7 years agocommit: fix the double registration for layer vblank handler 01/113701/4
Boram Park [Wed, 8 Feb 2017 10:51:39 +0000 (19:51 +0900)]
commit: fix the double registration for layer vblank handler

Change-Id: I5154539f0b6f0f7656035aff9d54d6178be058e2

7 years agolist: add a new item in the end of a list 04/113704/2
Boram Park [Wed, 8 Feb 2017 10:19:32 +0000 (19:19 +0900)]
list: add a new item in the end of a list

Change-Id: Id2606821f49de083ab698f201cc9b01bae18328b

7 years agopackage version up to 1.6.4 accepted/tizen/3.0/common/20170206.110258 accepted/tizen/3.0/ivi/20170206.033727 accepted/tizen/3.0/mobile/20170206.033342 accepted/tizen/3.0/tv/20170206.033451 accepted/tizen/3.0/wearable/20170206.033613 accepted/tizen/common/20170203.161714 accepted/tizen/ivi/20170205.233942 accepted/tizen/mobile/20170205.233853 accepted/tizen/tv/20170205.233908 accepted/tizen/wearable/20170205.233927 submit/tizen/20170203.064758 submit/tizen_3.0/20170203.064747
Boram Park [Fri, 3 Feb 2017 06:46:46 +0000 (15:46 +0900)]
package version up to 1.6.4

Change-Id: I4977e0ec9ca0a2e4726ee2c7f9b0f8850466fabc

7 years agocommit: enhance debug log 88/112888/1
Boram Park [Fri, 3 Feb 2017 06:41:16 +0000 (15:41 +0900)]
commit: enhance debug log

Change-Id: Ifd020ef0723b4d7d2121e77aa6be5682aaeeaa2d

7 years agopackage version up to 1.6.3 accepted/tizen/3.0/common/20170203.150924 accepted/tizen/3.0/ivi/20170203.022707 accepted/tizen/3.0/mobile/20170203.022138 accepted/tizen/3.0/tv/20170203.022319 accepted/tizen/3.0/wearable/20170203.022533 accepted/tizen/common/20170202.175150 accepted/tizen/ivi/20170203.023234 accepted/tizen/mobile/20170203.023113 accepted/tizen/tv/20170203.023138 accepted/tizen/wearable/20170203.023206 submit/tizen/20170202.112833 submit/tizen_3.0/20170202.112845
Boram Park [Thu, 2 Feb 2017 05:39:53 +0000 (14:39 +0900)]
package version up to 1.6.3

Change-Id: I8bf469b2dd657964faa8bf1406f47512d97080e8

7 years agocommit: use _tdm_output_commit in case of non commit-per-vblank 21/112621/1
Boram Park [Thu, 2 Feb 2017 04:00:18 +0000 (13:00 +0900)]
commit: use _tdm_output_commit in case of non commit-per-vblank

Change-Id: If83c02ab7a6801dbae64f14337bf0baf364a7df8

7 years agocommit: add function to check whether commit-per-vblank is enabled 96/112596/1
Boram Park [Thu, 2 Feb 2017 01:31:54 +0000 (10:31 +0900)]
commit: add function to check whether commit-per-vblank is enabled

Change-Id: Ib5b58f06c4fe11d81c0cfc61343e0b9ea676c6cb

7 years agovblank: use mutex to protect the vblank lists for multi-thread 66/112566/1
Boram Park [Wed, 1 Feb 2017 12:07:02 +0000 (21:07 +0900)]
vblank: use mutex to protect the vblank lists for multi-thread

Change-Id: I332407aeb258b7b51165db87bfa47405d3c82efa

7 years agopackage version up to 1.6.2 accepted/tizen/3.0/common/20170119.110011 accepted/tizen/3.0/ivi/20170119.021304 accepted/tizen/3.0/mobile/20170119.021209 accepted/tizen/3.0/tv/20170119.021229 accepted/tizen/3.0/wearable/20170119.021246 accepted/tizen/common/20170119.171710 accepted/tizen/ivi/20170119.222421 accepted/tizen/mobile/20170119.222400 accepted/tizen/tv/20170119.222410 accepted/tizen/wearable/20170119.222415 submit/tizen/20170119.042233 submit/tizen_3.0/20170118.120050
Boram Park [Wed, 18 Jan 2017 12:25:12 +0000 (21:25 +0900)]
package version up to 1.6.2

Change-Id: Ib975943b530c3e159a049aa8db68f8c8f3ae2c96

7 years agouse vblank instead of the output commit handler in case of tdm_layer_commit 89/110889/1
Boram Park [Tue, 17 Jan 2017 11:51:31 +0000 (20:51 +0900)]
use vblank instead of the output commit handler in case of tdm_layer_commit

Change-Id: Ib2a29cc331b8243922d43325265891119c809510

7 years agopackage version up to 1.6.1 accepted/tizen/3.0/common/20170118.130842 accepted/tizen/3.0/ivi/20170118.042906 accepted/tizen/3.0/mobile/20170118.042816 accepted/tizen/3.0/tv/20170118.042835 accepted/tizen/3.0/wearable/20170118.042847 accepted/tizen/common/20170116.181747 accepted/tizen/ivi/20170117.054120 accepted/tizen/mobile/20170117.054024 accepted/tizen/tv/20170117.054042 accepted/tizen/wearable/20170117.054102 submit/tizen/20170116.123757 submit/tizen_3.0/20170116.123744
Boram Park [Mon, 16 Jan 2017 12:35:44 +0000 (21:35 +0900)]
package version up to 1.6.1

Change-Id: I20a1eb1fc3fe4bfc07b7c58fed36be848b39b33e

7 years agoenhance the debugging information 50/110450/1
Boram Park [Mon, 16 Jan 2017 06:43:11 +0000 (15:43 +0900)]
enhance the debugging information

Change-Id: I637f7ff180eceefa821ef66e45513ea46f62df09

7 years agounlock mutex before return 49/110449/1
Boram Park [Mon, 16 Jan 2017 06:33:28 +0000 (15:33 +0900)]
unlock mutex before return

Change-Id: I7f31a7a6f2eded7ba07af8b6cb33e5ca68e6c592

7 years agopackaging version up to 1.6.0 accepted/tizen/3.0/common/20170113.072345 accepted/tizen/3.0/ivi/20170113.001145 accepted/tizen/3.0/mobile/20170113.001055 accepted/tizen/3.0/tv/20170113.001114 accepted/tizen/3.0/wearable/20170113.001128 accepted/tizen/common/20170112.174654 accepted/tizen/ivi/20170112.222758 accepted/tizen/mobile/20170112.222712 accepted/tizen/tv/20170112.222727 accepted/tizen/wearable/20170112.222740 submit/tizen/20170112.052510 submit/tizen_3.0/20170112.052456
Boram Park [Thu, 12 Jan 2017 05:03:05 +0000 (14:03 +0900)]
packaging version up to 1.6.0

Change-Id: I1662dbb355ac039eacd612efad423c3f2ef58698

7 years agoAdd return value check. 68/109568/4
Anamika Singh [Tue, 10 Jan 2017 12:58:12 +0000 (18:28 +0530)]
Add return value check.

Change-Id: If2bebc87b5ba75c286bae6c7215055938d506c7b
Signed-off-by: Anamika Singh <anamika.sd@samsung.com>
Signed-off-by: Boram Park <boram1288.park@samsung.com>
7 years agosupport the commit-per-vblank
Boram Park [Tue, 29 Nov 2016 03:23:07 +0000 (12:23 +0900)]
support the commit-per-vblank

If TDM_COMMIT_PER_VBLANK enviroment is set to 1, tdm frontend will
call the backend's output_commit function once per a vblank.

Change-Id: I9df27288fd9318a64305491e4dc96d686a223baf

7 years agoapply tizen coding rule
Boram Park [Wed, 11 Jan 2017 10:38:22 +0000 (19:38 +0900)]
apply tizen coding rule

Change-Id: I22de70e36d516c2c4dce32642945e46c64477573

7 years agochange capture destroy eina_list element structure 20/109120/1 accepted/tizen/3.0/common/20170109.195955 accepted/tizen/3.0/ivi/20170109.073949 accepted/tizen/3.0/mobile/20170109.073442 accepted/tizen/3.0/tv/20170109.073532 accepted/tizen/3.0/wearable/20170109.073605 accepted/tizen/common/20170110.155114 accepted/tizen/ivi/20170110.224650 accepted/tizen/mobile/20170110.224503 accepted/tizen/tv/20170110.224558 accepted/tizen/wearable/20170110.224624 submit/tizen/20170110.094105 submit/tizen_3.0/20170106.131754
Junkyeong Kim [Mon, 9 Jan 2017 02:38:33 +0000 (11:38 +0900)]
change capture destroy eina_list element structure

Change-Id: Ifc52fd72ae0b484d01e0f4533d8439c961b92eb7
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agopackage version up to 1.5.3
Boram Park [Fri, 6 Jan 2017 13:15:11 +0000 (22:15 +0900)]
package version up to 1.5.3

Change-Id: I9647ce823de2d4e110425a09a28a9829415f16c6

7 years agochange capture destroy eina_list element structure 31/109031/1
Junkyeong Kim [Fri, 6 Jan 2017 13:07:19 +0000 (22:07 +0900)]
change capture destroy eina_list element structure

Change-Id: Ide6c78700e72ab6831027dccbd43d6321bfd6b9a
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agopackage version up to 1.5.2 38/108538/1 accepted/tizen/3.0/common/20170109.195527 accepted/tizen/3.0/ivi/20170106.094734 accepted/tizen/3.0/mobile/20170106.094544 accepted/tizen/3.0/tv/20170106.094635 accepted/tizen/3.0/wearable/20170106.094706 submit/tizen_3.0/20170105.071718
Boram Park [Thu, 5 Jan 2017 04:03:59 +0000 (13:03 +0900)]
package version up to 1.5.2

Change-Id: I6da09389f211179d474bcbaf5c86b71fe62adc44

7 years agofix ATOMICITY issue 86/107186/2
Boram Park [Tue, 27 Dec 2016 05:32:15 +0000 (14:32 +0900)]
fix ATOMICITY issue

Change-Id: I08cf135d0a5511c312c3b5f4c2e40857099c714d

7 years agoset not-usable when setting properties also 80/103580/1
Boram Park [Fri, 9 Dec 2016 01:16:30 +0000 (10:16 +0900)]
set not-usable when setting properties also

All tdm_layer_set_xxx functions means that the display server is
using this layer.

Change-Id: Ia99c57b11fe275ae941b7108432f1c0e8bdfc869

7 years agopackage version up to 1.5.1 84/100484/3 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable tizen_3.0.m2 accepted/tizen/3.0.m2/mobile/20170104.142956 accepted/tizen/3.0.m2/tv/20170104.143445 accepted/tizen/3.0.m2/wearable/20170104.143845 accepted/tizen/3.0/common/20161129.103206 accepted/tizen/3.0/ivi/20161129.002112 accepted/tizen/3.0/mobile/20161129.002004 accepted/tizen/3.0/tv/20161129.002025 accepted/tizen/3.0/wearable/20161129.002055 accepted/tizen/common/20161128.170801 accepted/tizen/ivi/20161129.001245 accepted/tizen/mobile/20161129.001149 accepted/tizen/tv/20161129.001216 accepted/tizen/wearable/20161129.001231 submit/tizen/20161128.110729 submit/tizen_3.0.m2/20170104.093752 submit/tizen_3.0/20161128.111453
SooChan Lim [Mon, 28 Nov 2016 08:57:25 +0000 (17:57 +0900)]
package version up to 1.5.1

Change-Id: Ifd48d3143fcf5d8c086ee0b1fe4fca57154c0ba2

7 years agoremove unreachable code 37/100537/2
Boram Park [Mon, 28 Nov 2016 10:38:37 +0000 (19:38 +0900)]
remove unreachable code

Change-Id: I1042b3994f431b7bb327f9906c7de22aeca22b1c

7 years agotdm_helper: clean up tdm_helper_get_display_information() 98/100498/2
YoungJun Cho [Mon, 28 Nov 2016 09:08:21 +0000 (18:08 +0900)]
tdm_helper: clean up tdm_helper_get_display_information()

This patch cleans up tdm_helper_get_display_information()
to use %u when TDM_SNPRINTF() uses unsigned integer.

Change-Id: I43c50dcced98fc9993dd228a229c575d4c195d7b
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
7 years agotdm_helper: clean up _tdm_helper_dump_png() 97/100497/2
YoungJun Cho [Mon, 28 Nov 2016 09:04:58 +0000 (18:04 +0900)]
tdm_helper: clean up _tdm_helper_dump_png()

This patch cleans up _tdm_helper_dump_png() not to skip resources release.

Change-Id: Ic2384c0e5cc1335428f455760efb5c691e3600f9
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
7 years agofix error handling 78/100478/1
Boram Park [Mon, 28 Nov 2016 08:49:49 +0000 (17:49 +0900)]
fix error handling

Change-Id: I19915a6f59a219efa701d629a88863c66ca4dd75

7 years agotdm_buffer: clean up tdm_buffer_unref_backend() 54/100454/2
YoungJun Cho [Mon, 28 Nov 2016 07:23:08 +0000 (16:23 +0900)]
tdm_buffer: clean up tdm_buffer_unref_backend()

This patch cleans up tdm_buffer_unref_backend().
The 'buffer' is not changed in buf_info->release_funcs list loop,
so does not need to call ref & unref inside.

Change-Id: I924bc4abde130be37ee800534e161beee56ae09a
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
7 years agotdm_buffer: clean up tdm_buffer_get_info() 53/100453/2
YoungJun Cho [Mon, 28 Nov 2016 07:21:30 +0000 (16:21 +0900)]
tdm_buffer: clean up tdm_buffer_get_info()

This patch cleans up tdm_buffer_get_info() not to skip free(buf_info).

Change-Id: If2f3cbc4c72aa084d2f10827a14161a0adf68889
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
7 years agotdm_server: clean up tdm_server_init() 52/100452/2
YoungJun Cho [Mon, 28 Nov 2016 07:19:57 +0000 (16:19 +0900)]
tdm_server: clean up tdm_server_init()

This patch cleans up tdm_server_init() not to dereference when private_loop is NULL.

Change-Id: I846c47130992264ff39d194e7ca4299e4970bc2c
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
7 years agoRevert "remove unused helper function" 61/100461/1
Boram Park [Sun, 27 Nov 2016 06:56:05 +0000 (15:56 +0900)]
Revert "remove unused helper function"

This reverts commit 1f6a03a7b0e0ebc0c3d620f43b27f74adfbcdfc3.

Change-Id: I1831a0aff0c9df9a4006cd352943ea0cac3a34f3

7 years agocorrect capture behavior 35/99935/2
Boram Park [Thu, 24 Nov 2016 10:42:18 +0000 (19:42 +0900)]
correct capture behavior

Change-Id: I9e3a7b4f8f612f7a507f1ceaecf05465d210676e

7 years agochange tdm capture capbility 34/99934/2
Boram Park [Thu, 24 Nov 2016 10:40:35 +0000 (19:40 +0900)]
change tdm capture capbility

scale & transform seem the default capability. remove it.

tdm backend might support both oneshot and stream dump. And it's possible for
backend to support stream dump only.

Change-Id: I46b534c432dd15117658296d3eb427a9f004f3d9

7 years agofix memory leak 33/99933/2
Boram Park [Thu, 24 Nov 2016 10:41:46 +0000 (19:41 +0900)]
fix memory leak

Change-Id: Ia9795dc72428e976af48f789ab288abf7a0149c2

7 years agofix wrong format 32/99932/2
Boram Park [Thu, 24 Nov 2016 10:10:42 +0000 (19:10 +0900)]
fix wrong format

Change-Id: I401e6642b25f8f7b5abfaed046fa1154071ec489

7 years agouse mutex for printf output in multithread 31/99931/2
Boram Park [Thu, 24 Nov 2016 10:10:13 +0000 (19:10 +0900)]
use mutex for printf output in multithread

Change-Id: I6f903828f1e22f7c3dfed074173f9e5e78636011

7 years agoadd tdm_helper_convert_buffer function 30/99930/2
Boram Park [Thu, 24 Nov 2016 03:19:30 +0000 (12:19 +0900)]
add tdm_helper_convert_buffer function

Change-Id: I4c63d1e3546194229daf19f4a59444b96a33f46c

7 years agoadd punch option to tdm-monitor 29/99929/2
Boram Park [Thu, 24 Nov 2016 03:16:37 +0000 (12:16 +0900)]
add punch option to tdm-monitor

Change-Id: Ib70965942ed775a421a9465ab3e9f2b38ff40a3e

7 years agotest the only connected output 28/99928/2
Boram Park [Thu, 24 Nov 2016 03:15:05 +0000 (12:15 +0900)]
test the only connected output

Change-Id: I482ee9f9dd0e92094cf2e9998adf9ff381f1721f

7 years agoremove unused helper function 27/99927/2
Boram Park [Wed, 23 Nov 2016 06:56:00 +0000 (15:56 +0900)]
remove unused helper function

Change-Id: I4e996c26aaab61adb0ae10969b39c8871f28296c

7 years agocheck capture capability 26/99926/2
Boram Park [Wed, 23 Nov 2016 04:16:44 +0000 (13:16 +0900)]
check capture capability

Change-Id: If3db8bd96f960ddf5ddd8d22f9e9a8ea20ecdc58

7 years agotreat 0 also as a "not-defined" value 61/99461/3
Boram Park [Wed, 23 Nov 2016 02:45:38 +0000 (11:45 +0900)]
treat 0 also as a "not-defined" value

Change-Id: I208c7bb8a151433dd808ccb4ccafe84315577318

7 years agoadd tdm_display_get_capture_available_size & tdm_display_get_max_layer_count 60/99460/3
Boram Park [Wed, 23 Nov 2016 02:44:19 +0000 (11:44 +0900)]
add tdm_display_get_capture_available_size & tdm_display_get_max_layer_count

Change-Id: I3d3507ef1e3a590422032c35ee1f5c3adc7f2a44

7 years agoadd capture type enum 59/99459/2
Boram Park [Wed, 23 Nov 2016 01:20:58 +0000 (10:20 +0900)]
add capture type enum

Change-Id: I7d9b8f148f703128619b45a29128979708d15861