Mun, Gwan-gyeong [Fri, 15 Apr 2016 10:29:10 +0000 (19:29 +0900)]
Fix "tpl_surface_get_swapchain_buffers() returns only one buffer" problem
Change-Id: I74aadeecdabc2b1fe13927e5b2812dc1c3efd968
Gwan-gyeong Mun [Fri, 15 Apr 2016 08:14:50 +0000 (01:14 -0700)]
Merge "Add internal function for wl_surface_commit." into tizen
Gwan-gyeong Mun [Fri, 15 Apr 2016 08:06:23 +0000 (01:06 -0700)]
Revert "Add Null check on wl_surface of wl_egl_create_window()."
This reverts commit
0dedb2b4e15dfa862fa142f0335d7deeafd87676.
Change-Id: Ib1073db0da011f2845d0a1583e0a118e1392e9b1
joonbum.ko [Fri, 15 Apr 2016 05:37:38 +0000 (14:37 +0900)]
Add internal function for wl_surface_commit.
- Do wl_surface_commit forcibly although failed to tbm_surface_queue_enqueue.
- Only when getting ERR_NONE in tbm_surface_queue_enqueue, do unref the tbm_surface to prevent destruction.
Change-Id: I4ea4cc531903c63e138d9850be03a010d82dd330
SooChan Lim [Mon, 11 Apr 2016 02:42:54 +0000 (11:42 +0900)]
set the wl_tbm_queue proxy to the wl_queue
The gl application which does not have an event loop cannot
get the event from wl_tbm_queue interface.
The tpl wayland checks the event of the wl_tbm_queue interface.
Change-Id: I0f6d828c47a1d19c862a5f654d192db299c0f954
Mun, Gwan-gyeong [Tue, 5 Apr 2016 08:55:17 +0000 (17:55 +0900)]
Add Null check on wl_surface of wl_egl_create_window().
Change-Id: Id0ece99fd81410bbcd8e05ec2c0ba3c0a9ddc02c
Mun, Gwan-gyeong [Fri, 1 Apr 2016 12:05:47 +0000 (21:05 +0900)]
Support wayland vulkan wsi backend / frontend
Change-Id: I0ba8249947b470c20d467e536b55ca0ad1d30f17
joonbum.ko [Wed, 30 Mar 2016 08:17:18 +0000 (17:17 +0900)]
Call wl_display_dispatch_queue_pending before checking dequeuable.
- Before the dequeuable checking, call the function wl_display_dispatch_queue_pending() in order to process the accumulated events(release) received from server.
Change-Id: I92abae0ae6fdda80367c2193d0926b5c1637d24e
Sangjin Lee [Tue, 15 Mar 2016 02:04:21 +0000 (11:04 +0900)]
wayland: Change for scanout-queue
For support fixed-scanout buffer target.
wayland-tbm expand protocol.
(commit
9979f19d9639652b61ca9903c2961b7059deabc2)
Change-Id: Id7938309f1c917a425a32203792b1cf83ca5eeae
Mun, Gwan-gyeong [Thu, 17 Mar 2016 10:42:12 +0000 (19:42 +0900)]
Change the function of describing error number: strerror to strerror_r
because strerror_r is thread safe.
Change-Id: I37b59e15c63f5af7a29d1dcff0850beb8d60358e
Mun, Gwan-gyeong [Thu, 17 Mar 2016 02:43:58 +0000 (11:43 +0900)]
Remove unused internal APIs
- __tpl_display_flush()
- __tpl_runtime_flush_all_display
Change-Id: I1260b65452feaeb3b48d06790d8dbb08b185350a
Sangjin Lee [Mon, 14 Mar 2016 10:12:14 +0000 (19:12 +0900)]
Change deprecated API
tbm_surface_queue_set_destroy_cb() is depercated.
So use tbm_surface_queue_add_destroy_cb().
Change-Id: Idb602e2a1b7dffe31b8d720a3fbc21c2c7d51646
Mun, Gwan-gyeong [Tue, 8 Mar 2016 05:05:57 +0000 (14:05 +0900)]
Remove potential defect: It doest not need to call __tpl_hashlist_delete() when the __tpl_hashlist_insert() fails on __tpl_rintime_add_display().
Change-Id: Icfa9e0d05a0a906bc2cee33573b6aa06b8b536be
Mun, Gwan-gyeong [Sun, 13 Mar 2016 08:59:18 +0000 (17:59 +0900)]
Change timing of buffer reset on egl_window resize case.
Change-Id: Ie7112fa1b7d4ff857439b7b8f5bcb5d981eb004f
Mun, Gwan-gyeong [Sun, 13 Mar 2016 08:58:27 +0000 (17:58 +0900)]
Fix compile warning: suggest parentheses around assignment used as truth value
Change-Id: I7f076dfa978f8db5add7e5cdcd9f1bc7d25007d6
Mun, Gwan-gyeong [Mon, 29 Feb 2016 09:12:20 +0000 (18:12 +0900)]
Add get_buffer_from_native_pixmap, get_pixmap_info for supporting of eglCreateImageKHR() EGL_WAYLAND_BUFFER_WL target on wayland backend
Change-Id: I30a95056d2045c643b02b060f12a6875bc0f056c
joonbum.ko [Fri, 11 Mar 2016 05:39:48 +0000 (14:39 +0900)]
Modify spec file for installing license files.
Change-Id: I37072c36733b622bf39aab09a14e4e7cb8d1297d
Mun, Gwan-gyeong [Mon, 7 Mar 2016 11:17:57 +0000 (20:17 +0900)]
Fix No unlock for mutex 'runtime_mutex' case.
Change-Id: Ib5935d5ab3f4bdafd89acbaca628e4e1884a0b57
Mun, Gwan-gyeong [Mon, 7 Mar 2016 11:04:56 +0000 (20:04 +0900)]
Fix free after use.
Change-Id: I336fff939247d4b3da8b921e0846360d1f983191
Mun, Gwan-gyeong [Mon, 7 Mar 2016 10:55:39 +0000 (19:55 +0900)]
Add enqueue buffer dump on gbm backend
Change-Id: Ib5b998d7d9f66fa9f9ea809568acd5ca87bf9262
Mun, Gwan-gyeong [Mon, 7 Mar 2016 10:45:35 +0000 (19:45 +0900)]
Fix unreachable state.
- fwrite() only retrurns a short item count (or zero). so program does not reach under zero state.
Change-Id: Ibed62e2933f88dcbaccc74a15d18253ea9681c77
Mun, Gwan-gyeong [Fri, 19 Feb 2016 05:37:35 +0000 (14:37 +0900)]
Apply coding style
Change-Id: I5c3d76f1ba6fcabb98d3d472a9985eb7887ba86a
Mun, Gwan-gyeong [Thu, 18 Feb 2016 02:41:32 +0000 (11:41 +0900)]
Increment version to 1.0.0
Add coding style guide.
Change-Id: I30511764157000b01db040e8b35ba4a85aea0a7b
Mun, Gwan-gyeong [Wed, 17 Feb 2016 17:25:48 +0000 (02:25 +0900)]
Fix indent, typo, build warnning
Change-Id: I0430791e127f5d3035cc2b57550b66022eff100b
joonbum.ko [Wed, 17 Feb 2016 04:36:49 +0000 (13:36 +0900)]
Add enumeration for tpl result type.
- Enum
TPL_ERROR_NONE : Successful
TPL_ERROR_INVALID_PARAMETER : Error, Invalid parameter
TPL_ERROR_INVALID_OPERATION : Error, Invalid operation
Change-Id: Idc7d9112ccb146b83aa7f96a0a49e3736f0957cf
joonbum.ko [Tue, 16 Feb 2016 09:51:18 +0000 (18:51 +0900)]
Add API tpl_surface_enqueue_buffer_with_damage.
- Deleted usages of tpl_region_t and file because the need that
tpl_surface_t has tpl_region_t(damage info) disappeared.
Change-Id: I076352c21042007ebf166f80229658c963cafa30
joonbum.ko [Tue, 16 Feb 2016 08:09:32 +0000 (17:09 +0900)]
Delete API tpl_surface_set/get_damage.
Change-Id: I911464516280f88d802c99f79aac8f7940f88ae6
Mun, Gwan-gyeong [Tue, 16 Feb 2016 11:48:24 +0000 (20:48 +0900)]
Remove meanless APIs
- tpl_display_bind_client_display_handle()
- tpl_display_unbind_client_display_handle()
wayland client's tbm_bufmgr_init() is called by wayland_tbm protocol().
( when the tpl_egl used wayland-drm protocol, explicity, tpl-egl calls client's tbm_bufmgr_init().
But current implementation wayland-tbm calls tbm_bufmgr_init() internally.)
Change-Id: If97466b45298c567b737e2467dc6e932daff43aa
Sangjin Lee [Tue, 16 Feb 2016 11:59:44 +0000 (20:59 +0900)]
revise tpl_util_map
Change-Id: I9474d38989c4ad6c79ac32c0f892a4d262789384
Sangjin Lee [Tue, 16 Feb 2016 05:00:51 +0000 (14:00 +0900)]
Support tpl_objet_set_user_data() by key
- add utils apis for map
tpl_map support int32, int64 and pointer data type to hash key.
and tpl_object use the pointer type map, key is treated as
a normal variable. Thus, tpl_object_set/get_user_data() is
modified to use the pointer value itself as a key.
Change-Id: I0bffd9dba61aeeedcb498eaff1f8099c628aca8d
Mun, Gwan-gyeong [Tue, 16 Feb 2016 03:48:53 +0000 (12:48 +0900)]
Change API: tpl_display_get()
seperate tpl_display_get() to tpl_display_create() and tpl_display_get()
Change-Id: I8c044fba19bd522d23a32dbef72c3bb7b880b7c1
Mun, Gwan-gyeong [Tue, 16 Feb 2016 02:40:05 +0000 (11:40 +0900)]
Remove unused APIs on tpl_display.
- Removed API:
tpl_display_flush
tpl_display_wait_native
tpl_display_get_backend_type
tpl_display_choose_backend_type
Change-Id: Ic34210f80d024073570d4c726a1f764dd140edaf
joonbum.ko [Mon, 15 Feb 2016 05:16:56 +0000 (14:16 +0900)]
Delete API tpl_display_get_bufmgr_fd.
Change-Id: I2617aa29b5d7716723b5f3715076453d6828e7a4
joonbum.ko [Mon, 15 Feb 2016 01:25:17 +0000 (10:25 +0900)]
Rename some front-end APIs of tpl_display.
- tpl_get_native_window_info -> tpl_display_get_native_window_info
- tpl_get_native_pixmap_info -> tpl_display_get_native_pixmap_info
- tpl_get_native_buffer -> tpl_display_get_buffer_from_native_pixmap
Change-Id: I7ec481f4830c54a1aa87873dcf953c89929b2437
joonbum.ko [Fri, 12 Feb 2016 02:05:54 +0000 (11:05 +0900)]
Add API tpl_get_native_buffer.
- This API will be called by compositor when it needs native buffer from pixmap.
Change-Id: I9ccb3a5aa93dfd79582cf587b8375cca3482b8c8
joonbum.ko [Thu, 11 Feb 2016 04:54:28 +0000 (13:54 +0900)]
Change API names about get_buffer & post.
- tpl_surface_get_buffer changed to tpl_surface_dequeue_buffer.
- tpl_surface_post changed to tpl_surface_enqueue_buffer.
- Fix some build warnings.
Change-Id: I9e49ccfa50bd44f7d875d33e9b3b1bb4982d2647
joonbum.ko [Thu, 11 Feb 2016 00:39:33 +0000 (09:39 +0900)]
Delete tpl_format_t and replace with tbm_format.
Change-Id: Ia5925408225262af23781e4862a40edac2e38b01
joonbum.ko [Tue, 26 Jan 2016 08:08:51 +0000 (17:08 +0900)]
Delete tpl_frame_t and change some APIs
- Deleted codes(APIs) and file related to tpl_frame_t.
- Add argument tbm_surface_h to API tpl_surface_post.
Change-Id: Ib5e034aaafe2dc059ed98efe708759c24bfb1815
Mun, Gwan-gyeong [Tue, 19 Jan 2016 13:33:04 +0000 (22:33 +0900)]
Add exclude architecture - x86, x86_64
: x86 architecture uses mesa which creates gles, egl, egl-wayland package.
Change-Id: I5ec823b54e5cddcb943f5d4275bb0cc895e2620f
Sangjin Lee [Thu, 21 Jan 2016 06:47:13 +0000 (15:47 +0900)]
add tbm backend
Change-Id: Ide4b4b55f6c8f3a006b1126f309690ef85f2e391
Mun, Gwan-gyeong [Wed, 20 Jan 2016 02:32:12 +0000 (11:32 +0900)]
Add tpl_display_get_bufmgr_fd() to scheduled to deprecated api
Change-Id: Ia3d6caa72794e18626ac61aea40e526d4f722f76
Mun, Gwan-gyeong [Mon, 18 Jan 2016 14:43:33 +0000 (23:43 +0900)]
Remove unnecessary tpl_display_get_bufmgr_fd() api.
Change-Id: I422dedd4007877fd81608b83e61aa90a05b4cc30
Mun, Gwan-gyeong [Mon, 18 Jan 2016 14:38:28 +0000 (23:38 +0900)]
Remove unnecessary TPL_OBJECT type.
Change-Id: Icbe7d442bb061a3c25226920d7a2cc5455f57a93
Mun, Gwan-gyeong [Mon, 18 Jan 2016 14:33:25 +0000 (23:33 +0900)]
Remove specific GPU name. libtpl-egl is not dependant on the specific gpu.
Change-Id: If24219e36bbc6c87a5424e9acf11b80e5a7aaf6b
joonbum.ko [Tue, 12 Jan 2016 10:04:57 +0000 (19:04 +0900)]
Unnecessary APIs and file related to tpl_buffer was deleted.
- This patch is operated in Wayland/GBM backends.
- TODO: It has to be applied to x11 backend.
Change-Id: Ie206dd43fbb93e7cf7c131360f9f667e98a6abb6
joonbum.ko [Tue, 12 Jan 2016 06:44:50 +0000 (15:44 +0900)]
Patch for keyboard scenario.
- After DDK gets a buffer, if egl surface is destroyed, the buffer which cannot start rendering
cannot be unrefernced in the case of a mali400.
- This problem that doesn't occur in the previous case using cached buffers(tpl_buffer_t).
- This patch doesn't have an effect on midgard ddk.
- And some logs added, but it will be deleted after deleting tpl_frame_t.
Change-Id: I5f042679aee64b0ad527105f54f527c4fdcdc1ad
joonbum.ko [Wed, 23 Dec 2015 08:15:47 +0000 (17:15 +0900)]
Delete/disable tpl_buffer_t usages.
- Replaced tpl_buffer_t with tbm_surface_h.
- Backend buffer becomes to set by user data of tbm_surface.
Change-Id: Ie99accac51e47c7a672416f9522be72e9a1606a5
joonbum.ko [Tue, 5 Jan 2016 11:41:52 +0000 (20:41 +0900)]
Check validation of target buffer before eglSwapBuffers.
- Add callback function for wl_egl_window_resize.
Change-Id: I066b64e255d21b06b8dc0cabb65f0644b300e84f
Mun, Gwan-gyeong [Thu, 24 Dec 2015 07:22:27 +0000 (16:22 +0900)]
Add exclude architecture - emulator
: emulator uses emulator-yagl which creates egl-wayland package.
Change-Id: Ia13fd1d40e4f757a54fb4adbfc9bb9b880a7fd18
Mun, Gwan-gyeong [Mon, 4 Jan 2016 07:24:12 +0000 (16:24 +0900)]
Remove comment: specific GPU Vendor name.
Change-Id: I88bfead48fd49bc220992d8362e58295acc564c7
joonbum.ko [Wed, 23 Dec 2015 10:04:08 +0000 (19:04 +0900)]
Modify dequeue procedure for client.
- Before this patch, can_dequeue will be locked up when ddk runs heavy rendering.
Change-Id: Iec48aee77158c83cb6b3dfed0a977b9a5595402a
joonbum.ko [Tue, 22 Dec 2015 08:34:25 +0000 (17:34 +0900)]
Prevent an exception about getenv() for EGL_PLATFORM.
Change-Id: I308247b16807a25ad11bcae377e07071ba20f906
joonbum.ko [Tue, 22 Dec 2015 05:52:26 +0000 (14:52 +0900)]
Apply tbm_surface_queue(free queue only) for wl-egl(client).
Change-Id: I138dd23a0f01073a45955215b26f5596a63911bc
Mun, Gwan-gyeong [Fri, 18 Dec 2015 08:13:01 +0000 (17:13 +0900)]
Seperate wayland backend : tpl_wayland and tpl_gbm
Change-Id: I0e94240d16309086edaa35303c5f79050e132748
joonbum.ko [Sun, 13 Dec 2015 14:23:26 +0000 (23:23 +0900)]
Add tpl APIs for destroying/updating cached buffer of client
Change-Id: I4d6d571e40eb39a8d2c5da80de9639ab767d13dc
joonbum.ko [Sun, 13 Dec 2015 14:03:19 +0000 (23:03 +0900)]
Wayland server can use buffer_cache for their render buffer.
- and fix some memory leak.
Change-Id: I616be5365fd3c2b6979581a880279faa2643389f
joonbum.ko [Wed, 9 Dec 2015 05:02:12 +0000 (14:02 +0900)]
Replace tbm_bo_ref/unref with tbm_surface_internal_ref/unref.
- TPL is using only tbm_surface. so replaced tbm_bo_ref/unref functions with
tbm_surface_internal_ref/unref functions.
Change-Id: I3e604629cf881029d889bebbc7b775a2de1c78d2
Mun, Gwan-gyeong [Thu, 10 Dec 2015 08:36:43 +0000 (17:36 +0900)]
TPL_WAYLAND: Add USE_TBM_QUEUE Macro for gbm_tbm_get_surface_queue function prototype.
Fix incorrect function argument type.
Change-Id: If56e7813cf21042257a54896aa6ae84852ab3848
joonbum.ko [Mon, 7 Dec 2015 05:40:32 +0000 (14:40 +0900)]
Delete unnecessary code about wayland-drm.
- Change default protocol of wl_buffer wayland-drm to wayland-tbm.
- Delete build dependency about libwayland-drm.
- Delete unnecessary and unused code.
Change-Id: I3c47d646642cca0afb0b12b3332947b8d06f766a
Mun, Gwan-gyeong [Tue, 8 Dec 2015 07:44:23 +0000 (16:44 +0900)]
TPL_WAYLAND: replace tbm_surface_get_info() to tbm_surface_internal_get_plane_data()
for non supportig hw of gem memory size get.
Change-Id: I4569715e00f35468a8d775b4909950b78f0220e5
Gwan-gyeong Mun [Fri, 4 Dec 2015 12:29:18 +0000 (04:29 -0800)]
Merge changes I9765c65c,Ie82458a6 into tizen
* changes:
tpl_wayland: Fix memory leak
Apply tbm_surface_queue. (default:disabled)
Sangjin Lee [Fri, 4 Dec 2015 12:17:10 +0000 (21:17 +0900)]
tpl_wayland: Fix memory leak
Change-Id: I9765c65c40e297d4cb8f488def5db29920b80516
Signed-off-by: Sangjin Lee <lsj119@samsung.com>
Mun, Gwan-gyeong [Wed, 2 Dec 2015 08:20:58 +0000 (17:20 +0900)]
Add arm architecture build feature : ARM_ATOMIC_OPERATION
Change-Id: I395898836f364e7d3b13b1005aa9090972cbc996
joonbum.ko [Wed, 25 Nov 2015 13:34:18 +0000 (22:34 +0900)]
Apply tbm_surface_queue. (default:disabled)
Change-Id: Ie82458a69cd254da25746960258a3a4bfcf78db5
Sangjin Lee [Wed, 2 Dec 2015 02:03:51 +0000 (11:03 +0900)]
Enable wayland-tbm buffer cache feature.
Change-Id: Ifde1adc4975f9087a351c0a414ad5506c19b5504
Mun, Gwan-gyeong [Wed, 2 Dec 2015 01:24:28 +0000 (10:24 +0900)]
Disable tpl_buffer_cache on wayland_tbm
: Wayland_TBM protocol does not support client's buffer destroy callback.
Change-Id: Ibb8d58070f69a33137bfd4a03a3ff73255ad5778
Mun, Gwan-gyeong [Wed, 2 Dec 2015 01:15:42 +0000 (10:15 +0900)]
Remove unnecessary tbm_bo_unref.
Change-Id: I76f3de03a295241a110bc659f42eb3f708df239a
Mun, Gwan-gyeong [Mon, 30 Nov 2015 08:01:28 +0000 (17:01 +0900)]
Disable wayland-drm dependancy.
Change-Id: Ifde340ffc0a73510c3a1f2a11508ac0f1dd00b09
Mun, Gwan-gyeong [Mon, 30 Nov 2015 07:29:05 +0000 (16:29 +0900)]
Merge branch 'spin-tizen_3.0' into tizen
Change-Id: I2a53815ebaa42fbd449418d3a36778f1dc9e8b7e
joonbum.ko [Fri, 20 Nov 2015 13:38:42 +0000 (22:38 +0900)]
Get stride info from gbm_tbm_bo for buffer creating.
Change-Id: I0e0d8096527e46100787363c64da8b082ea7d936
Mun, Gwan-gyeong [Tue, 24 Nov 2015 08:55:26 +0000 (17:55 +0900)]
Add libwayland-egl package
Change-Id: Icac4d36d3eab4186ea38a3984db10cab2e9ea628
Mun, Gwan-gyeong [Sun, 22 Nov 2015 10:51:57 +0000 (19:51 +0900)]
Add missed library linking of wayaland-tbm-server.
Change-Id: Ia2e33a17a7a8648849959f66df4a6f6dd9a753df
Mun, Gwan-gyeong [Sun, 22 Nov 2015 07:50:38 +0000 (16:50 +0900)]
Add wayland display unbind on wayland display fini.
Change-Id: I2c21ba31bef36da36ff2ab6183b3fce7c9621576
Sangjin Lee [Fri, 20 Nov 2015 12:58:08 +0000 (21:58 +0900)]
Merge branch 'sandbox/lsj119/devel' into tizen_3.0
gbm-tbm: move to libgbm
Add COPYING for MIT license
Change-Id: I1a83fd77b02e5876e37b6b9f93c1dc54712f58be
Sangjin Lee [Fri, 20 Nov 2015 11:23:30 +0000 (20:23 +0900)]
Add COPYING for MIT licese
Change-Id: Ie9040ab8d06668496a7ffce34ca326d4e9c27135
Signed-off-by: Sangjin Lee <lsj119@samsung.com>
Sangjin Lee [Fri, 20 Nov 2015 08:38:21 +0000 (17:38 +0900)]
gbm-tbm: move to libgbm
Change-Id: I758dd151c58fe36e1e5bea8ab200460a3871ebc2
Signed-off-by: Sangjin Lee <lsj119@samsung.com>
joonbum.ko [Mon, 16 Nov 2015 04:27:56 +0000 (13:27 +0900)]
Fix for memory leak issue.
- When server uses wl_drm_buffer there are not correct pair of tbm_bo_ref/unref.
It was fixed by deleting code about tbm_bo_ref when getting pixmap surface buffer.
- Add [HOT-FIX] for same reason about when server uses wl_tbm.
Change-Id: I7f2a9a29d3fcf433f6920eb90faac3f7cf38f3e3
Mun, Gwan-gyeong [Sun, 15 Nov 2015 13:58:53 +0000 (22:58 +0900)]
Fix missed tbm_bo unreference (free) on wayland_surface_create_buffer_from_wl_egl() while using WL_TBM protocol.
Change-Id: Iba0a40a13c995e0ace4f1342f588a18ebae0272d
Mun, Gwan-gyeong [Sun, 15 Nov 2015 13:57:02 +0000 (22:57 +0900)]
Support gbm_bo_import for wl_buffer on WL_TBM protocol
usecase: if compositor wants direct-rendering with client's wl_buffer, compositor can use gbm_bo_import with wl_buffer.
Change-Id: I05c89a1aa76eec0b9b3ea24fc78fdd2583e44225
Mun, Gwan-gyeong [Sun, 15 Nov 2015 13:25:11 +0000 (22:25 +0900)]
Fix TPL_USING_WAYLAND_TBM build scope
- for tbm_bufmgr_deinit
Remove unused code.
Change-Id: Ib2988505e63bb974e33f70f71bb4330390a51be9
Mun, Gwan-gyeong [Sun, 15 Nov 2015 13:24:26 +0000 (22:24 +0900)]
Change internal buffer management on tbm_bo of wayland module.
- previous: using create tbm_bo / unref_tbm_bo
- current: create tbm_surface / destroy_tbm_surface / get tbm_bo from tbm_surface
Change-Id: I631568445223f35223dace0819ace2a365dd98c9
Mun, Gwan-gyeong [Wed, 11 Nov 2015 06:29:29 +0000 (15:29 +0900)]
Change file mode bits.
: remove execute bit on source file.
Change-Id: I8713857102a8676f7f2fbae54048a2bfe4019af4
joonbum.ko [Tue, 10 Nov 2015 13:28:12 +0000 (22:28 +0900)]
Add routine of getting tbm_surface for pixmap surface using wayland-tbm.
- It will be good works using WL_TBM interface.
- But it has to work with fixed enlightenment.
buffer->type == E_COMP_WL_BUFFER_TYPE_NATIVE
Change-Id: I7ba21ba07fb89c1e5f3a2750fb620f4e423081b3
joonbum.ko [Fri, 6 Nov 2015 10:28:49 +0000 (19:28 +0900)]
[Hot fix] for 'e19 crash issue'
- It will be deleted after kernel side problem is fixed.
Change-Id: I59abc42d4ebefa381d2508b01a6a85174cfc61cc
Mun, Gwan-gyeong [Thu, 5 Nov 2015 08:44:16 +0000 (17:44 +0900)]
Change tbm buffer allocating method for hardware dependant stride (pitch).
- tbm_surface_internal_create_with_flags() function allocate buffer with hardware's right stride.
Change-Id: Ibead122e802b1b81dade6c12748fefa4906bb18e
joonbum.ko [Thu, 5 Nov 2015 06:12:03 +0000 (15:12 +0900)]
Add build config for using wayland-tbm at spec file.
Change-Id: I36cabc27eab81d0c0bd76b01d58fd780b15cd193
joonbum.ko [Wed, 4 Nov 2015 10:16:05 +0000 (19:16 +0900)]
Add png dumping util for only dev-code.
- How to use dump utils
1. At codes, add TPL_IMAGE_DUMP to where you want.
TPL_IMAGE_DUMP((bo_handle.ptr)data, (int)width, (int)height, (int)tpl_surface->dump_count)
2. Build the codes. (gbs build)
If you want to use dumping to PNG image, set value ENABLE_PNG_DUMP to 1.
3. Install this package to target, and set environment TPL_DUMP_LEVEL=1 or 2.
TPL_DUMP_LEVEL=1 (bmp dump) TPL_DUMP_LEVEL=2 (png dump)
4. If dump processing was surccess, result images will be saved at '/tmp/tpl_dump' directory.
Change-Id: I36cb83d60fdfe0c0635203cf775186fe999298e7
joonbum.ko [Wed, 4 Nov 2015 08:12:28 +0000 (17:12 +0900)]
Delete code about wayland-tbm-server.
- It will be iniatialized and used in E19(server).
- libtpl-egl only support wayland-tbm-client.
Change-Id: Ieb8ebd603e1e29e18336322c5555999c25dee140
KyungMi Lee [Thu, 5 Nov 2015 04:25:24 +0000 (20:25 -0800)]
Initial empty repository
joonbum.ko [Tue, 3 Nov 2015 04:51:34 +0000 (13:51 +0900)]
Delete unnecessary code and add TPL_DUMP util.
- Modify the wrong use of wl_resource/wl_buffer to using wl_proxy.
Change-Id: I5c6b314ff3767533e31018fd2a102d4750d0efa8
joonbum.ko [Tue, 27 Oct 2015 06:28:07 +0000 (15:28 +0900)]
Add functional flag TPL_USING_WL_TBM.
- It will be used to enable/disable for wl_tbm.
Change-Id: If57b93605e22bfb3caa09346d693ce3575d52f2b
joonbum.ko [Fri, 23 Oct 2015 08:14:32 +0000 (17:14 +0900)]
Fixing back buffer management for client.(2/2)
Change-Id: I0d938e76cab84d9b0543102d8b83deb38d8074b7
joonbum.ko [Thu, 22 Oct 2015 03:59:42 +0000 (12:59 +0900)]
Fixing back buffer management for client.(1/2)
- This patch is similar to
862bdee886fc25e6b204b45622c853e4600688b3(SHA1 ID)
Change-Id: I6140002541bbd5846e26b8184d12974f4e46b433
joonbum.ko [Tue, 20 Oct 2015 10:49:44 +0000 (19:49 +0900)]
Change TBM_DEVICE_MM to TBM_DEVICE_3D when using tbm_bo_map.
Change-Id: Ica2c1d2f70db8e27f2fb1d14cee5ae58729217e7
joonbum.ko [Tue, 20 Oct 2015 07:22:18 +0000 (16:22 +0900)]
Reducing function call for checking type of display.
- The function '__tpl_wayland_display_is_wl_display' was called over 2 times in every frame.
It was an inefficiency code structure. so, After this modification,
this function will be called just one time when display initialized.
Change-Id: I1e29e29025e976ad1b99a37923eef45d7a76197b
joonbum.ko [Mon, 19 Oct 2015 06:21:41 +0000 (15:21 +0900)]
Fixing back buffer management for server.
- Server is not going to use able_rendering_queue for management of back buffers.
- Pointer array is more suitable than list queue for management.
Change-Id: I18de8d5d6f2f1c8cb8108f02ca79f80f098b6c72
joonbum.ko [Thu, 8 Oct 2015 08:22:26 +0000 (17:22 +0900)]
Applying wayland-tbm-server instead of wayland-drm
- It will be deleted.
- wayland-tbm-server will be used by e19.
Change-Id: If0a6b7e01699f6fb98aea4f91de0bebb8e8fb1bd
joonbum.ko [Wed, 7 Oct 2015 10:27:10 +0000 (19:27 +0900)]
Applying wayland-tbm-client instead of wayland-drm
Change-Id: Ia6d42e3d2da8ead4022aef895e3846b6a62ec8b2
Keeho Song [Wed, 4 Nov 2015 08:00:14 +0000 (17:00 +0900)]
[Ver-0.8.8] Remove unneccessary tbm_bo_map/unmap
Change-Id: I573d4ceb9663182931af2419347265e1cca65fcb
joonbum.ko [Tue, 3 Nov 2015 07:12:17 +0000 (16:12 +0900)]
[Ver-0.8.7] Delete hard code about ARGB8888 format.
Change-Id: I9af3c49c932be5f4069d898257720890c3230c11