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

8 years agopackage version 1.4.3 52/89652/1 accepted/tizen/common/20160926.154346 accepted/tizen/ivi/20160927.081010 accepted/tizen/mobile/20160927.082707 accepted/tizen/tv/20160927.083455 accepted/tizen/wearable/20160927.081838 submit/tizen/20160926.083253
SooChan Lim [Mon, 26 Sep 2016 08:34:33 +0000 (17:34 +0900)]
package version 1.4.3

Change-Id: I7b70c46cd52572598fbb2d08d025cb3d2fbc2f3e

8 years agofix the wrong operation of SW timer 22/89522/1
Boram Park [Mon, 26 Sep 2016 02:13:13 +0000 (11:13 +0900)]
fix the wrong operation of SW timer

skip variable should be unsigned int to correct the prev time

Change-Id: Iea57ca5fbe7783c2b50cad6435d35f1fee0ba9f5

8 years agoexport tdm vblank functions 09/86909/5
Boram Park [Mon, 5 Sep 2016 11:18:35 +0000 (20:18 +0900)]
export tdm vblank functions

Change-Id: I3ec641732606e5f682a69b6207444da93c055bad

8 years agouse double instead of unsigned long to avoid overflow 00/89500/1
Boram Park [Sat, 24 Sep 2016 05:20:25 +0000 (14:20 +0900)]
use double instead of unsigned long to avoid overflow

Change-Id: I7001e10230cc57dc59df178b10d1a8b18f328a50

8 years agofix wrong log 61/88861/1
Boram Park [Wed, 21 Sep 2016 03:44:34 +0000 (12:44 +0900)]
fix wrong log

Change-Id: I6825c3ac71de5b963832566715335e8ceceab92f

8 years agonot dump a video layer 21/88721/1
Boram Park [Tue, 20 Sep 2016 10:01:59 +0000 (19:01 +0900)]
not dump a video layer

Change-Id: I209b81bc6852b6469d5719e35129232adee3a342

8 years agopackaging: version up to 1.4.2 accepted/tizen/common/20160920.131913 accepted/tizen/ivi/20160920.231733 accepted/tizen/mobile/20160920.231611 accepted/tizen/tv/20160920.231649 accepted/tizen/wearable/20160920.231711 submit/tizen/20160920.023021
SooChan Lim [Tue, 20 Sep 2016 02:45:00 +0000 (11:45 +0900)]
packaging: version up to 1.4.2

Change-Id: I9f9cba704ee410252cfef77a80e6366d96732e37

8 years agofix dereference issue after null 26/88426/1
Boram Park [Mon, 19 Sep 2016 04:21:53 +0000 (13:21 +0900)]
fix dereference issue after null

Change-Id: Icb79b4231ddacf9c8c2b183e3e535c3456a79a26

8 years ago[libtdm] Move unit tests from ws-testcase and change test framework 28/88028/1
Konstantin Drabeniuk [Mon, 12 Sep 2016 14:25:31 +0000 (17:25 +0300)]
[libtdm] Move unit tests from ws-testcase and change test framework

1) change unit testing framework (Check to gtest);
2) move unit test from the ws-testcase project to the project libtdm.

Change-Id: If3548b87c8e39108ec2ff7050f6c6324ec8cfaeb
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
8 years agoenhance debugging log 07/87007/2 accepted/tizen/common/20160906.131403 accepted/tizen/ivi/20160907.060357 accepted/tizen/mobile/20160907.060228 accepted/tizen/tv/20160907.060303 accepted/tizen/wearable/20160907.060329 submit/tizen/20160906.071027
Boram Park [Tue, 6 Sep 2016 02:53:21 +0000 (11:53 +0900)]
enhance debugging log

Change-Id: Ie4b0ec51db5defc266b76d352176ecc368593d33

8 years agoset request time to current time if 0 06/87006/2
Boram Park [Tue, 6 Sep 2016 02:49:25 +0000 (11:49 +0900)]
set request time to current time if 0

Change-Id: Ib1a02d1863e108f36dc402427d988de134d129f5

8 years agopackaging: version up to 1.4.1 79/86779/1 submit/tizen/20160905.105032
Boram Park [Mon, 5 Sep 2016 00:36:04 +0000 (09:36 +0900)]
packaging: version up to 1.4.1

Change-Id: I1ce41b74b145cd04645aad4cf135209787ce136f

8 years agocorrect the wrong behavior when the sequence value reaches the MAX(4,294,967,295) 77/86677/2
Boram Park [Fri, 2 Sep 2016 07:47:27 +0000 (16:47 +0900)]
correct the wrong behavior when the sequence value reaches the MAX(4,294,967,295)

- The sequence value of tdm client vblank will start 1 always.
- When the sequence reaches MAX, then it will become 0 at the next vblank.

Change-Id: Ie66cf5ac717246e309e6e2d86eb5c0b1fc2e71c7

8 years agoRevert "fix the layer's crop rect" 49/86649/2
Boram Park [Fri, 2 Sep 2016 06:55:42 +0000 (15:55 +0900)]
Revert "fix the layer's crop rect"

we can set the layer's crop rect with -l option. we don't need this patch.

This reverts commit c7a1e27882423a5c106cb0c0f7ed653959563648.

Change-Id: Iabbb4458c003005e583fd587bf5ba84aed860a4e

8 years agofix the layer's crop rect 56/86556/4
Boram Park [Fri, 2 Sep 2016 01:08:53 +0000 (10:08 +0900)]
fix the layer's crop rect

Change-Id: Id618bbbb7a026a631d1db0f72f4ae8472a471c42

8 years agoadd wait_vblank_seq to request a vblank with the target sequence 92/86392/5
Boram Park [Thu, 1 Sep 2016 03:30:59 +0000 (12:30 +0900)]
add wait_vblank_seq to request a vblank with the target sequence

Change-Id: I8ee758b154df1290f6d4f8a0dd353c6cc0ffcecb

8 years agorefactoring tdm vblank 91/86391/3
Boram Park [Tue, 30 Aug 2016 07:02:54 +0000 (16:02 +0900)]
refactoring tdm vblank

Change-Id: Id688bf2108f54cff797c96f67a8f5ed31ab23ba2

8 years agouse traceMark for ttrace_vblank 90/86290/1
Boram Park [Wed, 31 Aug 2016 10:22:16 +0000 (19:22 +0900)]
use traceMark for ttrace_vblank

Change-Id: Id0f9767dc9315e13778287c0f47fc9a54749e933

8 years agoadd ttrace for vblank debugging 98/86198/1
Boram Park [Wed, 31 Aug 2016 05:00:29 +0000 (14:00 +0900)]
add ttrace for vblank debugging

Change-Id: I030304241a4983e176e5052899006efabcca34c3

8 years agofix syntax error 12/85912/1 accepted/tizen/common/20160830.150239 accepted/tizen/ivi/20160830.235643 accepted/tizen/mobile/20160830.235431 accepted/tizen/tv/20160830.235512 accepted/tizen/wearable/20160830.235558 submit/tizen/20160830.063644
Boram Park [Mon, 29 Aug 2016 08:42:45 +0000 (17:42 +0900)]
fix syntax error

Change-Id: If6463e9661c94d3c6332855e4af8a5eba0b96d78

8 years agoremove no effective code 40/85840/1
Boram Park [Mon, 29 Aug 2016 08:29:18 +0000 (17:29 +0900)]
remove no effective code

Change-Id: Id043e59eef996ad74e7d63f5f704b454d549b8be

8 years agodestroy a vblank object when failed 34/85834/1
Boram Park [Mon, 29 Aug 2016 08:17:09 +0000 (17:17 +0900)]
destroy a vblank object when failed

Change-Id: I699b81b18efc3d9323dcea3d605f7247f3abb742

8 years agoadd -ttrace_vblank option to tdm-monitor 92/85792/1
Boram Park [Mon, 29 Aug 2016 05:37:02 +0000 (14:37 +0900)]
add -ttrace_vblank option to tdm-monitor

Change-Id: I9939c5bd2cca6f2fed1a9cc1f9d518cc5bf068c0

8 years agofix reallocation-free issue of output modes 25/85025/1
Boram Park [Tue, 23 Aug 2016 09:51:41 +0000 (18:51 +0900)]
fix reallocation-free issue of output modes

Change-Id: I76fb49f0d00906ff380531e5ab021da9ecc122a1

8 years agomake sure the directory path is not null for dump 63/84963/1 accepted/tizen/common/20160824.154200 accepted/tizen/ivi/20160824.055127 accepted/tizen/mobile/20160824.054930 accepted/tizen/tv/20160824.055032 accepted/tizen/wearable/20160824.055100 submit/tizen/20160823.022539
Boram Park [Tue, 23 Aug 2016 04:49:34 +0000 (13:49 +0900)]
make sure the directory path is not null for dump

Change-Id: I87849dc858ad5011e4fc1d10b7f811a38cc513c0

8 years agofix memory leak 40/84940/1
Boram Park [Tue, 23 Aug 2016 02:32:06 +0000 (11:32 +0900)]
fix memory leak

Change-Id: I28934b0ddcbf1df4e6d079db9ca2dbc7ba79216c

8 years agoavoid dereference null, fix memory leak 18/84818/2
Junkyeong Kim [Mon, 22 Aug 2016 12:32:48 +0000 (21:32 +0900)]
avoid dereference null, fix memory leak

Change-Id: I8981af9e4b1dd888382cd52d9cc5e17c536329d2
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
8 years agosystemd: support for lazy mount of user data 98/84498/2 accepted/tizen/common/20160822.132710 accepted/tizen/ivi/20160823.041251 accepted/tizen/mobile/20160823.041106 accepted/tizen/tv/20160823.041200 accepted/tizen/wearable/20160823.041225 submit/tizen/20160822.012953 submit/tizen/20160822.045932
SooChan Lim [Fri, 19 Aug 2016 04:44:23 +0000 (13:44 +0900)]
systemd: support for lazy mount of user data

Change-Id: Ib328791d52f6c8a107984c88611842a39c2ebc19

8 years agoenhance log during loading backend module 68/84468/1
Boram Park [Fri, 19 Aug 2016 01:43:40 +0000 (10:43 +0900)]
enhance log during loading backend module

Change-Id: I362f196ac7d5e3acf040f6a38448d4c742cb9dc2

8 years agoenhance the log information 57/84357/1
Boram Park [Thu, 18 Aug 2016 07:30:01 +0000 (16:30 +0900)]
enhance the log information

Change-Id: Idefad691b51b7b309d0ceb1cabe77a487085387f

8 years agofix function description 56/84356/1
Boram Park [Thu, 18 Aug 2016 07:29:30 +0000 (16:29 +0900)]
fix function description

Change-Id: Ida3819b5e4873e1cac136831f72f24dbcd9b76d1

8 years agoversion up to 1.4.0 28/83328/1 1.4.0 accepted/tizen/common/20160811.145504 accepted/tizen/ivi/20160812.010406 accepted/tizen/mobile/20160812.010350 accepted/tizen/tv/20160812.010359 accepted/tizen/wearable/20160812.010339 submit/tizen/20160810.065938
Boram Park [Wed, 10 Aug 2016 07:07:15 +0000 (16:07 +0900)]
version up to 1.4.0

Change-Id: I4d31b84a1a99fc8d793724b0ac75fe15f232ae05

8 years agosupport the asynchronous DPMS operation 69/83269/1
Boram Park [Wed, 10 Aug 2016 01:33:58 +0000 (10:33 +0900)]
support the asynchronous DPMS operation

Change-Id: Ie7f43fc8abb8f93d3fa6472b34525ca2c7f34982

8 years agofirst implementation for the output capability 68/83268/1
Boram Park [Tue, 9 Aug 2016 03:59:19 +0000 (12:59 +0900)]
first implementation for the output capability

Change-Id: I87f8321f3fc0475ee926ca69b2fae09c75f62f3c

8 years agoapply tizen coding style 19/82819/1
Boram Park [Mon, 8 Aug 2016 01:59:34 +0000 (10:59 +0900)]
apply tizen coding style

Change-Id: I67736c86ad6b2e11feeaa697d7b4dd721794fcc3

8 years agofix syntax error 13/82813/1
Boram Park [Mon, 8 Aug 2016 01:34:31 +0000 (10:34 +0900)]
fix syntax error

Change-Id: I7050f9426ee4cfd62d3affae21416e2021791b82

8 years agoimpl for using dump path 10/82810/1
Boram Park [Fri, 5 Aug 2016 09:33:08 +0000 (18:33 +0900)]
impl for using dump path

Change-Id: I8b0f5a5812b79330fe7c6f0a6f861f5c95dc333f

8 years agoPackaging: update version to 1.3.1 44/82544/1 accepted/tizen/common/20160804.174444 accepted/tizen/ivi/20160804.081443 accepted/tizen/mobile/20160804.081526 accepted/tizen/tv/20160804.081400 accepted/tizen/wearable/20160804.081218 submit/tizen/20160803.115336
Gwanglim Lee [Thu, 4 Aug 2016 01:44:51 +0000 (10:44 +0900)]
Packaging: update version to 1.3.1

Change-Id: I891bcb5318ea9c3e8cfc59f7cdaba38f3aa6d41d

8 years agorename tdm-dbg to tdm-monitor 01/81501/1
Boram Park [Tue, 26 Jul 2016 12:41:14 +0000 (21:41 +0900)]
rename tdm-dbg to tdm-monitor

Change-Id: I72ab616f6b0c6365708160633eedd9ab74085d98

8 years agoUse the user done handler instead of the buffer release handler 00/81500/1
Boram Park [Tue, 26 Jul 2016 11:01:00 +0000 (20:01 +0900)]
Use the user done handler instead of the buffer release handler

Change-Id: Id44228ee21e648fddc0249f32c80f8178ac4ac94

8 years agoadd tdm_pp_set_done_handler and tdm_capture_set_done_handler 99/81499/1
Boram Park [Tue, 26 Jul 2016 09:31:07 +0000 (18:31 +0900)]
add tdm_pp_set_done_handler and tdm_capture_set_done_handler

Change-Id: Id6231d28be18540fe82fd1e6f8d22795539ac4b7

8 years agounlock mutex before unref a buffer 72/81372/1
Boram Park [Mon, 25 Jul 2016 23:53:46 +0000 (08:53 +0900)]
unlock mutex before unref a buffer

The frontend user release handler can be called when tdm_buffer_unref_backend
is called. We have to unlock/lock the mutex before/after calling
tdm_buffer_unref_backend function.

Change-Id: Idd97a9286c9d7083d5a77ec23595686a81b61d8e

8 years agoremove release handler when commit failed 71/81371/2
Boram Park [Mon, 25 Jul 2016 23:38:26 +0000 (08:38 +0900)]
remove release handler when commit failed

This is the temporary solution(kismo.kim@samsung.com) to avoid the release
handler is called when commit failed. It looks we need something like the
pp_done handler to let the display server know if the pp operation is done
successfully or not.

Change-Id: I1513a99c89102431fd3b74b656d1f1243528d28a

8 years agocorrect the format information log 33/81133/1
Boram Park [Fri, 22 Jul 2016 08:13:00 +0000 (17:13 +0900)]
correct the format information log

Change-Id: I4331cd771a6b05cb497cab5029e54633dee68153

8 years agocorrect the wrong behavior of tdm-test-server 90/80990/3
Boram Park [Thu, 21 Jul 2016 01:30:23 +0000 (10:30 +0900)]
correct the wrong behavior of tdm-test-server

Change-Id: I5cba2ec5dbb8e8d42fda82f9d5a7b17b04ed49dd

8 years agoadd the buffer clear helper function 89/80989/1
Boram Park [Thu, 21 Jul 2016 05:39:08 +0000 (14:39 +0900)]
add the buffer clear helper function

Change-Id: Id9b20d38b3d1558d0a59db30b7ec302775f2f943

8 years agoenhance the display information 88/80988/1
Boram Park [Wed, 20 Jul 2016 04:43:45 +0000 (13:43 +0900)]
enhance the display information

Change-Id: Ie6a52cda9734137d9a76b4f0f1605869e108d454

8 years agocode clean-up (macro, structure) 87/80987/1
Boram Park [Wed, 20 Jul 2016 04:41:33 +0000 (13:41 +0900)]
code clean-up (macro, structure)

Change-Id: I88124bbca87fe5206c6da5e2faa2adfaa949fb44

8 years agoset index to output, layer objects 86/80986/1
Boram Park [Wed, 20 Jul 2016 04:38:57 +0000 (13:38 +0900)]
set index to output, layer objects

Change-Id: Ic430c677b0749d4cfca762f285d0e9401cf69a90

8 years agoset 750 permission to tdm-dbg and tdm-test-server 85/80985/1
Boram Park [Wed, 20 Jul 2016 02:15:14 +0000 (11:15 +0900)]
set 750 permission to tdm-dbg and tdm-test-server

Change-Id: I461bacf02d9f6353d5cd9866c8f40f1429308554

8 years agoSet SmackProcessLabel to System 67/80867/1 accepted/tizen/common/20160721.175933 accepted/tizen/ivi/20160721.090812 accepted/tizen/mobile/20160721.090540 accepted/tizen/tv/20160721.091341 accepted/tizen/wearable/20160721.091110 submit/tizen/20160721.003054
Yunjin Lee [Wed, 20 Jul 2016 11:52:03 +0000 (20:52 +0900)]
Set SmackProcessLabel to System

Change-Id: Iae2e0a397bf1c333b101dc399e60f0a6be1548cb
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoadd the libtdm dependency 82/80382/2 accepted/tizen/common/20160719.171815 accepted/tizen/ivi/20160718.104055 accepted/tizen/mobile/20160718.104041 accepted/tizen/tv/20160718.104049 accepted/tizen/wearable/20160718.104025 submit/tizen/20160718.014159
Boram Park [Mon, 18 Jul 2016 00:35:49 +0000 (09:35 +0900)]
add the libtdm dependency

Change-Id: I3b4846c913de5334a8d300b965ac3a0c0ebdaf1f

8 years agosupport TDM_DEBUG_PATH 41/79741/2
Boram Park [Tue, 12 Jul 2016 07:22:40 +0000 (16:22 +0900)]
support TDM_DEBUG_PATH

Change-Id: Ibc25d75ad797d1815987a2acceccb9b15d7723f3

8 years agofix seg.fault of tdm-test-server 12/79612/2
Boram Park [Mon, 11 Jul 2016 07:25:24 +0000 (16:25 +0900)]
fix seg.fault of tdm-test-server

Change-Id: I09aa654347fd72b46e264a68b4e935f30b63f8af

8 years agofix the too many logs when enabled 11/79611/2
Boram Park [Mon, 11 Jul 2016 07:24:56 +0000 (16:24 +0900)]
fix the too many logs when enabled

Change-Id: I155b5fc09cc38d0786b5e66867b7565de51cf53e

8 years agocorrect usage of rand_r() 33/79333/1
Boram Park [Mon, 11 Jul 2016 02:21:00 +0000 (11:21 +0900)]
correct usage of rand_r()

Change-Id: Iebaf7cdaafcedd6b08e1bf34f6c2495393b83f0f

8 years agoadd tdm-dbg and td-test-server for debugging 96/79296/1 accepted/tizen/common/20160711.170111 accepted/tizen/ivi/20160711.031111 accepted/tizen/mobile/20160711.030644 accepted/tizen/tv/20160711.030613 accepted/tizen/wearable/20160711.030617 submit/tizen/20160711.003538
Boram Park [Mon, 4 Jul 2016 04:35:19 +0000 (13:35 +0900)]
add tdm-dbg and td-test-server for debugging

Change-Id: I381c9c517256df37ec2238e42815fd3b8618caa4

8 years agofix wrong log 95/79295/1
Boram Park [Tue, 5 Jul 2016 08:25:37 +0000 (17:25 +0900)]
fix wrong log

Change-Id: I9e724f9b5cb7a1c7b9fa48eb7d67b742181cd6d6

8 years agoremove non-effective code. 94/79294/1
Boram Park [Mon, 11 Jul 2016 00:22:16 +0000 (09:22 +0900)]
remove non-effective code.

no need lock/unlock after tdm_thread_deinit

Change-Id: I032304d085e7153ff43489b74bb9e2567ccd8abb

8 years agoUse timer to call the output change callback of the sub-thread. 32/79232/3
Boram Park [Sat, 9 Jul 2016 08:58:04 +0000 (17:58 +0900)]
Use timer to call the output change callback of the sub-thread.

The output change callback of tdm_server and tdm_vblank was called
in the main thread. And it made the multi thread issue. If we use
the timer, we can call the sub-thread's output change callback in
sub-thread.

And, after tdm_event_loop_deinit, we don't worry about thread things
because it's finalized.

Change-Id: I69013b302673551b887384325b14c94e3a53646c

8 years agocorrect the wrong list operation 31/79231/1
Boram Park [Fri, 8 Jul 2016 08:27:59 +0000 (17:27 +0900)]
correct the wrong list operation

Change-Id: If257e99a78646298593fb03c53002d67abf293bd

8 years agosupport dlog for debugging 78/78378/2 accepted/tizen/common/20160706.141826 accepted/tizen/ivi/20160706.013830 accepted/tizen/mobile/20160706.013750 accepted/tizen/tv/20160706.013802 accepted/tizen/wearable/20160706.013816 submit/tizen/20160705.085639
Boram Park [Tue, 5 Jul 2016 06:05:06 +0000 (15:05 +0900)]
support dlog for debugging

Change-Id: Ibbc0e66c4282b14f39f426091b7f756e52fceb6d

8 years agosupport dlog for debugging 31/78331/3
Boram Park [Tue, 5 Jul 2016 06:05:06 +0000 (15:05 +0900)]
support dlog for debugging

Change-Id: If8ebfbbe9158ca8313f9f32351762e3e3a4d4b5a

8 years agofix syntax error 99/77699/1
Boram Park [Thu, 30 Jun 2016 13:14:08 +0000 (22:14 +0900)]
fix syntax error

Change-Id: I2f32e699218c0bf28089fd6c9ab33d80f21e5f9a

8 years agoversion up to 1.3.0 79/77679/2 1.3.0 accepted/tizen/common/20160703.130717 accepted/tizen/ivi/20160701.034046 accepted/tizen/mobile/20160701.034219 accepted/tizen/tv/20160701.034000 accepted/tizen/wearable/20160701.034055 submit/tizen/20160630.124435 submit/tizen_common/20160701.180000
Boram Park [Thu, 30 Jun 2016 12:35:16 +0000 (21:35 +0900)]
version up to 1.3.0

Change-Id: I25b313e3692f2a3137fb6a2c38da48062089a582

8 years agoenhance doxgen document 78/77678/2
Boram Park [Thu, 30 Jun 2016 12:33:01 +0000 (21:33 +0900)]
enhance doxgen document

Change-Id: Ie3e787772461d0c7922627176b8be5b9dc394305

8 years agosupport the tdm dynamic fps and the dpms on/off event 57/77657/1
Boram Park [Mon, 27 Jun 2016 04:37:44 +0000 (13:37 +0900)]
support the tdm dynamic fps and the dpms on/off event

Change-Id: I3fdc26887c19b5ddc66a5a4c1d7eca64cfa9f013

8 years agoadd tdm_common.h to share enumeration and structure with client 56/77656/1
Boram Park [Mon, 27 Jun 2016 04:35:24 +0000 (13:35 +0900)]
add tdm_common.h to share enumeration and structure with client

Change-Id: I6c64905cb8363cc99f3742fe40934872d5d2cb33

8 years agocorrect the retry condition of poll() 55/77655/1
Boram Park [Wed, 22 Jun 2016 04:15:39 +0000 (13:15 +0900)]
correct the retry condition of poll()

Change-Id: I7b2cdd80ccc903811ed791dead112932b887469b

8 years agoadd tdm_layer_get_buffer_flags 65/76865/2 accepted/tizen/common/20160701.100341 accepted/tizen/ivi/20160630.004051 accepted/tizen/mobile/20160630.004128 accepted/tizen/tv/20160630.004034 accepted/tizen/wearable/20160630.004114 submit/tizen/20160629.121628
SooChan Lim [Mon, 27 Jun 2016 12:53:28 +0000 (21:53 +0900)]
add tdm_layer_get_buffer_flags

There can be the layer which can set and display the specific buffer
with the specific flags. Therefore, tdm user has to know the buffer flags
to create the buffer which can be set to the specified layer.

Change-Id: I1df658f4cbb4ca6019a7df1fe72c77db3d6db401

8 years agoremove the pthread-stub dependency 27/76727/1 accepted/tizen/ivi/20160629.015256 accepted/tizen/mobile/20160629.015221 accepted/tizen/tv/20160629.015243 accepted/tizen/wearable/20160629.015234 submit/tizen/20160627.015631
SooChan Lim [Mon, 27 Jun 2016 05:24:38 +0000 (14:24 +0900)]
remove the pthread-stub dependency

Change-Id: I78c92c2f6bef32161be2a1d0815c6774a7945905

8 years agofix some syntax errors 58/76058/1 accepted/tizen/common/20160627.191317 submit/tizen/20160623.021949
Junkyeong Kim [Wed, 22 Jun 2016 12:44:19 +0000 (21:44 +0900)]
fix some syntax errors
initialize variables before using
erase unreacherble codes

Change-Id: I5ea6f89be8aeea2025950f0713fcc60dd43b1f7f
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
8 years agoAllow output name "primary" in tdm_client_wait_vblank 73/74773/3 accepted/tizen/common/20160620.162430 accepted/tizen/ivi/20160617.082231 accepted/tizen/mobile/20160617.081648 accepted/tizen/tv/20160617.081743 accepted/tizen/wearable/20160617.081836 submit/tizen/20160616.063425
Changyeon Lee [Wed, 15 Jun 2016 10:51:09 +0000 (19:51 +0900)]
Allow output name "primary" in tdm_client_wait_vblank

Change-Id: I39b4e5fa789ccda07a7b1156ecc11482237818cf

8 years agofix deadlock 04/74804/1
Roman Marchenko [Wed, 15 Jun 2016 14:15:47 +0000 (17:15 +0300)]
fix deadlock

Change-Id: I426b1067f729db754611824642b13e9ced8a7a9b
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
8 years agofix syntax error 34/74434/1 accepted/tizen/common/20160615.193218 accepted/tizen/ivi/20160616.001420 accepted/tizen/mobile/20160616.001351 accepted/tizen/tv/20160616.001411 accepted/tizen/wearable/20160616.001357 submit/tizen/20160614.090320 submit/tizen/20160615.002933
Boram Park [Tue, 14 Jun 2016 03:43:29 +0000 (12:43 +0900)]
fix syntax error

Change-Id: I00cb5908d5786e9013301c6e1f01eee47d26605d

8 years agopp: allow twice attach 58/73758/1 accepted/tizen/common/20160610.182409 submit/tizen/20160610.022708
Boram Park [Thu, 9 Jun 2016 10:26:02 +0000 (19:26 +0900)]
pp: allow twice attach

Change-Id: I4f9d754f8e83f0c45604a821e06d1b52344b0713

8 years agofix syntax error 45/73745/2
Boram Park [Thu, 9 Jun 2016 09:58:46 +0000 (18:58 +0900)]
fix syntax error

Change-Id: I4fd24640ca850fef42a7f804282e2a885e695db3

8 years agoadd tdm_helper_capture_output API 80/72480/2
Junkyeong Kim [Wed, 1 Jun 2016 07:20:27 +0000 (16:20 +0900)]
add tdm_helper_capture_output API

It makes composite image with output's all layers showing buffer.
After composing, call tdm_helper_capture_handler function.

Change-Id: I1ea7b939d77aeaf4f6d2c5347a3443ddac2b6d1d
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>