platform/core/uifw/libtdm.git
8 years agoreturn error if a buffer is attached twice 00/62600/2
Boram Park [Wed, 16 Mar 2016 10:06:18 +0000 (19:06 +0900)]
return error if a buffer is attached twice

   We have to handle attaching a buffer twice as error. Display server
   should attach a buffer after finishing a previous converting.

Change-Id: I98ee0a585af19f3a3009133f99a2c27b4e51b438

8 years agomap/unmap for dump 89/62489/1
Boram Park [Wed, 16 Mar 2016 08:12:33 +0000 (17:12 +0900)]
map/unmap for dump

Change-Id: Ib91a52e7c3dbb95db719da201efe8a0d34a3d999

8 years agochange deprecated APIs 94/62094/1
Sangjin Lee [Mon, 14 Mar 2016 09:02:56 +0000 (18:02 +0900)]
change deprecated APIs

Change-Id: I82daf13d77b949e9bffb8db14df39f1efcda981d

8 years agoinstall the license file 63/61863/1 accepted/tizen/common/20160315.220707 accepted/tizen/ivi/20160313.114500 accepted/tizen/mobile/20160313.113356 accepted/tizen/tv/20160313.113715 accepted/tizen/wearable/20160313.114118 submit/tizen/20160311.061039
SooChan Lim [Fri, 11 Mar 2016 04:34:12 +0000 (13:34 +0900)]
install the license file

Change-Id: I3e4c22abba4ad716e9c4d14cfc1ad1a0e15ead42

8 years agofix TDM buffer management 94/61794/1
Boram Park [Thu, 10 Mar 2016 13:37:51 +0000 (22:37 +0900)]
fix TDM buffer management

  - enhance logs
  - use pending_list to rollback if commit is failed
  - increase buffer ref_count if commit is successed

Change-Id: I6823202d9c1764c99d14378a1f37d55e47672c08

8 years agokeep buffer_list in buf_info 16/61616/1
Boram Park [Wed, 9 Mar 2016 07:39:26 +0000 (16:39 +0900)]
keep buffer_list in buf_info

Change-Id: Ie987de6779a3ed63204d009cc4d68ffd6f4953a0

8 years agoenhance log for buffer debugging 80/61580/1
Boram Park [Wed, 9 Mar 2016 04:27:31 +0000 (13:27 +0900)]
enhance log for buffer debugging

Change-Id: I0b5cda4cf5cb00e4ef3d000a8a16844db3b36e17

8 years agofix dependency error for build-break 08/60708/1 accepted/tizen/common/20160302.193714 accepted/tizen/ivi/20160302.073109 accepted/tizen/mobile/20160302.073022 accepted/tizen/tv/20160302.073035 accepted/tizen/wearable/20160302.073049 submit/tizen/20160302.052313
Boram Park [Wed, 2 Mar 2016 00:45:37 +0000 (09:45 +0900)]
fix dependency error for build-break

Change-Id: Iffbda4fde6879f2fa258bf8f8821a76cceb592d9

8 years agoenhance log 07/60707/1
Boram Park [Mon, 29 Feb 2016 07:31:41 +0000 (16:31 +0900)]
enhance log

Change-Id: Ica6faba6cf7144d6efd5991f7e08a436e85784bc

8 years agoapply wayland coding style 36/60536/1
Boram Park [Mon, 29 Feb 2016 01:49:16 +0000 (10:49 +0900)]
apply wayland coding style

Change-Id: I7e829ceedea51cd60989022205cab0fe5bbeb97e

8 years agoadd ttrace accepted/tizen/common/20160301.120653 accepted/tizen/ivi/20160228.232159 accepted/tizen/ivi/20160229.095458 accepted/tizen/mobile/20160228.232050 accepted/tizen/mobile/20160229.095400 accepted/tizen/tv/20160228.232112 accepted/tizen/tv/20160229.095414 accepted/tizen/wearable/20160228.232143 accepted/tizen/wearable/20160229.095435 submit/tizen/20160228.234815 submit/tizen/20160229.555555 submit/tizen_common/20160229.190608
Boram Park [Sun, 28 Feb 2016 22:35:43 +0000 (07:35 +0900)]
add ttrace

Change-Id: I3312d93151cbf7f73dd26e0976a278c11cbb3fc8

8 years agoversion up to 1.1.0 1.1.0
Boram Park [Thu, 18 Feb 2016 01:38:59 +0000 (10:38 +0900)]
version up to 1.1.0

Change-Id: Icad6a02ed7c39e53b3eb8840db76a9c97f38ccdf

8 years agofix syntax error
Boram Park [Fri, 19 Feb 2016 02:36:00 +0000 (11:36 +0900)]
fix syntax error

Change-Id: I8db1427ff18ba4a537493ebcc6becf50dcab65c4

8 years agochecking backend ABI version
Boram Park [Thu, 18 Feb 2016 01:38:46 +0000 (10:38 +0900)]
checking backend ABI version

Change-Id: I484eb38ad2a62cec2b26cac62cc7abe578ef7b6f

8 years agoadd display_buffer_get_fd to TDM backend interface
Boram Park [Fri, 19 Feb 2016 04:39:53 +0000 (13:39 +0900)]
add display_buffer_get_fd to TDM backend interface

Change-Id: I1069e5b799c3a0c5a3592668575b40125ad78157

8 years agoremove tdm_helper_drm_fd
Boram Park [Thu, 18 Feb 2016 01:29:28 +0000 (10:29 +0900)]
remove tdm_helper_drm_fd

Change-Id: I8c8fcdcc71d716b573bad3d2c1eb8532e3bf947e

8 years agoenhance mode information of output
Boram Park [Sun, 14 Feb 2016 10:51:23 +0000 (19:51 +0900)]
enhance mode information of output

Change-Id: Id0560973ddb6541db8ec4df339e92d33bd4a9f4c

8 years agoadd maker, model, name to tdm_caps_output
Boram Park [Sun, 14 Feb 2016 10:24:15 +0000 (19:24 +0900)]
add maker, model, name to tdm_caps_output

Change-Id: I12b393d4918e206a12392306a66b7b2006d05568

8 years agoseperate tdm_func_ouput, tdm_func_layer from tdm_func_diplay
Boram Park [Sun, 14 Feb 2016 09:34:59 +0000 (18:34 +0900)]
seperate tdm_func_ouput, tdm_func_layer from tdm_func_diplay

Change-Id: I1fd0ffab9fecbad43308ff54def71f3cb5b8452c

8 years agoSupport tbm_surface_queue 21/58921/3 accepted/tizen/common/20160223.110205 accepted/tizen/ivi/20160218.024400 accepted/tizen/mobile/20160211.083741 accepted/tizen/tv/20160211.083758 accepted/tizen/wearable/20160211.083825 submit/tizen/20160211.063741 submit/tizen_common/20160218.142243 submit/tizen_common/20160219.083441 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000004
Sangjin Lee [Fri, 5 Feb 2016 04:29:33 +0000 (13:29 +0900)]
Support tbm_surface_queue

Change-Id: Ia18d4d002623efd0b2f606b21e9bb7e96661c28b

8 years agopackaging: update version to 1.0.3 07/58807/1 accepted/tizen/mobile/20160205.011712 accepted/tizen/tv/20160205.011725 accepted/tizen/wearable/20160205.011742 submit/tizen/20160204.075743
Boram Park [Wed, 3 Feb 2016 13:44:26 +0000 (22:44 +0900)]
packaging: update version to 1.0.3

Change-Id: Ibdc0bf08629890109dc7144b89dece5fdfcf9871

8 years agoadd TDM_LAYER_CAPABILITY_SCANOUT 06/58806/1
Boram Park [Wed, 3 Feb 2016 13:44:04 +0000 (22:44 +0900)]
add TDM_LAYER_CAPABILITY_SCANOUT

    some hardware only accets scanout buffers. In this case, the
    display server will pass only a scanout buffer to a TDM layer.

Change-Id: Ie7fd294b7da7e8ccd525924df8f76387ed5410b3

8 years agopackaging: update version to 1.0.2 accepted/tizen/mobile/20160122.080623 accepted/tizen/tv/20160122.080754 accepted/tizen/wearable/20160122.080833 submit/tizen/20160122.051037
Boram Park [Fri, 22 Jan 2016 05:10:17 +0000 (14:10 +0900)]
packaging: update version to 1.0.2

Change-Id: Ic2448a8a8ef3c079380990f2dad2f1eb48915345

8 years agoadd -lpthread to Makefile 14/57714/1
Junkyeong Kim [Fri, 22 Jan 2016 04:45:54 +0000 (13:45 +0900)]
add -lpthread to Makefile

Change-Id: I0ddd04eacd02ef0af3e0c85b7017030b94eebafa
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
8 years agoadd dump function for debugging 06/57406/2
Boram Park [Wed, 20 Jan 2016 01:06:04 +0000 (10:06 +0900)]
add dump function for debugging

Change-Id: Ifb2abab9390a850e1224c38c3ae693a0ec1b1815

8 years agodoc: add tdm_helper.h to doxygen 87/56487/1
Boram Park [Fri, 8 Jan 2016 11:56:47 +0000 (20:56 +0900)]
doc: add tdm_helper.h to doxygen

Change-Id: I7b972dc4a3ef24238d37212d4e1fbc9720b8721d

9 years agomodify doxygen 67/55967/3
Boram Park [Wed, 30 Dec 2015 06:00:48 +0000 (15:00 +0900)]
modify doxygen

Change-Id: Iad1714e3224f39e4b77452e2fa4456949857711b

9 years agoadd README file 66/55966/1
Boram Park [Wed, 30 Dec 2015 02:41:43 +0000 (11:41 +0900)]
add README file

Change-Id: I54495cefc4dcf7d2467a6bf5e8aaf4d6675a70e5

9 years agofix doxygen bug 45/55845/1
Boram Park [Wed, 30 Dec 2015 01:35:49 +0000 (10:35 +0900)]
fix doxygen bug

Change-Id: Iee68da29728dcc907b589af08dfa5d7f59632e15

9 years agoadd doxygen document 52/55752/1
Boram Park [Tue, 29 Dec 2015 04:36:53 +0000 (13:36 +0900)]
add doxygen document

Change-Id: I12b2711b22f6ffe62162ec19464867711be8cef5

9 years agofix svace issue 90/55390/1 accepted/tizen/mobile/20151224.001239 accepted/tizen/tv/20151224.001257 accepted/tizen/wearable/20151224.001320 submit/tizen/20151223.105624 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
Boram Park [Wed, 23 Dec 2015 10:43:48 +0000 (19:43 +0900)]
fix svace issue

Change-Id: I1adae5445f0e403ce4e482b182e1903c9508c648

9 years agopackaging: upgrade version to 1.0.1 15/55215/1 accepted/tizen/mobile/20151222.225458 accepted/tizen/tv/20151222.225723 accepted/tizen/wearable/20151222.225832 submit/tizen_mobile/20151222.055555 submit/tizen_tv/20151222.055555 submit/tizen_wearable/20151222.055555
Boram Park [Tue, 22 Dec 2015 11:27:43 +0000 (20:27 +0900)]
packaging: upgrade version to 1.0.1

Change-Id: I6c860b3db08c982213ed09e2b5670487e5fa6ce2

9 years agochange buffer type from tdm_buffer to tbm_surface 14/55214/1
Boram Park [Tue, 22 Dec 2015 07:43:06 +0000 (16:43 +0900)]
change buffer type from tdm_buffer to tbm_surface

Change-Id: Idd7dc7aea84488b76ba78b91c9b98a02ea4563c5

9 years agochange input/output parameter's type 13/55213/1
Boram Park [Tue, 22 Dec 2015 02:36:51 +0000 (11:36 +0900)]
change input/output parameter's type

Change-Id: Id8f985919a9da55448852b70715068a934c2a909

9 years agounlock mutex after try_lock 34/54934/1 accepted/tizen/mobile/20151221.101012 accepted/tizen/tv/20151221.101017 accepted/tizen/wearable/20151221.101128 submit/tizen/20151221.044415
Boram Park [Mon, 21 Dec 2015 01:51:57 +0000 (10:51 +0900)]
unlock mutex after try_lock

Change-Id: I7e11a01bc27edfd9aff8168833c3b1813544d0b4

9 years agoadd layer_set_video_pos to backend interface 61/54461/1 accepted/tizen/mobile/20151215.124858 accepted/tizen/tv/20151215.125330 accepted/tizen/wearable/20151215.125639 submit/tizen/20151215.103554
Boram Park [Tue, 15 Dec 2015 10:01:11 +0000 (19:01 +0900)]
add layer_set_video_pos to backend interface

Change-Id: I80d1d31ab78f68f8859ce70b67d2e56a431e18b5

9 years agouse tdm_buffer instead of tbm_surface for backend 63/54063/1 accepted/tizen/mobile/20151212.071108 accepted/tizen/tv/20151212.072607 accepted/tizen/wearable/20151212.073206 submit/tizen/20151211.073807
Junkyeong Kim [Fri, 11 Dec 2015 05:27:00 +0000 (14:27 +0900)]
use tdm_buffer instead of tbm_surface for backend

  - add tdm buffer destroy handler

Change-Id: I6edf927ded6c7e07cfcf396f279c5ab8fc49e4de
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
9 years agochange double pointer to one pointer in tdm_caps_output 27/53727/1 accepted/tizen/mobile/20151209.133018 accepted/tizen/tv/20151209.133101 accepted/tizen/wearable/20151209.133133 submit/tizen/20151209.055555
Boram Park [Wed, 9 Dec 2015 03:45:00 +0000 (12:45 +0900)]
change double pointer to one pointer in tdm_caps_output

Change-Id: I81737bfacdf0423dce368d0dd6188ec71d41ad98

9 years agoelimiate race condition of capture callback 50/53650/1
Boram Park [Tue, 8 Dec 2015 11:35:50 +0000 (20:35 +0900)]
elimiate race condition of capture callback

Change-Id: I0eeeaac9b76474174272eba47ebfd7e23f0d14f6

9 years agoelimiate race condition of pp callback accepted/tizen/mobile/20151208.130443 accepted/tizen/tv/20151208.130500 accepted/tizen/wearable/20151208.130517 submit/tizen/20151208.105400
Junkyeong Kim [Mon, 7 Dec 2015 08:13:09 +0000 (17:13 +0900)]
elimiate race condition of pp callback

Change-Id: Ie0599e2d7670ce2c31d2c8537c243a8e9d6f1fa7
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
9 years agoMerge branch 'devel' into tizen 07/53507/1 accepted/tizen/mobile/20151207.123550 accepted/tizen/tv/20151207.123609 accepted/tizen/wearable/20151207.123630 submit/tizen/20151207.055555
Boram Park [Mon, 7 Dec 2015 11:05:49 +0000 (20:05 +0900)]
Merge branch 'devel' into tizen

Change-Id: I46f69bf79e51f8ae8f40b48d5ccd35b56f10ca9b

9 years agobuffer will be released when next buffer is showing
Boram Park [Sat, 5 Dec 2015 01:42:43 +0000 (10:42 +0900)]
buffer will be released when next buffer is showing

Change-Id: I0db820a7d5b303b213040d1958badcdf6a925034

9 years agoadd comments
Boram Park [Sat, 5 Dec 2015 01:41:55 +0000 (10:41 +0900)]
add comments

Change-Id: Ib98d898f5caac6fb4f0a429c2475e43ee5e4b558

9 years agoremove private_display_backend variable
Boram Park [Fri, 4 Dec 2015 12:20:16 +0000 (21:20 +0900)]
remove private_display_backend variable

Change-Id: I2e6ae54deeee46c503d717bce7be45082db3979a

9 years agodestroy tdm_buffer when ref_count and backend_ref_count == 0
Boram Park [Fri, 4 Dec 2015 12:19:27 +0000 (21:19 +0900)]
destroy tdm_buffer when ref_count and backend_ref_count == 0

Change-Id: I19592b24b0260a09cb6aa809471a30df4ad80030

9 years agochange variable names
Boram Park [Fri, 4 Dec 2015 10:47:15 +0000 (19:47 +0900)]
change variable names

Change-Id: I76b1add55684bcbe2d9ba483e1a9b3d81f1224b6

9 years agofix syntax error
Boram Park [Fri, 4 Dec 2015 03:58:10 +0000 (12:58 +0900)]
fix syntax error

Change-Id: I2a7aa2526254c72f8e325d9700d0f7387a1ff751

9 years agoeliminate race condition
Junkyeong Kim [Thu, 3 Dec 2015 12:50:52 +0000 (21:50 +0900)]
eliminate race condition

Change-Id: I9a76a4d631ad4a479bd59cdb487c99a79c3446d1
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
9 years agouse pp flags instead of pp property
Boram Park [Fri, 4 Dec 2015 02:13:49 +0000 (11:13 +0900)]
use pp flags instead of pp property

Change-Id: I8476c1f89059e442787545b67a8da2f7eea1a8cb

9 years agofix syntax error
Boram Park [Thu, 3 Dec 2015 07:29:14 +0000 (16:29 +0900)]
fix syntax error

Change-Id: I3e591def832108dd44774b6173ceacc20868cf9c

9 years agoremove buffer from list when destroyed
Boram Park [Thu, 3 Dec 2015 05:35:50 +0000 (14:35 +0900)]
remove buffer from list when destroyed

Change-Id: I98ee5fb7af54c30c4231c53dfd8f14f2045a9d79

9 years agounref current_buffer after getting next buffer
Boram Park [Thu, 3 Dec 2015 01:25:30 +0000 (10:25 +0900)]
unref current_buffer after getting next buffer

Change-Id: Iaf9b52276daf92e40754dce2fbba8a29a6702e40

9 years agoget tdm_buffer from buffer_list
Boram Park [Thu, 3 Dec 2015 00:04:16 +0000 (09:04 +0900)]
get tdm_buffer from buffer_list

Change-Id: I0eaaa91ba97a44ee4ad6bad8f8c0c3467cc5b9a8

9 years agofix syntax error
Boram Park [Wed, 2 Dec 2015 11:14:06 +0000 (20:14 +0900)]
fix syntax error

Change-Id: I688568122aac81a2289466254d17359fe5938c34

9 years agohide tdm_display_capability from backend
Boram Park [Wed, 2 Dec 2015 04:39:48 +0000 (13:39 +0900)]
hide tdm_display_capability from backend

Change-Id: If11680ccdf2b5bd091038c538ba1638b10221db8

9 years agoadd tdm_layer_is_usable function
Boram Park [Tue, 1 Dec 2015 09:21:57 +0000 (18:21 +0900)]
add tdm_layer_is_usable function

Change-Id: I09037789022a08b2c7e3223e15f0c0856db5a695

9 years agoadd tdm_caps_display
Boram Park [Tue, 1 Dec 2015 02:07:40 +0000 (11:07 +0900)]
add tdm_caps_display

Change-Id: I2ed4f4eebf0ea8bd61abdb6766816f9f1513f075

9 years agoremove newlince character from debug log
Boram Park [Mon, 30 Nov 2015 11:24:58 +0000 (20:24 +0900)]
remove newlince character from debug log

Change-Id: I6992c434846cf3e9855c5c0fccc611a590548388

9 years agocheck if input param is valid
Boram Park [Mon, 30 Nov 2015 11:23:30 +0000 (20:23 +0900)]
check if input param is valid

Change-Id: I1b3e25db613ec9b19d69bdb098773269a8cd1bab

9 years agoadd tdm_output_get_pipe function
Boram Park [Mon, 30 Nov 2015 11:23:10 +0000 (20:23 +0900)]
add tdm_output_get_pipe function

Change-Id: I972162b6a8e14d44d74d0dffa31c238f699a20be

9 years agochange log level
Boram Park [Mon, 30 Nov 2015 10:59:42 +0000 (19:59 +0900)]
change log level

Change-Id: If79e86bb1efb24b941787244989163e8d2e8a921

9 years agoRevert "enhance debug log"
Boram Park [Mon, 30 Nov 2015 10:58:22 +0000 (19:58 +0900)]
Revert "enhance debug log"

This reverts commit 6f49477b659e046d074b9ea51665a61b642aa187.

9 years agoenhance debug log
Boram Park [Mon, 30 Nov 2015 10:49:38 +0000 (19:49 +0900)]
enhance debug log

Change-Id: Iffd487b12c93e362cd61bb4e8c446eb40ae56fff

9 years agofix tdm_display_get_pp_available_properties function pp conut return error 61/52961/2
Junkyeong Kim [Mon, 30 Nov 2015 08:52:27 +0000 (17:52 +0900)]
fix tdm_display_get_pp_available_properties function pp conut return error

Change-Id: I9ae2b94264eecabd358af6676e6a814d94439cf1
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
9 years agoreturns correct error value
Boram Park [Mon, 30 Nov 2015 10:28:22 +0000 (19:28 +0900)]
returns correct error value

Change-Id: Ifb8e21ec7d7fe9cb9ed2349c0003db874f9d047c

9 years agofix input param type
Boram Park [Mon, 30 Nov 2015 10:27:59 +0000 (19:27 +0900)]
fix input param type

Change-Id: I2310c9f6300fa7a98df999be6d7f8fbb6aae6c42

9 years agofirst draft
Boram Park [Thu, 26 Nov 2015 12:40:56 +0000 (21:40 +0900)]
first draft

Change-Id: I796c329f104a631c1149f579012a43e1f39ce660

9 years agoInitial empty repository master
KyungMi Lee [Thu, 19 Nov 2015 01:08:59 +0000 (17:08 -0800)]
Initial empty repository