Changyeon Lee [Mon, 15 Feb 2016 09:53:51 +0000 (18:53 +0900)]
Don't return error, if fail to get handle in tbm_surface_internal_get_info
Change-Id: Idbbdf4acf5dea6b55803b4ef46bdc23e15033b55
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
Sangjin Lee [Fri, 12 Feb 2016 02:08:21 +0000 (11:08 +0900)]
tbm_surface_queue: support multiple notify handler
Next APIs will be deprecated
tbm_surface_queue_set_destroy_cb()
tbm_surface_queue_set_dequeuable_cb()
tbm_surface_queue_set_acquirable_cb()
tbm_surface_queue_set_reset_cb()
Change-Id: I00ee99560f4657729112639f4b66893cac3e72d8
Changyeon Lee [Thu, 11 Feb 2016 03:51:20 +0000 (12:51 +0900)]
Package version up
Change-Id: I3af24d29cec230068276e6f3f0176e5b864ad205
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
Mun, Gwan-gyeong [Fri, 5 Feb 2016 09:34:42 +0000 (18:34 +0900)]
Fix typo on tbm_surface_queue.c
Change-Id: I499e4cbcdc16ead1cde9086ab500cd71032186f2
Changyeon Lee [Fri, 5 Feb 2016 04:03:29 +0000 (13:03 +0900)]
tbm-surface: init user data list
Change-Id: I4d08525964111f72385a5ba8cf1a8c053e570e46
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
Sangjin Lee [Fri, 5 Feb 2016 02:31:41 +0000 (11:31 +0900)]
surface_queue: fix return error type
Change-Id: I969cc164a9446b8e4814a5bf7ca28fba0a82fc53
Changyeon Lee [Thu, 4 Feb 2016 12:52:03 +0000 (21:52 +0900)]
Move user data code to tbm_bufmgr
Change-Id: If64862dc9c25151a78ee44db5294d03fbeae9ef1
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
Changyeon Lee [Wed, 3 Feb 2016 10:28:48 +0000 (19:28 +0900)]
Add tbm surface user data
Change-Id: I61318114dd59db0f3b9804906bf5ea47b55a4869
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
Seunghun Lee [Wed, 3 Feb 2016 08:42:44 +0000 (17:42 +0900)]
fix typo in documentation.
Change-Id: I2e883c47b9c40ee8267b9efe6c3ab05114dd2019
Changyeon Lee [Wed, 3 Feb 2016 05:05:15 +0000 (14:05 +0900)]
if aurgment is null, don't set data in get plane data
Change-Id: Id5c212699f3fee88d058fe208c1f86bbac6674da
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
Sangjin Lee [Wed, 3 Feb 2016 08:16:41 +0000 (17:16 +0900)]
surface queue: remove useless variable
Change-Id: Ib2a4d047d025ad1b7a8746f5cf82732c53f71143
Sangjin Lee [Tue, 2 Feb 2016 02:11:00 +0000 (11:11 +0900)]
tbm_surface_queue: add sequence queue
Change-Id: I183800b929324f5b69f4f88943e2cf348385ba0a
Sangjin Lee [Mon, 1 Feb 2016 10:24:17 +0000 (19:24 +0900)]
Refactoring tbm_surface_queue
Change-Id: I2b01d213a3eed54a608086b0427a63336cc5df6c
Mun, Gwan-gyeong [Mon, 1 Feb 2016 16:24:58 +0000 (01:24 +0900)]
Fix typo on tbm_surface_internal.h
Change-Id: Id3570b552c8a0aebdce4de0dd5c88c4f700a7a1b
Mun, Gwan-gyeong [Wed, 27 Jan 2016 08:29:48 +0000 (17:29 +0900)]
Remove execute permission on source file.
Change-Id: If7100b5b0be085041c9bf8e4e92a97623a808751
Mun, Gwan-gyeong [Wed, 27 Jan 2016 08:28:16 +0000 (17:28 +0900)]
Fix typo on tbm_bufmgr.h
Change-Id: I5918c870e934e8ca1dbbae767dc9df915789114c
Changyeon Lee [Wed, 20 Jan 2016 11:15:27 +0000 (20:15 +0900)]
If owner of gbufmgr fd isn't frontend, don't dup2 fd
Change-Id: I320b65e8f029bc99ca2dba55fb6eb82632369934
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
Boram Park [Thu, 14 Jan 2016 07:58:41 +0000 (23:58 -0800)]
Merge "Remove window system dependent file and source" into tizen
Changyeon Lee [Thu, 14 Jan 2016 04:49:34 +0000 (13:49 +0900)]
Remove window system dependent file and source
Change-Id: I1eaf94aff7ca6b3bc66fcb014fb1d45a9aeb9927
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
Seunghun Lee [Fri, 8 Jan 2016 00:25:03 +0000 (09:25 +0900)]
correct mismatch of return type for tbm_bo_export().
Change-Id: Ie207562459d75074fc80f77be5548505b207145c
Changyeon Lee [Wed, 23 Dec 2015 11:09:01 +0000 (20:09 +0900)]
Fixed bug for checking bos of surface when unref
Change-Id: I28fddf9f275fdf462b9a34e39f2d4983fca47228
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
Changyeon Lee [Tue, 22 Dec 2015 07:41:59 +0000 (16:41 +0900)]
destory mutex lock when surface destory and before free surface queue
Change-Id: I97e163ff7e5826fad15c01ac7ecde11c6ff12ade
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
Changyeon Lee [Mon, 21 Dec 2015 11:24:55 +0000 (20:24 +0900)]
Fix svace issues:DEREF_OF_NULL
Change-Id: Ibaeb27a1f9c0be38ab73ab9555999d476598848f
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
Changyeon Lee [Thu, 17 Dec 2015 02:08:54 +0000 (11:08 +0900)]
Fix prevent issues
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
Change-Id: I26c1f5b3d3c45788bec7f6076e80c1fb77a6317b
SooChan Lim [Wed, 16 Dec 2015 12:25:23 +0000 (21:25 +0900)]
adjust log format
Change-Id: Id4d499e79f2cb7ddbdab701d4b411b0d06dd336e
SooChan Lim [Wed, 16 Dec 2015 12:00:51 +0000 (21:00 +0900)]
delete surface link_item.
Change-Id: I9bde131ae3cb6dc2ab38062658a87249c28b3d9b
SooChan Lim [Tue, 15 Dec 2015 10:42:06 +0000 (19:42 +0900)]
add the new lines at the debug
Change-Id: I0aad6c03df8dde650f364a80d013b5684f4ebb3f
Changyeon Lee [Tue, 15 Dec 2015 02:49:37 +0000 (11:49 +0900)]
Apply tizen coding rule
Change-Id: Ief16c55ec9e02418b5a8c4a49010f42716845d2c
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
SooChan Lim [Tue, 15 Dec 2015 08:46:27 +0000 (17:46 +0900)]
set debug_pid to the surface
print application name with this debug_pid.
Change-Id: If0ec80d3ac2bb02d8f06e18cd1d15c117aa70c40
SooChan Lim [Tue, 15 Dec 2015 08:14:47 +0000 (17:14 +0900)]
reorganize the debug print format
Change-Id: Ibb70a62c744610b0997cc23220acc53246254af9
SooChan Lim [Tue, 15 Dec 2015 08:14:07 +0000 (17:14 +0900)]
set the tbm_surface to the tbm_bo
Change-Id: Ida0ef33e9d5d87e9b59a21bbaa06bd2a750d4cb6
SooChan Lim [Tue, 15 Dec 2015 02:43:44 +0000 (11:43 +0900)]
add _tbm_surface_internal_format_to_str function
Change-Id: Id151206a6e99774ad209e76680b28de18e269225
SooChan Lim [Tue, 15 Dec 2015 02:42:37 +0000 (11:42 +0900)]
add the tbm_surface to the list of bufmgr
Change-Id: I68970995a508f77ce7ed7d8b812d7bf4d3226974
SooChan Lim [Sun, 13 Dec 2015 07:21:33 +0000 (16:21 +0900)]
chang the tbm:debug log format
Change-Id: I71bb452278285ff9f57fbb00c2f91bcfc7a358eb
SooChan Lim [Fri, 11 Dec 2015 03:00:55 +0000 (12:00 +0900)]
add tbm_bufmgr_debug_show and tbm_bufmgr_debug_trace
tbm_bufmgr_debug_show shows the information of
the tbm_bos and the tbm_surfaces.
tbm_bufmgr_debug_trace shows the change trace log of
the tbm_bos and the tbm_surface.(not implemented yet).
Change-Id: I545c645a814f99f256261f59e005d2bd524dece0
SooChan Lim [Fri, 11 Dec 2015 02:59:49 +0000 (11:59 +0900)]
add TBM_DEBUG macro and put the prefix string at tbm log.
Change-Id: Ia503e75da540533978333c1ec3bc3e48848c6307
Sangjin Lee [Wed, 25 Nov 2015 14:24:07 +0000 (23:24 +0900)]
surface_queue: Add new apis for reset queue
The surface_queue allow change width, height and format.
If changed information, all tbm_surfaces destroyed in core.
and send reset notify.
Change-Id: I0d5378899f94e19f83dd0201f83fec7fbdf8a084
Signed-off-by: Sangjin Lee <lsj119@samsung.com>
Sangjin Lee [Wed, 25 Nov 2015 13:05:15 +0000 (22:05 +0900)]
Change the surface management in queue
In tbm_surface_queue_create(), just alloc dummy node.
When dequeue surface, alloc tbm_surface_h for memory usage.
Also when relese the surface, push front to the free_queue.
Change-Id: Ice2f144f88ed9bc0c5f9054c4e4bee9d8aac714a
SooChan Lim [Wed, 25 Nov 2015 11:28:02 +0000 (20:28 +0900)]
bump to 1.2.0
Change-Id: I1a1c239a1d0b4ac543ad7bff8be61bf82f595d1a
Changyeon Lee [Tue, 20 Oct 2015 07:33:11 +0000 (16:33 +0900)]
Add tbm surface queue source
Change-Id: Iac381223c3561c7493e6cf1194bf7f3bb129b216
Changyeon Lee [Mon, 16 Nov 2015 13:04:24 +0000 (22:04 +0900)]
Fix bug of surface that has multiple bo
Change-Id: Ice44fc06d3db487aa29177662e0331877dbd8a0f
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
Gwanglim Lee [Thu, 8 Oct 2015 05:46:50 +0000 (14:46 +0900)]
Packaging: update version to 1.1.10
Change-Id: Id4e4c41cc1390afb80697e9b3c428654f9cf184f
Gwanglim Lee [Thu, 8 Oct 2015 05:46:08 +0000 (14:46 +0900)]
remove executable permission bit of header files
Change-Id: I3bf193968ad90b05dbcb908cc311a7444b627908
Changyeon Lee [Tue, 22 Sep 2015 08:24:18 +0000 (17:24 +0900)]
Using wl_tbm protocol when get drm fd instead wl_drm protocol
because tbm surface isn't work if not install gl packages
Change-Id: I20fea28ac97bb31bcaf8d6215d98d2df11b40311
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
Sangjin Lee [Fri, 18 Sep 2015 11:44:23 +0000 (04:44 -0700)]
Merge "Increase gBufMgr->ref_count after dup2() is done." into tizen
Boram Park [Fri, 18 Sep 2015 08:23:21 +0000 (17:23 +0900)]
export_fd returns negative value if fail
Change-Id: Ide1d1706745e0f8ccde7c4e6a2d1d5c52af947d4
YoungJun Cho [Wed, 2 Sep 2015 09:57:12 +0000 (18:57 +0900)]
Increase gBufMgr->ref_count after dup2() is done.
Change-Id: I4b9abdb8f80eb611b6bd08412d2290ba5a182095
Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
Boram Park [Wed, 16 Sep 2015 06:46:17 +0000 (15:46 +0900)]
add TBM_FORMAT_NV12MT format
Change-Id: I651d3bfaff735d3656e7720f3619be5e60a823f9
Changyeon Lee [Tue, 18 Aug 2015 11:53:05 +0000 (20:53 +0900)]
Add function get tbm_bo_flag
Change-Id: Id0fac0135e4c9dd5ccad8a57247bad6619dc175f
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
Changyeon Lee [Thu, 20 Aug 2015 04:06:40 +0000 (13:06 +0900)]
Set planes_bo_idx when create_with_bos
Change-Id: Ie87e2f605b9bda5bb6e676feb8f14b28fa55de1c
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
Changyeon Lee [Tue, 18 Aug 2015 11:39:04 +0000 (20:39 +0900)]
Fix return value
Change-Id: Id8aaaf95a98e3574299c187bb955ad02e2448aa9
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
Changyeon Lee [Mon, 10 Aug 2015 02:40:13 +0000 (11:40 +0900)]
Added function and enum for Checking buffer sharing capability
Change-Id: I03ad3946b46bde047a7e63efaab1350d282dbe8d
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
SooChan Lim [Wed, 12 Aug 2015 08:57:33 +0000 (17:57 +0900)]
remove useless
Change-Id: Id7cd047020772b94323f0e288606145dd80c3f22
SooChan Lim [Wed, 12 Aug 2015 06:07:56 +0000 (15:07 +0900)]
modify lock flow
Change-Id: If9c06b4ba347f1d01ff22250b17a19adfbc03cb5
SooChan Lim [Wed, 12 Aug 2015 05:27:24 +0000 (14:27 +0900)]
add the reference count for tbm_surface
manage the reference count of the tbm_surface.
Change-Id: I8a823314b9bf71d826d971cb4986df1d51b573ce
Changyeon Lee [Wed, 12 Aug 2015 04:38:00 +0000 (13:38 +0900)]
Calculate surfcae and plane size when create with bos
if surface size and plane size is less than zeo
Change-Id: I5fdc43790914ea45d052dabb480debe7f3716a4b
Changyeon Lee [Thu, 6 Aug 2015 08:30:20 +0000 (17:30 +0900)]
Added remarks for fd
Change-Id: Ibedce273256d35eb250fee21cc2f51cb9e55b27e
Changyeon Lee [Mon, 20 Jul 2015 08:22:44 +0000 (17:22 +0900)]
Fix prevent issues
Change-Id: Id1d21cd0f75121115f99b9cc4f3188b55e502dbf
Gwanglim Lee [Tue, 4 Aug 2015 11:38:31 +0000 (20:38 +0900)]
Packaging: update version to 1.1.7
Change-Id: I01c24391d1ab8eb2801c4e350454bd4b72d97198
Mun, Gwan-gyeong [Tue, 4 Aug 2015 08:26:19 +0000 (17:26 +0900)]
Add manifest for security domain policy
Change-Id: I09558f35bef45a382405889aa69e0f9823b14e80
Changyeon Lee [Fri, 10 Jul 2015 02:47:57 +0000 (11:47 +0900)]
Fix since tizen version
Change-Id: I5d49702b52aee3a79d73c797dab1ddee9e45dabe
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
Changyeon Lee [Thu, 9 Jul 2015 05:32:50 +0000 (14:32 +0900)]
Add surface internal function for getting bo idx
Change-Id: I41c4275a5a3100792c07f369eff49ed73916f69f
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
Changyeon Lee [Sat, 27 Jun 2015 07:54:26 +0000 (16:54 +0900)]
Surpport multiple bo surface
Change-Id: I0071e917f2061b639d2196ae7e21c813c13a74de
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
Changyeon Lee [Mon, 6 Jul 2015 10:15:00 +0000 (19:15 +0900)]
Fix prevent issues
Change-Id: I3fba9a4cf8310cec2c419df251ff3cf9ad6a2305
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
Mun, Gwan-gyeong [Mon, 6 Jul 2015 13:24:46 +0000 (22:24 +0900)]
remove manifest for security domain policy
Change-Id: I41aa54893170f8d4ac206b317c893a3a49c82e1d
Signed-off-by: Mun, Gwan-gyeong <kk.moon@samsung.com>
SooChan Lim [Fri, 3 Jul 2015 05:18:14 +0000 (14:18 +0900)]
remove wayland-drm
Change-Id: I5c4702a894bf35680fb57b8219d5ee1a28b46178
Changyeon Lee [Mon, 8 Jun 2015 06:47:58 +0000 (15:47 +0900)]
Fix build break
Change-Id: I99d2947fc64979707c74dd0a6dff170730feadbe
Changyeon Lee [Mon, 8 Jun 2015 05:46:32 +0000 (14:46 +0900)]
when not exist tbm surface backend function, return false
Change-Id: Ic4d986eb1063d3eb15c66c2d0d170f0268eb4fd4
Changyeon Lee [Sun, 7 Jun 2015 08:01:31 +0000 (17:01 +0900)]
When bo swap, exchange default handle
Change-Id: I9ed76cbee04e3378f5432ed72cd367d6b2dfbc5a
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
Changyeon Lee [Tue, 2 Jun 2015 11:27:05 +0000 (20:27 +0900)]
Fix prevent issues
Change-Id: I4d359f48283ca5ba26a533e602f09978179d20c2
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
Changyeon Lee [Tue, 2 Jun 2015 04:42:12 +0000 (13:42 +0900)]
bump up version 1.1.4
sync code spin tizen_2.4
Change-Id: I9a8e92243950f91bde9c26a4ed3f69c5a43cd4a2
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
Seunghun Lee [Thu, 14 May 2015 02:25:42 +0000 (11:25 +0900)]
Use calloc instead of malloc to set memory zero.
This patch is to avoid segmentation fault.
all of member valuable should be zero before check if valid.
Change-Id: Icc1b6a9e5be21a57d4346c9c2dbefb6cce3a0fd6
Signed-off-by: Seunghun Lee <shiin.lee@samsung.com>
Gwanglim Lee [Mon, 18 May 2015 12:20:33 +0000 (21:20 +0900)]
remove execute permissions
Boram Park [Thu, 29 Jan 2015 09:07:55 +0000 (18:07 +0900)]
small fix for memory leak and invalid data
Change-Id: I58b8fc410c9f966f0e4c27baa886983f4eb29482
SooChan Lim [Tue, 27 Jan 2015 02:39:14 +0000 (11:39 +0900)]
modify the path of bufmgr module
Change-Id: I8e78e2b7af0bb3d60061c61d37d45f6e34640631
SooChan Lim [Fri, 9 Jan 2015 06:39:47 +0000 (22:39 -0800)]
Merge "Merge branch 'devel/tizen' into tizen" into tizen
SooChan Lim [Fri, 9 Jan 2015 06:39:09 +0000 (22:39 -0800)]
Merge "Fix pacakge version check capi-base-common" into tizen
Boram Park [Fri, 9 Jan 2015 06:20:36 +0000 (15:20 +0900)]
Merge branch 'devel/tizen' into tizen
Change-Id: I01add9ad1344245f16924f89c77d0f4983fca2d6
Boram Park [Fri, 9 Jan 2015 06:18:43 +0000 (15:18 +0900)]
add wayland-server.pc to pkg_config
Change-Id: If73baf5ccdfacceeea82187682abdbad28d0f4df
Changyeon Lee [Tue, 30 Dec 2014 02:15:25 +0000 (11:15 +0900)]
Fix pacakge version check capi-base-common
Change-Id: I45d596aac5955c2b72ac7c32f8aae3b53e0df342
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
SooChan Lim [Tue, 30 Dec 2014 02:40:58 +0000 (11:40 +0900)]
Merge branch 'devel/tizen' into tizen
Change-Id: I165a75f552835b9608a7d4ea6a64a21dcca3449f
SooChan Lim [Tue, 30 Dec 2014 02:38:30 +0000 (18:38 -0800)]
Merge "Fix pacakge version check capi-base-common" into devel/tizen
Changyeon Lee [Tue, 30 Dec 2014 02:15:25 +0000 (11:15 +0900)]
Fix pacakge version check capi-base-common
Change-Id: I45d596aac5955c2b72ac7c32f8aae3b53e0df342
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
SooChan Lim [Wed, 24 Dec 2014 04:25:58 +0000 (13:25 +0900)]
bump to version 1.1.1
Change-Id: I0b25ebcd492203c1df10bc76bb37254cb031a328
SooChan Lim [Mon, 22 Dec 2014 11:26:13 +0000 (20:26 +0900)]
add tbm_error_e for the fails of bo_map and bo_lock.
Change-Id: I0191a4538c03a2bddc175c056d61c0af82a36fa0
SooChan Lim [Wed, 17 Dec 2014 02:04:39 +0000 (11:04 +0900)]
Merge branch 'devel/tizen' into tizen
Change-Id: I4492013e8febea9340fd87d42744fe0f51282d80
SooChan Lim [Wed, 17 Dec 2014 01:58:10 +0000 (10:58 +0900)]
change the license
Change-Id: I4b2addc13213018d468cd77722a5f804994ff171
SooChan Lim [Fri, 3 Oct 2014 02:36:05 +0000 (11:36 +0900)]
Merge branch 'devel/tizen' into tizen
Change-Id: I791765610e66d36e65c37061eb56bbc04ad44fe1
Changyeon Lee [Wed, 1 Oct 2014 05:29:40 +0000 (14:29 +0900)]
Apply LB doxygen review at tbm_surface.h and tbm_type.h
Change-Id: I4688776b30dd628decbdde1c51b370ce8ec3c5f1
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
Changyeon Lee [Wed, 1 Oct 2014 05:29:40 +0000 (14:29 +0900)]
Apply LB doxygen review at tbm_surface.h and tbm_type.h
Change-Id: I4688776b30dd628decbdde1c51b370ce8ec3c5f1
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
Changyeon Lee [Fri, 19 Sep 2014 08:39:21 +0000 (17:39 +0900)]
Add check for locking and mapping and unmapping fail
Change-Id: I84afe480515e23fc1e76e376787da16890275f1d
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
SooChan Lim [Wed, 1 Oct 2014 04:22:18 +0000 (21:22 -0700)]
Merge "add the code for supporting the tbm_fd" into devel/tizen
Roman Marchenko [Tue, 30 Sep 2014 13:28:59 +0000 (16:28 +0300)]
add the code for supporting the tbm_fd
Change-Id: I77215dcb8b1cc748de135ab8c7a5f02d330bea42
Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
Changyeon Lee [Fri, 19 Sep 2014 08:39:21 +0000 (17:39 +0900)]
Add check for locking and mapping and unmapping fail
Change-Id: I84afe480515e23fc1e76e376787da16890275f1d
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
Sangjin Lee [Thu, 4 Sep 2014 10:18:51 +0000 (03:18 -0700)]
Merge "fix pointer-to-int-cast error" into tizen
SooChan Lim [Wed, 3 Sep 2014 04:57:06 +0000 (13:57 +0900)]
remove useless line in spec file
Change-Id: I9171cdd54a6550ecd58a90e0d84026fd4cade940
SooChan Lim [Wed, 3 Sep 2014 04:52:43 +0000 (13:52 +0900)]
rename a symbole ( tbm_bufmgr_get_drm_fd_wl -> tbm_bufmgr_get_drm_fd_wayland)
Change-Id: Iaccbb2ec3c41528f1fb35a5a7212669e154b340b
Chanho Park [Mon, 25 Aug 2014 03:08:40 +0000 (12:08 +0900)]
fix pointer-to-int-cast error
This patch fixes pointer-to-int-cast error which the option is enabled in
gcc-4.9 compiler.
[ 180s] drm_slp_bufmgr.c: In function 'drm_slp_bo_map':
[ 180s] drm_slp_bufmgr.c:104:19: error: cast from pointer to integer of
different size [-Werror=pointer-to-int-cast]
[ 180s] ret = (unsigned int)bo_handle.ptr;
Change-Id: I89919ce10fff3bc85efdca1a3903d4919ec0f9eb
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
SooChan Lim [Tue, 26 Aug 2014 04:08:59 +0000 (13:08 +0900)]
Add '_tbm_bo_is_valid' static function
-> this function will check the bo_list in gBufMgr whether the bo is in the bo_list or not.
if it is in list , it is valid. And not in list, it is invalid.
this function will replace TBM_BO_IS_VALID Macro.
there is a problem TBM_BO_IS_VALID Macro, this is not considered for tbm_bo which is alread freed.
Change-Id: I85689f5559df71bf8feb9970caf384e7089aef54
Changyeon Lee [Thu, 21 Aug 2014 11:24:08 +0000 (20:24 +0900)]
Fix prevent issue and accessing null pointer
Change-Id: Ie5ea161542e0ea6acddc77dd502bca4e091c27d9