platform/core/uifw/libtdm.git
6 years agobuffers: use rand_r to draw noise color 40/172840/3
Boram Park [Fri, 16 Mar 2018 07:42:40 +0000 (16:42 +0900)]
buffers: use rand_r to draw noise color

Change-Id: I44ce0464c620b77ab20540b75b9dcaeb49202040

6 years agoutests: modification for macro 39/172839/3
Boram Park [Fri, 16 Mar 2018 05:59:19 +0000 (14:59 +0900)]
utests: modification for macro

Change-Id: Ia2a14839ca265a86e7869bd62719dd3c05681966

6 years agoutests: some modification for helper 38/172838/3
Boram Park [Fri, 16 Mar 2018 05:58:57 +0000 (14:58 +0900)]
utests: some modification for helper

Change-Id: I3fd90c2a65425478d9bcbbdbdce77a0afd14f682

6 years agohelper: copy filename 37/172837/1
Boram Park [Fri, 16 Mar 2018 05:57:43 +0000 (14:57 +0900)]
helper: copy filename

Change-Id: I5d15a165ba482aad7b1280abd411035a6c57ae22

6 years agobuffers: fill 0xFF for alpha bits if XRGB8888 36/172836/1
Boram Park [Fri, 16 Mar 2018 05:57:03 +0000 (14:57 +0900)]
buffers: fill 0xFF for alpha bits if XRGB8888

Change-Id: I11fe1caf16c54a927aaf935504d26b8e01d95337

6 years agohelper: remove unsupported format 35/172835/1
Boram Park [Fri, 16 Mar 2018 05:55:26 +0000 (14:55 +0900)]
helper: remove unsupported format

YUYV, UYVY doesn't seem to work properly

Change-Id: I923f2e52d54e37c78af02cad0fec0ca994501ad7

6 years agothread: correct the infinite event propagation issue 72/172772/1
Boram Park [Fri, 16 Mar 2018 01:17:28 +0000 (10:17 +0900)]
thread: correct the infinite event propagation issue

when calling tdm_thread_cb_call, 'propagation' param will help to decide if
we need to propagate a event to other thread or not. and checking
waiting_cb_type variable is not needed any more.

Change-Id: I59929cb8dc1dd1ada2e7b8acfa9095a174e12928

6 years agoRevert "Revert "output: seperate output-status and output-dpms change"" 71/172771/1
Boram Park [Fri, 16 Mar 2018 00:17:07 +0000 (09:17 +0900)]
Revert "Revert "output: seperate output-status and output-dpms change""

This reverts commit 3dab774282940b13db1792b57deaf50109d9d5e3.

Change-Id: I64aec7755e0822b85b28e420b4fd2727b6763e51

6 years agoRevert "output: seperate output-status and output-dpms change" 65/172765/1 accepted/tizen/unified/20180316.062431 submit/tizen/20180314.093754
Boram Park [Thu, 15 Mar 2018 23:35:32 +0000 (08:35 +0900)]
Revert "output: seperate output-status and output-dpms change"

This reverts commit dd84f199e0e855ca945bae239c152fa22147af53.

Change-Id: I0aa9117c9dac6ee5664f549bcf25a51fca072efb

6 years agopackage version up to 1.16.5
Boram Park [Thu, 15 Mar 2018 07:56:56 +0000 (16:56 +0900)]
package version up to 1.16.5

Change-Id: I9052516fba6f6a7e98e22908b3a5c36f32fe67aa

6 years agoutests: fix deadlock 93/172693/1
Boram Park [Thu, 15 Mar 2018 05:30:23 +0000 (14:30 +0900)]
utests: fix deadlock

after adding change handler, have to call handle_events to dispatch events.

Change-Id: Id8bc3b52508b383b5fc204bfc493d79cf172065d

6 years agoutests: disable SetProperty tc 92/172692/1
Boram Park [Thu, 15 Mar 2018 05:28:56 +0000 (14:28 +0900)]
utests: disable SetProperty tc

not avaiable to test

Change-Id: I782bdd0f4aec95421352cb4c607e1ead13ecc2ab

6 years agoclient: reset watch_output_changes when removing all handlers 91/172691/1
Boram Park [Thu, 15 Mar 2018 05:28:12 +0000 (14:28 +0900)]
client: reset watch_output_changes when removing all handlers

Change-Id: I985579a2c5022a97d0ae7834280b22857bc484dc

6 years agoutest: initialize the hwc_wins 46/172546/1
SooChan Lim [Wed, 14 Mar 2018 10:23:34 +0000 (19:23 +0900)]
utest: initialize the hwc_wins

Change-Id: I1a21c36e580bc33da1809e08f71e9dc13f27bbf5

6 years agopackage version up to 1.16.4
Boram Park [Wed, 14 Mar 2018 09:38:33 +0000 (18:38 +0900)]
package version up to 1.16.4

Change-Id: I4cf3f8c9cd537a105867c0713aa6e19e8d7c828f

6 years agoutests: correct wrong behavior 10/172510/3
Boram Park [Wed, 14 Mar 2018 07:49:41 +0000 (16:49 +0900)]
utests: correct wrong behavior

Change-Id: I636ded1f8e084f626f42f3197847d9b445c9678d

6 years agothread: remove caller_tid information when adding and removing thread_cb 09/172509/1
Boram Park [Wed, 14 Mar 2018 07:48:44 +0000 (16:48 +0900)]
thread: remove caller_tid information when adding and removing thread_cb

Change-Id: Ib5edb635cac1335a27c71fb478b88577f31f1fac

6 years agothread: reset cl_list_lock when deinit 08/172508/1
Boram Park [Wed, 14 Mar 2018 07:48:17 +0000 (16:48 +0900)]
thread: reset cl_list_lock when deinit

Change-Id: I9999da814337a774a6ca643da915b9c11f8c914e

6 years agolayer: add more debugging log 07/172507/1
Boram Park [Wed, 14 Mar 2018 07:47:32 +0000 (16:47 +0900)]
layer: add more debugging log

Change-Id: Ib2b40f60ce6f0180137684c13f443be55a861722

6 years agovblank: calculating SW target time properly 06/172506/1
Boram Park [Wed, 14 Mar 2018 05:05:25 +0000 (14:05 +0900)]
vblank: calculating SW target time properly

Change-Id: I3f72412fd9b0d23ddbd5db42bed9e6f07dda322c

6 years agothread: use PTHREAD_MUTEX_INITIALIZER 05/172505/1
Boram Park [Wed, 14 Mar 2018 05:03:26 +0000 (14:03 +0900)]
thread: use PTHREAD_MUTEX_INITIALIZER

Change-Id: I4626eebb96b3e8524ea48737104c0df9d1b1871b

6 years agoutests: apply coding style 19/172319/1
Boram Park [Tue, 13 Mar 2018 07:38:41 +0000 (16:38 +0900)]
utests: apply coding style

Change-Id: I6e063ca7ea46a9c2c7a0113fa95d9ed1d829366a

6 years agopackage version up to 1.16.3 16/172316/1 accepted/tizen/unified/20180314.062059 submit/tizen/20180313.073140
Boram Park [Tue, 13 Mar 2018 07:30:00 +0000 (16:30 +0900)]
package version up to 1.16.3

Change-Id: I40d9676982ebe15704123165193a99b2db2bb882

6 years agoutests: using ASSERT_XXX 04/172304/2
Boram Park [Tue, 13 Mar 2018 06:52:57 +0000 (15:52 +0900)]
utests: using ASSERT_XXX

Change-Id: Ib3b039753e6f3400eb22672c1af2a2f12e500ff0

6 years agoutest: correct wrong behaviors 87/172287/2
Boram Park [Mon, 12 Mar 2018 23:23:18 +0000 (08:23 +0900)]
utest: correct wrong behaviors

Change-Id: I57b023a9800a0b4fba993397365c183ba81ba647

6 years agotdm: init fd 86/172286/2
Boram Park [Mon, 12 Mar 2018 23:23:29 +0000 (08:23 +0900)]
tdm: init  fd

Change-Id: I8585cd3874f01ebe8d146abd5a8ede64d52da573

6 years agomacro: add some macros for debug 85/172285/2
Boram Park [Tue, 13 Mar 2018 04:56:32 +0000 (13:56 +0900)]
macro: add some macros for debug

Change-Id: I0f9c9738ff849d13877b0b383da5578848f4f860

6 years agoevent_loop: deinit event_loop after stopping 84/172284/2
Boram Park [Tue, 13 Mar 2018 04:18:04 +0000 (13:18 +0900)]
event_loop: deinit event_loop after stopping

Change-Id: Id3c6e588fa19fedf849f766df594521e17ba201c

6 years agoclient: lock / unlock in tdm_client_handle_events_timeout 83/172283/2
Boram Park [Tue, 13 Mar 2018 04:17:23 +0000 (13:17 +0900)]
client: lock / unlock in tdm_client_handle_events_timeout

Change-Id: I6749fef9293951b5e188634756e74d2e56f5c81f

6 years agooutput: add thread_cb even if func is null 82/172282/2
Boram Park [Tue, 13 Mar 2018 03:12:24 +0000 (12:12 +0900)]
output: add thread_cb even if func is null

Change-Id: I64eb5588a02ef5d351e9e7debaf7faf00b40f558

6 years agolayer: add a missed callback 81/172281/2
Boram Park [Tue, 13 Mar 2018 03:12:00 +0000 (12:12 +0900)]
layer: add a missed callback

Change-Id: Ia7b2b6a467a1ef7531e5f4be51f58f559c8ae97a

6 years agopackage version up to 1.16.2 accepted/tizen/unified/20180313.061047 submit/tizen/20180312.084240
Boram Park [Mon, 12 Mar 2018 08:42:25 +0000 (17:42 +0900)]
package version up to 1.16.2

Change-Id: Id92045c2da6777f7efd18dfb7d05caca73b4d04e

6 years agooutput: seperate output-status and output-dpms change 58/172158/2
Boram Park [Mon, 12 Mar 2018 08:13:03 +0000 (17:13 +0900)]
output: seperate output-status and output-dpms change

Change-Id: I0fabb65405347dab1f8604827df00be274410091

6 years agopackage version up to 1.16.1 accepted/tizen/unified/20180309.202958 submit/tizen/20180308.124132
Boram Park [Thu, 8 Mar 2018 12:41:20 +0000 (21:41 +0900)]
package version up to 1.16.1

Change-Id: I2ce18aa2791e733216d174f791cf190fe6d486f1

6 years agothread: checking waiting cb_type 94/171994/1
Boram Park [Thu, 8 Mar 2018 12:35:07 +0000 (21:35 +0900)]
thread: checking waiting cb_type

if waiting_cb_type != cb_type->type, send cb to other thread if needed.
when a thread is waiting status, if other thread tries to send the same type cb
as sync, we CAN'T handle it. So we'd better make assert it to find another
solution.

Change-Id: I06f92b2814a3a4e0d23d9d6df3c8b17526e1175f

6 years agoutests: add more tc 25/171925/1
Boram Park [Thu, 8 Mar 2018 06:39:37 +0000 (15:39 +0900)]
utests: add more tc

Change-Id: I304f08c9f390acdfd4a7935be4a404afaa6e6c63

6 years agooutput: add debugging log 24/171924/1
Boram Park [Thu, 8 Mar 2018 06:39:18 +0000 (15:39 +0900)]
output: add debugging log

Change-Id: I0dd4ef4067e18706257619a1cfb2f6dea79f0657

6 years agopackage version up to 1.16.0 accepted/tizen/unified/20180307.071357 submit/tizen/20180307.022920
Boram Park [Wed, 7 Mar 2018 02:29:11 +0000 (11:29 +0900)]
package version up to 1.16.0

Change-Id: I4c0c3ba7a7e7fc5ca7b8d618bc873e4d61df53dd

6 years agoutests: correct pointer type 13/171713/1
Boram Park [Wed, 7 Mar 2018 01:14:55 +0000 (10:14 +0900)]
utests: correct pointer type

Change-Id: I557633d3d01b90c00005b8e1b51df0e2afc485d7

6 years agooutput: add tdm_output_has_capture_capability 12/171712/1
Boram Park [Wed, 7 Mar 2018 01:21:19 +0000 (10:21 +0900)]
output: add tdm_output_has_capture_capability

Change-Id: Ida5763d36449c1bb7c2734e63bdbf25eb4b0d90b

6 years agooutput: correct buffer leak when calling tdm_output_commit without a handler 11/171711/1
Boram Park [Wed, 7 Mar 2018 01:20:54 +0000 (10:20 +0900)]
output: correct buffer leak when calling tdm_output_commit without a handler

Change-Id: I032d556d6cab02d5bed3076e91fe57ed745a6bd3

6 years agobackend: add checking mandatory functions 10/171710/1
Boram Park [Wed, 7 Mar 2018 01:19:25 +0000 (10:19 +0900)]
backend: add checking mandatory functions

Change-Id: Ib9262959482250f95e43f7016ece3bc96581dce6

6 years agolog: add tdm_log_print_stdout 09/171709/1
Boram Park [Wed, 7 Mar 2018 01:18:07 +0000 (10:18 +0900)]
log: add tdm_log_print_stdout

Change-Id: I9ee3b16818e868f75b7bb114182f293d94a278bc

6 years agolog: remove unused code 91/171291/2
Boram Park [Wed, 28 Feb 2018 05:47:01 +0000 (14:47 +0900)]
log: remove unused code

Change-Id: Id0683906617148ed05423561c3bf5987ad592f37

6 years agoclient: add tdm_client_handle_events_timeout 86/171386/2
Boram Park [Fri, 2 Mar 2018 07:38:27 +0000 (16:38 +0900)]
client: add tdm_client_handle_events_timeout

Change-Id: Ifebfbe10670f7f8af366e26c8ea8e172f024d6a1

6 years agoadd tdm_client_vblank_is_waiting 85/171385/3
Boram Park [Fri, 2 Mar 2018 07:06:07 +0000 (16:06 +0900)]
add tdm_client_vblank_is_waiting

Change-Id: I27df05723f0544c6f063a722100b6ecdbec6c944

6 years agoutest: modify the TDMHwcWindow test case 85/171185/2
SooChan Lim [Tue, 27 Feb 2018 08:25:27 +0000 (17:25 +0900)]
utest: modify the TDMHwcWindow test case

Change-Id: I9fb070f824ec134051f7245c923deaa989c10cdd

6 years agoutest: add ut_tdm_output_hwc test case 84/171184/2
SooChan Lim [Tue, 27 Feb 2018 07:45:05 +0000 (16:45 +0900)]
utest: add ut_tdm_output_hwc test case

Change-Id: Ic4f81b512034c947143eb8ca44e0f5b4e9dd0009

6 years agorename tdm_backend to tdm_module 72/171172/1 accepted/tizen/unified/20180302.061438 submit/tizen/20180227.053105
Boram Park [Tue, 27 Feb 2018 06:48:21 +0000 (15:48 +0900)]
rename tdm_backend to tdm_module

initrd-recovery already uses 'tdm_backend' word. no other choice.

Change-Id: I69acef25a284bd1a5872c6b4ee7ad5771f6a5bac

6 years agopackage version up to 1.15.1
Boram Park [Tue, 27 Feb 2018 05:30:36 +0000 (14:30 +0900)]
package version up to 1.15.1

Change-Id: Ic53ee701e9eec1ca90add4148ef2ab7eaf462a81

6 years agofix build-break 55/171155/1
Boram Park [Tue, 27 Feb 2018 05:24:40 +0000 (14:24 +0900)]
fix build-break

Change-Id: Ic02a14e323eee8f89e86102cd66f500fdf823772

6 years agooutput: correct syntax error 50/171150/1
Boram Park [Tue, 27 Feb 2018 03:08:27 +0000 (12:08 +0900)]
output: correct syntax error

Change-Id: I2dffd741c746c9295a73e22e90b32d471a1f0315

6 years agoutest: check if vblank is avaiable 49/171149/1
Boram Park [Tue, 27 Feb 2018 03:07:56 +0000 (12:07 +0900)]
utest: check if vblank is avaiable

Change-Id: I7cc4bea8a367e02dc69478ff5c1e1e435d288818

6 years agolog: correct log behavior 31/171131/2
Boram Park [Tue, 27 Feb 2018 01:17:31 +0000 (10:17 +0900)]
log: correct log behavior

Change-Id: Ic1a1c9560e5e79a1b159a1faa8d1bb1819aa7839

6 years agopackage version up to 1.15.0 submit/tizen/20180227.014049
Boram Park [Tue, 27 Feb 2018 01:40:38 +0000 (10:40 +0900)]
package version up to 1.15.0

Change-Id: I54312944dfee4ffdcbbb104ffa0b616844f52820

6 years agoutests: re-implementation 66/171066/7
Boram Park [Tue, 20 Feb 2018 11:33:25 +0000 (20:33 +0900)]
utests: re-implementation

Change-Id: Ie7de3a978c9d9334ab60dfe17165c91e28cbc0d1

6 years agolog: check TDM_DLOG in tdm_log_enable_dlog 26/171126/3
Boram Park [Mon, 26 Feb 2018 23:38:54 +0000 (08:38 +0900)]
log: check TDM_DLOG in tdm_log_enable_dlog

checking it in tdm_log_print is excuted in every log.

Change-Id: I6cc4c132c8cf8188f0bdf702560f3e8e51a5050c

6 years agolog: fix memory leak 25/171125/3
Boram Park [Mon, 26 Feb 2018 23:36:53 +0000 (08:36 +0900)]
log: fix memory leak

Change-Id: I50b1de495e6af2562832d2bc363991aaa17fef0d

6 years agotests: check return value 24/171124/3
Boram Park [Mon, 26 Feb 2018 23:34:27 +0000 (08:34 +0900)]
tests: check return value

Change-Id: I8bfdfc486e9901ac810f28f760b9f56a2d14da32

6 years agovblank: check return value 23/171123/3
Boram Park [Mon, 26 Feb 2018 23:34:01 +0000 (08:34 +0900)]
vblank: check return value

Change-Id: I465d4528be887606e8113cdbd16f6da860dc5907

6 years agothread: check return value 22/171122/3
Boram Park [Mon, 26 Feb 2018 23:33:41 +0000 (08:33 +0900)]
thread: check return value

Change-Id: If06fc256f0ea39512fd0f4144529de25a41e73a0

6 years agoserver: check return value 21/171121/3
Boram Park [Mon, 26 Feb 2018 23:33:29 +0000 (08:33 +0900)]
server: check return value

Change-Id: I1c4539a174eb3f910643600004d42bc3763692f0

6 years agolayer: remove the unused code 20/171120/3
Boram Park [Mon, 26 Feb 2018 23:33:02 +0000 (08:33 +0900)]
layer: remove the unused code

Change-Id: Ia74540bb15d775b26afca4183f169b38abe1f5db

6 years agohwc: unlock before reture 19/171119/3
Boram Park [Mon, 26 Feb 2018 23:32:41 +0000 (08:32 +0900)]
hwc: unlock before reture

Change-Id: Ic60059f20d7a4de093d951ea15800adc14ad1d99

6 years agohwc: correct user_data 17/171117/3
Boram Park [Mon, 26 Feb 2018 23:31:30 +0000 (08:31 +0900)]
hwc: correct user_data

Change-Id: I7a50f519834f455c975948feec27b6ae57d49f27

6 years agoinit: correct the init fail procedure 16/171116/2
Boram Park [Mon, 26 Feb 2018 23:30:49 +0000 (08:30 +0900)]
init: correct the init fail procedure

Change-Id: I08e6aca1b61c8c3dc1f1623bee5bb2c2364ecd36

6 years agodisplay: initializing pointer 15/171115/2
Boram Park [Mon, 26 Feb 2018 23:29:45 +0000 (08:29 +0900)]
display: initializing pointer

Change-Id: I7a4bf250683afacdf621a8ee465828850055f062

6 years agobuffer: initializing pointer 14/171114/2
Boram Park [Mon, 26 Feb 2018 23:29:36 +0000 (08:29 +0900)]
buffer: initializing pointer

Change-Id: Ifbc4bb53e006103a9ff4c4ad1692027f0f3d7ac4

6 years agoclient: initializing pointer 13/171113/2
Boram Park [Mon, 26 Feb 2018 23:29:23 +0000 (08:29 +0900)]
client: initializing pointer

Change-Id: I36f67b911a8335766fa9d3b0385ec4e6aef0e720

6 years agovblank: ignore global fps for server's vblank 65/171065/2
Boram Park [Mon, 26 Feb 2018 07:23:48 +0000 (16:23 +0900)]
vblank: ignore global fps for server's vblank

Change-Id: I4188bd1e539792f3a2fbb6547d39276581175896

6 years agothread: fix deadlock issue 64/171064/2
Boram Park [Mon, 26 Feb 2018 06:38:41 +0000 (15:38 +0900)]
thread: fix deadlock issue

when there are callbacks in cb_list[0] and cb_list[1], display-thread and tdm-
thread are slept in pthread_cond_wait.

Change-Id: If5d459b5f8579fcbf05765de12f76cca548de6eb

6 years agovblank: check return value 63/171063/2
Boram Park [Mon, 26 Feb 2018 06:36:25 +0000 (15:36 +0900)]
vblank: check return value

Change-Id: Iafc93e27e3d9b41c2a2ca61c1da9622f9a8b27d8

6 years agoserver: check return value 62/171062/2
Boram Park [Mon, 26 Feb 2018 06:36:14 +0000 (15:36 +0900)]
server: check return value

Change-Id: I6efd4944ec752d7b9ce70ed67a2ef73021b1f1f1

6 years agoserver: correct syntax error 61/171061/2
Boram Park [Mon, 26 Feb 2018 06:35:53 +0000 (15:35 +0900)]
server: correct syntax error

Change-Id: I1fa8fa63a4acda61638a2a94b2e9023a6c75ef47

6 years agooutput: correct syntax error 60/171060/2
Boram Park [Mon, 26 Feb 2018 06:34:46 +0000 (15:34 +0900)]
output: correct syntax error

Change-Id: I3fd9c71554093877da1e975ce4b870a9cb9a5497

6 years agodisplay: add tdm_display_find_output 59/171059/2
Boram Park [Mon, 26 Feb 2018 06:35:34 +0000 (15:35 +0900)]
display: add tdm_display_find_output

Change-Id: I78c86c27e3f6c8c0cbf31d04455c3024d936e9a5

6 years agodisplay: add tdm_display_flush 58/171058/2
Boram Park [Mon, 26 Feb 2018 06:33:21 +0000 (15:33 +0900)]
display: add tdm_display_flush

Change-Id: I8fd5bf404cac29d323a858bec482e45754d7ef9d

6 years agoclient: let a server know the watch status 57/171057/2
Boram Park [Mon, 26 Feb 2018 06:32:49 +0000 (15:32 +0900)]
client: let a server know the watch status

Change-Id: I25652d7f92bb47909ef3d3873ee0df2620261d1f

6 years agoclient: no need to check watch_output_changes 56/171056/2
Boram Park [Mon, 26 Feb 2018 06:31:36 +0000 (15:31 +0900)]
client: no need to check watch_output_changes

1) If watch_output_changes == true, private_output->dpms has been already updated
in _tdm_client_output_cb_dpms.
2) If watch_output_changes == false, server will return TDM_ERROR_DPMS_OFF. The
dpms value in client side is not important. If a client calls tdm_client_output_get_dpms,
private_output->dpms will be updated.

Change-Id: I6d6ea1df74955c44ce02c2d7a39aa589d38ba516

6 years agoclient: check invalid params 55/171055/2
Boram Park [Mon, 26 Feb 2018 02:15:38 +0000 (11:15 +0900)]
client: check invalid params

Change-Id: I637a30bb799589d359c8e9bfdafdec539a062717

6 years agoclient: not allow adding handler twicenot allow 54/171054/2
Boram Park [Mon, 26 Feb 2018 02:15:24 +0000 (11:15 +0900)]
client: not allow adding handler twicenot allow

Change-Id: Ibc42a95295638ccc87aba5eb6999ef73664be7b2

6 years agoclient: fix deadlock issue 53/171053/2
Boram Park [Mon, 26 Feb 2018 00:16:53 +0000 (09:16 +0900)]
client: fix deadlock issue

tdmp_vblank shouldn't be protected by mutex.

Change-Id: I9bf718402774d3109b0482c2e8f80c4baeee8c54

6 years agooutput: update caps only in case of changing status between connection and disconnection 06/171006/2
Boram Park [Sun, 25 Feb 2018 22:55:23 +0000 (07:55 +0900)]
output: update caps only in case of changing status between connection and disconnection

Change-Id: I63126a368331b494b3a4aa9c17a7e2abbc75a058

6 years agovblank: offset should be greater than 0 13/171013/1
Boram Park [Sun, 25 Feb 2018 23:30:24 +0000 (08:30 +0900)]
vblank: offset should be greater than 0

Change-Id: Iee03c0b17b51f8a35c844b5d4f6581ada167d8eb

6 years agovblank: interval should be greater than 0 05/171005/2
Boram Park [Sun, 25 Feb 2018 22:54:28 +0000 (07:54 +0900)]
vblank: interval should be greater than 0

Change-Id: I69108d7b81fd14f22d6e9f5d7fecfcf28dd3623e

6 years agomacro: add tdm_capture_type_str 04/171004/2
Boram Park [Sun, 25 Feb 2018 22:54:12 +0000 (07:54 +0900)]
macro: add tdm_capture_type_str

Change-Id: Ie5674d055852a98e95306c1573432162704f2191

6 years agolog: TDM_DEBUG env for debugging 03/171003/2
Boram Park [Sun, 25 Feb 2018 22:53:57 +0000 (07:53 +0900)]
log: TDM_DEBUG env for debugging

Change-Id: I820e71c3dbb27fd6d7b5677f4c295c55367711e3

6 years agolog: add return char only in case of stdout 02/171002/2
Boram Park [Sun, 25 Feb 2018 22:53:47 +0000 (07:53 +0900)]
log: add return char only in case of stdout

Change-Id: Ia87ae3a1fdceec67d93280f3e238092f544bc851

6 years agolayer: correct return type 01/171001/2
Boram Park [Sun, 25 Feb 2018 22:53:13 +0000 (07:53 +0900)]
layer: correct return type

TDM_ERROR_NONE seems right because flags is set to 0 as default

Change-Id: I351454370b6e001ec1ba3ee1cccd514e1d6df908

6 years agoprotect a handler list with mutex 00/171000/2
Boram Park [Fri, 23 Feb 2018 06:43:18 +0000 (15:43 +0900)]
protect a handler list with mutex

Change-Id: I120a0fbf28cdf64f81318dc7f6c544b994c4662a

6 years agovblank: correct printf format 99/170999/2
Boram Park [Fri, 23 Feb 2018 06:40:24 +0000 (15:40 +0900)]
vblank: correct printf format

Change-Id: I088fd0ce9acef399f8f0ff03de80da76f4fbe3a3

6 years agovblank: add tdm_vblank_get_output 98/170998/2
Boram Park [Fri, 23 Feb 2018 06:39:09 +0000 (15:39 +0900)]
vblank: add tdm_vblank_get_output

Change-Id: Ibad717742bb0ebe8ad7b92926c1b48bdc3fc37ac

6 years agolayer: fix syntax error 97/170997/2
Boram Park [Fri, 23 Feb 2018 06:38:44 +0000 (15:38 +0900)]
layer: fix syntax error

Change-Id: Ie57843ae9735804d50e3118340d86b9fa0db56ca

6 years agooutput: not allow adding handler twice 96/170996/2
Boram Park [Fri, 23 Feb 2018 06:38:12 +0000 (15:38 +0900)]
output: not allow adding handler twice

Change-Id: I63ff48c75010263e96f765366d6a7f3ec5988dae

6 years agobuffer: not allow adding handler twice 95/170995/2
Boram Park [Fri, 23 Feb 2018 06:37:50 +0000 (15:37 +0900)]
buffer: not allow adding handler twice

Change-Id: I385a17820ff81f527ab21e0d01dbe07e274dace0

6 years agotdm: add missed description 94/170994/2
Boram Park [Fri, 23 Feb 2018 06:37:11 +0000 (15:37 +0900)]
tdm: add missed description

Change-Id: I91f0053a9e97459ec5269cc1fb638adc310c74e4

6 years agooutput: don't touch return params when failed 92/170992/1
Boram Park [Fri, 23 Feb 2018 01:50:40 +0000 (10:50 +0900)]
output: don't touch return params when failed

Change-Id: Iba17eb76a47078f3bd37e338318bbcc8354a69d6

6 years agothread: remove test code 91/170991/1
Boram Park [Fri, 23 Feb 2018 00:09:59 +0000 (09:09 +0900)]
thread: remove test code

Change-Id: I70f8d4bde93c521ba12ec2177666806da921e7e6

6 years agohelper: add tdm_helper_output_vblank_timer_expired 90/170990/1
Boram Park [Fri, 23 Feb 2018 00:05:24 +0000 (09:05 +0900)]
helper: add tdm_helper_output_vblank_timer_expired

To check if output-vblank is expired

Change-Id: I4c3339a62f970372c2749808f2a8d930dd211935

6 years agooutput: correct return type 89/170989/1
Boram Park [Fri, 23 Feb 2018 00:04:25 +0000 (09:04 +0900)]
output: correct return type

Change-Id: I927d257820e11dcfa5bf545c88f374d092d6fb7f