platform/core/uifw/libtbm.git
6 years agopackage version up to 2.7.4 accepted/tizen/unified/20180327.055734 submit/tizen/20180326.044100
SooChan Lim [Mon, 26 Mar 2018 04:05:18 +0000 (13:05 +0900)]
package version up to 2.7.4

Change-Id: I9c994a6d4e06b0a6bcdeb307afaf3418cedad997

6 years agobufmgr: lock/unlock gLock 93/173793/1
SooChan Lim [Mon, 26 Mar 2018 04:04:23 +0000 (13:04 +0900)]
bufmgr: lock/unlock gLock

Change-Id: Iac73a706adb5bf5410fd42b974699691153b36d5

6 years agofix the crash 93/173693/1
SooChan Lim [Fri, 23 Mar 2018 06:47:04 +0000 (15:47 +0900)]
fix the crash

Change-Id: I62510f67938cf84d81b1f87fd55ca1d91ed2ded8

6 years agopackage version up to 2.7.3 27/173627/1 accepted/tizen/unified/20180323.062212 submit/tizen/20180323.010140
SooChan Lim [Thu, 22 Mar 2018 23:39:16 +0000 (08:39 +0900)]
package version up to 2.7.3

Change-Id: Idbc20b5361f70103ece093dbef7bf4967b7ff5e5

6 years agomove dlog.h to the tbm_log.c 86/173486/3
SooChan Lim [Thu, 22 Mar 2018 02:23:23 +0000 (11:23 +0900)]
move dlog.h to the tbm_log.c

Change-Id: Idb2c6f4ccf615ee9656d1b31dc3758024a92ea87

6 years agoutest: change the size check 35/173435/2
SooChan Lim [Wed, 21 Mar 2018 08:55:26 +0000 (17:55 +0900)]
utest: change the size check

Change-Id: If934d1c9476941c04c410536e2370568737e2463

6 years agoutest: imported bo could be different with the same key and fd 34/173434/2
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

6 years agoutest: do not check virtual address. 33/173433/2
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

6 years agoutest: do not check the TBM_DEVICE_MM 16/173416/2
SooChan Lim [Wed, 21 Mar 2018 08:42:23 +0000 (17:42 +0900)]
utest: do not check the TBM_DEVICE_MM

Change-Id: I4ae6893bb9e1f168a5046afa375bb7cac103c7dd

6 years agoutest: do not check the diff between alloc_size and ret_size 15/173415/2
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

6 years agopackage version up to 2.7.2 93/173193/1 accepted/tizen/unified/20180320.141319 submit/tizen/20180320.042342
SooChan Lim [Tue, 20 Mar 2018 03:56:25 +0000 (12:56 +0900)]
package version up to 2.7.2

Change-Id: I11f048b500d831ec5187fa7fd058ecf2a4e87c11

6 years agoutest: do not check the validation of some backend symbols 92/173192/1
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

6 years agolog: move the condition check to tbm_log.h 91/173091/1
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

6 years agobackend: extern c for cpp build. 44/172844/1
SooChan Lim [Fri, 16 Mar 2018 08:10:25 +0000 (17:10 +0900)]
backend: extern c for cpp build.

Change-Id: I04fb8fb893f9ef97b6ad17e09b6e94976d63eb67

6 years agobufmgr: check the error type. 43/172843/1
SooChan Lim [Fri, 16 Mar 2018 08:10:09 +0000 (17:10 +0900)]
bufmgr: check the error type.

Change-Id: I4304e7b9222e952e640633dab9851bed8ac39bec

6 years agopackage version up to 2.7.1 21/172821/1 accepted/tizen/unified/20180320.065857 submit/tizen/20180316.064953
SooChan Lim [Fri, 16 Mar 2018 06:44:19 +0000 (15:44 +0900)]
package version up to 2.7.1

Change-Id: I4ed30b4cab4db43dc893a72c6ae173be80c6607f

6 years agobackend: replace tbm_bufmgr.h to tbm_type_common.h 02/172802/1
SooChan Lim [Fri, 16 Mar 2018 02:37:58 +0000 (11:37 +0900)]
backend: replace tbm_bufmgr.h to tbm_type_common.h

Change-Id: I1334bf3a502d962574dd0e212886a1a0a18b8e08

6 years agorename tbm_type_into to tbm_type_common 19/172619/1
SooChan Lim [Thu, 15 Mar 2018 01:36:16 +0000 (10:36 +0900)]
rename tbm_type_into to tbm_type_common

Change-Id: I8293dd35bbec9b36774564f0271d5c7a26201932

6 years agoutest: add error exception 14/172614/1
SooChan Lim [Thu, 15 Mar 2018 00:52:19 +0000 (09:52 +0900)]
utest: add error exception

Change-Id: I76fd108c7c73dbdd55884f386de5ad9e1d684d44

6 years agopackage version up to 2.7.0 53/172553/1 accepted/tizen/unified/20180316.062629 submit/tizen/20180314.105229
SooChan Lim [Wed, 14 Mar 2018 10:42:33 +0000 (19:42 +0900)]
package version up to 2.7.0

Change-Id: I167c5f7774b9e295f217a621a6bc2c4833e079fa

6 years agoutest: change the conditon of the tbm_key 44/172544/1
SooChan Lim [Wed, 14 Mar 2018 10:20:18 +0000 (19:20 +0900)]
utest: change the conditon of the tbm_key

Change-Id: Ic8626935bffea12d99ca74efbfa096fcc22d2d28

6 years agobufmgr: make thread safe 41/172541/1
SooChan Lim [Wed, 14 Mar 2018 10:12:07 +0000 (19:12 +0900)]
bufmgr: make thread safe

Change-Id: Ic5db85b52898aeeac80f3ec20dca413bff29d31b

6 years agoutest: change the ASSERT to the EXPECT 36/172536/1
SooChan Lim [Wed, 14 Mar 2018 09:45:09 +0000 (18:45 +0900)]
utest: change the ASSERT to the EXPECT

Change-Id: I2425f1a587091a79e13821a786cdedd17aeb151d

6 years agoutest: symbol check for tbm_backend_module_data 35/172535/1
SooChan Lim [Wed, 14 Mar 2018 09:44:18 +0000 (18:44 +0900)]
utest: symbol check for tbm_backend_module_data

Change-Id: Id0139dc03161976a977ca8b2e1d0fd072883b9da

6 years agotype: move TBM_FORMAT from tbm_surface.h to tbm_type.h 34/172534/1
SooChan Lim [Wed, 14 Mar 2018 09:40:49 +0000 (18:40 +0900)]
type: move TBM_FORMAT from tbm_surface.h to tbm_type.h

Change-Id: Ia5a0538c629336040e59c7535e5b4f1ddf214ceb

6 years agosurface_internal: calls the new backend_funcs 72/172372/7
SooChan Lim [Tue, 13 Mar 2018 10:58:27 +0000 (19:58 +0900)]
surface_internal: calls the new backend_funcs

Change-Id: Ic5500224146f4e604b07d1e15e21bef6a1f27070

6 years agobo: calls the new backend_funcs 71/172371/6
SooChan Lim [Tue, 13 Mar 2018 10:56:59 +0000 (19:56 +0900)]
bo: calls the new backend_funcs

Change-Id: I1023dd5870cdcf14e4022e94d379cdf59f9151be

6 years agobufmgr: calls the new backend_funcs 70/172370/5
SooChan Lim [Tue, 13 Mar 2018 10:54:05 +0000 (19:54 +0900)]
bufmgr: calls the new backend_funcs

Change-Id: I1207e83735e4e5cc78070e1b6186991fa2f21cbf

6 years agobackend: load the tbm_backend_module_data and init/deinit. 69/172369/7
SooChan Lim [Tue, 13 Mar 2018 10:26:44 +0000 (19:26 +0900)]
backend: load the tbm_backend_module_data and init/deinit.

load the new backend module data and initialize/deinitialize
the backend module.

The tbm_bufmgr_init load the new backend module at first.
If the backend module does not implement with the new tbm_backend.h,
libtbm finds and load the old init symbol from the backend module.

Change-Id: I85e91615cee3ff9615d4680077037aa5d82d1455

6 years agomake the tbm_backend file 68/172368/6
SooChan Lim [Tue, 13 Mar 2018 10:22:32 +0000 (19:22 +0900)]
make the tbm_backend file

This is new backend interface to implement the backend module.
After 3.0 version of libtbm, the vendors have to implement
their tbm backend modules with the new backend header file which
is tbm_backend.h file.

The old backend header file which is tbm_bufmgr_backend.h file
is deprecated and will be removed soon.

Change-Id: I54b3694363fafa2147188de8a1bec701405ff1c4

6 years agotype: add typedef for the memory type and the capabilities 67/172367/2
SooChan Lim [Tue, 13 Mar 2018 06:29:08 +0000 (15:29 +0900)]
type: add typedef for the memory type and the capabilities

Change-Id: Ia7c9562d434571d58f72986da7ab525009625d69

6 years agotype: make the definitions into enum values. 66/172366/2
SooChan Lim [Tue, 13 Mar 2018 06:28:08 +0000 (15:28 +0900)]
type: make the definitions into enum values.

for device and option

Change-Id: Ie884c2cb9eb4d2c3a730eba55f68d32eebaba783

6 years agotype: add error types. 65/172365/2
SooChan Lim [Tue, 13 Mar 2018 06:25:38 +0000 (15:25 +0900)]
type: add error types.

add two types which are TBM_ERROR_OUT_OF_MEMORY, TBM_ERROR_INVALID_PARAMETER

Change-Id: I962eb1f1b1efbd03e6f2030bd2535f0d98ba348d

6 years agomove the position of the codes 64/172364/1
SooChan Lim [Tue, 13 Mar 2018 06:24:26 +0000 (15:24 +0900)]
move the position of the codes

Change-Id: I4fbb55e67ca33bf26efc54f60d9a15761243471a

6 years agotype: add tbm_native_display type. 63/172363/1
SooChan Lim [Tue, 13 Mar 2018 06:15:11 +0000 (15:15 +0900)]
type: add tbm_native_display type.

Change-Id: I4d589ad7b3752a54ccbf6d560e01e5d12994a363

6 years agoutest: change the return type. 62/172362/1
SooChan Lim [Tue, 13 Mar 2018 10:01:31 +0000 (19:01 +0900)]
utest: change the return type.

Change-Id: I1823602d8b15d53c6731fce5f6ca2d842a30ca62

6 years agopackage version up to 2.6.0 22/171922/1 submit/tizen/20180308.090010
SooChan Lim [Thu, 8 Mar 2018 06:36:30 +0000 (15:36 +0900)]
package version up to 2.6.0

Change-Id: Ib04f67fff8789ad08d2335681b4652cabca78b01

6 years agobufmgr : add tbm_bufmgr_debug_set_trace_mask 21/171921/1
SooChan Lim [Thu, 8 Mar 2018 05:41:33 +0000 (14:41 +0900)]
bufmgr : add tbm_bufmgr_debug_set_trace_mask

this is to set the mask for trace log

Change-Id: I7b9b9890b1ef256990389b69992499efd74162df

6 years agochange the log macro at all files 91/171891/3
SooChan Lim [Thu, 8 Mar 2018 03:49:11 +0000 (12:49 +0900)]
change the log macro at all files

add tbm_log.c and libtbm_log.h files
change the log macros and use them.

Change-Id: Ib432447a1daa5f2d5b0c2c242e4eaec6a4082031

6 years agopackage version up to 2.5.0 32/171732/1 accepted/tizen/unified/20180308.070139 submit/tizen/20180307.041358 submit/tizen/20180307.094714
SooChan Lim [Wed, 7 Mar 2018 04:12:03 +0000 (13:12 +0900)]
package version up to 2.5.0

Change-Id: If8fd58506b0bf78bf987ad3acd4267231b9b6ef0

6 years agobackend: change the symbol position at struct _tbm_bufmgr_backend 80/171680/1
SooChan Lim [Tue, 6 Mar 2018 10:28:29 +0000 (19:28 +0900)]
backend: change the symbol position at struct _tbm_bufmgr_backend

Change-Id: I22b06df5c25370eff7861f2fd936a8182620af8d

6 years agoutest: add tbm_backend utest 60/171660/1
SooChan Lim [Mon, 5 Mar 2018 11:42:02 +0000 (20:42 +0900)]
utest: add tbm_backend utest

Change-Id: I311353eecd1e41c2b218cc470a4006c17da3721f

6 years agoutest: redesign the utest 27/171427/7
SooChan Lim [Mon, 5 Mar 2018 03:51:35 +0000 (12:51 +0900)]
utest: redesign the utest

Change-Id: Iaa0d5308b1992c3ef496d3364d21316b5c70d61c

6 years agosurface_internal: deinit when it is bufmgr_init at first time. 26/171426/1
SooChan Lim [Mon, 5 Mar 2018 03:48:58 +0000 (12:48 +0900)]
surface_internal: deinit when it is bufmgr_init at first time.

Change-Id: I15a00357b8590ec8101cf0e4defd8c4cc02e6268

6 years agobo: validate the bo through the gBufMgr, not bo->bufmgr 84/171284/1
SooChan Lim [Wed, 28 Feb 2018 07:34:33 +0000 (16:34 +0900)]
bo: validate the bo through the gBufMgr, not bo->bufmgr

Change-Id: I6e92775ef19e58594b5792c5bfe24d4b4ab72856

6 years agobufmgr: add tbm_bufmgr_get() 83/171283/1
SooChan Lim [Wed, 28 Feb 2018 07:33:58 +0000 (16:33 +0900)]
bufmgr: add tbm_bufmgr_get()

this is internal function.

Change-Id: I058c9fa1a648da67291d6e9ef04bad5d5e9f3cc4

6 years agopackage version up to 2.4.1 65/171165/1 accepted/tizen/unified/20180227.151554 submit/tizen/20180227.034909
SooChan Lim [Tue, 27 Feb 2018 06:46:42 +0000 (15:46 +0900)]
package version up to 2.4.1

Change-Id: I421c490961716466583cb27852fbd376d7385372

6 years agobufmgr: add tbm_bo.h to tbm_bufmgr.h 64/171164/1
SooChan Lim [Tue, 27 Feb 2018 06:46:02 +0000 (15:46 +0900)]
bufmgr: add tbm_bo.h to tbm_bufmgr.h

Change-Id: I30634dcb87ebc193f98e098e6c6aacbc7cb86c7f

6 years agopackage version up to 2.4.0 45/171145/1
SooChan Lim [Tue, 27 Feb 2018 02:41:17 +0000 (11:41 +0900)]
package version up to 2.4.0

Change-Id: Idaacf7bc2a073dcea569a7931998922d3e3f7394

6 years agomake the tbm_bo file and the tbm_type_int file. 44/171144/2
SooChan Lim [Tue, 27 Feb 2018 02:27:54 +0000 (11:27 +0900)]
make the tbm_bo file and the tbm_type_int file.

move the tbm_bo symbols to the tbm_bo.h

Change-Id: I99be0df277c0bb35888dcdc367190a0cb0e3a2ce

6 years agoindendation 43/171143/1
SooChan Lim [Tue, 27 Feb 2018 02:08:14 +0000 (11:08 +0900)]
indendation

Change-Id: I376b02c8c48a9df58d4135c538fbdacf859c96c7

6 years agobufmgr: check gBufmgr with bufmgr in TBM_BUFMGR_IS_VALID macro 42/171142/1
SooChan Lim [Tue, 27 Feb 2018 02:05:05 +0000 (11:05 +0900)]
bufmgr: check gBufmgr with bufmgr in TBM_BUFMGR_IS_VALID macro

Change-Id: I7be9af40c2b2e499e56ce232f42d00d31e31364f

6 years agosurface_queue: re-oder the symbols in header file. 35/171035/1
SooChan Lim [Mon, 26 Feb 2018 05:44:07 +0000 (14:44 +0900)]
surface_queue: re-oder the symbols in header file.

Change-Id: Idd0a95723b2d66e413f6e68d4edd1ffba1c6e2df

6 years agoapply gcov 23/170823/4
SooChan Lim [Thu, 22 Feb 2018 10:45:25 +0000 (19:45 +0900)]
apply gcov

Change-Id: I42afb291c67ea952503ef1559bfb7d8de41381d7

6 years agopackage version up to 2.3.0 77/170777/3 accepted/tizen/unified/20180223.062054 submit/tizen/20180222.081525
SooChan Lim [Thu, 22 Feb 2018 05:16:26 +0000 (14:16 +0900)]
package version up to 2.3.0

Change-Id: Ide3dbc91a95f0fafca19e82686be353b8b23cf29

6 years agobufmgr: add tbm_bufmgr_set_bo_lock_type api 76/170776/4
SooChan Lim [Thu, 22 Feb 2018 05:14:43 +0000 (14:14 +0900)]
bufmgr: add tbm_bufmgr_set_bo_lock_type api

this api is used intead of setting the BUFMGR_LOCK_TYPE env variables.

Change-Id: I20f0b33663293d7c810027877f993eb2edcf7ecd

6 years agobufmgr: make tbm_bufmgr_bo_lock_type 75/170775/3
SooChan Lim [Thu, 22 Feb 2018 05:04:54 +0000 (14:04 +0900)]
bufmgr: make tbm_bufmgr_bo_lock_type

make the tbm_bufmgr_bo_lock_type and put it on tbm_bufmgr.h

Change-Id: Ic06c41ae59c7852e252c64ac4479fbf02273ea4b

6 years agobufmgr: add tbm_bufmgr_server_init api 74/170774/4
SooChan Lim [Wed, 21 Feb 2018 10:56:02 +0000 (19:56 +0900)]
bufmgr: add tbm_bufmgr_server_init api

The tbm_bufmgr_server_init is called by the display server.
This api will be used instead of setting the TBM_DISPLAY_SERVER env variable.

Change-Id: I94e3b338dc08b2f7b8482b623738b5728f24b426

6 years agobufmgr: make the _tbm_bufmgr_init 73/170773/3
SooChan Lim [Wed, 21 Feb 2018 10:53:43 +0000 (19:53 +0900)]
bufmgr: make the _tbm_bufmgr_init

make the static function for _tbm_bufmgr_init

Change-Id: Ifb187b84587e294404aa8a4cea7913be781f13ea

6 years agochange the argument name. 72/170772/3
SooChan Lim [Wed, 21 Feb 2018 08:34:14 +0000 (17:34 +0900)]
change the argument name.

NativeDisplay -> native_display.

Change-Id: Ifa492004e544cedf2fd6286c9e26a40bc3d1db74

6 years agobufmgr: add the comment at tbm_bufmgr_bind_native_display 71/170771/5
SooChan Lim [Wed, 21 Feb 2018 08:33:12 +0000 (17:33 +0900)]
bufmgr: add the comment at tbm_bufmgr_bind_native_display

Change-Id: I036633dee0808c9d4a3a93e6f0f4e62872b2ff7c

6 years agoutest: remove UtInit testcase 02/170602/1
SooChan Lim [Tue, 20 Feb 2018 11:31:53 +0000 (20:31 +0900)]
utest: remove UtInit testcase

Change-Id: I3d17d15ae4f1990bbb6357ccc973fdf8c25061e1

6 years agoutest: change some UtInit testcases into SurfaceTest testcases 01/170601/1
SooChan Lim [Tue, 20 Feb 2018 11:31:04 +0000 (20:31 +0900)]
utest: change some UtInit testcases into SurfaceTest testcases

Change-Id: I52ef9827fee1410795a40a128dfcaa8e549787e3

6 years agoutest: add SurfaceInternalQueryFormatsTest testcase 00/170600/1
SooChan Lim [Tue, 20 Feb 2018 11:30:45 +0000 (20:30 +0900)]
utest: add SurfaceInternalQueryFormatsTest testcase

Change-Id: Ide3d3a40f855ad252c6b91bb84a485535a3cb968

6 years agoutest: add SurfaceQueryFormatsTest testcase 99/170599/1
SooChan Lim [Tue, 20 Feb 2018 11:19:37 +0000 (20:19 +0900)]
utest: add SurfaceQueryFormatsTest testcase

Change-Id: I193b7a89f37a0897268ffe43220d3b37c7e84015

6 years agoutest: change the some UtInit testcase to the SurfaceInternalTest 98/170598/1
SooChan Lim [Tue, 20 Feb 2018 11:09:13 +0000 (20:09 +0900)]
utest: change the some UtInit testcase to the SurfaceInternalTest

Change-Id: Id0f24df179318c845799f0f89e18d876c4d49647

6 years agoutest: add BufmgrBoLockType testcase 97/170597/1
SooChan Lim [Tue, 20 Feb 2018 10:42:22 +0000 (19:42 +0900)]
utest: add BufmgrBoLockType testcase

Change-Id: I2e799a461c42ca423398dcd47b917e17eb796ec5

6 years agoutest: rename UtSurfaceInternal to SurfaceInternalTest 96/170596/1
SooChan Lim [Tue, 20 Feb 2018 08:46:16 +0000 (17:46 +0900)]
utest: rename UtSurfaceInternal to SurfaceInternalTest

Change-Id: I5b6fb81014d986c354eee0499cac01674c273363

6 years agoutest: rename UtSurfaceQueueCreate to SurfaceQueueCreateTest 95/170595/1
SooChan Lim [Tue, 20 Feb 2018 08:45:22 +0000 (17:45 +0900)]
utest: rename UtSurfaceQueueCreate to SurfaceQueueCreateTest

Change-Id: Ib43de4b3c88aff7d2557e7406d9e70e2ff69c80c

6 years agoutest: rename UtSurfaceQueue to SurfaceQueueTest 94/170594/1
SooChan Lim [Tue, 20 Feb 2018 08:36:03 +0000 (17:36 +0900)]
utest: rename UtSurfaceQueue to SurfaceQueueTest

Change-Id: I5809f4207959451db722ca73c459d216c24bcff0

6 years agoutest: rename UtSurface to SurfaceTest 93/170593/1
SooChan Lim [Tue, 20 Feb 2018 08:34:07 +0000 (17:34 +0900)]
utest: rename UtSurface to SurfaceTest

Change-Id: If8e63e21dabd15f28685a823ae003b9590351a51

6 years agoutest: rename UtBoInit to BufmgrBoTest 92/170592/1
SooChan Lim [Tue, 20 Feb 2018 08:19:43 +0000 (17:19 +0900)]
utest: rename UtBoInit to BufmgrBoTest

Change-Id: I5166026fa84fe5e1d343263b0f3ec20f4d79d5f2

6 years agoutest: renanme UtBufmgrInit into BufmgrTest 91/170591/1
SooChan Lim [Tue, 20 Feb 2018 08:18:14 +0000 (17:18 +0900)]
utest: renanme UtBufmgrInit into BufmgrTest

Change-Id: I95aa4ed0908b9f5f08d228d3295ea3d30f570aa0

6 years agoutest: make BufmgrInitSuccessIniteTwice test in BufmgrInit testcase 90/170590/1
SooChan Lim [Tue, 20 Feb 2018 07:59:16 +0000 (16:59 +0900)]
utest: make BufmgrInitSuccessIniteTwice test in BufmgrInit testcase

Change-Id: I1c1749787c860e8c239a1a5b2ff7686e5e98382e

6 years agoutest: make NoBufmgrTest test case 89/170589/1
SooChan Lim [Tue, 20 Feb 2018 07:34:30 +0000 (16:34 +0900)]
utest: make NoBufmgrTest test case

Change-Id: I754ea35055262f88efe2b5f1eb0751132881faad

6 years agopackage version up to 2.2.5 54/170454/1 accepted/tizen/unified/20180221.061127 submit/tizen/20180220.070559
Boram Park [Tue, 20 Feb 2018 06:12:05 +0000 (15:12 +0900)]
package version up to 2.2.5

Change-Id: Ibffef3c29db058d3781e54cb7ba1068daa2921f7

6 years agouse stat() to check if symbolic link 52/170452/2
Boram Park [Mon, 12 Feb 2018 08:45:11 +0000 (17:45 +0900)]
use stat() to check if symbolic link

Change-Id: Ie1355c5e54cb7d09a8e9309b2878030ab2f11af3

6 years agosync: support c++ 72/170372/1
Sangjin.Lee [Mon, 19 Feb 2018 11:11:45 +0000 (20:11 +0900)]
sync: support c++

Change-Id: If3c38c377f87f27588a3e6b825854ff8dcd43126

6 years agoadd tbm_bufmgr_debug_get_ref_count() 04/169804/2
Boram Park [Fri, 9 Feb 2018 07:14:46 +0000 (16:14 +0900)]
add tbm_bufmgr_debug_get_ref_count()

Change-Id: I7b1be4831cdf5a68417d69b6c97f7d13aff6d985

6 years agopackage version up to 2.2.4 40/169040/2 accepted/tizen/unified/20180205.060439 submit/tizen/20180202.055341
Changyeon Lee [Fri, 2 Feb 2018 04:27:35 +0000 (13:27 +0900)]
package version up to 2.2.4

Change-Id: I331d50ba37ef43166e0e9720f05fa991ff5a2b29

6 years agoadded tbm_surface_queue_notify_dequeuable 58/168258/2
Changyeon Lee [Thu, 11 Jan 2018 11:13:40 +0000 (20:13 +0900)]
added tbm_surface_queue_notify_dequeuable

Change-Id: Ib4c14154b6b44b0cfd5f9408f400df23f1093d0e

6 years agoremove -f when creating symbolic link file 62/169062/1
Boram Park [Fri, 2 Feb 2018 05:36:47 +0000 (14:36 +0900)]
remove -f when creating symbolic link file

Change-Id: Ic91f67845193e98dcbc8937beff51316591575fb

6 years agopackage version up to 2.2.3 66/164366/1 accepted/tizen/unified/20171219.072721 submit/tizen/20171219.015150
SooChan Lim [Tue, 19 Dec 2017 01:44:02 +0000 (10:44 +0900)]
package version up to 2.2.3

Change-Id: I4cd9df9757f94c18410293f53f8c86dc855e7954

6 years agoutest: fix protex issues 32/164332/1
Roman Marchenko [Mon, 18 Dec 2017 14:35:21 +0000 (16:35 +0200)]
utest: fix protex issues

Change-Id: Icdb641d1bbf34d687b78ea3574dd41c91e8e0ce3
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
6 years agoremove unnecessary log 59/164059/1
Changyeon Lee [Mon, 11 Dec 2017 08:42:13 +0000 (17:42 +0900)]
remove unnecessary log

Change-Id: I3036479c734bd31b401b26885c7aad96639033f8

6 years agopackage version up to 2.2.2 45/163245/1 accepted/tizen/unified/20171211.061246 submit/tizen/20171208.065647
SooChan Lim [Fri, 8 Dec 2017 06:43:31 +0000 (15:43 +0900)]
package version up to 2.2.2

Change-Id: I13720dd6e34f85b9bedcb3b6c85cc6c42f20a8f5

6 years agotbm_bufmgr: add checking of a map_count in the unmap function 68/163168/1
Roman Marchenko [Thu, 7 Dec 2017 12:57:37 +0000 (14:57 +0200)]
tbm_bufmgr: add checking of a map_count in the unmap function

 unmap() for tbm_bo has to return false without map()

Change-Id: I17cdca53e1dfdda6fe41d66da9b8ee7306365dfe
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
6 years agoutest: fix wrong expected value for tbm_surface_query_formats 67/163167/1
Roman Marchenko [Thu, 7 Dec 2017 12:54:29 +0000 (14:54 +0200)]
utest: fix wrong expected value for tbm_surface_query_formats

Change-Id: I474c41a3f6a5074f2b01283fd1977153d4f6daad
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
6 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>
6 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>
6 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>
6 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>
6 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

6 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

6 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

6 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>
6 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

6 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

6 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>
6 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