platform/core/uifw/libtbm.git
7 years agotbm_surface_queue: forbid a registration of NULL instead of cb functions 60/163160/1
Roman Marchenko [Thu, 7 Dec 2017 11:26:11 +0000 (13:26 +0200)]
tbm_surface_queue: forbid a registration of NULL instead of cb functions

   It doesn't have sense to add NULL instead of an callback functions.

Change-Id: I038ad279f7fb83dc06f6b7cec41fc7f2ad416c60
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
7 years agoutest: fix wrong test for tbm_surface_queue_get_surfaces 59/163159/1
Roman Marchenko [Thu, 7 Dec 2017 11:22:49 +0000 (13:22 +0200)]
utest: fix wrong test for tbm_surface_queue_get_surfaces

  The array of surfaces can be NULL. In this case the function useus only the number.

Change-Id: Ifb2a2d3380c7c21c43152e4759ce29309b1e55c3
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
7 years agoutest: fix wrong tests for add_dequeue_cb() and remove_dequeue_cb() 58/163158/1
Roman Marchenko [Thu, 7 Dec 2017 11:01:02 +0000 (13:01 +0200)]
utest: fix wrong tests for add_dequeue_cb() and remove_dequeue_cb()

Change-Id: I6bf5df91b0c688b13052d71dfacb82595c20b00a
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
7 years agoutest: improve code coverage 80/162980/1
Roman Marchenko [Wed, 6 Dec 2017 15:06:01 +0000 (17:06 +0200)]
utest: improve code coverage

 - add 3 tests API for tbm_surface_queue_set_sync_count
 - add a test ReleaseSequenceSuccess
 - add a test ResetSequenceSuccess
 - fix a test RemoveDequeueCbSuccess

Change-Id: If6c9bffb605f38462c77e98909da1ad7de6bd756
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
7 years agotbm_surface: added checking num and num_planes 65/161465/4
Changyeon Lee [Thu, 23 Nov 2017 12:30:56 +0000 (21:30 +0900)]
tbm_surface: added checking num and num_planes

Change-Id: If318ea3098c3631a2720ba60172ac95900dbc232

7 years agopackage version up to 2.2.1 accepted/tizen/unified/20171127.083239 submit/tizen/20171127.012650
Boram Park [Mon, 27 Nov 2017 01:26:38 +0000 (10:26 +0900)]
package version up to 2.2.1

Change-Id: I274653155f96c070c59c01ae0f191671ed3ae0eb

7 years agoFixed crash when saving shared memory. 87/161587/2
Gwanglim Lee [Fri, 24 Nov 2017 08:38:26 +0000 (17:38 +0900)]
Fixed crash when saving shared memory.

It was passing stride argument instead of width when saving shared memory.

Change-Id: I533eb0f259db204b384e12682407f385b6d87c4f

7 years agoutest: fix warnings in ut_tbm_surface_internal.cpp 96/161596/2
Roman Marchenko [Fri, 24 Nov 2017 09:15:31 +0000 (11:15 +0200)]
utest: fix warnings in ut_tbm_surface_internal.cpp

Change-Id: Icff43e11a30fdc5b6076d0e0fc95c4525b432b11
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
7 years agoPackage version up to 2.2.0 accepted/tizen/unified/20171124.064515 submit/tizen/20171123.074946
Changyeon Lee [Thu, 23 Nov 2017 07:00:27 +0000 (16:00 +0900)]
Package version up to 2.2.0

Change-Id: Ied5b3a8eceaff322002239531eaccb0ebabb2c51

7 years agoadded tbm_surface_queue_set_sync_count 59/161359/3
Changyeon Lee [Tue, 21 Nov 2017 02:32:06 +0000 (11:32 +0900)]
added tbm_surface_queue_set_sync_count

some renderer enqueue surface before rendering of surface is done
if user want to ensure that rendering of surface is done when it is enqueued,
queue do map surface in surface_queue_enqueue function

Change-Id: I364420451113dd5a88d2c726d3b1db16a2769fa2

7 years agoutest: call tbm_surface_queue_sequence_create() instead tbm_surface_queue_create() 37/160537/2
Roman Marchenko [Thu, 16 Nov 2017 16:00:12 +0000 (18:00 +0200)]
utest: call tbm_surface_queue_sequence_create() instead tbm_surface_queue_create()

Change-Id: I4300dd18182041a55245655fb39841f713898275
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
7 years agoFix atomicity svace problem 59/160659/10
Changyeon Lee [Fri, 17 Nov 2017 08:32:32 +0000 (17:32 +0900)]
Fix atomicity svace problem

Change-Id: I90571af7f4f04b2fd1508dac760b899fb2406efb

7 years agoturn on the utests bulding and fix svace issues 51/160651/4
Konstantin Drabeniuk [Fri, 17 Nov 2017 10:32:08 +0000 (12:32 +0200)]
turn on the utests bulding and fix svace issues

Change-Id: I415aa6f56e579400f3942e334e9ba7d7549ca23c
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
7 years agoutest: remove -w and -fpermissive flags 50/160650/2
Konstantin Drabeniuk [Fri, 17 Nov 2017 09:02:18 +0000 (11:02 +0200)]
utest: remove -w and -fpermissive flags

Change-Id: If986b754789b726d5af69a47af4d909447aea0fc
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
7 years agoutest: fix build warnings 49/160649/2
Konstantin Drabeniuk [Fri, 17 Nov 2017 09:00:48 +0000 (11:00 +0200)]
utest: fix build warnings

Change-Id: I14129f59849486d18beec5210b4763368fccd50f
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
7 years agoremove excluding coverage comments from tbm_surface_queue.c 39/160539/1
Konstantin Drabeniuk [Thu, 16 Nov 2017 16:08:46 +0000 (18:08 +0200)]
remove excluding coverage comments from tbm_surface_queue.c

Change-Id: I7faac4532263b71ee06812e5100c438afc9c181a
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
7 years agoutest: add test for the API functions from tdm_surface_queue.h 19/160319/3
Roman Marchenko [Wed, 15 Nov 2017 08:09:00 +0000 (10:09 +0200)]
utest: add test for the API functions from tdm_surface_queue.h

Change-Id: I20b46b1807729559dff79bc6b433eaad72e231af
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
7 years agoutest: add test for the API functions from tdm_surface_internal.h 49/159549/4
Roman Marchenko [Thu, 9 Nov 2017 14:44:47 +0000 (16:44 +0200)]
utest: add test for the API functions from tdm_surface_internal.h

Change-Id: I3ef4bb33238b1a8123831443ba69de8058e5a844
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
7 years agocheck the null prarameters 89/159589/1
SooChan Lim [Fri, 10 Nov 2017 02:47:53 +0000 (11:47 +0900)]
check the null prarameters

check the null parameters at tbm_surface_internal_query_supported_formats

Change-Id: I20e6f3b87d7fcbb37a627f89837f22cbd581d887
Signed-off-by: SooChan Lim <sc1.lim@samsung.com>
7 years agoutests: covered the API funcs from the tbm_surface.h file 48/159348/1
Roman Marchenko [Wed, 8 Nov 2017 08:36:45 +0000 (10:36 +0200)]
utests: covered the API funcs from the tbm_surface.h file

Change-Id: I51583aafcb3c1f0c074b38e6a6e565ea0ed8aed4
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
7 years agoutests: covered the API funcs. from the tbm_bufmgr.h file 79/159179/2
Konstantin Drabeniuk [Tue, 7 Nov 2017 09:31:36 +0000 (11:31 +0200)]
utests: covered the API funcs. from the tbm_bufmgr.h file

Change-Id: Ie2fcccb18b548de3ba8500c3f34504c00216d79a
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
7 years agoutests: add skeleton for unit tests 56/158856/4
Konstantin Drabeniuk [Mon, 6 Nov 2017 08:59:55 +0000 (10:59 +0200)]
utests: add skeleton for unit tests

As we change the testing way(we don't include c file) the old tests are
not actual and was deleted. Now we link the libtbm to the ut binary and
test TBM API.

Change-Id: Ifcfa884247dc4a347eedbf9376b813b46acad686
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
7 years agoutest: rename the ut to the utests 90/158290/1
SooChan Lim [Tue, 31 Oct 2017 00:44:48 +0000 (09:44 +0900)]
utest: rename the ut to the utests

Change-Id: I23f1191421ad9897870ab15781e779ed5719cd00

7 years agout: remove gtest codes 06/158206/2
SooChan Lim [Mon, 30 Oct 2017 09:57:37 +0000 (18:57 +0900)]
ut: remove gtest codes

use the gtest-devel package to build the ut test cases.
gtest packages has uploaded to the tizen repository.

Change-Id: I32ade6abe0eb04ddffbc2f00d06b851e42cd0668

7 years agout: sync with the gtest branch 90/158190/2
SooChan Lim [Mon, 30 Oct 2017 08:39:02 +0000 (17:39 +0900)]
ut: sync with the gtest branch

Change-Id: I890910cd87043c8551e5928dec628e2f951e5192

7 years agout: fixed warnings in unit test's sources 89/158189/4
Konstantin Drabeniuk [Tue, 11 Oct 2016 08:12:45 +0000 (11:12 +0300)]
ut: fixed warnings in unit test's sources

Change-Id: I890ecf66c8951e24e885d5f06436e6e8697ebabe
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
7 years agoRevert "Revert "put gtest framework source code"" 88/158188/1
SooChan Lim [Mon, 30 Oct 2017 08:21:59 +0000 (17:21 +0900)]
Revert "Revert "put gtest framework source code""

This reverts commit b02dc5898ea183fdc97de61dd41f566a95633a67.

Change-Id: Ice3c5637491d0567091dff05985177a23f3bb054

7 years agotbm_surface_internal: add tc coverage exception tag 97/152897/1
Junkyeong Kim [Wed, 27 Sep 2017 10:08:45 +0000 (19:08 +0900)]
tbm_surface_internal: add tc coverage exception tag

Change-Id: I945097011449d8589e1a7e2f8d22061c34dc7c79
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agopackage version up to 2.1.7 accepted/tizen/4.0/unified/20170929.075541 accepted/tizen/unified/20170928.072135 submit/tizen/20170927.064133 submit/tizen_4.0/20170927.064121 tizen_4.0.IoT.p1_release tizen_4.0.m2_release
Boram Park [Wed, 27 Sep 2017 06:56:18 +0000 (15:56 +0900)]
package version up to 2.1.7

Change-Id: I926ebf219bb9f76ff4d265058c8b4e253fbed6c8

7 years agoFix to check validation of file 43/152443/2
Sangjin Lee [Tue, 26 Sep 2017 07:04:35 +0000 (16:04 +0900)]
Fix to check validation of file

Change-Id: Ic5356fa00420f7e713b0a2ff04a0fcf2fc01aac1

7 years agofix the out-of-bounds access 61/152461/2
Sangjin Lee [Tue, 26 Sep 2017 07:42:18 +0000 (16:42 +0900)]
fix the out-of-bounds access

Change-Id: I2aafc4433ce6c10e5545d8d6d62d22d14a0fde77

7 years agopackage version up to 2.1.6 accepted/tizen/4.0/unified/20170925.071801 accepted/tizen/unified/20170925.071306 submit/tizen/20170922.080343 submit/tizen_4.0/20170922.080338
Boram Park [Fri, 22 Sep 2017 07:56:16 +0000 (16:56 +0900)]
package version up to 2.1.6

Change-Id: Ifd741672b9623ff158bd140946460da8a4974add

7 years agotbm_drm_helper: remove setenv usage in server side 20/150720/9
Boram Park [Fri, 15 Sep 2017 04:15:14 +0000 (13:15 +0900)]
tbm_drm_helper: remove setenv usage in server side

Change-Id: I92280799de33036da24b848a7d4d1f22cbcefb5d

7 years agosurface_queue: fix wrong function name in LOG_E() 78/150578/1
YoungJun Cho [Mon, 18 Sep 2017 04:28:33 +0000 (13:28 +0900)]
surface_queue: fix wrong function name in LOG_E()

This patch fixes wrong function name in LOG_E().

Change-Id: If556b20e1345ba9b6468d539779e6820af9acdfa
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
7 years agosurface_internal: clean up code for tbm_surface_internal_dump_start() 39/150339/2
YoungJun Cho [Fri, 15 Sep 2017 07:21:52 +0000 (16:21 +0900)]
surface_internal: clean up code for tbm_surface_internal_dump_start()

The tbm_surface_get_info() is enough to get bo size.

Change-Id: I223557920e802fdd39534f8b2a471c3a8e28641a
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
7 years agopackage version up to 2.1.5 accepted/tizen/4.0/unified/20170920.081323 accepted/tizen/unified/20170920.065456 submit/tizen/20170915.073305 submit/tizen_4.0/20170915.073300
Boram Park [Fri, 15 Sep 2017 07:31:28 +0000 (16:31 +0900)]
package version up to 2.1.5

Change-Id: I02ad1bb672f3c1620d41b0def20a89dc50f1dba8

7 years agotbm_drm_helper: remove setenv usage in client side
Boram Park [Fri, 15 Sep 2017 05:19:37 +0000 (14:19 +0900)]
tbm_drm_helper: remove setenv usage in client side

Change-Id: I218e6d0ebfa3a4a7617cfbdc02baf770a145e8b9

7 years agoFix error with -Werror=maybe-uninitialized 30/149630/2
Dmitriy Evgenevich Gonzha [Tue, 12 Sep 2017 18:12:02 +0000 (21:12 +0300)]
Fix error with -Werror=maybe-uninitialized

Fix compilation error on ASan build:
tbm_surface_internal.c:2077:3: error: 'format' may be used
uninitialized in this function [-Werror=maybe-uninitialized]

Change-Id: Idb72be1135b22e8c8dfc4a156513346680affb3b
Signed-off-by: Dmitriy Evgenevich Gonzha <d.gonzha@samsung.com>
7 years ago__tbm_queue_sequence_enqueue: enqueue only one the surface 58/147758/4
Konstantin Drabeniuk [Tue, 5 Sep 2017 11:57:04 +0000 (14:57 +0300)]
__tbm_queue_sequence_enqueue: enqueue only one the surface

For example you dequeued the surfaces 1, 2.
If you enqueue the surface 2 the enqueue operation will be failed but
the priv_flags will remain 0. Then when you enqueue the surface 1 the
enqueue operation will be successful but you have enqueued the surface 2
too because the priv_flags for the surface 2 is 0. But you got the error
for the enqueue operation of surface 2. And you can try again to enqueue
the surface 2. But you will get the
TBM_SURFACE_QUEUE_ERROR_ALREADY_EXIST
error.
So I think we need enqueue only one the surface if it is first in the
dequeue_list

Change-Id: I055f9c565dd4697d6d3495058d9e3fa986cc1a13
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
7 years agotbm_surface_queue_enqueue/release: changed the check for success 10/147210/2
Konstantin Drabeniuk [Fri, 1 Sep 2017 11:04:09 +0000 (14:04 +0300)]
tbm_surface_queue_enqueue/release: changed the check for success

Now when we enqueue the first surface(dirty queue is empty)
to queue we get the TBM_SURFACE_QUEUE_ERROR_EMPTY error if
the enqueue operation is failed(_tbm_surface_queue_enqueue() or
surface_queue->impl->enqueue() is failed). When we don't acquire the
first surface and enqueue the second surface (dirty queue is not empty)
to queue we don't get the TBM_SURFACE_QUEUE_ERROR_EMPTY error if
the enqueue operation is failed. I think we should check whether there is
a surface(which we try to enqueue) in the dirty_queue.

The same for the release operation.

Change-Id: I7027e7869419a2dc3c912465778ecde89a79aee3
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
7 years agoRemove superfluous empty lines and align comments 64/146564/2
Łukasz Stelmach [Tue, 29 Aug 2017 09:36:29 +0000 (11:36 +0200)]
Remove superfluous empty lines and align comments

Change-Id: I6da352ba186154e9f28d3362b3edb291e3ff0073
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
7 years agopackage version up to 2.1.4 32/145532/1 accepted/tizen_3.0_common accepted/tizen_3.0_ivi accepted/tizen_3.0_mobile accepted/tizen_3.0_wearable tizen_3.0 accepted/tizen/3.0/common/20170825.070033 accepted/tizen/3.0/ivi/20170824.221417 accepted/tizen/3.0/mobile/20170824.221408 accepted/tizen/3.0/wearable/20170824.221422 accepted/tizen/4.0/unified/20170901.203259 accepted/tizen/unified/20170824.050857 submit/tizen/20170823.001442 submit/tizen_3.0/20170823.001510 submit/tizen_4.0/20170830.022557 submit/tizen_4.0/20170901.042111
SooChan Lim [Wed, 23 Aug 2017 00:07:57 +0000 (09:07 +0900)]
package version up to 2.1.4

Change-Id: Ic8be92b12b7501f43cfab3920c9407780c8d5ac8

7 years agobufmgr: call backend export function instead tbm_bo_export
Changyeon Lee [Tue, 22 Aug 2017 02:35:37 +0000 (11:35 +0900)]
bufmgr: call backend export function instead tbm_bo_export

if call tbm_bo_export, it ouccur deadlock

Change-Id: Id30c06ddff50295580d9a3d03aa93ff5830aa3f9

7 years agoadd format strings at the name of png dump. 95/145395/1
SooChan Lim [Tue, 22 Aug 2017 07:41:34 +0000 (16:41 +0900)]
add format strings at the name of png dump.

Change-Id: I843497597270cfce77893eb0dde48de8c3c92f2d

7 years agopackage version up to 2.1.3 99/144799/1 accepted/tizen/4.0/unified/20170829.020611 accepted/tizen/unified/20170822.023725 submit/tizen/20170818.042625 submit/tizen/20170818.043044 submit/tizen_4.0/20170828.100004
SooChan Lim [Fri, 18 Aug 2017 04:01:27 +0000 (13:01 +0900)]
package version up to 2.1.3

Change-Id: I15647a96b6ca55ac0438f39c08b5033756d684eb

7 years agotbm_bufmgr_debug: change signature of tbm_bufmgr_debug_tbm_info_get 44/144744/4
Roman Marchenko [Thu, 17 Aug 2017 16:39:23 +0000 (19:39 +0300)]
tbm_bufmgr_debug: change signature of tbm_bufmgr_debug_tbm_info_get

Change-Id: I575b38c41a1a4a53ecd7c497caba508deceb877e
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
7 years agotbm_surface_internal: dump the surface with XRGB8888 36/144036/1 accepted/tizen/3.0/common/20170816.020359 accepted/tizen/3.0/ivi/20170816.020412 accepted/tizen/3.0/mobile/20170816.020344 accepted/tizen/3.0/wearable/20170816.020403 accepted/tizen/unified/20170816.053834 submit/tizen/20170814.110412 submit/tizen_3.0/20170814.110416
SooChan Lim [Mon, 14 Aug 2017 10:45:24 +0000 (19:45 +0900)]
tbm_surface_internal: dump the surface with XRGB8888

Change-Id: Idfeda3ca90a475edabbb4b7bdb83b5074a15c7cb

7 years agochange the verion at configure.ac 06/141106/1 submit/tizen/20170728.071243 submit/tizen_3.0/20170728.071314
SooChan Lim [Fri, 28 Jul 2017 07:08:16 +0000 (16:08 +0900)]
change the verion at configure.ac

Change-Id: I4ba15689cee11b73810d22894924f4b511b9da37

7 years agopackage version up to 2.1.2 07/140707/1 accepted/tizen_3.0_tv accepted/tizen/3.0/common/20170728.153342 accepted/tizen/3.0/ivi/20170728.004902 accepted/tizen/3.0/mobile/20170728.004848 accepted/tizen/3.0/tv/20170728.004858 accepted/tizen/3.0/wearable/20170728.004853 accepted/tizen/4.0/unified/20170816.011208 accepted/tizen/unified/20170728.003912 submit/tizen/20170726.063720 submit/tizen_3.0/20170726.063754 submit/tizen_4.0/20170811.094300
Changyeon Lee [Wed, 26 Jul 2017 06:20:30 +0000 (15:20 +0900)]
package version up to 2.1.2

Change-Id: Ia367424e70e484e5b351b3470bfef83f650718d7

7 years agosurface_queue: checked queue mode in surface_queue_flush 04/140704/1
Changyeon Lee [Wed, 26 Jul 2017 06:05:36 +0000 (15:05 +0900)]
surface_queue: checked queue mode in surface_queue_flush

Change-Id: I17d0ee54505bbc29c83b836c74490424c38bc99c

7 years agodump: add function to check whether file is link or not 13/139913/3
Sangjin Lee [Fri, 21 Jul 2017 04:45:32 +0000 (13:45 +0900)]
dump: add function to check whether file is link or not

According to security code guide, before open the file for write it
should be check the file is symbolic link.

Change-Id: I8248e58292e17d67f0381e50a56571902f4fb8a2

7 years agosurface_queue: don't reset dequeue list in GUARANTEE_CYCLE mode 61/140661/1
Changyeon Lee [Wed, 26 Jul 2017 02:28:58 +0000 (11:28 +0900)]
surface_queue: don't reset dequeue list in GUARANTEE_CYCLE mode

Change-Id: Icd9ce3afeebd2ffa965a7e2d4a715e595a89c843

7 years agopackage version up to 2.1.1 90/139790/1 accepted/tizen/3.0/common/20170724.045425 accepted/tizen/3.0/ivi/20170724.032055 accepted/tizen/3.0/mobile/20170724.032046 accepted/tizen/3.0/tv/20170724.032051 accepted/tizen/3.0/wearable/20170724.032108 accepted/tizen/unified/20170721.024547 submit/tizen/20170720.094512 submit/tizen_3.0/20170720.094437
SooChan Lim [Thu, 20 Jul 2017 10:24:56 +0000 (19:24 +0900)]
package version up to 2.1.1

Change-Id: I12fb87c487fc0eb46c3d592bdfd1a3feea691743

7 years agotbm_surface_queue: fixed list member name 86/139786/1
Changyeon Lee [Thu, 20 Jul 2017 10:12:54 +0000 (19:12 +0900)]
tbm_surface_queue: fixed list member name

Change-Id: I472f4e6121cac0b966886a639b4411dd40b78f21

7 years agoImporve tbm_bufmgr_debug_tbm_info_get() to show gem name 44/139644/1
YoungJun Cho [Thu, 20 Jul 2017 00:51:58 +0000 (09:51 +0900)]
Imporve tbm_bufmgr_debug_tbm_info_get() to show gem name

This patch improves tbm_bufmgr_debug_tbm_info_get() to show gem name.

Change-Id: Ib7b17c134c6be8516e5815b7c07a76e86b79e94a
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
7 years agoImprove tbm_surface_internal_dump_buffer() to show gem name 06/139506/4
YoungJun Cho [Wed, 19 Jul 2017 07:06:59 +0000 (16:06 +0900)]
Improve tbm_surface_internal_dump_buffer() to show gem name

This patch improves tbm_surface_internal_dump_buffer() to show gem name.

Change-Id: I3f2cbc5b325f2c6c36eeb628e88a8559b8b0cc30
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
7 years agopackage version up to 2.1.0 82/139482/1 accepted/tizen/3.0/common/20170721.115119 accepted/tizen/3.0/ivi/20170721.023849 accepted/tizen/3.0/mobile/20170721.023807 accepted/tizen/3.0/tv/20170721.023818 accepted/tizen/3.0/wearable/20170721.023837 accepted/tizen/unified/20170720.164849 submit/tizen/20170719.053735 submit/tizen_3.0/20170719.053725
SooChan Lim [Wed, 19 Jul 2017 06:02:40 +0000 (15:02 +0900)]
package version up to 2.1.0

Change-Id: I6b5eed1b67fb6f96d527adbb11db78edd731fff8

7 years agofix invariant result 62/139462/6
SooChan Lim [Wed, 19 Jul 2017 05:01:24 +0000 (14:01 +0900)]
fix invariant result

Change-Id: I4b4b929f69cbaa192ebde05c81dacf027543cb66

7 years agoadd LIST_DEINIT of bo_list and surf_list 48/139448/3
SooChan Lim [Wed, 19 Jul 2017 04:20:56 +0000 (13:20 +0900)]
add LIST_DEINIT of bo_list and surf_list

add the deinitailization of the bo_list and surf_list
at the tbm_bufmgr_deinit.

Change-Id: Idb51566614518e734b785322a22a70c0447a46ad

7 years agobufmgr: change useage of strncat 56/139356/4
Sangjin Lee [Tue, 18 Jul 2017 12:07:43 +0000 (21:07 +0900)]
bufmgr: change useage of strncat

When use the strncat(dest, src, n), n should be sizeof(n) - strlen(n) -1.

Change-Id: I126065fdc36af63753d000863597927403bf352c

7 years agotbm_surface_queue: added tbm_surface_queue_mode 44/139444/2
Changyeon Lee [Tue, 18 Jul 2017 08:14:28 +0000 (17:14 +0900)]
tbm_surface_queue: added tbm_surface_queue_mode

if user set queue mode to GUARANTEE_CYCLE, user must do enqueue/acquire/release
or cancel_dequeue for tbm_surface which is dequeued before
tbm_surface_queue is reset

Change-Id: Ia26ae79ca376ad69d9714500bd4dfb48ae61da79

7 years agotbm_surface_queue: pending delete queue_node until released queue 26/139226/2
Changyeon Lee [Wed, 7 Jun 2017 07:54:07 +0000 (16:54 +0900)]
tbm_surface_queue: pending delete queue_node until released queue

Change-Id: Id4f714e9943cba24418f990ea9fefcdad4bb86b0

7 years agosurface_queue: added queue cancel acquire/dequeue 30/136530/4
Changyeon Lee [Thu, 29 Jun 2017 09:33:14 +0000 (18:33 +0900)]
surface_queue: added queue cancel acquire/dequeue

Change-Id: I0857b16141894eaf6f06a3b1584e971ac380a513

7 years agotbm_surface_queue: called need_attach when queue_dequeue 79/134579/5
Changyeon Lee [Mon, 19 Jun 2017 07:28:10 +0000 (16:28 +0900)]
tbm_surface_queue: called need_attach when queue_dequeue

Change-Id: I32540fd30baff0fb4ac0fef4f81a95bb8a906904

7 years agotbm_surface_queue: fixed and subdivided error value 68/138768/4
Changyeon Lee [Thu, 13 Jul 2017 13:12:02 +0000 (22:12 +0900)]
tbm_surface_queue: fixed and subdivided error value

Change-Id: Ia81f97645628adaf651e17437e013b8d3fce5872

7 years agoFix Svace no-unlock major defect 15/139215/1
YoungJun Cho [Tue, 18 Jul 2017 03:44:35 +0000 (12:44 +0900)]
Fix Svace no-unlock major defect

This patch fixes Svace no-unlock major defect.

Change-Id: Iba2fe234c158d733d94eeaed3af0e595391c98b7
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
7 years agopackage version up to 2.0.24 11/136111/1 accepted/tizen/3.0/common/20170707.091524 accepted/tizen/3.0/ivi/20170706.222107 accepted/tizen/3.0/mobile/20170706.221955 accepted/tizen/3.0/tv/20170706.222022 accepted/tizen/3.0/wearable/20170706.222046 accepted/tizen/unified/20170703.064022 submit/tizen/20170628.060900 submit/tizen_3.0/20170705.085031
SooChan Lim [Wed, 28 Jun 2017 06:06:14 +0000 (15:06 +0900)]
package version up to 2.0.24

Change-Id: I9ab043b0fbe58a9410458c300981cc040caa3338

7 years agoremove unused valiable 99/135399/1
Changyeon Lee [Thu, 22 Jun 2017 07:05:53 +0000 (16:05 +0900)]
remove unused valiable

Change-Id: I8bf21078d5577d7fbea4745295381294277c1d77

7 years agotbm_bufmgr: wrap tbm_bufmgr_deinit to bufmgr mutex 27/134827/2
Changyeon Lee [Tue, 20 Jun 2017 05:50:52 +0000 (14:50 +0900)]
tbm_bufmgr: wrap tbm_bufmgr_deinit to bufmgr mutex

Change-Id: Ibc06e861d75978221c745d8cf393b511115d7603

7 years agoadd scale factor to tbm_bufmgr_debug_dump_all() and tbm_bufmgr_debug_queue_dump(... 58/134258/9
Roman Marchenko [Thu, 15 Jun 2017 12:28:57 +0000 (15:28 +0300)]
add scale factor to tbm_bufmgr_debug_dump_all() and tbm_bufmgr_debug_queue_dump() func.

Change-Id: I45803fdc89a1aa050be1365d41501325c263f81d
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
7 years agoAdded tc line coverage exception tag 21/134221/2
Changyeon Lee [Thu, 15 Jun 2017 08:56:27 +0000 (17:56 +0900)]
Added tc line coverage exception tag

Change-Id: I584b8f3591bf9fe4c9b9f9713adfee70c6b47248

7 years agopackage version up to 2.0.23 55/133955/1 accepted/tizen/3.0/common/20170616.064411 accepted/tizen/3.0/ivi/20170614.223756 accepted/tizen/3.0/ivi/20170615.081013 accepted/tizen/3.0/mobile/20170614.223740 accepted/tizen/3.0/mobile/20170615.080956 accepted/tizen/3.0/tv/20170614.223746 accepted/tizen/3.0/tv/20170615.081003 accepted/tizen/3.0/wearable/20170614.223751 accepted/tizen/3.0/wearable/20170615.081008 submit/tizen/20170614.063309 submit/tizen_3.0/20170614.064107 submit/tizen_3.0/20170615.012522
SooChan Lim [Wed, 14 Jun 2017 05:48:30 +0000 (14:48 +0900)]
package version up to 2.0.23

Change-Id: I2e9b6221565a4010483a20a1ab474ad9708ed89b

7 years agoadd tbm_surface_internal_dump_with_scale_start() func. 22/133522/5
Konstantin Drabeniuk [Mon, 12 Jun 2017 11:00:41 +0000 (14:00 +0300)]
add tbm_surface_internal_dump_with_scale_start() func.

Change-Id: Id93ef300366a606c6111d04b9014488c4612a0a9
Signed-off-by: Konstantin Drabeniuk <k.drabeniuk@samsung.com>
7 years agotbm_surface: used TBM_TRACE log in capture_buffer 37/133737/1
Changyeon Lee [Tue, 13 Jun 2017 08:12:02 +0000 (17:12 +0900)]
tbm_surface: used TBM_TRACE log in capture_buffer

Change-Id: Ibad153d4dfb89a1c19fac1556a8e9995383fe88b

7 years agopackage version up to 2.0.22 12/133112/1 accepted/tizen/unified/20170609.204043 submit/tizen/20170609.042242
SooChan Lim [Fri, 9 Jun 2017 03:52:39 +0000 (12:52 +0900)]
package version up to 2.0.22

Change-Id: Ie77fd5174a669b7139bc9e3fecacb7a9b024fa61

7 years agotbm_surface_queue: add tbm_surface_queue_free_flush 38/132538/3
Sangjin Lee [Tue, 6 Jun 2017 22:49:17 +0000 (07:49 +0900)]
tbm_surface_queue: add tbm_surface_queue_free_flush

Add function to flush just free buffer.
and fix simple bug in queue_list.
This function use in tizen_surface_shm_flusher::free_flush protocol.

Change-Id: Id1f4f305217901beb0271e439deb981c215ef018

7 years agocorrect surface information 98/131898/3 accepted/tizen/unified/20170608.072258 submit/tizen/20170607.062251
Boram Park [Wed, 31 May 2017 06:23:49 +0000 (15:23 +0900)]
correct surface information

Change-Id: I603c2211be4f14e20e7838ed9e2accde253d6dd4

7 years agotbm_drm_helper: fix Svace TAINTED_INT defect 32/132432/1
YoungJun Cho [Mon, 5 Jun 2017 06:42:00 +0000 (15:42 +0900)]
tbm_drm_helper: fix Svace TAINTED_INT defect

This patch fixes Svace TAINTED_INT defect.

Change-Id: I88e06bbdb020ee2cae621decb1560d6cb1e4d95a
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
7 years agotbm_drm_helper: fix Svace UNCHECKED_FUNC_RES defect 00/132400/2
YoungJun Cho [Mon, 5 Jun 2017 01:40:42 +0000 (10:40 +0900)]
tbm_drm_helper: fix Svace UNCHECKED_FUNC_RES defect

This patch fixies Svace UNCHECKED_FUNC_RES defect.

Change-Id: Ie0e3b8a15ed8d0669a108b9c4fb156a8c233d2d1
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
7 years agopackage version up to 2.0.21 42/132142/1 accepted/tizen/3.0/common/20170605.124033 accepted/tizen/3.0/ivi/20170605.015046 accepted/tizen/3.0/mobile/20170605.015034 accepted/tizen/3.0/tv/20170605.015038 accepted/tizen/3.0/wearable/20170605.015042 accepted/tizen/unified/20170605.150601 submit/tizen/20170531.095544 submit/tizen_3.0/20170602.003734
SooChan Lim [Thu, 1 Jun 2017 08:01:09 +0000 (17:01 +0900)]
package version up to 2.0.21

Change-Id: Icb789457fc3d95b343f69b2e8cb22c08c6d4345d

7 years agotbm_bufmgr: correct import_fd trace log submit/tizen_3.0/20170531.232406
Changyeon Lee [Mon, 22 May 2017 09:28:30 +0000 (18:28 +0900)]
tbm_bufmgr: correct import_fd trace log

Change-Id: I93cc58dd42c9956c512cf2f849762c2444c39e99

7 years agotbm_surface_queue: use DELINIT macro when pop node of queue
Changyeon Lee [Thu, 18 May 2017 10:43:39 +0000 (19:43 +0900)]
tbm_surface_queue: use DELINIT macro when pop node of queue

Change-Id: I27eeed2a7ee6661cba65ddba8d658e32e2c55fa5

7 years agoignore chown & chmod errors 76/131576/1
Boram Park [Tue, 30 May 2017 05:31:43 +0000 (14:31 +0900)]
ignore chown & chmod errors

Change-Id: I7eca721fdd7129973cb9d13e914b89ed43f0f531

7 years agofix tbm_surface_internal_set_debug_data()
YoungJun Cho [Fri, 26 May 2017 03:15:36 +0000 (12:15 +0900)]
fix tbm_surface_internal_set_debug_data()

This patch fixes tbm_surface_internal_set_debug_data() not to add again
after updating value.

Change-Id: Iba8527bfe9863ba08c86110b64578739840e4ea3
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
7 years agoadd tbm_bufmgr_debug_tbm_info_get
Roman Marchenko [Fri, 28 Apr 2017 09:48:01 +0000 (12:48 +0300)]
add tbm_bufmgr_debug_tbm_info_get

Change-Id: I57d3c6682705b620c3879cdbb95b42e17ffc5f48
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
7 years agopackage version up to 2.0.20 92/131292/1 accepted/tizen/3.0/common/20170530.103802 accepted/tizen/3.0/ivi/20170529.225824 accepted/tizen/3.0/mobile/20170529.225812 accepted/tizen/3.0/tv/20170529.225816 accepted/tizen/3.0/wearable/20170529.225820 submit/tizen_3.0/20170526.071727
Boram Park [Fri, 26 May 2017 07:16:53 +0000 (16:16 +0900)]
package version up to 2.0.20

Change-Id: I429fab6cc3c20331d589915d312d2da9b30f3fb2

7 years agoserver: skip chown if not a super user 54/131254/1
Boram Park [Fri, 26 May 2017 04:56:56 +0000 (13:56 +0900)]
server: skip chown if not a super user

If tdm_display_init is called by non super user, we don't need to
change the owner and group of a tdm socket file. And also changing
the owner of the tdm socket file which is created by non super user
is not allowed. So we just skip chown in this case.

Change-Id: I63aa086eabb8d55d33252711e59028d7d6e6a94b

7 years agopackage version up to 2.0.19 accepted/tizen/3.0/common/20170523.125959 accepted/tizen/3.0/ivi/20170523.020706 accepted/tizen/3.0/mobile/20170523.020629 accepted/tizen/3.0/tv/20170523.020658 accepted/tizen/3.0/wearable/20170523.020701 submit/tizen_3.0/20170522.152331
Boram Park [Mon, 22 May 2017 15:24:08 +0000 (00:24 +0900)]
package version up to 2.0.19

Change-Id: I29ff823d96a130c63313c97dc4d8042449df6ade

7 years agotbm_drm_helper: set permission and group to tbm-drm-auth socket when it is added 16/130516/2
Changyeon Lee [Mon, 22 May 2017 14:14:41 +0000 (23:14 +0900)]
tbm_drm_helper: set permission and group to tbm-drm-auth socket when it is added

Change-Id: I2baf207a54347e8175a829fc6b063e9ffa783114

7 years agopakcage version up to 2.0.18 02/128702/1 accepted/tizen/3.0/common/20170518.163335 accepted/tizen/3.0/common/20170518.163533 accepted/tizen/3.0/ivi/20170518.011042 accepted/tizen/3.0/ivi/20170518.011225 accepted/tizen/3.0/mobile/20170518.011007 accepted/tizen/3.0/mobile/20170518.011135 accepted/tizen/3.0/tv/20170518.011024 accepted/tizen/3.0/tv/20170518.011204 accepted/tizen/3.0/wearable/20170518.011033 accepted/tizen/3.0/wearable/20170518.011215 accepted/tizen/unified/20170517.125611 submit/tizen/20170517.050332 submit/tizen_3.0/20170511.054519 submit/tizen_3.0/20170516.043226 submit/tizen_3.0/20170517.031232 submit/tizen_3.0/20170518.082921 tizen_4.0.m1_release
Changyeon Lee [Thu, 11 May 2017 05:47:46 +0000 (14:47 +0900)]
pakcage version up to 2.0.18

Change-Id: Ic0bae51f13b4cc9a781b4682d6babcdf695b3563

7 years agotbm_surface_queue: added tbm_surface_queue_get_trace_surface_num 63/125663/6
Changyeon Lee [Tue, 18 Apr 2017 08:46:58 +0000 (17:46 +0900)]
tbm_surface_queue: added tbm_surface_queue_get_trace_surface_num

Change-Id: I281665a55f671b9e96d95b60d5977f0f0f10b2ee

7 years agopakcage version up to 2.0.17 accepted/tizen/3.0/common/20170508.153043 accepted/tizen/3.0/ivi/20170508.050236 accepted/tizen/3.0/mobile/20170508.050203 accepted/tizen/3.0/tv/20170508.050214 accepted/tizen/3.0/wearable/20170508.050226 accepted/tizen/unified/20170429.023633 submit/tizen/20170428.002735 submit/tizen_3.0-common/20170508.080135 submit/tizen_3.0-common/20170508.081301 submit/tizen_3.0-common/20170508.091535 submit/tizen_3.0/20170428.002945 submit/tizen_3.0_common/20170508.091735
SooChan Lim [Fri, 28 Apr 2017 00:28:22 +0000 (09:28 +0900)]
pakcage version up to 2.0.17

Change-Id: If55b9f5bcc6f8e2989f890ce55e866aeb0cd8442

7 years agochange sscanf to strtol for getting fd 53/125453/1
Junkyeong Kim [Mon, 17 Apr 2017 08:42:07 +0000 (17:42 +0900)]
change sscanf to strtol for getting fd

Change-Id: I4e801b928c4960e66f868e374fc11ab93a55fbe8
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
7 years agouse %license macro to copy the COPYING file. 19/120219/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/3.0/common/20170329.150952 accepted/tizen/3.0/ivi/20170329.021500 accepted/tizen/3.0/mobile/20170329.020902 accepted/tizen/3.0/tv/20170329.021104 accepted/tizen/3.0/wearable/20170329.021251 accepted/tizen/common/20170331.152621 accepted/tizen/ivi/20170329.034217 accepted/tizen/mobile/20170329.034057 accepted/tizen/tv/20170329.034127 accepted/tizen/unified/20170329.034241 accepted/tizen/wearable/20170329.034157 submit/tizen/20170328.072410 submit/tizen_3.0/20170328.074051
SooChan Lim [Wed, 22 Mar 2017 06:34:16 +0000 (15:34 +0900)]
use %license macro to copy the COPYING file.

Change-Id: I64c2932a780a8ad1b401ce5700bbb18862502a82

7 years agouse TBM_LOG_E at error case in tbm_surface_queue.c 75/118775/1
SooChan Lim [Tue, 14 Mar 2017 04:42:50 +0000 (13:42 +0900)]
use TBM_LOG_E at error case in tbm_surface_queue.c

Change-Id: I00bf44b1719b3049f3550ef574f6c23178cd4ad8

7 years ago use TBM_LOG_E at error case in tbm_surface_internal.c 74/118774/1
SooChan Lim [Tue, 14 Mar 2017 04:21:10 +0000 (13:21 +0900)]
 use TBM_LOG_E at error case in tbm_surface_internal.c

Change-Id: I8a99759e345e9544018ed9dcc9c1eea1440bf653

7 years agouse TBM_LOG_E at error case in tbm_bufmgr_backend.c 73/118773/1
SooChan Lim [Tue, 14 Mar 2017 04:06:22 +0000 (13:06 +0900)]
use TBM_LOG_E at error case in tbm_bufmgr_backend.c

Change-Id: I6c3ce49a6c9cbaa7a84057815257fdaa8a58cc23

7 years agouse TBM_LOG_E at error case at tbm_bufmgr.c 72/118772/1
SooChan Lim [Tue, 14 Mar 2017 04:02:35 +0000 (13:02 +0900)]
use TBM_LOG_E at error case at tbm_bufmgr.c

Print error log at the error case.

Change-Id: I6e5c2841d76c211bd80d1dca38fa63433a7147c1

7 years agopakcage version up to 2.0.16 accepted/tizen/3.0/common/20170307.113108 accepted/tizen/3.0/ivi/20170306.221327 accepted/tizen/3.0/mobile/20170306.221008 accepted/tizen/3.0/tv/20170306.221101 accepted/tizen/3.0/wearable/20170306.221134 accepted/tizen/common/20170306.165000 accepted/tizen/ivi/20170306.222500 accepted/tizen/mobile/20170306.222328 accepted/tizen/tv/20170306.222404 accepted/tizen/unified/20170309.034812 accepted/tizen/wearable/20170306.222433 submit/tizen/20170306.043923 submit/tizen_3.0/20170306.045223 submit/tizen_unified/20170308.100410
SooChan Lim [Mon, 6 Mar 2017 06:44:17 +0000 (15:44 +0900)]
pakcage version up to 2.0.16

Change-Id: If54162820bf19daa3a489d4cbe9d0df53670171d

7 years agotbm_surface_queue: added queue trace cb function 54/117354/1
Changyeon Lee [Sun, 5 Mar 2017 11:11:12 +0000 (20:11 +0900)]
tbm_surface_queue: added queue trace cb function

Change-Id: I4992ad8d77081903cc12652e1422bd6742366bb8