platform/core/uifw/libtdm.git
7 years agodraft for SCREEN_PREROTATION_HINT 47/93647/1 ivi-demo
Boram Park [Tue, 25 Oct 2016 06:44:03 +0000 (15:44 +0900)]
draft for SCREEN_PREROTATION_HINT

Change-Id: I2cccf0b62b25d58ac8dcf2d50a3582b23d84c96c

7 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

7 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

7 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

7 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

7 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

7 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

7 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

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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

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

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

7 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

7 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

7 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>
7 years agoadd description for tdm protocol 53/73553/1
Boram Park [Wed, 8 Jun 2016 12:20:57 +0000 (21:20 +0900)]
add description for tdm protocol

Change-Id: Idbb753a959e4237676806f43a701e4366843fa59

7 years agoenhance log 52/73552/1
Boram Park [Tue, 7 Jun 2016 13:47:59 +0000 (22:47 +0900)]
enhance log

Change-Id: I0a8286733d527ba4c41f9b4301f701041ab751c5

7 years agoerase tdm log macros semicolon 77/72477/1 accepted/tizen/common/20160606.141629 submit/tizen/20160603.013854
Junkyeong Kim [Wed, 1 Jun 2016 07:14:55 +0000 (16:14 +0900)]
erase tdm log macros semicolon

Change-Id: Ic012277818e726da3bc9f3e92758e59a038d7c7c
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agomove a registration of commit_cb before calling output_commit 20/71920/2
Roman Marchenko [Fri, 27 May 2016 13:12:07 +0000 (16:12 +0300)]
move a registration of commit_cb before calling output_commit

    If TDM backend works without events (for example fbdev backend)
    then it should be able to call  the commit handler function right after
    doing commit.

Change-Id: I981a02bf257fda116861554db47e0bdf822bfa1f
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
7 years agoapply tizen coding rule 66/71966/1
Boram Park [Mon, 30 May 2016 02:04:45 +0000 (11:04 +0900)]
apply tizen coding rule

Change-Id: I4557e1e0aa1a8d1ed026444f0caf480a66bb9c28

7 years agoreuse ordered output 13/71613/5
Junkyeong Kim [Thu, 26 May 2016 07:21:02 +0000 (16:21 +0900)]
reuse ordered output

Change-Id: I5bba0bf6768192a5554c642309ff3b79f77707b5
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agoerase unused variable 34/71634/2
Junkyeong Kim [Thu, 26 May 2016 08:45:07 +0000 (17:45 +0900)]
erase unused variable

Change-Id: I03dee48c79d49b07478dfa0501427a97e1df9360
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agoupdate output when udev event occured 37/70737/2
Junkyeong Kim [Fri, 20 May 2016 08:43:25 +0000 (17:43 +0900)]
update output when udev event occured

Change-Id: I7a85d3d9ad52f9914d68a66cf4b5537b349db7dc
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agoadd null checking 06/70506/1 accepted/tizen/common/20160520.170941 accepted/tizen/ivi/20160520.003003 accepted/tizen/mobile/20160520.003332 accepted/tizen/tv/20160520.002907 accepted/tizen/wearable/20160520.003013 submit/tizen/20160519.083944
Junkyeong Kim [Thu, 19 May 2016 08:32:43 +0000 (17:32 +0900)]
add null checking

Change-Id: I60beab517611977ca946ee6d469b11be710e32c6
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agoadd doxyzen comment for zpos 98/69898/1
SooChan Lim [Tue, 17 May 2016 08:32:04 +0000 (17:32 +0900)]
add doxyzen comment for zpos

Change-Id: I88c4e90791275236a3169a66a767de5bd837e359