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
Changyeon Lee [Fri, 4 Jan 2019 03:39:16 +0000 (12:39 +0900)]
Package version up to 3.1.1
Change-Id: I481bfaf2c5cef48ab8995f5209bbcaf34ecf8058
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
Changyeon Lee [Fri, 30 Nov 2018 06:42:30 +0000 (15:42 +0900)]
introduce tbm_surface_queue_can_dequeue_wait_timeout
Change-Id: I6761775bf105b9b6fff8ee1a4af64562b1fdea88
SooChan Lim [Wed, 26 Dec 2018 10:13:34 +0000 (19:13 +0900)]
Package version up to 3.1.0
Change-Id: I690b7e2a7b47cf876c1286fda4165d58d86cdbe5
Changyeon Lee [Mon, 10 Dec 2018 06:41:10 +0000 (15:41 +0900)]
Package version up to 3.0.8
Change-Id: I340d3ec22da8db9245de9d94b7b818abd75187de
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
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>
SooChan Lim [Thu, 29 Nov 2018 10:19:34 +0000 (19:19 +0900)]
Package version up to 3.0.7
Change-Id: I037c363f1518453f248053a79ba98cc3040e6098
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
Changyeon Lee [Tue, 27 Nov 2018 03:53:55 +0000 (12:53 +0900)]
package version up to 3.0.6
Change-Id: Ib77da3eb28e5b7c036810d4ebff1da5410e53a16
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
Changyeon Lee [Mon, 19 Nov 2018 11:31:41 +0000 (20:31 +0900)]
Package version up to 3.0.5
Change-Id: I450e0127ce13f65ac967e9097f483e96a70a3921
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
Changyeon Lee [Fri, 26 Oct 2018 01:46:21 +0000 (10:46 +0900)]
pacakge version up to 3.0.4
Change-Id: Ia326a9767835d678ad5e5bdc97e2b984872498c6
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
Changyeon Lee [Thu, 11 Oct 2018 03:16:50 +0000 (12:16 +0900)]
package version up to 3.0.3
Change-Id: I42e1a7c254c60cd1e0ce1578987d2ac9add9df4b
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
SooChan Lim [Thu, 13 Sep 2018 05:22:23 +0000 (14:22 +0900)]
package version up to 3.0.2
Change-Id: I963ca54e7209130263efcdb78056ced708876c3a
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
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
Changyeon Lee [Tue, 14 Aug 2018 08:30:09 +0000 (17:30 +0900)]
queue: add doxygen document
Change-Id: I757499982ba9790b3f02446dfc416daaee9616c5
Changyeon Lee [Tue, 14 Aug 2018 05:42:32 +0000 (14:42 +0900)]
queue: added TBM_SURFACE_QUEUE_ERROR_INVALID_SEQUENCE
Change-Id: I3e94ff083fc0ee65e5bdbed965c5f1b39bee7abd
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
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
Changyeon Lee [Thu, 21 Jun 2018 07:43:56 +0000 (16:43 +0900)]
package version up to 3.0.1
Change-Id: Ifcb6b2633286390b12a8d1bbbddf0e4758110ad8
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
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
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
SooChan Lim [Mon, 21 May 2018 08:19:53 +0000 (17:19 +0900)]
bufmgr: change the log level
Change-Id: Id0d8e1f8df16f750cbdd61a85e17c8c50115cf38
SooChan Lim [Mon, 21 May 2018 03:45:11 +0000 (12:45 +0900)]
package version up to 2.13.4
Change-Id: I37ee50fca1a96b2138a953a42380fa48c32fba88
Changyeon Lee [Mon, 21 May 2018 02:49:16 +0000 (11:49 +0900)]
tbm_surface: fixed deref after null
Change-Id: I5601f2ff3d732423b6dcc0393188d4499c973827
Changyeon Lee [Tue, 15 May 2018 11:44:38 +0000 (20:44 +0900)]
tbm_surface: added checking parameter
Change-Id: I83ea75390116783bf94f0dd814459f57675bc90d
Changyeon Lee [Mon, 14 May 2018 05:28:14 +0000 (14:28 +0900)]
package version up to 2.13.3
Change-Id: I1f29a226f5eac137067e5b11f5472c154386f138
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
Changyeon Lee [Thu, 10 May 2018 06:48:35 +0000 (15:48 +0900)]
surface: added tbm_surface_internal_set/get_damage func
Change-Id: I25e77606b987e7761c0ad16ad6d6d5f70a09351d
SooChan Lim [Wed, 9 May 2018 05:22:02 +0000 (14:22 +0900)]
move the header files to include directory.
The exposed header files is at include directory now.
Change-Id: I2ba32fb4920e1e3dfd71befbfd8b1e885a83db19
SooChan Lim [Tue, 8 May 2018 08:52:32 +0000 (17:52 +0900)]
backend: modify the comments on the header file.
Change-Id: Ie8f972382d6fe07b934b7dff18a937bf1eb08a5b
SooChan Lim [Fri, 4 May 2018 04:03:07 +0000 (13:03 +0900)]
package version up to 2.13.2
Change-Id: Ie9fded701073a0237b040714b1a782d48f6f6268
SooChan Lim [Fri, 4 May 2018 02:42:28 +0000 (11:42 +0900)]
change the utests to haltests
change all symbol and file name.
Change-Id: Ia4cfcbbcb41ead714f8fa7a0a00d42a54a1cb528
SooChan Lim [Thu, 3 May 2018 01:35:14 +0000 (10:35 +0900)]
package version up to 2.13.1
Change-Id: I7260e9d9a0feafc2e993ba56397038a43309cd24
SooChan Lim [Thu, 3 May 2018 01:33:58 +0000 (10:33 +0900)]
bufmgr: unlock the thread when the path is null
Change-Id: Ief9834ea5f8010b7a72b2a5e9c2a068b1e82e5e4
SooChan Lim [Mon, 30 Apr 2018 04:00:57 +0000 (13:00 +0900)]
package version up to 2.13.0
Change-Id: Id1ffead251f8c494ec8597105f109b484ebdb073
SooChan Lim [Mon, 30 Apr 2018 03:59:59 +0000 (12:59 +0900)]
utest: change the package name.
change libtbm-utests into libtbm-haltests
Change-Id: Icfdd2b70ae50345a3c3f8e83ddba752955228d01
SooChan Lim [Fri, 27 Apr 2018 06:32:41 +0000 (15:32 +0900)]
utest: check the valid return values of get_width/height on surface tests
Change-Id: Idf8645ffc643ea7cf1fb25c08cdcdd63888b97c8
SooChan Lim [Fri, 27 Apr 2018 02:40:06 +0000 (11:40 +0900)]
package version up to 2.12.2
Change-Id: I4e3cd0af7b5501161f324a99652e8816397b432a
SooChan Lim [Fri, 27 Apr 2018 02:38:54 +0000 (11:38 +0900)]
surface: revert the code of return params of getting width/height
Change-Id: If24926ebc95b7c1c65875dd3143932e9520e7399
SooChan Lim [Thu, 26 Apr 2018 08:19:26 +0000 (17:19 +0900)]
package version up to 2.12.1
Change-Id: I3ca6fc213d28e64904d1c0fdc28b601025dbc970
SooChan Lim [Thu, 26 Apr 2018 08:18:24 +0000 (17:18 +0900)]
bufmgr: include tbm_bo.h in tbm_bufmgr.h
fix the build break.
Change-Id: Id19e9050d7169ec78e5225d44d7fa69bda0db133
SooChan Lim [Thu, 26 Apr 2018 06:30:58 +0000 (15:30 +0900)]
package version up to 2.12.0
Change-Id: Ic628c0e61dfad2577900a0aa6d1773325a284345
SooChan Lim [Wed, 25 Apr 2018 07:46:41 +0000 (16:46 +0900)]
utest: check the tbm_error_e for the surface_queue tests
Change-Id: Ib7983219c813dbbb5fe3e82fd78e909856b9b629
SooChan Lim [Tue, 24 Apr 2018 12:24:18 +0000 (21:24 +0900)]
utest: check the tbm_error_e for the surface tests
Change-Id: I17ab9c4a65e177c3df5a6c04b4a6da972c94870d
SooChan Lim [Tue, 24 Apr 2018 12:23:10 +0000 (21:23 +0900)]
utest: check the tbm_error_e for the query formats tests
Change-Id: Ied2ec573d1fb07b023dc0f8bb361598750c26dcc
SooChan Lim [Mon, 23 Apr 2018 10:19:01 +0000 (19:19 +0900)]
utest: check the tbm_error_e for the surface_internal tests
Change-Id: Ie5e76690e3c7dc91a8f4f63dc6ba7e8a52acc0ae
SooChan Lim [Mon, 23 Apr 2018 06:16:02 +0000 (15:16 +0900)]
utest: check the tbm_error_e for the bo tests
Change-Id: I1fa5abfb0509c4619c9cf5b3f4986cf10c06c63d
SooChan Lim [Mon, 23 Apr 2018 02:28:07 +0000 (11:28 +0900)]
utest: check the tbm_error_e for the bufmgr tests
Change-Id: I5ceaae2cb25e6ed6a4bd25051121b905eadb471c
SooChan Lim [Wed, 25 Apr 2018 07:18:46 +0000 (16:18 +0900)]
surface_queue: add _tbm_set_last_result()
Change-Id: I9ec3638b38405f081f1988b72fac2526e00e234c
SooChan Lim [Tue, 24 Apr 2018 12:23:53 +0000 (21:23 +0900)]
surface: add _tbm_set_last_result()
Change-Id: Ie53550bd938ba4ad379b165a1c4852143d556ec7
SooChan Lim [Mon, 23 Apr 2018 09:43:15 +0000 (18:43 +0900)]
surface_internal: add _tbm_set_last_result()
Change-Id: Ife69a768e592402f7b57b821d1093859ce5bdc7c
SooChan Lim [Mon, 23 Apr 2018 08:18:21 +0000 (17:18 +0900)]
surface_internal: make _tbm_surface_internal_get_bpp function
Change-Id: I544d4e2320cce6dd2667d1a5515276f4e3cede5f
SooChan Lim [Mon, 23 Apr 2018 08:02:51 +0000 (17:02 +0900)]
surface_internal: make _tbm_surface_internal_get_num_planes function
Change-Id: Idb474ec39f48f6ce3a0979b5f98fc67f3b050899
SooChan Lim [Mon, 23 Apr 2018 03:58:46 +0000 (12:58 +0900)]
bo: add _tbm_set_last_error()
Change-Id: I7891946a21920ff9da0da3cfd68aaf4a5c787698
SooChan Lim [Mon, 23 Apr 2018 02:27:19 +0000 (11:27 +0900)]
bufmgr: add _tbm_set_last_result()
Change-Id: Ib74dfdef126e090f263163101465490ed1eff591
SooChan Lim [Mon, 23 Apr 2018 06:14:08 +0000 (15:14 +0900)]
type_common: add tbm_##res##_str and tbm_error_str
These macros makes integer values assigned string values.
Change-Id: I7bb4596b59cef7c1ac5ed49f94e23d162519daa0
SooChan Lim [Mon, 23 Apr 2018 01:09:11 +0000 (10:09 +0900)]
error: add tbm_error.h
The tbm apis get the tbm_error_e values through tbm_get_last_error.
Change-Id: I2485a9ff6b60308e51f893887b8a3083fc87b002
Changyeon Lee [Fri, 20 Apr 2018 04:19:08 +0000 (13:19 +0900)]
package version up to 2.11.1
Change-Id: I72b41876a5be41627dbb331adc51d60c9d05bb44
Changyeon Lee [Fri, 20 Apr 2018 03:34:43 +0000 (12:34 +0900)]
surface_queue: don't return node which set delete_pending in queue_get_surfaces
Change-Id: Idb90e103afe71c7f365d8c041d3dc7b7cca7c55d
SooChan Lim [Wed, 18 Apr 2018 11:24:06 +0000 (20:24 +0900)]
package version up to 2.11.0
Change-Id: I22338d96f4809ab77b5a6c47f9468e00e3cb706e
SooChan Lim [Wed, 18 Apr 2018 11:20:17 +0000 (20:20 +0900)]
remove TBM_SURFACE_QUEUE_ERROR_INVALID_PARAMETER
Change-Id: Ic60a573c46f17bf6508a3f2c6102accac41a1edc
SooChan Lim [Wed, 18 Apr 2018 10:10:43 +0000 (19:10 +0900)]
package version up to 2.10.0
Change-Id: I4eb1601434d77f5f6705b1c8099575af3e94d08c
SooChan Lim [Wed, 18 Apr 2018 10:09:48 +0000 (19:09 +0900)]
common_type: remove the deprecated error values.
Change-Id: Ibacd975fc8297dadf69fd2dea6a3b97d14d64ae2
SooChan Lim [Wed, 4 Apr 2018 09:40:41 +0000 (18:40 +0900)]
package version up to 2.9.1
Change-Id: Ie6204bc26af916c038093a732f3edd8648213365
SooChan Lim [Wed, 4 Apr 2018 09:26:46 +0000 (18:26 +0900)]
utest: add log tests
Change-Id: I8bfe896c183a7bf2c0f6e87720a896ec8fba853e
SooChan Lim [Wed, 4 Apr 2018 09:23:41 +0000 (18:23 +0900)]
log: remove unused function
Change-Id: Iae807e3e89dd37f4fedd1c7ca891dcd16d44a82e
SooChan Lim [Wed, 4 Apr 2018 07:50:24 +0000 (16:50 +0900)]
utest: add tcs for tbm_log
Change-Id: I95c7a67e1a09c82f9c13a891898774efbd6b77f9
SooChan Lim [Wed, 4 Apr 2018 07:27:50 +0000 (16:27 +0900)]
utest: add a test for tbm_surface_queue_notify_dequeuable
Change-Id: I990e1aabfc59a31e9d22769fe6b2bc5e31e0217c
SooChan Lim [Thu, 29 Mar 2018 07:18:01 +0000 (16:18 +0900)]
package version up to 2.9.0
Change-Id: I1a06f63a4d1e085c1d4043fe1aa821a25658172d
SooChan Lim [Thu, 29 Mar 2018 03:45:12 +0000 (12:45 +0900)]
change tbm_error_e values.
Change-Id: I550beda21a97123cb4ceb106356633975f63f3f6
SooChan Lim [Thu, 29 Mar 2018 01:24:30 +0000 (10:24 +0900)]
move tbm_surface_queue_error_e types to tbm_error_e
Change-Id: Ib8b4ebe51a27e49da5f05e03fcc80df4fe3a2d24
SooChan Lim [Thu, 29 Mar 2018 01:15:48 +0000 (10:15 +0900)]
move tizen.h from tbm_surface.h to tbm_type.h
Change-Id: Ibf9b8f5a29f4cb7468b9a8ae5e91669a40c8ebb2
SooChan Lim [Wed, 28 Mar 2018 04:46:00 +0000 (13:46 +0900)]
package version up to 2.8.0
Change-Id: I2764f4c8de2773d3ff63a1c541a736032d6591aa
SooChan Lim [Wed, 28 Mar 2018 04:14:05 +0000 (13:14 +0900)]
backend: change the type of the size
from int to unsigned int
Change-Id: I5fe103a21a3ed2333ae10a6f7edd31701b6ecbed
SooChan Lim [Tue, 27 Mar 2018 04:11:35 +0000 (13:11 +0900)]
utest: change TEST_P to TEST_F
Change-Id: Id96dc9e2f0218bba58d8466dfcf17dcf8d9d39c1
SooChan Lim [Tue, 27 Mar 2018 04:03:41 +0000 (13:03 +0900)]
utest: fix the assert condition
Change-Id: Ic8cf43065ed6b72e360eb0fb7927f12a859991ec
SooChan Lim [Mon, 26 Mar 2018 04:05:18 +0000 (13:05 +0900)]
package version up to 2.7.4
Change-Id: I9c994a6d4e06b0a6bcdeb307afaf3418cedad997
SooChan Lim [Mon, 26 Mar 2018 04:04:23 +0000 (13:04 +0900)]
bufmgr: lock/unlock gLock
Change-Id: Iac73a706adb5bf5410fd42b974699691153b36d5
SooChan Lim [Fri, 23 Mar 2018 06:47:04 +0000 (15:47 +0900)]
fix the crash
Change-Id: I62510f67938cf84d81b1f87fd55ca1d91ed2ded8
SooChan Lim [Thu, 22 Mar 2018 23:39:16 +0000 (08:39 +0900)]
package version up to 2.7.3
Change-Id: Idbc20b5361f70103ece093dbef7bf4967b7ff5e5
SooChan Lim [Thu, 22 Mar 2018 02:23:23 +0000 (11:23 +0900)]
move dlog.h to the tbm_log.c
Change-Id: Idb2c6f4ccf615ee9656d1b31dc3758024a92ea87
SooChan Lim [Wed, 21 Mar 2018 08:55:26 +0000 (17:55 +0900)]
utest: change the size check
Change-Id: If934d1c9476941c04c410536e2370568737e2463
SooChan Lim [Wed, 21 Mar 2018 08:53:16 +0000 (17:53 +0900)]
utest: imported bo could be different with the same key and fd
Change-Id: I901f7d87d35b3940d291d2de155b500974813390
SooChan Lim [Wed, 21 Mar 2018 08:49:01 +0000 (17:49 +0900)]
utest: do not check virtual address.
it could be different depending on hw
Change-Id: Ieda5d52568745fac15d9fa663eb2e145b73daf41
SooChan Lim [Wed, 21 Mar 2018 08:42:23 +0000 (17:42 +0900)]
utest: do not check the TBM_DEVICE_MM
Change-Id: I4ae6893bb9e1f168a5046afa375bb7cac103c7dd
SooChan Lim [Wed, 21 Mar 2018 08:16:10 +0000 (17:16 +0900)]
utest: do not check the diff between alloc_size and ret_size
Change-Id: I98c1c2b0c5f0bfa97ab90af6336ba15ae3196561
SooChan Lim [Tue, 20 Mar 2018 03:56:25 +0000 (12:56 +0900)]
package version up to 2.7.2
Change-Id: I11f048b500d831ec5187fa7fd058ecf2a4e87c11
SooChan Lim [Tue, 20 Mar 2018 03:55:15 +0000 (12:55 +0900)]
utest: do not check the validation of some backend symbols
Change-Id: I349ded39d3c986606dd618282b31ce5ecd58262d
SooChan Lim [Mon, 19 Mar 2018 11:55:21 +0000 (20:55 +0900)]
log: move the condition check to tbm_log.h
Change-Id: I84d581810190d98d6c4075154d847c6736346055
SooChan Lim [Fri, 16 Mar 2018 08:10:25 +0000 (17:10 +0900)]
backend: extern c for cpp build.
Change-Id: I04fb8fb893f9ef97b6ad17e09b6e94976d63eb67
SooChan Lim [Fri, 16 Mar 2018 08:10:09 +0000 (17:10 +0900)]
bufmgr: check the error type.
Change-Id: I4304e7b9222e952e640633dab9851bed8ac39bec
SooChan Lim [Fri, 16 Mar 2018 06:44:19 +0000 (15:44 +0900)]
package version up to 2.7.1
Change-Id: I4ed30b4cab4db43dc893a72c6ae173be80c6607f