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

8 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

8 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

8 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

8 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

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

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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 years agotdm_backend: change _check_abi_version() return value 69/99769/2
YoungJun Cho [Thu, 24 Nov 2016 05:20:18 +0000 (14:20 +0900)]
tdm_backend: change _check_abi_version() return value

This patch changes _check_abi_version() return value
as 0 for success, -1 for failure.
The caller only checks the result is less than 0 or not, so it is dead code.

Change-Id: I194817bcd0fd928f0b66cdd0154c3669c95548f5
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
8 years agoversion up to 1.5.0 28/99128/2 1.5.0 accepted/tizen/3.0/common/20161124.181537 accepted/tizen/3.0/ivi/20161124.024912 accepted/tizen/3.0/mobile/20161124.024749 accepted/tizen/3.0/tv/20161124.024827 accepted/tizen/3.0/wearable/20161124.024843 accepted/tizen/common/20161123.072947 accepted/tizen/ivi/20161123.232540 accepted/tizen/mobile/20161123.232447 accepted/tizen/tv/20161123.232509 accepted/tizen/wearable/20161123.232521 submit/tizen/20161123.014935 submit/tizen_3.0/20161123.015409
Boram Park [Mon, 21 Nov 2016 10:51:11 +0000 (19:51 +0900)]
version up to 1.5.0

Change-Id: I3dd1ea8b28871046d474e814a75ad97f7e2fa74e

8 years agofix syntax error 27/99127/2
Boram Park [Tue, 22 Nov 2016 03:58:42 +0000 (12:58 +0900)]
fix syntax error

Change-Id: I990affce73424c66ea40962efd85398b34d74767

8 years agoAdded cursor available size in caps output 43/98343/6
Changyeon Lee [Tue, 15 Nov 2016 05:33:53 +0000 (14:33 +0900)]
Added cursor available size in caps output

Change-Id: Ief1b42e61b51ba4710430f68b40e48bc3b189844

8 years agopakcage version up to 1.4.6 32/97032/1 accepted/tizen/3.0/common/20161116.143332 accepted/tizen/3.0/ivi/20161116.021600 accepted/tizen/3.0/mobile/20161116.021424 accepted/tizen/3.0/tv/20161116.021505 accepted/tizen/3.0/wearable/20161116.021536 accepted/tizen/common/20161114.170948 accepted/tizen/ivi/20161114.005323 accepted/tizen/mobile/20161114.005156 accepted/tizen/tv/20161114.005225 accepted/tizen/wearable/20161114.005252 submit/tizen/20161111.053529 submit/tizen_3.0/20161111.054019 submit/tizen_3.0/20161115.021406
SooChan Lim [Fri, 11 Nov 2016 04:25:43 +0000 (13:25 +0900)]
pakcage version up to 1.4.6

Change-Id: I6030b818f3755ffa860f3d21f87bf184deff64b9

8 years agoremove the profile condition at spec file 91/96591/1
SooChan Lim [Wed, 9 Nov 2016 11:03:42 +0000 (20:03 +0900)]
remove the profile condition at spec file

make the symbolic link of tdm-socket-user.path to
basic.target.want

Change-Id: I47da65873b0cf94001300f06c78b72d28aecd335

8 years agout: stubs: synchronize tbm_surface_internal.h modification 52/95252/2
YoungJun Cho [Wed, 2 Nov 2016 14:01:16 +0000 (23:01 +0900)]
ut: stubs: synchronize tbm_surface_internal.h modification

This patch synchronizes tbm_surface_internal.h modification
with libtbm one.

Change-Id: Ie134209554a88e872bb7871add0269c110ed1abe
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
8 years agoimplementation for SCREEN_PREROTATION_HINT 23/95823/1 accepted/tizen/3.0/common/20161114.082522 accepted/tizen/3.0/ivi/20161108.061743 accepted/tizen/3.0/mobile/20161108.061637 accepted/tizen/3.0/tv/20161108.061656 accepted/tizen/3.0/wearable/20161108.061716 accepted/tizen/common/20161107.072211 accepted/tizen/ivi/20161108.000907 accepted/tizen/mobile/20161108.000812 accepted/tizen/tv/20161108.000826 accepted/tizen/wearable/20161108.000846 submit/tizen/20161107.022547 submit/tizen_3.0/20161107.022312 submit/tizen_3.0_common/20161110.084657
Boram Park [Tue, 25 Oct 2016 06:44:03 +0000 (15:44 +0900)]
implementation for SCREEN_PREROTATION_HINT

Change-Id: I8c5e90ac2a4f2119af380c405e31cf9645ea7a25

8 years agopackaging: version up to 1.4.5 06/94906/2 accepted/tizen/3.0/ivi/20161104.103613 accepted/tizen/3.0/mobile/20161104.103437 accepted/tizen/3.0/tv/20161104.103520 accepted/tizen/3.0/wearable/20161104.103545 accepted/tizen/common/20161102.122045 accepted/tizen/ivi/20161102.235353 accepted/tizen/mobile/20161102.235303 accepted/tizen/tv/20161102.235318 accepted/tizen/wearable/20161102.235335 submit/tizen/20161102.042716 submit/tizen_3.0/20161103.061123
Boram Park [Wed, 2 Nov 2016 03:33:52 +0000 (12:33 +0900)]
packaging: version up to 1.4.5

Change-Id: Ib1d172f94ee28466a6bbe14f8bfe931dacf1960f

8 years agoapplied ui_fw uid, gid and removed chsmack in tdm-socket.service 49/94749/2
Changyeon Lee [Tue, 11 Oct 2016 06:01:08 +0000 (15:01 +0900)]
applied ui_fw uid, gid and removed chsmack in tdm-socket.service

Change-Id: Idc15c5f86ddb1ce794d174fabe9bd6e381e1a8fc

8 years agoallow only superuser 47/92647/1 accepted/tizen/3.0/ivi/20161028.151408 accepted/tizen/3.0/mobile/20161028.143259 accepted/tizen/3.0/tv/20161028.143557 accepted/tizen/3.0/wearable/20161028.150901 accepted/tizen/common/20161018.175136 accepted/tizen/ivi/20161018.235321 accepted/tizen/mobile/20161018.235253 accepted/tizen/tv/20161018.235303 accepted/tizen/wearable/20161018.235311 submit/tizen/20161018.044046 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.092423 submit/tizen_3.0_common/20161104.104000
Boram Park [Tue, 18 Oct 2016 00:55:47 +0000 (09:55 +0900)]
allow only superuser

Change-Id: I9dcc7750e8832f1e3667ea0027dd6500af22082d

8 years agoprint time for debugging init time 46/92646/1
Boram Park [Tue, 18 Oct 2016 00:55:30 +0000 (09:55 +0900)]
print time for debugging init time

Change-Id: Id67f9fbbc90074e5163872b6ce699b3911d10e59

8 years agoprint the time of tdm_display_init 28/91428/2 accepted/tizen/common/20161011.154339 accepted/tizen/ivi/20161011.234249 accepted/tizen/mobile/20161011.234303 accepted/tizen/tv/20161011.234145 accepted/tizen/wearable/20161011.234204 submit/tizen/20161011.064900
Boram Park [Fri, 7 Oct 2016 10:53:04 +0000 (19:53 +0900)]
print the time of tdm_display_init

Change-Id: I16caafb6a146ebe4758dca04fff2d79558444705

8 years agoRevert "put gtest framework source code" 33/91733/1
SooChan Lim [Tue, 11 Oct 2016 06:05:43 +0000 (15:05 +0900)]
Revert "put gtest framework source code"

This reverts commit 32a2d7c2c20505164f85d5d4fb5f960c69fc2ccf.

Change-Id: I5b3f74a3267adcdb515379c1807d894f74c9254b

8 years agoRevert "check the size limitation" 96/90896/1 accepted/tizen/3.0/ivi/20161011.050658 accepted/tizen/3.0/mobile/20161015.033831 accepted/tizen/3.0/tv/20161016.004945 accepted/tizen/3.0/wearable/20161015.083709 accepted/tizen/common/20161005.165658 accepted/tizen/ivi/20161005.120105 accepted/tizen/mobile/20161005.115940 accepted/tizen/tv/20161005.120025 accepted/tizen/wearable/20161005.120047 submit/tizen/20161004.080631 submit/tizen_3.0_ivi/20161010.000004 submit/tizen_3.0_mobile/20161015.000004 submit/tizen_3.0_tv/20161015.000003 submit/tizen_3.0_wearable/20161015.000004 submit/tizen_common/20161005.072458
SooChan Lim [Tue, 4 Oct 2016 23:25:02 +0000 (08:25 +0900)]
Revert "check the size limitation"

This reverts commit e5db3b0bef603c5e16fec1d2444e859169135ee2.

Change-Id: Ic3915255185014c04735367936e7bb2652ec16ee

8 years agopackage version up to 1.4.4 56/90756/1 accepted/tizen/common/20161004.194301
SooChan Lim [Tue, 4 Oct 2016 07:19:17 +0000 (16:19 +0900)]
package version up to 1.4.4

Change-Id: Ib141bb70f7c31c7e84c76c9199bb44cf7972dd56

8 years agocheck the size limitation 05/90505/1
Boram Park [Fri, 30 Sep 2016 09:11:51 +0000 (18:11 +0900)]
check the size limitation

Change-Id: I0018eae284e776f4bc97b97d320ab7b1f2d7c178

8 years agoput gtest framework source code 52/90152/5
Konstantin Drabeniuk [Wed, 28 Sep 2016 14:04:42 +0000 (17:04 +0300)]
put gtest framework source code

I suppressed all warnings by using a flag -w.
This is a temporary solution. Warnings occur because
we build project with g++. In C++ we need to use explicit
types conversion. I will fix warnings in unit test sources,
in next commit. But I can't fix warnings in libtdm sources.

Change-Id: I2be66976b0a5f543c41ee6d5049de94f89d9aba4
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
8 years agocheck if the path is null. 48/90148/2
Konstantin Drabeniuk [Wed, 28 Sep 2016 13:37:30 +0000 (16:37 +0300)]
check if the path is null.

fix build error

Change-Id: I9c1f8554c90443a16a877f7c06d1ea9f7bf21bfc
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
8 years agoremove display_get_capabilitiy 94/90094/1
Boram Park [Wed, 28 Sep 2016 09:18:16 +0000 (18:18 +0900)]
remove display_get_capabilitiy

Change-Id: I6002d5c6f83da77cd9bb0885000208fb9c8b8694

8 years agonot create the reduntant directory when done 41/90041/1
Boram Park [Wed, 28 Sep 2016 06:17:51 +0000 (15:17 +0900)]
not create the reduntant directory when done

Change-Id: I09e9540baff6b232b45f2770070f824faeca2ef4