platform/core/uifw/libtbm.git
4 years agopackage version up to 3.3.12 26/237626/1 accepted/tizen/unified/20200703.014551 submit/tizen/20200702.040708 submit/tizen/20200702.040745
SooChan Lim [Thu, 2 Jul 2020 02:39:20 +0000 (11:39 +0900)]
package version up to 3.3.12

Change-Id: I980eb0eeec6077a639ec9ea9c04c2bfe87bfa5cd

4 years agobufmgr: do not print backend information on stdout 15/237615/1
SooChan Lim [Thu, 2 Jul 2020 01:33:53 +0000 (10:33 +0900)]
bufmgr: do not print backend information on stdout

Change-Id: I88d0c80e48cdcb1a2c6023eb9fc9ce10dfb90153

4 years agopackage version up to 3.3.11 33/237233/1 accepted/tizen/unified/20200630.131407 submit/tizen/20200626.065636
Junkyeong Kim [Fri, 26 Jun 2020 06:35:46 +0000 (15:35 +0900)]
package version up to 3.3.11

Change-Id: I0062a5eaede2e3f34ceda164a25a430c83e98624
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agohaltest: erase unnecessary tc 32/237232/1
Junkyeong Kim [Fri, 26 Jun 2020 06:35:02 +0000 (15:35 +0900)]
haltest: erase unnecessary tc

Change-Id: I60f5f303d0cbdebcac2fa723007551dedf213f3b
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agopackage version up to 3.3.10 61/236861/3 accepted/tizen/unified/20200624.130238 submit/tizen/20200623.060802
SooChan Lim [Tue, 23 Jun 2020 02:22:19 +0000 (11:22 +0900)]
package version up to 3.3.10

Change-Id: If19ec6edd8cd85c6948cabc54ca4363e71b82957

4 years agoinstall the sw_sync.conf file with the binary package 68/236868/2
SooChan Lim [Tue, 23 Jun 2020 03:55:08 +0000 (12:55 +0900)]
install the sw_sync.conf file with the binary package

Change-Id: I2c589727ce6013f57b05854e4c879baba4216000

4 years agoadd the ownership of the display group to the /dev/sw_sync 60/236860/3
SooChan Lim [Tue, 23 Jun 2020 02:19:58 +0000 (11:19 +0900)]
add the ownership of the display group to the /dev/sw_sync

This is for the users who use the tbm_sync

Change-Id: I5598de1d02f7dd2f1bcd750cc7d88520b2fc1998

4 years agopackage version up to 3.3.9 29/234529/1 accepted/tizen/unified/20200529.124210 submit/tizen/20200527.052147 submit/tizen/20200528.081645
SooChan Lim [Wed, 27 May 2020 05:04:40 +0000 (14:04 +0900)]
package version up to 3.3.9

Change-Id: Ie7b5c120722d7fc92ab1c57e4b4a878dd7fdbdf5

4 years agoremove getenv() function call 28/234528/1
SooChan Lim [Wed, 27 May 2020 05:03:55 +0000 (14:03 +0900)]
remove getenv() function call

Change-Id: Ibe247e64475e2f079768e510c185e2c112fb1a14

4 years agopackage version up to 3.3.8 56/233656/1 accepted/tizen/unified/20200518.211956 submit/tizen/20200518.052354
Seunghun Lee [Mon, 18 May 2020 05:14:13 +0000 (14:14 +0900)]
package version up to 3.3.8

Change-Id: I24c78f736f90a61831422aa7ee1b6b2be4e5a692

4 years agoRevert "remove getenv() function." 55/233655/1
Seunghun Lee [Mon, 18 May 2020 05:13:08 +0000 (14:13 +0900)]
Revert "remove getenv() function."

it needs to be more verified.

This reverts commit df7381bc4111c24cbe7363dd039572332270230b.

Change-Id: If7c555fd0a9ca4159abb5b7de906a0e2b5016eab

4 years ago package version up to 3.3.7 88/233388/1 accepted/tizen/unified/20200515.081418 submit/tizen/20200514.092722 submit/tizen/20200514.120617
SooChan Lim [Thu, 14 May 2020 08:29:25 +0000 (17:29 +0900)]
 package version up to 3.3.7

Change-Id: I99b9f1942a535c44ca16b8226d3d3f236e2d585d

4 years agoremove getenv() function. 87/233387/1
SooChan Lim [Thu, 14 May 2020 08:27:54 +0000 (17:27 +0900)]
remove getenv() function.

The getenv() function does not support multithread.
Therefore libtbm does not use getenv() from now.

Change-Id: Ic0a6cb46bbf60da0d65ceafffccbc1b2ea0f5d4e

4 years agotbm_bufmgr: arrange tbm_bufmgr debug info 31/233031/4
Changyeon Lee [Mon, 11 May 2020 10:29:12 +0000 (19:29 +0900)]
tbm_bufmgr: arrange tbm_bufmgr debug info

Change-Id: Icbac9815e3459d0497ee7f8b7554f948ad639984

4 years agopackage version up to 3.3.6 74/232774/1 accepted/tizen/unified/20200510.220420 submit/tizen/20200508.035915
Junkyeong Kim [Thu, 7 May 2020 10:42:51 +0000 (19:42 +0900)]
package version up to 3.3.6

Change-Id: I7cbf0f0643a129a512eb13178b510de037d2e2ec
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agouse dlog default 73/232773/1
Junkyeong Kim [Thu, 7 May 2020 10:41:03 +0000 (19:41 +0900)]
use dlog default

do not use getenv to check TBM_DLOG environment value to avoid getenv's thread safety problem.

Change-Id: I9a862f2bef4edaba060e3aa3d7123e897dfb3d87
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
4 years agopackage version up to 3.3.5 11/230811/1 accepted/tizen/unified/20200415.121412 submit/tizen/20200414.085534
SooChan Lim [Tue, 14 Apr 2020 08:52:39 +0000 (17:52 +0900)]
package version up to 3.3.5

Change-Id: I75fa277c474126963b002c47852081e12aaa1f56

4 years agoassign the display group for the file asscess on sw_sync 87/229687/1
SooChan Lim [Thu, 2 Apr 2020 23:49:29 +0000 (08:49 +0900)]
assign the display group for the file asscess on sw_sync

When the user uses tbm_sync_timeline_xxx api,
SYNC_DEVICE_PATH has to get the display group authority.
The sw_sync.conf file will do that.

Change-Id: I22e221995c58b61a4974b943ba3515dfcb9e0093

4 years agopackage version up to 3.3.4 95/227895/1
Changyeon Lee [Tue, 17 Mar 2020 05:30:38 +0000 (14:30 +0900)]
package version up to 3.3.4

Change-Id: Ie4a2d1608f1a2b0538aedcc82241bfe47b5ef0e2

4 years agotbm_surface_internal: remove padding area of buffer in capture 09/226709/1
Changyeon Lee [Wed, 26 Feb 2020 10:10:57 +0000 (19:10 +0900)]
tbm_surface_internal: remove padding area of buffer in capture

Change-Id: Ia042ab4b9a6f6bc8f761ce1b589799826e512af4

4 years agouse gmock intead of gtest 82/221282/1
SooChan Lim [Tue, 31 Dec 2019 01:11:48 +0000 (10:11 +0900)]
use gmock intead of gtest

The gmock conflict with gtest and gmock contains gtest.
Therefore, haltests uses gmock intead of gtest to use gmock.

Change-Id: I3166caa1991fd38499b816a1cec9d42dc4f2604f

4 years agopackage version up to 3.3.3 66/220866/2 accepted/tizen/unified/20191230.120919 submit/tizen/20191230.024946
Changyeon Lee [Tue, 24 Dec 2019 04:32:49 +0000 (13:32 +0900)]
package version up to 3.3.3

Change-Id: I790d9ccafe78b7722be823732f020db6170c80fa

4 years agofix warning stringop-truncation 94/221094/1
Changyeon Lee [Fri, 27 Dec 2019 05:31:06 +0000 (14:31 +0900)]
fix warning stringop-truncation

Change-Id: I73d11ce3ca4904d307d3764f7c26f40f3de2a8f8

4 years agotbm_sync: support mainline interface of fence 81/220581/3
Changyeon Lee [Thu, 19 Dec 2019 12:44:38 +0000 (21:44 +0900)]
tbm_sync: support mainline interface of fence

1. first try to call maline FENCE_MERGE ioctl in tbm_sync_fence_merge.
2. use poll instead of legacy FENCE_WAIT ioctl in tbm_sync_fence_wait.

Change-Id: I636a99b4f49806c2a6519e44e2675b53ea83d3a5

4 years agopackage version up to 3.3.2 60/219960/1 accepted/tizen/unified/20191213.042456 submit/tizen/20191212.050349
Changyeon Lee [Thu, 12 Dec 2019 04:59:45 +0000 (13:59 +0900)]
package version up to 3.3.2

Change-Id: Ic663295cd9b843a3ac5f718255f8da522c693a14

4 years agotbm_surface_internal: set up error handling when dump png 59/219959/1
Changyeon Lee [Thu, 12 Dec 2019 04:33:07 +0000 (13:33 +0900)]
tbm_surface_internal: set up error handling when dump png

Change-Id: I0ab6cb454021576e1f1308dad5dc67b08a49ecad

4 years agopackage version up to 3.3.1 68/218668/1 accepted/tizen/unified/20191128.161929 submit/tizen/20191127.074502
Changyeon Lee [Tue, 26 Nov 2019 12:39:14 +0000 (21:39 +0900)]
package version up to 3.3.1

Change-Id: I6879cde0084cd168e9ca594d92bb7b7c58e56be4

4 years agotbm_sync: first try to open mainline sw_sync node 67/218667/1
Changyeon Lee [Tue, 26 Nov 2019 12:36:22 +0000 (21:36 +0900)]
tbm_sync: first try to open mainline sw_sync node

Change-Id: If1fc2c7da2d80dfe86cd8229ee8a8e03269809d7

5 years agopackage version up to 3.3.0 accepted/tizen/unified/20191104.115251 submit/tizen/20191104.003215
SooChan Lim [Mon, 30 Sep 2019 01:16:08 +0000 (10:16 +0900)]
package version up to 3.3.0

tizen 6.0 starts here.

Change-Id: Ibcb4471e08409458ac6ae1a9ee33e803f40eb17c

5 years agoRevert "tbm_surface_internal: Removes avoidable malloc() for png dump" 94/214694/1
Junkyeong Kim [Wed, 25 Sep 2019 09:51:57 +0000 (18:51 +0900)]
Revert "tbm_surface_internal: Removes avoidable malloc() for png dump"

This reverts commit 019b0a2750ab389bf26575caf8cbf832b64bc64b.

Change-Id: Iae72cb1137b63fe0e176d3ff80e168d3c09d91ed
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoPackage version up to 3.2.8 66/213866/1 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.021328 accepted/tizen/5.5/unified/mobile/hotfix/20201027.080707 accepted/tizen/unified/20190917.110613 submit/tizen/20190916.062807 submit/tizen_5.5/20191031.000005 submit/tizen_5.5_mobile_hotfix/20201026.185105 tizen_5.5.m2_release
Changyeon Lee [Mon, 16 Sep 2019 05:09:47 +0000 (14:09 +0900)]
Package version up to 3.2.8

Change-Id: I3975eb19e196b0aa73fc591d7b3c7b7bb359748d

5 years agotbm_surface_internal: fix null pointer dereference 65/213865/1
Changyeon Lee [Mon, 16 Sep 2019 05:06:06 +0000 (14:06 +0900)]
tbm_surface_internal: fix null pointer dereference

Change-Id: Ibfa51ce01a8168b194752eb10c1d319e4f1fea79

5 years agotbm_surface_internal: Removes avoidable malloc() for png dump 49/213449/2
YoungJun Cho [Thu, 5 Sep 2019 10:06:04 +0000 (19:06 +0900)]
tbm_surface_internal: Removes avoidable malloc() for png dump

This patch removes avoidable malloc() for png dump.

Change-Id: I7e64c7b5d14f752aa5c209138cefad9fe2f6bb3a
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
5 years agoPackage version up to 3.2.7 35/213335/2 submit/tizen/20190905.074108
Changyeon Lee [Wed, 4 Sep 2019 08:41:02 +0000 (17:41 +0900)]
Package version up to 3.2.7

Change-Id: Ie5e50a59ddce04f5eca8e3a7d85d4c76d0b2abeb

5 years agouse PTHREAD_MUTEX_INITIALIZER for static mutex 01/213301/3
Changyeon Lee [Wed, 4 Sep 2019 05:52:29 +0000 (14:52 +0900)]
use PTHREAD_MUTEX_INITIALIZER for static mutex

Change-Id: Id9b175c21fe56b744f8e6a27394bcf206e927008

5 years agoPackage version up to 3.2.6 84/213084/1 accepted/tizen/unified/20190902.055241 submit/tizen/20190830.073600
Changyeon Lee [Fri, 30 Aug 2019 06:28:41 +0000 (15:28 +0900)]
Package version up to 3.2.6

Change-Id: Ib66e4d4ea2c4c9976b91b3e8338deac6a569da9e

5 years agotbm_bufmgr: add stdout log before and after load module 10/213010/3
Changyeon Lee [Thu, 29 Aug 2019 07:55:50 +0000 (16:55 +0900)]
tbm_bufmgr: add stdout log before and after load module

Change-Id: Ida6d84efa25aaf900bd469f092a1dbc461bb372f

5 years agoRevert "tizen: Add additional unit for "unified" user session" 83/212483/1 accepted/tizen/unified/20190828.011051 submit/tizen/20190826.053808
Yunmi Ha [Thu, 22 Aug 2019 02:41:23 +0000 (11:41 +0900)]
Revert "tizen: Add additional unit for "unified" user session"

This reverts commit 9a9ec72dffc26405e5770368f782748bf6f8130c.

We've optimized systemd-user without unified system/session.
So, we revert the patch for unified system/session.

Change-Id: I54bc7246f3b675674e0cd86c883ffb4defac5498
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
5 years agoPackage version up to 3.2.5 08/212008/1 accepted/tizen/unified/20190819.081502 submit/tizen/20190813.090505
Changyeon Lee [Tue, 13 Aug 2019 06:45:56 +0000 (15:45 +0900)]
Package version up to 3.2.5

Change-Id: Ifc12eadc91548dc49876b06a05bad187fdc95059

5 years agotbm_drm_helper: add extern C 07/212007/1
Changyeon Lee [Tue, 13 Aug 2019 06:46:59 +0000 (15:46 +0900)]
tbm_drm_helper: add extern C

Change-Id: I4b7b104eaa5ae5c9ce0eb7ad2dfd1cdfbfb8fefa

5 years agodoc: add the md files for the tbm porting_guide 20/211420/1
SooChan Lim [Sun, 4 Aug 2019 23:42:30 +0000 (08:42 +0900)]
doc: add the md files for the tbm porting_guide

Change-Id: I42cfe8ec0cb364d691afc5fa40798609cdebc749

5 years agochange the comment 29/210829/1
SooChan Lim [Thu, 25 Jul 2019 06:16:20 +0000 (15:16 +0900)]
change the comment

Change-Id: I51e8d6335daa8495f579981b53429875aca7d0d7

5 years agoPackage version up to 3.2.4 82/210182/1 accepted/tizen/unified/20190721.213230 submit/tizen/20190718.064631 submit/tizen/20190725.044739
Changyeon Lee [Mon, 15 Jul 2019 10:56:10 +0000 (19:56 +0900)]
Package version up to 3.2.4

Change-Id: I8be41067fdf62faeacfd7af6502d4cac794342b3

5 years agotbm_surface_queue: attach and check surface when free_cond is awakened 48/209748/1
Changyeon Lee [Mon, 8 Jul 2019 03:09:50 +0000 (12:09 +0900)]
tbm_surface_queue: attach and check surface when free_cond is awakened

Change-Id: I2a2f3efa19c91ec8bc610766cd8aae5d24f6de38

5 years agoPackage version up to 3.2.3 90/209390/1 accepted/tizen/unified/20190708.052452 submit/tizen/20190705.094247
Junkyeong Kim [Fri, 5 Jul 2019 08:41:54 +0000 (17:41 +0900)]
Package version up to 3.2.3

Change-Id: I6d5d8fb9f44ee459a596af107a96e1c0571aa1c6
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoadd gcno data for gcov 49/209349/1
Junkyeong Kim [Fri, 5 Jul 2019 05:26:03 +0000 (14:26 +0900)]
add gcno data for gcov

Change-Id: I5f2e0f158027d333b507f03d90041d928828fe4e
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agotbm_surface: remove trace log in checking valid 21/207621/2
Changyeon Lee [Mon, 10 Jun 2019 05:09:07 +0000 (14:09 +0900)]
tbm_surface: remove trace log in checking valid

Change-Id: I5d32bfa6af3a7057a080099cedb8e37e1d782675

5 years agosurface_queue: remove need_attach interface of sequence and default 16/207616/2
Changyeon Lee [Tue, 4 Jun 2019 07:21:48 +0000 (16:21 +0900)]
surface_queue: remove need_attach interface of sequence and default

Change-Id: Ib1c9bde06a4050f191ef8ffee56d0f9597f8a5b9

5 years agosurface_queue: move flags from impl_data to surface_queue 15/207615/2
Changyeon Lee [Tue, 4 Jun 2019 06:52:10 +0000 (15:52 +0900)]
surface_queue: move flags from impl_data to surface_queue

Change-Id: I7c8f54cd96a849df89408decf494c84c943313aa

5 years agoPackage version up to 3.2.2 65/207665/1 submit/tizen/20190611.040851
SooChan Lim [Tue, 11 Jun 2019 02:18:34 +0000 (11:18 +0900)]
Package version up to 3.2.2

Change-Id: Iadbaf840b7c8d84d62a23b920f756d531fb5b173

5 years agoFix tiled format issue. 65/207365/2
Xuelian Bai [Tue, 4 Jun 2019 11:57:32 +0000 (19:57 +0800)]
Fix tiled format issue.

When flags are not tiled, don't call bufmgr_alloc_bo_with_tiled.
Or, performance down will happen.

Change-Id: Ib15094db7a1d614772f9c161549aa3b63f69d738
Signed-off-by: Xuelian Bai <xuelian.bai@samsung.com>
5 years agoPackage version up to 3.2.1 70/205370/1 accepted/tizen/unified/20190508.111037 submit/tizen/20190503.004212 submit/tizen/20190503.062627 submit/tizen/20190507.022333
SooChan Lim [Thu, 2 May 2019 23:40:49 +0000 (08:40 +0900)]
Package version up to 3.2.1

Change-Id: Ide615411bc2ddb192b6245d0d399741d731e6d47

5 years agotizen: Add additional unit for "unified" user session 96/204796/2
Mateusz Moscicki [Fri, 19 Apr 2019 11:51:42 +0000 (13:51 +0200)]
tizen: Add additional unit for "unified" user session

The unified user session is about moving user session units, managed by
systemd --user, to main systemd, where it's managed as part of newly
created user@.target.

user@.target will contain same units as previously available in user/,
with same UID and environment setup.  systemd instance is used for unit
to be able to specify UID (inherited from user@.target).

The rationale behind this work is following:

* VD requirement to remove user session support
* boot time optimization requirements, due to:

   + 'systemd --user' taking 1s its own startup that could be used for
     unit startup
   + ability to better rearrange units if these managed by one systemd
     instance

Unit installed by this commit will not be used till user login mechanism
will be changed in systemd package (via changing pam_systemd to start
user@.target, rather than user@.service).

Change-Id: I075f90828960e3c7586330aa6a42820d04f1971b
Signed-off-by: Mateusz Moscicki <m.moscicki2@partner.samsung.com>
5 years agosurface_queue: remove unnecessary checking of queue valid 58/202358/1
Changyeon Lee [Wed, 27 Mar 2019 11:55:23 +0000 (20:55 +0900)]
surface_queue: remove unnecessary checking of queue valid

Change-Id: I4b4cea36056352870c9496065244a8cee78b6f69

5 years agoPackage version up to 3.2.0 35/202035/2 accepted/tizen/unified/20190325.070821 submit/tizen/20190322.045511
SooChan Lim [Fri, 22 Mar 2019 04:52:07 +0000 (13:52 +0900)]
Package version up to 3.2.0

Change-Id: I4ba97fff20c5cee02b13248fcf5c09a6234c74ee

5 years agoAdd backend function for vendor supported tiled format. 41/198841/6
Xuelian Bai [Wed, 30 Jan 2019 16:53:05 +0000 (00:53 +0800)]
Add backend function for vendor supported tiled format.

Change-Id: I3a8fcdd5e1c195483f46135b471b73479bc4e9bf
Signed-off-by: Xuelian Bai <xuelian.bai@samsung.com>
5 years agoadd TBM_BO_TILED flags 03/201003/3
SooChan Lim [Thu, 7 Mar 2019 05:05:44 +0000 (14:05 +0900)]
add TBM_BO_TILED flags

This flags is for creating the bo and surface with tiled memory.

Change-Id: I19c78581573f1ea6479febf27169d3fe3de7a716
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
5 years agopackage version up to 3.1.5 55/201855/1 accepted/tizen/unified/20190321.062458 submit/tizen/20190320.072431
Changyeon Lee [Wed, 20 Mar 2019 06:52:53 +0000 (15:52 +0900)]
package version up to 3.1.5

Change-Id: I693be3681f0743ed78fb50738193052d1b572654

5 years agosurface_queue: use MONOTOINIC timer in pthread_cond 54/201854/1
Changyeon Lee [Wed, 20 Mar 2019 02:47:12 +0000 (11:47 +0900)]
surface_queue: use MONOTOINIC timer in pthread_cond

Change-Id: I94b54cc2ca8c2d0a3ebaf1ac7f0f31477d992614

5 years agoRevert "surface_queue: use MONOTOINIC timer in pthread_cond" 53/201853/1
Changyeon Lee [Wed, 20 Mar 2019 06:52:24 +0000 (15:52 +0900)]
Revert "surface_queue: use MONOTOINIC timer in pthread_cond"

This reverts commit 7aca14d80aeab3cd919dee892f7acc4394287394.

Change-Id: Ic27993d46b21b8a245f1d461dc4668d98439b7b8

5 years agopackage version up to 3.1.4 32/201832/1
Changyeon Lee [Wed, 20 Mar 2019 04:15:37 +0000 (13:15 +0900)]
package version up to 3.1.4

Change-Id: I71d4f7a6f2eb1061d4c29b2adc6b4b6e9300696b

5 years agosurface_queue: use MONOTOINIC timer in pthread_cond 28/201828/3
Changyeon Lee [Wed, 20 Mar 2019 02:47:12 +0000 (11:47 +0900)]
surface_queue: use MONOTOINIC timer in pthread_cond

Change-Id: Id9e1d5c64b6b7cc0fdb7106178b0d781f153b478

5 years agoPackage version up to 3.1.3 29/201029/1 accepted/tizen/unified/20190311.072616 submit/tizen/20190307.083826
SooChan Lim [Thu, 7 Mar 2019 08:20:56 +0000 (17:20 +0900)]
Package version up to 3.1.3

Change-Id: Iac44308043d64809dc23468dcbcf652bd96944c4

5 years agoadd systemd unit before option 43/200943/1
Junkyeong Kim [Wed, 6 Mar 2019 09:15:21 +0000 (18:15 +0900)]
add systemd unit before option

Change-Id: Ia43a86acbe84bdd0956bdcf8dbaf2ff21adc70b7
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
5 years agoPackage version up to 3.1.2 accepted/tizen/unified/20190208.061608 submit/tizen/20190207.054617
SooChan Lim [Thu, 7 Feb 2019 05:45:57 +0000 (14:45 +0900)]
Package version up to 3.1.2

Change-Id: I6daf68c5dee61ad7ce2f4a040df7efdd12d829e3

5 years agoadd TBM_BUFMGR_CAPABILITY_TILED_MEMORY 66/198866/1
SooChan Lim [Wed, 30 Jan 2019 11:23:31 +0000 (20:23 +0900)]
add TBM_BUFMGR_CAPABILITY_TILED_MEMORY

The tbm backend has to set this capability
when it supports the tiled memory.

Change-Id: Ib03d63cca5efed274acd5b1adc6f56d92a78e8d5

5 years agoPackage version up to 3.1.1 27/196727/1 accepted/tizen/unified/20190107.065427 submit/tizen/20190104.034936
Changyeon Lee [Fri, 4 Jan 2019 03:39:16 +0000 (12:39 +0900)]
Package version up to 3.1.1

Change-Id: I481bfaf2c5cef48ab8995f5209bbcaf34ecf8058

5 years agotbm_surface: use lock of global bufmgr lock intead lock of bufmgr 26/196726/1
Changyeon Lee [Thu, 3 Jan 2019 07:18:28 +0000 (16:18 +0900)]
tbm_surface: use lock of global bufmgr lock intead lock of bufmgr

Change-Id: I716abf065c650fa400062947369443b6e093eb15

5 years agointroduce tbm_surface_queue_can_dequeue_wait_timeout 28/194228/5
Changyeon Lee [Fri, 30 Nov 2018 06:42:30 +0000 (15:42 +0900)]
introduce tbm_surface_queue_can_dequeue_wait_timeout

Change-Id: I6761775bf105b9b6fff8ee1a4af64562b1fdea88

5 years agoPackage version up to 3.1.0 26/196226/1
SooChan Lim [Wed, 26 Dec 2018 10:13:34 +0000 (19:13 +0900)]
Package version up to 3.1.0

Change-Id: I690b7e2a7b47cf876c1286fda4165d58d86cdbe5

5 years agoPackage version up to 3.0.8 28/195028/2 accepted/tizen/5.0/unified/20181211.064530 submit/tizen/20181210.071016 submit/tizen_5.0/20181210.070950
Changyeon Lee [Mon, 10 Dec 2018 06:41:10 +0000 (15:41 +0900)]
Package version up to 3.0.8

Change-Id: I340d3ec22da8db9245de9d94b7b818abd75187de

5 years agotbm_bo: use mutex lock of bufmgr instead bo 36/194836/2
Changyeon Lee [Fri, 7 Dec 2018 07:03:06 +0000 (16:03 +0900)]
tbm_bo: use mutex lock of bufmgr instead bo

it is possible that tbm_bufmgr is deinit when tbm_bo use bufmgr.
so use same mutex lock tbm_bo and tbm_bufmgr.

Change-Id: I4f59123d3ba67897e3be6f1bc0bf3d28145c84d4

5 years agobackend: fix wrong condition 40/194840/1
YoungJun Cho [Fri, 7 Dec 2018 10:03:40 +0000 (19:03 +0900)]
backend: fix wrong condition

This patch fixes wrong condition.

Change-Id: I742786aa5b71aeec5b806ab6acdd558a8bca34a1
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
5 years agoPackage version up to 3.0.7 56/194156/1 accepted/tizen/5.0/unified/20181130.065043 accepted/tizen/unified/20181130.065006 submit/tizen/20181129.102605 submit/tizen_5.0/20181129.102622
SooChan Lim [Thu, 29 Nov 2018 10:19:34 +0000 (19:19 +0900)]
Package version up to 3.0.7

Change-Id: I037c363f1518453f248053a79ba98cc3040e6098

5 years agobufmgr: get the clients's app_name when the process is the root. 55/194155/1
SooChan Lim [Thu, 29 Nov 2018 10:11:53 +0000 (19:11 +0900)]
bufmgr: get the clients's app_name when the process is the root.

Change-Id: Ia3e9d696026865a72e42ed516be9bdc38b9dbd19

5 years agopackage version up to 3.0.6 50/193850/1 accepted/tizen/5.0/unified/20181128.144703 accepted/tizen/unified/20181128.144715 submit/tizen/20181127.070234 submit/tizen_5.0/20181127.070336
Changyeon Lee [Tue, 27 Nov 2018 03:53:55 +0000 (12:53 +0900)]
package version up to 3.0.6

Change-Id: Ib77da3eb28e5b7c036810d4ebff1da5410e53a16

5 years agoqueue: don't unlock mutex before call alloc callback 49/193849/1
Changyeon Lee [Tue, 27 Nov 2018 03:49:48 +0000 (12:49 +0900)]
queue: don't unlock mutex before call alloc callback

tbm_surface_queue function must not be called in alloc callback

Change-Id: Ia4b6f1dee6c54395ae9de368868fdaae1ad765ed

5 years agoPackage version up to 3.0.5 40/193340/1 accepted/tizen/5.0/unified/20181120.061308 accepted/tizen/5.0/unified/20181122.060327 accepted/tizen/5.0/unified/20181126.062036 accepted/tizen/unified/20181120.061332 submit/submit/tizen_5.0/20181123.035305/20181123.044214 submit/tizen/20181119.115215 submit/tizen/20181120.070355 submit/tizen_5.0/20181119.115322 submit/tizen_5.0/20181121.124938 submit/tizen_5.0/20181123.035305
Changyeon Lee [Mon, 19 Nov 2018 11:31:41 +0000 (20:31 +0900)]
Package version up to 3.0.5

Change-Id: I450e0127ce13f65ac967e9097f483e96a70a3921

5 years agosurface_queue: add tbm_surface_queue_get_acquirable_surfaces 85/193285/1
Changyeon Lee [Mon, 19 Nov 2018 02:21:31 +0000 (11:21 +0900)]
surface_queue: add tbm_surface_queue_get_acquirable_surfaces

Change-Id: I62f653c370130d04e727e920dac7b1c0122d2d89

6 years agopacakge version up to 3.0.4 46/191946/2 accepted/tizen/5.0/unified/20181108.074413 accepted/tizen/unified/20181113.163459 submit/tizen/20181107.044109 submit/tizen/20181112.074954 submit/tizen_5.0/20181107.044303
Changyeon Lee [Fri, 26 Oct 2018 01:46:21 +0000 (10:46 +0900)]
pacakge version up to 3.0.4

Change-Id: Ia326a9767835d678ad5e5bdc97e2b984872498c6

6 years agoqueue: emit signal free_cond in queue_notify_dequeuable 45/191945/2
Changyeon Lee [Fri, 26 Oct 2018 01:45:57 +0000 (10:45 +0900)]
queue: emit signal free_cond in queue_notify_dequeuable

Change-Id: Ib9c8c616466a139200a365d5fba70af863d9b058

6 years agopackage version up to 3.0.3 48/191048/1 accepted/tizen/5.0/unified/20181102.023930 accepted/tizen/unified/20181015.161458 submit/tizen/20181011.042605 submit/tizen_5.0/20181101.000005
Changyeon Lee [Thu, 11 Oct 2018 03:16:50 +0000 (12:16 +0900)]
package version up to 3.0.3

Change-Id: I42e1a7c254c60cd1e0ce1578987d2ac9add9df4b

6 years agotbm_bufmgr: use syscall instead getpid 19/191019/1
Changyeon Lee [Wed, 10 Oct 2018 11:40:11 +0000 (20:40 +0900)]
tbm_bufmgr: use syscall instead getpid

it is possible getpid return wrong value depending on gcc version

Change-Id: I0e544ded27c43440104d09cf3952c29b31c77ad8

6 years agopackage version up to 3.0.2 56/189056/1 accepted/tizen/unified/20180914.073128 submit/tizen/20180913.053355
SooChan Lim [Thu, 13 Sep 2018 05:22:23 +0000 (14:22 +0900)]
package version up to 3.0.2

Change-Id: I963ca54e7209130263efcdb78056ced708876c3a

6 years agotc: get the last_error to check the error 54/189054/1
SooChan Lim [Thu, 13 Sep 2018 05:13:33 +0000 (14:13 +0900)]
tc: get the last_error to check the error

Change-Id: If82d3ffa39a34253fe204b32ff9e3da8b8cc4d3e

6 years agoqueue: always wait can_dequeue if wait flag is true 43/188743/1
Changyeon Lee [Mon, 10 Sep 2018 03:52:34 +0000 (12:52 +0900)]
queue: always wait can_dequeue if wait flag is true

waiting can_dequeue can be over if node state is dequeue/enqueue/acquired.
so checking acquired node isn't needed.

Change-Id: I743f98afc44555a66cfca45e8b7aa472a0b1469b

6 years agoqueue: add doxygen document 78/186778/2
Changyeon Lee [Tue, 14 Aug 2018 08:30:09 +0000 (17:30 +0900)]
queue: add doxygen document

Change-Id: I757499982ba9790b3f02446dfc416daaee9616c5

6 years agoqueue: added TBM_SURFACE_QUEUE_ERROR_INVALID_SEQUENCE 50/186750/1
Changyeon Lee [Tue, 14 Aug 2018 05:42:32 +0000 (14:42 +0900)]
queue: added TBM_SURFACE_QUEUE_ERROR_INVALID_SEQUENCE

Change-Id: I3e94ff083fc0ee65e5bdbed965c5f1b39bee7abd

6 years agotbm_drm: added listener of wl_tbm_drm_auth remove global 51/184451/4
Changyeon Lee [Wed, 18 Jul 2018 05:00:47 +0000 (14:00 +0900)]
tbm_drm: added listener of wl_tbm_drm_auth remove global

Change-Id: I3566f95ab62a9725d8c754906826db4ae695fb5e

6 years agosurface_queue: don`t emit reset if queue doesn't have attached surface 45/183645/3
Changyeon Lee [Mon, 9 Jul 2018 10:00:10 +0000 (19:00 +0900)]
surface_queue: don`t emit reset if queue doesn't have attached surface

Change-Id: I33faadc45e91e12a176e002c389ca71f8fac01d8

6 years agopackage version up to 3.0.1 04/182204/1 accepted/tizen/unified/20180622.122631 submit/tizen/20180621.080959
Changyeon Lee [Thu, 21 Jun 2018 07:43:56 +0000 (16:43 +0900)]
package version up to 3.0.1

Change-Id: Ifcb6b2633286390b12a8d1bbbddf0e4758110ad8

6 years agoadd tbm_dummy_display 33/181633/6
SooChan Lim [Fri, 15 Jun 2018 07:35:51 +0000 (16:35 +0900)]
add tbm_dummy_display

This tbm_dummy_display is just void pointer managed by tbm.
This pointer is used when the user get the EGLDisplay for the offscreen rendering.
Therefore when the user wants to use the offscreen rendering, it use this
tbm_dummy_display handle as the native_display argument of the EGLGetDisplay().

Change-Id: Icece26c0a35c98da7b9e826a3d541b7eb45e0034

6 years agopackage version up to 3.0.0 72/179672/3 accepted/tizen/unified/20180522.053035 submit/tizen/20180521.034547
SooChan Lim [Mon, 21 May 2018 06:31:16 +0000 (15:31 +0900)]
package version up to 3.0.0

- add haltest cases
- add the new backend interface at tbm_backend.h
  and the backend module need to implement with tbm_backend.h
- deprecate the legacy backend interface at tbm_bufmgr_backend.h
  and this will be removed at Tizen version 6.0.
- increase the major verion of the TBM backend ABI to version 3.0

Change-Id: Id69c0ac08ea1eb3534066e4151661323366dfd4b

6 years agobufmgr: change the local vars 94/179694/2
SooChan Lim [Mon, 21 May 2018 07:42:29 +0000 (16:42 +0900)]
bufmgr: change the local vars

change the version variables

Change-Id: I4bf5eb6a3f90ab1e98b9fbf9379b32e9e742178a

6 years agobufmgr: change the log level 04/179704/1
SooChan Lim [Mon, 21 May 2018 08:19:53 +0000 (17:19 +0900)]
bufmgr: change the log level

Change-Id: Id0d8e1f8df16f750cbdd61a85e17c8c50115cf38

6 years agopackage version up to 2.13.4
SooChan Lim [Mon, 21 May 2018 03:45:11 +0000 (12:45 +0900)]
package version up to 2.13.4

Change-Id: I37ee50fca1a96b2138a953a42380fa48c32fba88

6 years agotbm_surface: fixed deref after null 58/179658/4
Changyeon Lee [Mon, 21 May 2018 02:49:16 +0000 (11:49 +0900)]
tbm_surface: fixed deref after null

Change-Id: I5601f2ff3d732423b6dcc0393188d4499c973827

6 years agotbm_surface: added checking parameter 72/179072/3
Changyeon Lee [Tue, 15 May 2018 11:44:38 +0000 (20:44 +0900)]
tbm_surface: added checking parameter

Change-Id: I83ea75390116783bf94f0dd814459f57675bc90d

6 years agopackage version up to 2.13.3 accepted/tizen/unified/20180515.163349 submit/tizen/20180514.053359
Changyeon Lee [Mon, 14 May 2018 05:28:14 +0000 (14:28 +0900)]
package version up to 2.13.3

Change-Id: I1f29a226f5eac137067e5b11f5472c154386f138

6 years agodoc: add a config file for doxygen
SooChan Lim [Fri, 11 May 2018 06:04:12 +0000 (15:04 +0900)]
doc: add a config file for doxygen

This is the configuration file which makes the doxgen pages
for the header files in the include directory.
Those header files is used by the platform modules, not by the
public application.

Change-Id: Iae24419012b651db09993010aa79434f805d1866