platform/adaptation/libtbm-dumb.git
22 months agoremove legacy libtbm backend 47/276847/1 accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix tizen_7.0 tizen_7.0_hotfix accepted/tizen/7.0/unified/20221110.060856 accepted/tizen/7.0/unified/hotfix/20221116.104419 accepted/tizen/unified/20220628.220105 submit/tizen/20220627.072238 submit/tizen/20220628.044343 tizen_7.0_m2_release
Changyeon Lee [Wed, 22 Jun 2022 08:08:08 +0000 (17:08 +0900)]
remove legacy libtbm backend

Change-Id: I4c3811494f4a86269869e36e3934a208856941e0

2 years agopackage version up to 3.0.3 19/273819/1
SooChan Lim [Thu, 14 Apr 2022 05:26:17 +0000 (14:26 +0900)]
package version up to 3.0.3

Change-Id: I0bb7353e5e5014c110ebd4b40dc46ce098f9d342

2 years agoremove the include option for drm 18/273818/1
SooChan Lim [Thu, 14 Apr 2022 05:24:09 +0000 (14:24 +0900)]
remove the include option for drm

This include option is provided by pkg-config of libdrm. Therefore,
the include option for drm is not needed.

Change-Id: I618bea55d06f2ee9658908fc824fcf33b48a6189

2 years agopackage version up to 3.0.2 43/259943/1 accepted/tizen_6.5_unified tizen_6.5 accepted/tizen/6.5/unified/20211028.093546 accepted/tizen/unified/20210618.120849 submit/tizen/20210617.022514 submit/tizen_6.5/20211028.161501 tizen_6.5.m2_release
SooChan Lim [Thu, 17 Jun 2021 01:37:54 +0000 (10:37 +0900)]
package version up to 3.0.2

Change-Id: I751d288361d4409c59b8edfe6522fa06c279fbce

2 years agofix the resource leak 42/259942/1
SooChan Lim [Thu, 17 Jun 2021 01:37:16 +0000 (10:37 +0900)]
fix the resource leak

Change-Id: Ia93a60b11846958acfb1aa1e128cdd1263d60dee

2 years agopackage version up to 3.0.1 84/259284/1 accepted/tizen/unified/20210607.124634 submit/tizen/20210604.060903
SooChan Lim [Fri, 4 Jun 2021 02:55:11 +0000 (11:55 +0900)]
package version up to 3.0.1

Change-Id: Ief62fc00f19e634fd8d9e2e4ee31f80a2a04aad2

2 years agoinstall COPYING to /hal 92/258192/2 submit/tizen/20210604.025052
SooChan Lim [Wed, 12 May 2021 04:48:28 +0000 (13:48 +0900)]
install COPYING to /hal

Change-Id: Ie073a757797553488181b9dd157c6ae42b3b1202

3 years agoMake hal-backend-tbm-dumb package 96/256896/2
Junkyeong Kim [Wed, 14 Apr 2021 08:17:41 +0000 (17:17 +0900)]
Make hal-backend-tbm-dumb package

This is the first step for implementing the new hal backend.
libhal-backend-tbm-dumb package has a new hal backend module.
The new hal architecture will be available for Tizen 6.5.

Change-Id: If1e3851c3b7f498bcf531d6d563f352ec5913695
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
3 years agomove source files to src/libtbm-dumb 39/252839/1
SooChan Lim [Tue, 2 Feb 2021 23:39:42 +0000 (08:39 +0900)]
move source files to src/libtbm-dumb

Change-Id: I4bcf82562bbab4304b490b73c4e8cc50176fe223

3 years agopackage version up to 2.3.5 13/249713/1 accepted/tizen/unified/20201217.124258 submit/tizen/20201216.092113
SooChan Lim [Wed, 16 Dec 2020 08:22:14 +0000 (17:22 +0900)]
package version up to 2.3.5

Change-Id: I1e20135dfc42d037c43d2c7462d321bcab4ead2e

3 years agofix the memory leak 12/249712/1
SooChan Lim [Wed, 16 Dec 2020 08:21:53 +0000 (17:21 +0900)]
fix the memory leak

Change-Id: I5165ab560d3a42b47620ed1a15a39e419bce6c8e

3 years agopackage version up to 2.3.4 65/239065/1 accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix tizen_6.0 tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.123351 accepted/tizen/6.0/unified/hotfix/20201103.051004 accepted/tizen/unified/20200723.161218 submit/tizen/20200722.070017 submit/tizen_6.0/20201029.205101 submit/tizen_6.0_hotfix/20201102.192501 submit/tizen_6.0_hotfix/20201103.114801 tizen_6.0.m2_release
Changyeon Lee [Tue, 21 Jul 2020 11:17:14 +0000 (20:17 +0900)]
package version up to 2.3.4

Change-Id: I416ceb247cd8cf1b6a49bf6a05058e637dfd628c

3 years agofix fd leak 61/239061/1
Changyeon Lee [Tue, 21 Jul 2020 11:12:57 +0000 (20:12 +0900)]
fix fd leak

Change-Id: Ia628374918dea3e4dc4c6c39e9baed82472ef170

3 years agopackage version up to 2.3.2 62/234662/1 accepted/tizen/unified/20200529.124155 submit/tizen/20200528.081645
SooChan Lim [Thu, 28 May 2020 02:05:22 +0000 (11:05 +0900)]
package version up to 2.3.2

Change-Id: I51efb2ba88787c5d726bc334e6b2369b0a7cf13e

3 years agoremove the uset of tbm_backend_bufmgr_query_display_server 09/234609/1
SooChan Lim [Tue, 19 May 2020 04:45:57 +0000 (13:45 +0900)]
remove the uset of tbm_backend_bufmgr_query_display_server

The backend has to use the drmIsMaster() to check if the drm_fd
is the master fd instead of tbm_backend_bufmgr_query_display_server().

Change-Id: Ifdb26184d08baf4abaa3af946b54edf0115ddf75

4 years agopackage version up to 2.3.1 71/220571/3 accepted/tizen/unified/20191220.123131 submit/tizen/20191220.041146
Changyeon Lee [Thu, 19 Dec 2019 10:48:11 +0000 (19:48 +0900)]
package version up to 2.3.1

Change-Id: I4edf1cea519fd8ad9bc4006953c9e3487a10a93f

4 years agofix pitch, offset of NV format 70/220570/2
Changyeon Lee [Thu, 19 Dec 2019 10:47:31 +0000 (19:47 +0900)]
fix pitch, offset of NV format

Change-Id: I79f30da720e5765686bd6e19a34f1f7916f95259

4 years agopackage version up to 2.3.0 64/216764/2 accepted/tizen/unified/20191104.115121 submit/tizen/20191104.003215
SooChan Lim [Fri, 1 Nov 2019 03:58:30 +0000 (12:58 +0900)]
package version up to 2.3.0

tizen 6.0 starts here.

Change-Id: I4b571e415394e95ef9084a7947c05eade3ca1ca7

6 years agopackage version up to 2.2.0 27/177827/1 accepted/tizen_5.0_unified accepted/tizen_5.5_unified accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_5.5_unified_wearable_hotfix tizen_5.0 tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix accepted/tizen/5.0/unified/20181102.012354 accepted/tizen/5.5/unified/20191031.014304 accepted/tizen/5.5/unified/mobile/hotfix/20201027.081228 accepted/tizen/5.5/unified/wearable/hotfix/20201027.122709 accepted/tizen/unified/20180508.071523 submit/tizen/20180504.060653 submit/tizen_5.0/20181101.000001 submit/tizen_5.5/20191031.000001 submit/tizen_5.5_mobile_hotfix/20201026.185101 submit/tizen_5.5_wearable_hotfix/20201026.184301 tizen_5.5.m2_release
SooChan Lim [Fri, 4 May 2018 04:09:01 +0000 (13:09 +0900)]
package version up to 2.2.0

Change-Id: If0e75f46e44b3a95e3e1c2cba497c2deba6d742c

6 years agouse 3.0 version of tbm backend abi 26/177826/1
SooChan Lim [Fri, 4 May 2018 04:08:33 +0000 (13:08 +0900)]
use 3.0 version of tbm backend abi

Change-Id: I8f3717cc0f54ca6243cdff9a732d20d289103537

6 years agouse TBM_ERROR_INVALID_OPERATION 67/174267/1 accepted/tizen/unified/20180404.063346 submit/tizen/20180329.115212 submit/tizen/20180330.043331 submit/tizen/20180403.011904
SooChan Lim [Thu, 29 Mar 2018 11:45:56 +0000 (20:45 +0900)]
use TBM_ERROR_INVALID_OPERATION

Change-Id: Iecb1dab6c1bf508fb0e737c73815722b79ff5822

6 years agopackage version up to 2.1.0 84/174084/1 accepted/tizen/unified/20180330.060636 submit/tizen/20180328.053955
SooChan Lim [Wed, 28 Mar 2018 04:47:31 +0000 (13:47 +0900)]
package version up to 2.1.0

Change-Id: I66c3e1d687429c27f4717d60388ebaa9e637e4e8

6 years agochange the type of the size 83/174083/1
SooChan Lim [Wed, 28 Mar 2018 04:46:30 +0000 (13:46 +0900)]
change the type of the size

Change-Id: Ifad0c569f2de15f04f18470c6969db94039f7418

6 years agopackage version up to 2.0.1 22/173622/2 accepted/tizen/unified/20180323.062153 submit/tizen/20180323.010251
SooChan Lim [Thu, 22 Mar 2018 23:33:20 +0000 (08:33 +0900)]
package version up to 2.0.1

Change-Id: I332b78d519a5cd41c1fafcd98e50fba7cccceb1b

6 years agouse tbm_log.h 89/173489/2
SooChan Lim [Thu, 22 Mar 2018 02:49:50 +0000 (11:49 +0900)]
use tbm_log.h

Change-Id: I2a10dc5d622d305be4c26db24cbf34b408cb95ad

6 years agoadd bufmgr data to bo data 14/173314/1
SooChan Lim [Tue, 20 Mar 2018 11:42:34 +0000 (20:42 +0900)]
add bufmgr data to bo data

Change-Id: I923f14fa0967324bbaf222a240a807dc0b6e24da

6 years agoreturn TBM_ERROR_NONE 08/173308/1
SooChan Lim [Tue, 20 Mar 2018 11:19:18 +0000 (20:19 +0900)]
return TBM_ERROR_NONE

Change-Id: Ia18f671c9178be9618c61530782f692e06a5d336

6 years agopackage version up to 2.0.0 00/173200/1 submit/tizen/20180320.042059 submit/tizen/20180321.054638
SooChan Lim [Tue, 20 Mar 2018 03:59:30 +0000 (12:59 +0900)]
package version up to 2.0.0

Change-Id: I62e8799b606f7e0c51f7faf22c63deaa337fae05

6 years agouse the tbm_log.h for logging. 79/173179/1
SooChan Lim [Tue, 20 Mar 2018 02:35:36 +0000 (11:35 +0900)]
use the tbm_log.h for logging.

Change-Id: I28b75cbc5f90d286e6e7713acdc0621c918bb632

6 years agore-arrange the static functions. 89/173089/1
SooChan Lim [Mon, 19 Mar 2018 11:45:32 +0000 (20:45 +0900)]
re-arrange the static functions.

Change-Id: I775bc21a2445eaebcca7ba22fb54f2b2fdd4d816

6 years agomake the new backend inteface with tbm_backend.h 18/173018/3
SooChan Lim [Mon, 19 Mar 2018 07:56:17 +0000 (16:56 +0900)]
make the new backend inteface with tbm_backend.h

Change-Id: I482ee919e13a60f67616ebaf6bfd7998b91ff07e

6 years agopackage version up to 1.0.13 accepted/tizen/unified/20171213.040917 submit/tizen/20171213.005922
Boram Park [Wed, 13 Dec 2017 00:58:45 +0000 (09:58 +0900)]
package version up to 1.0.13

Change-Id: I87d1e9e3c35e8464565f1b039cb15e794ad0156c

6 years agofix the potential memory corruption 67/163667/1
Boram Park [Tue, 12 Dec 2017 23:12:19 +0000 (08:12 +0900)]
fix the potential memory corruption

Change-Id: I24837d1d9ddc53268c5ebebde1c499afb1e05303

6 years agopackage version up to 1.0.12 accepted/tizen_4.0_unified tizen_4.0 accepted/tizen/4.0/unified/20170929.075513 accepted/tizen/unified/20170928.072108 submit/tizen/20170927.064133 submit/tizen_4.0/20170927.064121 tizen_4.0.IoT.p1_release tizen_4.0.IoT.p2_release tizen_4.0.m2_release
Boram Park [Wed, 27 Sep 2017 06:56:26 +0000 (15:56 +0900)]
package version up to 1.0.12

Change-Id: Ie754b63c3bc749cd92b08818c3d6ee020c044790

6 years agodeclare variables at the beginning of the function 81/152581/1
Junkyeong Kim [Tue, 26 Sep 2017 10:46:36 +0000 (19:46 +0900)]
declare variables at the beginning of the function

Change-Id: I1341cb3887d40b743efb3b0164fb29a96a082579
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agofix the COPYING to MIT 38/150338/1
SooChan Lim [Fri, 15 Sep 2017 07:20:53 +0000 (16:20 +0900)]
fix the COPYING to MIT

Change-Id: I99f0f7d3cf1eb9dce378f850a7bde8466af86c6e

6 years agoremove PrivGem 50/148950/1 accepted/tizen/4.0/unified/20170913.003230 accepted/tizen/unified/20170911.160108 submit/tizen/20170911.080123 submit/tizen_4.0/20170911.080340
Junkyeong Kim [Mon, 11 Sep 2017 07:50:14 +0000 (16:50 +0900)]
remove PrivGem

Change-Id: I88c7eb9e0c94ca336608e69e3d4b6e0c4527709d
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
6 years agoapply the coding rule 32/148932/1
SooChan Lim [Mon, 11 Sep 2017 07:01:01 +0000 (16:01 +0900)]
apply the coding rule

Change-Id: Ia8980a7d8112e48d9f1a026287d1009679da0b84

7 years agouse %license macro to copy the COPYING file. 22/120222/1 accepted/tizen_3.0_common accepted/tizen_common tizen_3.0 accepted/tizen/3.0/common/20170329.150910 accepted/tizen/4.0/unified/20170816.012439 accepted/tizen/4.0/unified/20170828.224118 accepted/tizen/common/20170331.152510 accepted/tizen/unified/20170329.034225 submit/tizen/20170328.072410 submit/tizen_3.0/20170328.074051 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170828.110001 tizen_4.0.m1_release
SooChan Lim [Wed, 22 Mar 2017 06:38:03 +0000 (15:38 +0900)]
use %license macro to copy the COPYING file.

Change-Id: I2f3fa2a2d84aae7af5c422c8ce06a355a6c8eedf

7 years agoPackage version up 15/114115/1 accepted/tizen/3.0/common/20170213.160616 accepted/tizen/common/20170210.170507 accepted/tizen/unified/20170310.114118 submit/tizen/20170210.072046 submit/tizen_3.0/20170210.070135 submit/tizen_3.0/20170210.071009 submit/tizen_unified/20170310.113048
Changyeon Lee [Fri, 10 Feb 2017 05:16:26 +0000 (14:16 +0900)]
Package version up

Change-Id: Ifc960fc815a8bbb5fc4dea463aeda9e4e32a8ffe

7 years agofixed using wrong drm fd 46/113546/1
Changyeon Lee [Wed, 8 Feb 2017 06:04:00 +0000 (15:04 +0900)]
fixed using wrong drm fd

Change-Id: I9d2bdac16acd0ee393a33a4aa171a2e91eecdc88

7 years agoremove white space and clean up init bufmgr 45/113545/1
Changyeon Lee [Wed, 8 Feb 2017 05:53:17 +0000 (14:53 +0900)]
remove white space and clean up init bufmgr

Change-Id: I10deb32d18943566e53acce049a53684e57ea194

7 years agopackage version up to 1.0.10 41/96841/1 tizen_3.0.m2 accepted/tizen/3.0/common/20161205.092251 accepted/tizen/common/20161110.190313 submit/tizen_3.0_common/20161205.022215 submit/tizen_common/20161110.105513
SooChan Lim [Thu, 10 Nov 2016 10:43:45 +0000 (19:43 +0900)]
package version up to 1.0.10

Change-Id: I354369652dcd397a9a28125d583c4dc2651692b8

7 years agochange the supported format 70/96470/3
SooChan Lim [Wed, 9 Nov 2016 06:06:38 +0000 (15:06 +0900)]
change the supported format

four format supported.
ARGB8888, XRGB8888, NV12 and YUV420

Change-Id: I0ab074bdfb7b3842328fabc851cf7bb28317a79c

7 years agoremove pthread-stub dependency 77/77177/1 accepted/tizen/3.0/common/20161114.105052 accepted/tizen/common/20160629.223056 accepted/tizen/common/20160629.223112 submit/tizen/20160629.024749 submit/tizen/20160629.042407 submit/tizen_3.0_common/20161104.104000
SooChan Lim [Wed, 29 Jun 2016 02:47:33 +0000 (11:47 +0900)]
remove pthread-stub dependency

Change-Id: I27acfb78bc70b5e378cb7cf75bc65125eba6bc7f

8 years agofix handle leak error 77/66277/2 accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20160419.143139 accepted/tizen/ivi/20160418.235901 accepted/tizen/mobile/20160418.235912 accepted/tizen/tv/20160418.235858 accepted/tizen/wearable/20160418.235849 submit/tizen/20160418.122414
Junkyeong Kim [Mon, 18 Apr 2016 07:02:29 +0000 (16:02 +0900)]
fix handle leak error

Change-Id: I88f95b3ae1fd4cc1df48acbe01b848ff7e270491
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
8 years agoUse tbm 2.0 version 59/65559/1 accepted/tizen/common/20160414.142602 accepted/tizen/ivi/20160415.014811 accepted/tizen/mobile/20160415.014831 accepted/tizen/tv/20160415.014727 accepted/tizen/wearable/20160415.014752 submit/tizen/20160414.040521
Changyeon Lee [Mon, 11 Apr 2016 04:09:33 +0000 (13:09 +0900)]
Use tbm 2.0 version

Change-Id: I794e5e2ce021bab1f9f297fe0d037ba2d9192aff

8 years agoAlways Set lock backend fuction 35/63135/2 accepted/tizen/common/20160323.185219 accepted/tizen/ivi/20160323.140817 accepted/tizen/mobile/20160323.135417 accepted/tizen/tv/20160323.135629 accepted/tizen/wearable/20160323.135415 submit/tizen/20160323.081622
Changyeon Lee [Tue, 22 Mar 2016 07:53:35 +0000 (16:53 +0900)]
Always Set lock backend fuction

Change-Id: I4cecebc3a4272e446a10acbca3d3d5587516f83e

8 years agouse the tizen directory macros at spec file 67/61867/1 accepted/tizen/common/20160311.203419 accepted/tizen/ivi/20160311.150108 accepted/tizen/mobile/20160311.143023 accepted/tizen/tv/20160311.144640 accepted/tizen/wearable/20160311.145447 submit/tizen/20160311.060606
SooChan Lim [Fri, 11 Mar 2016 04:46:41 +0000 (13:46 +0900)]
use the tizen directory macros at spec file

Change-Id: Id93a4ec752ea114c9bc008159f0dd9fa03a00580

8 years agobackend does cache control and lock control 08/61708/2 accepted/tizen/common/20160310.145835 accepted/tizen/ivi/20160311.055845 accepted/tizen/mobile/20160311.055703 accepted/tizen/tv/20160311.055726 accepted/tizen/wearable/20160311.055802 submit/tizen/20160310.095532
SooChan Lim [Thu, 10 Mar 2016 04:17:11 +0000 (13:17 +0900)]
backend does cache control and lock control

Change-Id: I5aa17d3707fc7e6425cd8670a6d15fdba85988ec

8 years agodumb: Don't save fd when tbm_bo_import_fd() is colled. 54/61354/1 accepted/tizen/common/20160307.154833 accepted/tizen/ivi/20160308.021619 accepted/tizen/mobile/20160308.021428 accepted/tizen/tv/20160308.021503 accepted/tizen/wearable/20160308.021539 submit/tizen/20160307.110800
Roman Marchenko [Wed, 17 Feb 2016 13:35:58 +0000 (15:35 +0200)]
dumb: Don't save fd when tbm_bo_import_fd() is colled.

The user of libtbm have to control state of "fd" by himself. So libtbm shouldn't save fd which received by tbm_bo_import_fd()

Change-Id: Iec7fa7227d7f0f77a3d508095ee13d905fd58f2d
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
8 years agodumb: Align RGB format with 128 byte 53/61353/1
Roman Marchenko [Wed, 17 Feb 2016 13:33:37 +0000 (15:33 +0200)]
dumb: Align RGB format with 128 byte

Change-Id: Ia3203fd75736d49657d43167ee23e74ecda1f525
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
8 years agodumb: Code refactoring 52/61352/1
Roman Marchenko [Wed, 17 Feb 2016 13:31:30 +0000 (15:31 +0200)]
dumb: Code refactoring

Change-Id: Ic24133bd34c854943e19d70d3ab4b479d0ab016b
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
8 years agoIf drm fd is negative value, get fd with wayland protocol 51/61351/1
Changyeon Lee [Sun, 10 Jan 2016 08:52:13 +0000 (17:52 +0900)]
If drm fd is negative value, get fd with wayland protocol

Change-Id: I71dfe3aab0f4e2b502f1a96613aa48a0baefecea

8 years agodumb: Add getting of a GEM object size by DRM_IOCTL_GEM_OPEN 49/61349/1
Roman Marchenko [Fri, 12 Feb 2016 15:51:36 +0000 (17:51 +0200)]
dumb: Add getting of a GEM object size by DRM_IOCTL_GEM_OPEN

Change-Id: I14cc856f06a68041112111cdc193ee7d9afd2b08
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
8 years agoadd initial codes 48/61348/1
SooChan Lim [Mon, 7 Mar 2016 10:33:50 +0000 (19:33 +0900)]
add initial codes

Change-Id: I4edb6f8707b0f09062aab89e4a690f544ac7353f

8 years agoInitial empty repository master
Jinkun Jang [Wed, 2 Mar 2016 02:27:35 +0000 (18:27 -0800)]
Initial empty repository