platform/core/uifw/libtbm.git
8 years agotbm_sync: bug fix timeline create and fence create 84/84184/1
deasung.kim [Wed, 17 Aug 2016 07:38:24 +0000 (16:38 +0900)]
tbm_sync: bug fix timeline create and fence create

set timeline fd in timeline structure
fix fence create structure(char pointer to char array[32])

Change-Id: I4d6677543ae0d857bd6f60e77cbbbe4ecef17d62
Signed-off-by: deasungkim <deasung.kim@samsung.com>
8 years agotbm_sync: implement tbm_sync 89/84089/4
deasung.kim [Tue, 16 Aug 2016 13:44:36 +0000 (22:44 +0900)]
tbm_sync: implement tbm_sync

added new API: tbm_sync_fence_export, tbm_sync_fence_import
this APIs need to gpu driver
   tbm_sync_timeline_export
        this APIs maybe need to wayland-tbm
not implement: tbm_sync_fence_get_count_val, tbm_sync_timeline_get_cur_count
I don't know how to get that count from kernel
and if manage in one process(by member variable) I think it is meanless(can't share other processes)

Change-Id: Iea1b21fcacdbdca2061fa12ca589c8f5fc40d38b
Signed-off-by: deasungkim <deasung.kim@samsung.com>
8 years agoadd tbm_sync to support for the timeline and the fence 79/82979/4
SooChan Lim [Fri, 5 Aug 2016 07:27:48 +0000 (16:27 +0900)]
add tbm_sync to support for the timeline and the fence

There are two resources to manage the synchronization.
two handle.. tbm_sync_timeline_h, tbm_sync_fence_h

Change-Id: I680ce38370164d17c7b487400b9e29f1f5cac3f6

8 years agoApply tizen coding rule 72/83372/1 accepted/tizen/common/20160811.145512 accepted/tizen/ivi/20160812.010410 accepted/tizen/mobile/20160812.010355 accepted/tizen/tv/20160812.010403 accepted/tizen/wearable/20160812.010344 submit/tizen/20160810.065938
Changyeon Lee [Wed, 10 Aug 2016 10:11:23 +0000 (19:11 +0900)]
Apply tizen coding rule

Change-Id: Ib272a11dfdd15dc698c8e9bfeb5ff4e37ef6faa5

8 years agoadd tbm_surface_internal_set_debug_data function for debugging 37/83337/2
Changyeon Lee [Wed, 10 Aug 2016 06:49:51 +0000 (15:49 +0900)]
add tbm_surface_internal_set_debug_data function for debugging

debug data will be print in tbm_bufmgr_debug_show

Change-Id: If351c9e987eb5a397707aae5cd94f79502daf89d

8 years agoadd _tbm_bufmgr_get_bufmgr as internal function 69/82969/1
SooChan Lim [Mon, 8 Aug 2016 10:21:44 +0000 (19:21 +0900)]
add  _tbm_bufmgr_get_bufmgr as internal function

Change-Id: Id9e7f809eb1926f356702022652133353ebd7cec

8 years agoadd capabilities to the bufmgr 68/82968/1
SooChan Lim [Mon, 8 Aug 2016 10:20:17 +0000 (19:20 +0900)]
add capabilities to the bufmgr

Change-Id: Id53df2a60fa32e4d10a64f80c4fd2ce5232a4081

8 years agoadd dump prefix time value 97/80997/6 accepted/tizen/ivi/20160804.081504 accepted/tizen/mobile/20160804.081606 accepted/tizen/tv/20160804.081425 accepted/tizen/wearable/20160804.081253 submit/tizen/20160803.115336
Junkyeong Kim [Thu, 21 Jul 2016 08:29:24 +0000 (17:29 +0900)]
add dump prefix time value

Change-Id: Ia00086ae1d538f995b01327b5de9028403d9d9de
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
8 years agotbm_surface : delete user data before bo unref 50/81650/2
Changyeon Lee [Wed, 27 Jul 2016 10:57:45 +0000 (19:57 +0900)]
tbm_surface : delete user data before bo unref

Change-Id: If88d0cc1ff2f40b2fef570d16b0b0f1c7a9d39d1

8 years agotbm_surface_queue: Don't wait enqueue if queue deosn't have dequeue type node 31/80931/2 accepted/tizen/common/20160721.180438 accepted/tizen/ivi/20160721.092916 accepted/tizen/mobile/20160721.092351 accepted/tizen/tv/20160721.091639 accepted/tizen/wearable/20160721.091950 submit/tizen/20160721.043111
Changyeon Lee [Thu, 21 Jul 2016 01:59:19 +0000 (10:59 +0900)]
tbm_surface_queue: Don't wait enqueue if queue deosn't have dequeue type node

Change-Id: Ib8621a33221253c4f952124f7abd225bd96cfba6

8 years agoSet SmackProcessLabel to System 64/80864/1 accepted/tizen/common/20160721.180015 accepted/tizen/ivi/20160721.090828 accepted/tizen/mobile/20160721.090601 accepted/tizen/tv/20160721.091356 accepted/tizen/wearable/20160721.091133 submit/tizen/20160721.003054
Yunjin Lee [Wed, 20 Jul 2016 11:49:08 +0000 (20:49 +0900)]
Set SmackProcessLabel to System

Change-Id: Ic74dc9df6101ec63e3671f5c3e06925cd4932e14
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoadapt tizen coding rule 98/80798/1 accepted/tizen/common/20160720.173403 accepted/tizen/ivi/20160720.103904 accepted/tizen/mobile/20160720.103813 accepted/tizen/tv/20160720.103830 accepted/tizen/wearable/20160720.103843 submit/tizen/20160720.083427
Junkyeong Kim [Wed, 20 Jul 2016 08:27:35 +0000 (17:27 +0900)]
adapt tizen coding rule

Change-Id: I0e42f7260db27e01c3564682aba2868f379a8868
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
8 years agoadd tbm_surface_internal_dump_all for debugging 46/78846/6 accepted/tizen/common/20160719.172045 accepted/tizen/ivi/20160718.105004 accepted/tizen/mobile/20160718.105047 accepted/tizen/tv/20160718.104748 accepted/tizen/wearable/20160718.105010 submit/tizen/20160718.061633
Roman Marchenko [Wed, 6 Jul 2016 14:34:50 +0000 (17:34 +0300)]
add tbm_surface_internal_dump_all for debugging

Change-Id: Ic9beae82f643c4e635ab7e49d7a4a5a2f07dd87f
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
8 years agoadd trace messages for debugging 09/78209/7
Roman Marchenko [Fri, 1 Jul 2016 14:39:09 +0000 (17:39 +0300)]
add trace messages for debugging

Change-Id: I4cd3fe5ca0307dd95fb82195cb22f114ad41a598
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
8 years agochange the dump file name 51/78851/1 accepted/tizen/common/20160707.171942 accepted/tizen/ivi/20160707.113858 accepted/tizen/mobile/20160707.113750 accepted/tizen/tv/20160707.113840 accepted/tizen/wearable/20160707.113748 submit/tizen/20160707.070907
SooChan Lim [Thu, 7 Jul 2016 06:29:03 +0000 (15:29 +0900)]
change the dump file name

Change-Id: I819c9f99984972390dbdb87246aa239f06d8bc56

8 years agoenhance the name of the dump buffers 17/78517/1 accepted/tizen/common/20160707.171219 accepted/tizen/ivi/20160706.082955 accepted/tizen/mobile/20160706.082923 accepted/tizen/tv/20160706.082904 accepted/tizen/wearable/20160706.082915 submit/tizen/20160706.051650
SooChan Lim [Tue, 5 Jul 2016 12:51:21 +0000 (21:51 +0900)]
enhance the name of the dump buffers

Change-Id: I137a66f5129cd6723cc5a4864e31c01bb15a1423

8 years agoRevert "adapt tizen coding rule" 91/77991/1
SooChan Lim [Mon, 4 Jul 2016 01:20:09 +0000 (10:20 +0900)]
Revert "adapt tizen coding rule"

This reverts commit b1ea678692dbfd17b7e0af7483a421e60506be60.

Change-Id: Iaec5c697f2817e37613684ffae0b206581b51fa1

8 years agoadd bo_cnt for debug 69/77969/1 accepted/tizen/common/20160703.131041 accepted/tizen/ivi/20160703.110729 accepted/tizen/mobile/20160703.110712 accepted/tizen/tv/20160703.110721 accepted/tizen/wearable/20160703.110725 submit/tizen/20160702.130303
SooChan Lim [Sat, 2 Jul 2016 12:55:52 +0000 (21:55 +0900)]
add bo_cnt for debug

print the bo informations in the process
when the bo number is over 500.

Change-Id: I1fb91ca9d17467c15d2610b5ac402ce3c159ded7

8 years agodelete queue node before queue destroy 29/77329/1 accepted/tizen/common/20160701.100346 accepted/tizen/ivi/20160630.004052 accepted/tizen/mobile/20160630.004130 accepted/tizen/tv/20160630.004035 accepted/tizen/wearable/20160630.004116 submit/tizen/20160629.121628
Changyeon Lee [Wed, 29 Jun 2016 10:49:58 +0000 (19:49 +0900)]
delete queue node before queue destroy

Change-Id: I999b8a5155074b05bbbe387769ef70ee7bee15d8

8 years agoFixed calculating of num bos in tbm surface 01/77301/1
Changyeon Lee [Wed, 29 Jun 2016 09:39:08 +0000 (18:39 +0900)]
Fixed calculating of num bos in tbm surface

Change-Id: I7ce85c6925a5ef3e1f510303da5d4868bea84546

8 years agoremove the pthread-stub dependency 26/76726/2 accepted/tizen/ivi/20160629.015258 accepted/tizen/mobile/20160629.015225 accepted/tizen/tv/20160629.015245 accepted/tizen/wearable/20160629.015236 submit/tizen/20160627.015631
SooChan Lim [Mon, 27 Jun 2016 05:24:10 +0000 (14:24 +0900)]
remove the pthread-stub dependency

Change-Id: I3433115e98d0d43fafd5798646c8bfdbda41c5ee

8 years agoadapt tizen coding rule 88/76688/1
Junkyeong Kim [Mon, 27 Jun 2016 02:06:49 +0000 (11:06 +0900)]
adapt tizen coding rule

Change-Id: I7ddf9383cbf121384f47e4070df76f35d1ae8814
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
8 years agoinitialize buf_info variable in tbm_surfac_internal_dump_end 48/76048/1 accepted/tizen/common/20160627.191319 submit/tizen/20160623.021949
Junkyeong Kim [Wed, 22 Jun 2016 12:12:35 +0000 (21:12 +0900)]
initialize buf_info variable in tbm_surfac_internal_dump_end

Change-Id: Ife5c1d228121fb4161a255e2a084f49bf3a5d3ab
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
8 years agoChange tbm debug level 01/75701/1 accepted/tizen/common/20160622.145758 accepted/tizen/ivi/20160622.021142 accepted/tizen/mobile/20160622.021104 accepted/tizen/tv/20160622.021112 accepted/tizen/wearable/20160622.021122 submit/tizen/20160621.051659
Changyeon Lee [Tue, 21 Jun 2016 05:09:33 +0000 (14:09 +0900)]
Change tbm debug level

Change-Id: I04412ec15c5839d5ac3b6ecb8ddbb30e03196c92

8 years agoUse dlog logging system 65/75665/2
Changyeon Lee [Tue, 21 Jun 2016 02:20:40 +0000 (11:20 +0900)]
Use dlog logging system

Change-Id: I672ac678bce625a26af1c718bf57c70e41fef7c4

8 years agoApply tizen coding rule 92/74492/1 accepted/tizen/common/20160615.193431 accepted/tizen/ivi/20160615.001908 accepted/tizen/mobile/20160615.001944 accepted/tizen/tv/20160615.001919 accepted/tizen/wearable/20160615.001925 submit/tizen/20160614.113418
Changyeon Lee [Tue, 14 Jun 2016 10:25:17 +0000 (19:25 +0900)]
Apply tizen coding rule

Change-Id: I413bac301b4d50cf82b239a31dcc02516c0ade08

8 years agotbm_surface_queue: add a function for get buffers 12/74012/4
Sangjin Lee [Fri, 10 Jun 2016 10:38:38 +0000 (19:38 +0900)]
tbm_surface_queue: add a function for get buffers

This function just query tbm_surfaces in a tbm_surface_queue.

Change-Id: I0199af904a9a0feccc182d4d433baf455065087c

8 years agofix deleting callback in tbm_surface_queue_remove_reset_cb() function 04/73004/1
k.drabeniuk [Fri, 3 Jun 2016 12:46:22 +0000 (15:46 +0300)]
fix deleting callback in tbm_surface_queue_remove_reset_cb() function

Change-Id: I804025a255d50218c4a8f88ac370c8369cef24f7
Signed-off-by: k.drabeniuk <k.drabeniuk@samsung.com>
8 years agoadapt tizen coding rule 54/71754/1 accepted/tizen/common/20160606.141635 submit/tizen/20160603.013854
Junkyeong Kim [Fri, 27 May 2016 04:25:47 +0000 (13:25 +0900)]
adapt tizen coding rule

Change-Id: Ic09b99f59722c0b04392decec2c6c230b6d285dc
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
8 years agoAdd excluding coverage comment 24/70724/2 accepted/tizen/common/20160520.171556 accepted/tizen/ivi/20160523.023932 accepted/tizen/mobile/20160523.023951 accepted/tizen/tv/20160523.023939 accepted/tizen/wearable/20160523.023941 submit/tizen/20160520.082843
Changyeon Lee [Fri, 20 May 2016 08:15:33 +0000 (17:15 +0900)]
Add excluding coverage comment

Change-Id: I17890ea2be57f587ab86a070a6ae4182cc6361b7

8 years agoCheck valid gBufmgr in tbm_bufmgr_deinit 90/70090/1 accepted/tizen/common/20160519.191105 accepted/tizen/ivi/20160519.002824 accepted/tizen/mobile/20160519.002739 accepted/tizen/tv/20160519.002805 accepted/tizen/wearable/20160519.002751 submit/tizen/20160518.062502
Changyeon Lee [Wed, 18 May 2016 04:51:36 +0000 (13:51 +0900)]
Check valid gBufmgr in tbm_bufmgr_deinit

Change-Id: Ic3ce7340f7b6f50bb9bea3591d4ed03c24777a4f

8 years agoFixed implicit declaration of TBM_LOG 78/69878/2 accepted/tizen/ivi/20160518.003913 accepted/tizen/mobile/20160518.003930 accepted/tizen/tv/20160518.003953 accepted/tizen/wearable/20160518.003926 submit/tizen/20160517.081717
Andrii Sokolenko [Tue, 17 May 2016 07:03:31 +0000 (10:03 +0300)]
Fixed implicit declaration of TBM_LOG

Change-Id: I999c8ebab5712199a6328baece888f22822c5185
Signed-off-by: Andrii Sokolenko <a.sokolenko@samsung.com>
8 years agoSupport logging dlog 44/69644/4
Changyeon Lee [Mon, 16 May 2016 08:13:32 +0000 (17:13 +0900)]
Support logging dlog

if TBM_DLOG=1(environment variable) is set, tbm log message with dlog system

Change-Id: Ib130e2dee69b2d3d89ec03e1e33a566883bf48af

8 years agoadd shm buffer dump API 84/69584/2 accepted/tizen/common/20160517.173839 accepted/tizen/ivi/20160517.032145 accepted/tizen/mobile/20160517.032125 accepted/tizen/tv/20160517.032133 accepted/tizen/wearable/20160517.032227 submit/tizen/20160516.074649
Junkyeong Kim [Mon, 16 May 2016 03:36:01 +0000 (12:36 +0900)]
add shm buffer dump API

Change-Id: Ib47f3a727c9694c1230a2b4dee452efdb8de6e77
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
8 years agochange tbm dump API name 85/69385/1 accepted/tizen/common/20160513.123658 accepted/tizen/ivi/20160513.082325 accepted/tizen/mobile/20160513.082306 accepted/tizen/tv/20160513.082319 accepted/tizen/wearable/20160513.082302 submit/tizen/20160513.045353
Junkyeong Kim [Fri, 13 May 2016 04:20:42 +0000 (13:20 +0900)]
change tbm dump API name

Change-Id: I72dcc302dcd97bbffee6e2e49083dcbf165f4aca
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
8 years agoadd size checking at dump 14/69214/2 accepted/tizen/ivi/20160513.004612 accepted/tizen/mobile/20160513.004645 accepted/tizen/tv/20160513.004606 accepted/tizen/wearable/20160513.004558 submit/tizen/20160512.075824
Junkyeong Kim [Thu, 12 May 2016 07:30:25 +0000 (16:30 +0900)]
add size checking at dump

Change-Id: I6535e460781c60741d47915222f17632ba95222b
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
8 years agochange tbm_surface_internal_dump_start parameter 01/69201/3
Junkyeong Kim [Thu, 12 May 2016 06:32:24 +0000 (15:32 +0900)]
change tbm_surface_internal_dump_start parameter

Change-Id: Icf81a414ba5a03d23efae7d11875e1099957c191
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
8 years agobugfix: reset_notificaton 90/69190/1
Sangjin Lee [Thu, 12 May 2016 05:57:20 +0000 (14:57 +0900)]
bugfix: reset_notificaton

Change-Id: I1361578687a8dcac88113a9bff9ce5555042d7dd

8 years agochange filemode to 664 20/69120/1
Sangjin Lee [Wed, 11 May 2016 22:53:34 +0000 (07:53 +0900)]
change filemode to 664

Change-Id: Iaf07908ad0a8d45a229547c62b9503588965e047

8 years agosurface_queue: remove tail list in queue 19/69119/1
Sangjin Lee [Wed, 11 May 2016 22:50:13 +0000 (07:50 +0900)]
surface_queue: remove tail list in queue

the list is double-linked list, so do not need tail.

Change-Id: I25f808dd0fb4209b543798026711759c45df3a96

8 years agoimprove tbm surface dump(dump enable yuv format surface) 71/68671/3 accepted/tizen/common/20160512.143648 accepted/tizen/ivi/20160512.050929 accepted/tizen/mobile/20160512.050945 accepted/tizen/tv/20160512.050919 accepted/tizen/wearable/20160512.050932 submit/tizen/20160511.072700
Junkyeong Kim [Mon, 9 May 2016 08:48:21 +0000 (17:48 +0900)]
improve tbm surface dump(dump enable yuv format surface)

Change-Id: I5249921d04a6b9e4690797c6a848f353f5817be6
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
8 years agoFix calloc size 29/68329/1 accepted/tizen/common/20160504.130228 accepted/tizen/ivi/20160504.012515 accepted/tizen/mobile/20160504.012412 accepted/tizen/tv/20160504.012427 accepted/tizen/wearable/20160504.012457 submit/tizen/20160503.113831
Changyeon Lee [Tue, 3 May 2016 11:28:07 +0000 (20:28 +0900)]
Fix calloc size

Change-Id: I41969322131b68fb78f1cf89033c646f57913b04

8 years agoChange static function to internal API for checking surface is valid 92/68092/1
Changyeon Lee [Mon, 2 May 2016 07:16:23 +0000 (16:16 +0900)]
Change static function to internal API for checking surface is valid

Change-Id: I12a0d30b0f22f6f4ae0930eedcba9d013b92eaee

8 years ago1st implementation of tbm surface dump 32/67532/4 accepted/tizen/common/20160429.170300 accepted/tizen/ivi/20160429.011613 accepted/tizen/mobile/20160429.011551 accepted/tizen/tv/20160429.011559 accepted/tizen/wearable/20160429.011554 submit/tizen/20160428.080908
SooChan Lim [Wed, 27 Apr 2016 02:50:33 +0000 (11:50 +0900)]
1st implementation of tbm surface dump

Change-Id: I2834e0957e96253f56eee234e8e4b861bcc53665

8 years agoFix error handling in surface create 64/67064/1 accepted/tizen/common/20160427.053635 accepted/tizen/ivi/20160426.233906 accepted/tizen/mobile/20160426.233835 accepted/tizen/tv/20160426.233851 accepted/tizen/wearable/20160426.233847 submit/tizen/20160426.014338
Changyeon Lee [Mon, 25 Apr 2016 04:11:36 +0000 (13:11 +0900)]
Fix error handling in surface create

Change-Id: I94fa2fbc7f64331436e6e0069d99da7e3616d46e
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
8 years agoPackage version up 63/66763/1 accepted/tizen/common/20160421.161822 accepted/tizen/ivi/20160422.070049 accepted/tizen/mobile/20160422.070127 accepted/tizen/tv/20160422.070044 accepted/tizen/wearable/20160422.070007 submit/tizen/20160421.075624
Changyeon Lee [Thu, 21 Apr 2016 02:26:51 +0000 (11:26 +0900)]
Package version up

Change-Id: I533dbb4e67981e3c806e4500ba98dafee36236c7
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
8 years agoAdd backend interface surface_alloc_bo 31/66631/3
Changyeon Lee [Wed, 20 Apr 2016 04:19:51 +0000 (13:19 +0900)]
Add backend interface surface_alloc_bo

if surface_alloc_bo backend fuction exist,
Use surface alloc bo function instead bo alloc when tbm surface is created

Change-Id: Id8b68d37067ab993d59bee4a866d79283c83f741
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
8 years agovalidate check tbm surface 26/66726/1 accepted/tizen/ivi/20160421.011402 accepted/tizen/mobile/20160421.011517 accepted/tizen/tv/20160421.011430 accepted/tizen/wearable/20160421.011440 submit/tizen/20160420.130607
Changyeon Lee [Wed, 20 Apr 2016 12:59:28 +0000 (21:59 +0900)]
validate check tbm surface

Change-Id: Ie2e4aa87d933fb279cbc1a37382e4d19551de7da
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
8 years agoFix null deref 58/65558/1 accepted/tizen/common/20160414.142626 accepted/tizen/ivi/20160415.014826 accepted/tizen/mobile/20160415.014850 accepted/tizen/tv/20160415.014745 accepted/tizen/wearable/20160415.014807 submit/tizen/20160414.040521
Changyeon Lee [Tue, 29 Mar 2016 02:04:35 +0000 (11:04 +0900)]
Fix null deref

Change-Id: I2f06e3f71edfaa8a835a7e7416c11b727fc50961
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
8 years agoChange environtment variable name for fd share with tdm 40/63640/2
Changyeon Lee [Fri, 25 Mar 2016 05:19:06 +0000 (14:19 +0900)]
Change environtment variable name for fd share with tdm

Change-Id: I076bfdc381c6e3f9361fc059ca2a9730f0392821
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
8 years agoRemove code for 1.0 version backend 39/63639/2
Changyeon Lee [Thu, 24 Mar 2016 11:44:40 +0000 (20:44 +0900)]
Remove code for 1.0 version backend

Change-Id: I6da29f73a21aea13cff91791107fdc001e21f428
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
8 years agoAdd nv12mt format in bpp, num plane 20/64920/1
Changyeon Lee [Wed, 6 Apr 2016 08:16:29 +0000 (17:16 +0900)]
Add nv12mt format in bpp, num plane

Change-Id: I0c5ad11f25aec3dba45efbc700fea2f05a762ad8
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
8 years agoqueue: remove deprecated apis 64/63964/1
Sangjin Lee [Tue, 29 Mar 2016 05:26:09 +0000 (14:26 +0900)]
queue: remove deprecated apis

Change-Id: I5207e9c4c7102bf19368bfdcba3265d557f6e728

8 years agochange the log format of TBM_QUEUE_TRACE 41/63341/1
SooChan Lim [Wed, 23 Mar 2016 08:44:51 +0000 (17:44 +0900)]
change the log format of TBM_QUEUE_TRACE

Change-Id: I5f78e86683ff741d25bef012cd26f65ebde91f1d

8 years agoadd TBM_QUEUE_TRACE for debugging 86/62586/2 accepted/tizen/common/20160321.145947 accepted/tizen/ivi/20160321.005342 accepted/tizen/mobile/20160321.005250 accepted/tizen/tv/20160321.005307 accepted/tizen/wearable/20160321.005327 submit/tizen/20160320.044251
SooChan Lim [Wed, 16 Mar 2016 04:56:17 +0000 (13:56 +0900)]
add TBM_QUEUE_TRACE for debugging

Change-Id: I4ff8099ef30e42dab3bc21c42d9102f126524267

8 years agosurface_queue: fix memory leak 75/62575/1
Sangjin Lee [Wed, 16 Mar 2016 23:05:53 +0000 (08:05 +0900)]
surface_queue: fix memory leak

Change-Id: I6ce0db7ad81494f6019775c3c3b5cbb49142f830

8 years agoqueue: move queue_size to common 09/62209/1 accepted/tizen/common/20160316.155658 accepted/tizen/ivi/20160315.120859 accepted/tizen/mobile/20160315.120807 accepted/tizen/tv/20160315.120821 accepted/tizen/wearable/20160315.120840 submit/tizen/20160315.024806
Sangjin Lee [Tue, 15 Mar 2016 02:00:43 +0000 (11:00 +0900)]
queue: move queue_size to common

Change-Id: I447d3a5bc7b8b2a6fd540e1d54edce099d7a90ae

8 years agosurface_queue: add user alloc function 40/62040/1 accepted/tizen/ivi/20160315.002521 accepted/tizen/mobile/20160315.002431 accepted/tizen/tv/20160315.002445 accepted/tizen/wearable/20160315.002502 submit/tizen/20160314.083728
Sangjin Lee [Thu, 3 Mar 2016 07:24:01 +0000 (16:24 +0900)]
surface_queue: add user alloc function

Change-Id: I4819847e5aa4e38c1d57a03cc2d24418089786e9

8 years agouse the tizen directory macros at spec file 66/61866/1 accepted/tizen/ivi/20160313.114454 accepted/tizen/mobile/20160313.113335 accepted/tizen/tv/20160313.113702 accepted/tizen/wearable/20160313.114101 submit/tizen/20160311.060511
SooChan Lim [Fri, 11 Mar 2016 04:44:45 +0000 (13:44 +0900)]
use the tizen directory macros at spec file

Change-Id: I4b27d2d3dc79c2dec3fcacc2f6787663e3430e20

8 years agoRemove delete function definition 65/61765/2 submit/tizen/20160311.010043
Changyeon Lee [Thu, 10 Mar 2016 10:20:48 +0000 (19:20 +0900)]
Remove delete function definition

Change-Id: Id7ce271a7ab8932aa13772dbad20b1acbafce88c
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
8 years agoFix close fd bug 64/61764/1
Changyeon Lee [Tue, 8 Mar 2016 10:09:55 +0000 (19:09 +0900)]
Fix close fd bug

Change-Id: I7479018451dbddd0771fd2daec8245e72bfbc3f1
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
8 years agomodify the copying file 68/61268/1
SooChan Lim [Mon, 7 Mar 2016 05:40:27 +0000 (14:40 +0900)]
modify the copying file

Change-Id: I0130a6e0b7e931688a42622078e111d491396b04

8 years agoMove service file 25/61125/1 accepted/tizen/common/20160307.153307 accepted/tizen/ivi/20160307.015917 accepted/tizen/mobile/20160307.015819 accepted/tizen/tv/20160307.015839 accepted/tizen/wearable/20160307.015858 submit/tizen/20160306.224940
Changyeon Lee [Fri, 4 Mar 2016 06:24:55 +0000 (15:24 +0900)]
Move service file

Change-Id: I1b8420df76db17865940a146badad71899f82199
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
8 years agoPackage version up 00/61000/1
Changyeon Lee [Thu, 3 Mar 2016 07:32:55 +0000 (16:32 +0900)]
Package version up

Change-Id: Ic026ada33cafcdb5ddcf492ee61ee27f6c811647
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
8 years agoMerge "Merge branch 'sandbox/cyeon/devel' into tizen" into tizen
SooChan Lim [Thu, 3 Mar 2016 07:15:10 +0000 (23:15 -0800)]
Merge "Merge branch 'sandbox/cyeon/devel' into tizen" into tizen

8 years agoMerge branch 'sandbox/cyeon/devel' into tizen 54/60954/1
Changyeon Lee [Thu, 3 Mar 2016 06:33:04 +0000 (15:33 +0900)]
Merge branch 'sandbox/cyeon/devel' into tizen

Change-Id: I8a73629615fea52f660c6ee06fecdaff6c968db2
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
8 years agoAdd get plane data 2
Changyeon Lee [Wed, 2 Mar 2016 08:42:01 +0000 (17:42 +0900)]
Add get plane data 2

Change-Id: I9d44b01c425c1ae99c32fade829095fa9ac9a059

8 years agoFix mutex lock bug
Changyeon Lee [Wed, 2 Mar 2016 08:41:43 +0000 (17:41 +0900)]
Fix mutex lock bug

Change-Id: I597afd7f314cf2364b49e83f3fffa9dec8dd6468

8 years agoAdd newline in log
Changyeon Lee [Wed, 2 Mar 2016 05:15:21 +0000 (14:15 +0900)]
Add newline in log

Change-Id: I21c42cadaf5ca35b856b768768f0c46960b35a2c

8 years agoRename service file
Changyeon Lee [Wed, 2 Mar 2016 02:48:25 +0000 (11:48 +0900)]
Rename service file

Change-Id: I68e4e277257574ffce3b52a217e6982f98201049

8 years agoRename protocol tbm-drm to tbm-drm-auth 34/60734/1
Changyeon Lee [Wed, 2 Mar 2016 02:34:06 +0000 (11:34 +0900)]
Rename protocol tbm-drm to tbm-drm-auth

Change-Id: I3f608047366318f6755b42cfebdd1c4a1c6623d8

8 years agoRename tbm-drm socket 33/60733/1
Changyeon Lee [Wed, 2 Mar 2016 01:34:56 +0000 (10:34 +0900)]
Rename tbm-drm socket

Change-Id: I77efcdb77ec54ea9b744576724362224b726e861

8 years agorename display server environment variable 32/60732/1
Changyeon Lee [Mon, 29 Feb 2016 12:34:54 +0000 (21:34 +0900)]
rename display server environment variable

Change-Id: I0f1eab3882a503e0f99406de10d06ed20f6ab81c

8 years agoAdd definition of function(bufmgr bind naitve display) 31/60731/1
Changyeon Lee [Mon, 29 Feb 2016 12:24:26 +0000 (21:24 +0900)]
Add definition of function(bufmgr bind naitve display)

Change-Id: I7860663eb74f37b4f4c1c2dc7c5d20f918479497

8 years agoAdd tbm-drm service file 30/60730/1
Changyeon Lee [Mon, 29 Feb 2016 12:15:56 +0000 (21:15 +0900)]
Add tbm-drm service file

Change-Id: I7d42b03523e573cc4b78c3577378f3211f831526

8 years agoFix some bug in tbm_drm_helper 29/60729/1
Changyeon Lee [Mon, 29 Feb 2016 04:45:23 +0000 (13:45 +0900)]
Fix some bug in tbm_drm_helper

Change-Id: Ib9d77d8e834c8635a373a217e84887c89b8bc60f

8 years agoAdd is_display_server function for backend 28/60728/1
Changyeon Lee [Fri, 26 Feb 2016 13:37:57 +0000 (22:37 +0900)]
Add is_display_server function for backend

Change-Id: I56d0e449fa393a964e4dcd89950e5f867fd536d7

8 years agoAdd bind display function 27/60727/1
Changyeon Lee [Fri, 26 Feb 2016 13:31:53 +0000 (22:31 +0900)]
Add bind display function

Change-Id: Ibe7b74943f5d302f7d5b3e4771903fd3bb7b1d1a

8 years agoAdd tbm drm helper 26/60726/1
Changyeon Lee [Thu, 25 Feb 2016 01:51:09 +0000 (10:51 +0900)]
Add tbm drm helper

Change-Id: I4dc7aafc1dbda489b34aebe1d57d6e2d98152eb0

8 years agoDon't use surface get num bos 25/60725/1
Changyeon Lee [Tue, 23 Feb 2016 11:37:52 +0000 (20:37 +0900)]
Don't use surface get num bos

Change-Id: If25cfb3a7c8a0b509273ff11b7765b6b9547c96f

8 years agoFix build break 24/60724/1
Changyeon Lee [Thu, 25 Feb 2016 04:12:51 +0000 (13:12 +0900)]
Fix build break

Change-Id: I62ac1aa70de7c060b4db4721c0cbb6ee3e3b3ff9
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
8 years agoFix build break 19/60319/1
Changyeon Lee [Thu, 25 Feb 2016 04:12:51 +0000 (13:12 +0900)]
Fix build break

Change-Id: I62ac1aa70de7c060b4db4721c0cbb6ee3e3b3ff9
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
8 years agoApply tizen coding rule 53/60053/1
Changyeon Lee [Mon, 22 Feb 2016 08:54:03 +0000 (17:54 +0900)]
Apply tizen coding rule

Change-Id: I400495c69753e29c80ad5c83846bf63124129d7b
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
8 years agoDon't use unneeded backend function if backend package use libtbm 2.0 version 37/59737/1
Changyeon Lee [Mon, 15 Feb 2016 06:05:52 +0000 (15:05 +0900)]
Don't use unneeded backend function if backend package use libtbm 2.0 version

Change-Id: I49979865a06d2748a66c6cb4bcd220dfd47dce42
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
8 years agoFix checking backend function 36/59736/1
Changyeon Lee [Thu, 18 Feb 2016 01:52:58 +0000 (10:52 +0900)]
Fix checking backend function

Change-Id: I79ca8864a290b0ddb42a83b96c13542f81cb98ce
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
8 years agoinitiate info variable before filling 14/59514/2
Boram Park [Tue, 16 Feb 2016 07:18:57 +0000 (16:18 +0900)]
initiate info variable before filling

Change-Id: I2d572036a0972ee999c316971b92e04eeb4ef1a6

8 years agoDon't return error, if fail to get handle in tbm_surface_internal_get_info 15/59415/5
Changyeon Lee [Mon, 15 Feb 2016 09:53:51 +0000 (18:53 +0900)]
Don't return error, if fail to get handle in tbm_surface_internal_get_info

Change-Id: Idbbdf4acf5dea6b55803b4ef46bdc23e15033b55
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
8 years agotbm_surface_queue: support multiple notify handler 67/59267/1
Sangjin Lee [Fri, 12 Feb 2016 02:08:21 +0000 (11:08 +0900)]
tbm_surface_queue: support multiple notify handler

Next APIs will be deprecated
tbm_surface_queue_set_destroy_cb()
tbm_surface_queue_set_dequeuable_cb()
tbm_surface_queue_set_acquirable_cb()
tbm_surface_queue_set_reset_cb()

Change-Id: I00ee99560f4657729112639f4b66893cac3e72d8

8 years agoPackage version up 40/59140/2 accepted/tizen/ivi/20160218.024517 accepted/tizen/mobile/20160211.083419 accepted/tizen/tv/20160211.083435 accepted/tizen/wearable/20160211.083449 submit/tizen/20160211.054514 submit/tizen_common/20160218.142243 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000004
Changyeon Lee [Thu, 11 Feb 2016 03:51:20 +0000 (12:51 +0900)]
Package version up

Change-Id: I3af24d29cec230068276e6f3f0176e5b864ad205
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
8 years agoFix typo on tbm_surface_queue.c 58/58958/1
Mun, Gwan-gyeong [Fri, 5 Feb 2016 09:34:42 +0000 (18:34 +0900)]
Fix typo on tbm_surface_queue.c

Change-Id: I499e4cbcdc16ead1cde9086ab500cd71032186f2

8 years agotbm-surface: init user data list 22/58922/1
Changyeon Lee [Fri, 5 Feb 2016 04:03:29 +0000 (13:03 +0900)]
tbm-surface: init user data list

Change-Id: I4d08525964111f72385a5ba8cf1a8c053e570e46
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
8 years agosurface_queue: fix return error type 20/58920/2
Sangjin Lee [Fri, 5 Feb 2016 02:31:41 +0000 (11:31 +0900)]
surface_queue: fix return error type

Change-Id: I969cc164a9446b8e4814a5bf7ca28fba0a82fc53

8 years agoMove user data code to tbm_bufmgr 93/58893/1
Changyeon Lee [Thu, 4 Feb 2016 12:52:03 +0000 (21:52 +0900)]
Move user data code to tbm_bufmgr

Change-Id: If64862dc9c25151a78ee44db5294d03fbeae9ef1
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
8 years agoAdd tbm surface user data 95/58795/3
Changyeon Lee [Wed, 3 Feb 2016 10:28:48 +0000 (19:28 +0900)]
Add tbm surface user data

Change-Id: I61318114dd59db0f3b9804906bf5ea47b55a4869
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
8 years agofix typo in documentation. 69/58769/2
Seunghun Lee [Wed, 3 Feb 2016 08:42:44 +0000 (17:42 +0900)]
fix typo in documentation.

Change-Id: I2e883c47b9c40ee8267b9efe6c3ab05114dd2019

8 years agoif aurgment is null, don't set data in get plane data 10/58710/2
Changyeon Lee [Wed, 3 Feb 2016 05:05:15 +0000 (14:05 +0900)]
if aurgment is null, don't set data in get plane data

Change-Id: Id5c212699f3fee88d058fe208c1f86bbac6674da
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
8 years agosurface queue: remove useless variable 66/58766/2
Sangjin Lee [Wed, 3 Feb 2016 08:16:41 +0000 (17:16 +0900)]
surface queue: remove useless variable

Change-Id: Ib2a4d047d025ad1b7a8746f5cf82732c53f71143

8 years agotbm_surface_queue: add sequence queue 77/58677/2
Sangjin Lee [Tue, 2 Feb 2016 02:11:00 +0000 (11:11 +0900)]
tbm_surface_queue: add sequence queue

Change-Id: I183800b929324f5b69f4f88943e2cf348385ba0a

8 years agoRefactoring tbm_surface_queue 76/58676/2
Sangjin Lee [Mon, 1 Feb 2016 10:24:17 +0000 (19:24 +0900)]
Refactoring tbm_surface_queue

Change-Id: I2b01d213a3eed54a608086b0427a63336cc5df6c

8 years agoFix typo on tbm_surface_internal.h 32/58532/1
Mun, Gwan-gyeong [Mon, 1 Feb 2016 16:24:58 +0000 (01:24 +0900)]
Fix typo on tbm_surface_internal.h

Change-Id: Id3570b552c8a0aebdce4de0dd5c88c4f700a7a1b