Daniel Hirt [Sat, 21 Nov 2015 10:39:00 +0000 (12:39 +0200)]
Eina unicode: add eina_unicode_unicode_to_utf8_range
Required some special treatment to get words (substring) out of an
input Unicode string to a utf8 one. This saves the trouble converting
the whole string: you input an offset in the Eina_Unicode array, and
provide the required length. That's is, now you can extract words and
whatnot in utf8 form.
To save code I wrapped the original one to get the whole length.
Change-Id: I65f8eadeb0d69f7829e956ddd901ea2adae731c6
Daniel Hirt [Sun, 15 Nov 2015 09:31:32 +0000 (11:31 +0200)]
Evas language: add full locale language getter
evas_common_language_from_locale_get truncates the country letters in
the language. We don't always want that (one example is dictionaries).
Change-Id: I663a90ee9e4386e8f8d5d3352974a3d28bd08ee7
Tom Hacohen [Tue, 17 Nov 2015 12:07:39 +0000 (12:07 +0000)]
Evas language: Fix language from locale function.
This function was trying to infer from the LANG env var, though it should
have just queried the locale all along, as the language we want is the
system's text language, and not necessarily the LANG variable's value.
@fix.
Change-Id: Id51b0b2b017bc8d133311168491c59b727726ab7
Li Zhang [Tue, 5 Jan 2016 12:29:22 +0000 (20:29 +0800)]
ecore_imf/wayland: Fix issue text input context was not set to activate in focus-in event
Change-Id: Icecd03b030199594c7fa7775ca588c8fd89214d4
Sung-Jin Park [Wed, 6 Jan 2016 00:28:47 +0000 (09:28 +0900)]
ecore_drm_evdev: fix wrong use of EINA_SAFETY_ON_TRUE_RETURN_VAL macro in _device_remapped_key_get()
Change-Id: Idcbb3dbd54f34a703cb307b08f48f2220c3b9c66
Subhransu Mohanty [Thu, 7 Jan 2016 06:34:01 +0000 (15:34 +0900)]
evas: added missing append_arc() api declaration.
Change-Id: I5eb1c5c37be4b75b31dbf5ab953720dead26331e
Haifeng Deng [Mon, 21 Dec 2015 10:52:03 +0000 (18:52 +0800)]
support input panel geometry
Change-Id: I0c278eef70ebb8cfb89070839b6ccc2a443667b9
Jaehwan Kim [Tue, 5 Jan 2016 08:05:08 +0000 (00:05 -0800)]
Merge "spec: include efreetd" into tizen
Jaehwan Kim [Tue, 5 Jan 2016 07:45:07 +0000 (16:45 +0900)]
spec: include efreetd
If efreetd is not included, any application can make
defunct process when efreet_init is called.
Change-Id: I7f8a4968af075225c70962031488bc8ce7a3fa5f
JengHyun Kang [Thu, 24 Dec 2015 05:40:06 +0000 (14:40 +0900)]
Add a new API for keymap cache
Change-Id: I36ab0d665e6a43d55eb3c741c0c5889a4c4d9801
Youngbok Shin [Tue, 5 Jan 2016 07:28:06 +0000 (23:28 -0800)]
Merge "Evas textblock: Clean up ellipsis handling code." into tizen
Youngbok Shin [Tue, 5 Jan 2016 07:28:02 +0000 (23:28 -0800)]
Merge "Evas Textblock: Fix ellipsis when textblock is resized to formatted h." into tizen
Youngbok Shin [Tue, 5 Jan 2016 07:27:58 +0000 (23:27 -0800)]
Merge "Revert "Evas Textblock: Fix ellipsis when textblock is resized to formatted h."" into tizen
Tom Hacohen [Mon, 4 Jan 2016 15:09:16 +0000 (15:09 +0000)]
Evas textblock: Clean up ellipsis handling code.
This cleans up the previous commit a bit by isolating the calculation
code and using a temporary descriptively named variable for the calculation.
Change-Id: I53f509dd5bfd775f83a9012654e51a89894d4cb3
Youngbok Shin [Mon, 4 Jan 2016 15:00:56 +0000 (15:00 +0000)]
Evas Textblock: Fix ellipsis when textblock is resized to formatted h.
Summary:
it->h is sum of max ascent and max descent. It shouldn't be used
when handle ellipsis. Because, Evas Textblock uses these values for
each lines differently according to its location.
(start, end, else, single)
So, for handling ellipsis exactly, it has to be fixed.
Test Plan: A test case is included in Evas Test suite.
Reviewers: woohyun, tasn, herdsman
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3475
Change-Id: I91a1daa2253fc528189c791f52153adf7530013f
Duna Oh [Tue, 29 Dec 2015 08:02:30 +0000 (17:02 +0900)]
ecore_wayland: set touch_focus window when gets pointer_enter
Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: I4ac95dfebe1b341bb53103af556fa69e06874c4c
Youngbok Shin [Tue, 5 Jan 2016 06:45:44 +0000 (15:45 +0900)]
Revert "Evas Textblock: Fix ellipsis when textblock is resized to formatted h."
This reverts commit
c6a4cd0963cd333f177bf1dfd4b231741ab312f3.
The patch is merged in upstream.
So, it will be replaced by the original patch.
Change-Id: Id17e6cbf6b98e04d30332d9db262fdb799f838e1
Youngbok Shin [Mon, 4 Jan 2016 08:02:38 +0000 (17:02 +0900)]
Evas Textblock: Fix ellipsis when textblock is resized to formatted h.
Summary:
it->h is sum of max ascent and max descent. It shouldn't be used
when handle ellipsis. Because, Evas Textblock uses these values for
each lines differently according to its location.
(start, end, else, single)
So, for handling ellipsis exactly, it has to be fixed.
Test Plan: A test case is included in Evas Test suite.
Reviewers: woohyun, tasn, herdsman
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3475
@tizen_fix
Change-Id: I901bbe5279c66cc2322635a60b239d0167f037d9
Doyoun Kang [Thu, 31 Dec 2015 01:59:37 +0000 (10:59 +0900)]
ecore wayland: modified code to handle iconic state
Change-Id: I867299796d4a650d3dae301b634046ef1fd0555e
Haifeng Deng [Tue, 29 Dec 2015 11:37:52 +0000 (19:37 +0800)]
Hide input panel before hide request context is deleted
Change-Id: I288654e5f8b1cc1510f414b6dc1f05ce1c4403c7
Jihoon Kim [Mon, 28 Dec 2015 07:34:51 +0000 (23:34 -0800)]
Merge "ecore_imf/wayland: do not check input panel enable in show or hide" into tizen
Jihoon Kim [Mon, 28 Dec 2015 07:28:04 +0000 (16:28 +0900)]
ecore_imf/wayland: do not check input panel enable in show or hide
Input panel enable is already being checked in ecore_imf API.
Change-Id: I9f4c5116dfa23d4cd52fc557e2a4c0fab47298b6
Sung-Taek Hong [Fri, 31 Jul 2015 09:11:14 +0000 (18:11 +0900)]
[License] update license
Signed-off-by: Sung-Taek Hong <sth253.hong@samsung.com>
Conflicts:
licenses/COPYING.FTL
packaging/efl.spec
Change-Id: I4999d0ee31f366c53aab39d2cec58a789254414e
Jaehwan Kim [Thu, 24 Dec 2015 04:10:40 +0000 (20:10 -0800)]
Merge "evas/gl : Do not re-preload image data if texture is successfully uploaded with image data." into tizen
Jiyoun Park [Wed, 23 Dec 2015 08:57:16 +0000 (00:57 -0800)]
Merge "ecore_wayland: fix ecore_wl_window_keyboard_state_set()" into tizen
Hosang Kim [Fri, 18 Dec 2015 08:54:56 +0000 (17:54 +0900)]
ecore_wayland: fix ecore_wl_window_keyboard_state_set()
Fix parameter of ecore_wl_window_keyboard_state_set().
Also clipboard and indicator is fixed, too.
Change-Id: Ib2d2531b7b475b1e3b505fda4f2280881699e1c9
Thiep Ha [Wed, 23 Dec 2015 06:57:01 +0000 (15:57 +0900)]
ecore con: request e19 compositor to create socket
In Tizen 3.0, the security does not allow 1 application to create
socket and other applications to connect to that socket.
All sockets should be created by system daemon or service.
Therefore, we request the e19 compositor to create sockets for us.
Besides, this patches also change the location of sockets to
avoid smack errors.
@tizen_feature
Change-Id: Ia7cb5d937f964d2d7528e84ca06854fcaf805d66
Minkyoung Kim [Fri, 18 Dec 2015 07:49:17 +0000 (16:49 +0900)]
evas/gl : Do not re-preload image data if texture is successfully uploaded with image data.
Summary:
'cached' flag is not enough to check whethere data is loaded and texture is uploaded.
so check more options for prevent re-preload image data on gl-backend.
Test Plan: Local Test (elementary_test : elm images)
Reviewers: jpeg, eunue
Reviewed By: jpeg
Subscribers: cedric, jiin.moon, wonsik, spacegrapher
Differential Revision: https://phab.enlightenment.org/D3446
Change-Id: Ia15c6ec4a22a6b48921baab5d00992bc0918c477
Origin: upstream
Jaeun Choi [Wed, 23 Dec 2015 02:19:09 +0000 (18:19 -0800)]
Merge "evas: Do not preload data if data is cached." into tizen
Jaeun Choi [Wed, 23 Dec 2015 02:19:02 +0000 (18:19 -0800)]
Merge "evas/gl: Update texture when preload is cancelled." into tizen
MinJeong Kim [Tue, 22 Dec 2015 06:27:22 +0000 (15:27 +0900)]
gl_drm: support evasgl native surface
gl_drm engine can set native surface using EVASGL type.
Change-Id: Ie80a797e1244e4aa4ae8e06b38e98f2ac6a2652b
JengHyun Kang [Sun, 20 Dec 2015 23:04:44 +0000 (08:04 +0900)]
Remove a unused variable
Change-Id: I6e82d9fa5e138a6981e1b5866a5e155c9777fc39
Duna Oh [Fri, 18 Dec 2015 08:35:55 +0000 (17:35 +0900)]
ecore-drm: Don't send mouse_move event too early
We cannot be sending an ecore_event for mouse move here
as it is too early in the startup process for that too happen.
Raising the event here never gets caught because the ecore_evas has not yet registered for ecore_input listening.
origin: upstream
https://git.enlightenment.org/core/efl.git/commit/?id=
0210051a40beb2d53789ced8b6c97671ea99ef2b
Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: I14f68f75ff1cd49faa420be394798a9597f8e0c7
Sung-Taek Hong [Fri, 18 Dec 2015 08:58:53 +0000 (17:58 +0900)]
ecore_idle_exiter: return NULL in eo_finalize() when Ecore_Task_Cb is not set
Summary: - ecore_idle_exiter_add should return NULL, when Ecore_Task_Cb is not set.
Reviewers: jpeg, woohyun, jaehwan, Jaehyun
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3425
Change-Id: Ifb65320579f3248116c47cb55dbb4f14596b6d13
JengHyun Kang [Thu, 10 Dec 2015 05:36:51 +0000 (14:36 +0900)]
Add a new ecore_drm API
- ecore_drm_device_left_handed_set
- Set a libinput's left handed option
Change-Id: Ifc1686b9b04a27512ae00df9275ae84e1c3a0f60
Gwanglim Lee [Fri, 18 Dec 2015 04:44:50 +0000 (13:44 +0900)]
ecore_wayland: fix comparing keyboard state to state of conformant_area wl event.
The state of conformant_area wl event is based on the visibility value
of virtual keyboard window. Thus we need to add 1 to it before comparing
with keyboard state.
Change-Id: I3b1a3dd2c9d154b10f1cd63b16c42e3295a78bfc
Sung-Taek Hong [Thu, 17 Dec 2015 07:54:02 +0000 (16:54 +0900)]
evas_callback: Remove callbacks in reverse order with evas_event_callback_del
Summary:
- This function is deprecated, because del_full should be used instead.
- Still, the documentation specifies in which order the callbacks should
- be deleted.
Change-Id: Ie05155abafd3d73425e1b73bc85090ec98cd06fa
Signed-off-by: Sung-Taek Hong <sth253.hong@samsung.com>
Jaehwan Kim [Thu, 17 Dec 2015 06:53:42 +0000 (22:53 -0800)]
Merge "Evas Textblock: Fix NULL dereferencing issue" into tizen
Sung-Jin Park [Thu, 17 Dec 2015 06:08:08 +0000 (15:08 +0900)]
Add ecore_drm_evdev_key_remap_enable/set functions to support remapping key(s) in keycode level
Change-Id: If64f779e13d0b5bb4707441b7ddc36eb093df8eb
Youngbok Shin [Sun, 13 Dec 2015 15:13:13 +0000 (17:13 +0200)]
Evas Textblock: Fix NULL dereferencing issue
Summary:
Even if the given two cursor is NULL, it shouldn't be crashed.
@fix
Test Plan:
Test case included in Evas test suite.
Run "make check".
Reviewers: herdsman, tasn
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3422
Change-Id: Iee812338bb0b007c16ebeea0e93ce86c3f0e67f4
Minkyoung Kim [Fri, 11 Dec 2015 04:50:40 +0000 (13:50 +0900)]
evas: Do not preload data if data is cached.
Summary: Summary : If data is cached, need not to reload data.
Test Plan: Local tests
Reviewers: jpeg
Reviewed By: jpeg
Subscribers: eunue, spacegrapher, cedric, wonsik, jiin.moon
Differential Revision: https://phab.enlightenment.org/D3418
Change-Id: I40dc08046c6a4aa90b8ec005d33ac472cbed54ec
Origin: upstream
Minkyoung Kim [Thu, 10 Dec 2015 07:04:57 +0000 (16:04 +0900)]
evas/gl: Update texture when preload is cancelled.
Summary:
When preload is cancelled before finishing loading,
should reload the image data and update the texture during rendering object.
So, force texture to be updated on first drawing time.
(It should be guaranteed that preload image object is hidden before preload done.)
Test Plan: Local tests
Reviewers: jpeg
Reviewed By: jpeg
Subscribers: eunue, jiin.moon, wonsik, cedric, spacegrapher
Differential Revision: https://phab.enlightenment.org/D3416
Change-Id: I6b89f851ca45848a5357bd3e0b1af6834241339c
Origin: upstream
Duna Oh [Thu, 10 Dec 2015 04:44:12 +0000 (13:44 +0900)]
ecore-drm: Fix failure of setting/closing evdev->fd which causes fd leak
When a input device is plugged in, _cb_open_restricted() is called before creating evdev.
So setting fd value on evdev->fd was failed and also closing evdev->fd was invalid.
This commit has a eina_hash which has 'path-fd' pairs.
Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: I8e230516edf1ef371158a0ded1569c77c5a27144
Mun, Gwan-gyeong [Mon, 7 Dec 2015 08:15:15 +0000 (17:15 +0900)]
evas/wayland-egl: Change EGL_WAYLAND definitions to EVAS_GL_WAYLAND.
Change-Id: I8266c27fd88ab654164ae332ef166784feef7510
Mun, Gwan-gyeong [Mon, 7 Dec 2015 07:48:58 +0000 (16:48 +0900)]
evas_gl_drm: remove including of mesaext header file.
Change-Id: Ia4c4f7f2b149cf5d94c53d8772e97dbd05fcc77e
DaeKwang Ryu [Mon, 14 Dec 2015 04:04:30 +0000 (20:04 -0800)]
Merge "EvasGL: Add feature to set EvasGL error state" into tizen
DaeKwang Ryu [Thu, 10 Dec 2015 07:12:19 +0000 (16:12 +0900)]
EvasGL: Add feature to set EvasGL error state
refered to GL_X11 backend.
Change-Id: I783353163341cb5e1274036a2d89b7f62030b137
DaeKwang Ryu [Thu, 10 Dec 2015 07:40:55 +0000 (16:40 +0900)]
EvasGL: [bugfix] It creates a directory in root
It creates a directory with a weird name in the root path.
Because There are uninitialized string variables.
Change-Id: Iaa3d3d6055b6a42af496ee85bb6d3f2d82abb31e
Seunghun Lee [Mon, 7 Dec 2015 15:06:21 +0000 (10:06 -0500)]
evas-wayland-egl: Fix the unnecessary renewal of the engine window.
Summary:
As we do not set the ob->info->info.win variable anymore inside
Ecore_Evas (old code that was removed), we can omment out the line.
This line was causing unnecessary renewal of the engine window (thus
causing flickering when rotation was applied).
@fix
Test Plan: Rotate or Resize the window on wayland-egl.
Reviewers: gwanglim, devilhorns
Reviewed By: devilhorns
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3407
Conflicts:
src/modules/evas/engines/wayland_egl/evas_engine.c
Change-Id: I8d2fab00c0740da001e0984489eee36f9dd8f55b
Duna Oh [Mon, 16 Nov 2015 12:09:33 +0000 (21:09 +0900)]
Ecore_Input: for multi-touch event, store the name of source device and send a valid Evas_Device
Change-Id: Ie94ceb187ad72a7bde57fb0d0e60fd353ac027f5
Signed-off-by: Duna Oh <duna.oh@samsung.com>
Thiep Ha [Wed, 9 Dec 2015 02:51:06 +0000 (11:51 +0900)]
ecore_evas_extn: fix crashing while create temp file
The temp file template of mkstemp is constant string.
This makes mkstemp crash. We change it to string array to fix it.
@tizen_fix
Change-Id: Ib586ca0f227d75808ed25dd24221f4ffe181adef
Joogab Yun [Mon, 7 Dec 2015 09:33:35 +0000 (18:33 +0900)]
[Title] evas : bug fixed image_native_set about EVAS_NATIVE_SURFACE_EVASGL type
[Problem]
[Cause]
[Solution]
[Team] Graphics
Change-Id: Ib9aca2e4956f0744b0cdc8f83e82d3988f5f59a3
DaeKwang Ryu [Mon, 23 Nov 2015 07:44:25 +0000 (16:44 +0900)]
evas-wl-egl: set depth/stencil/msaa bit to window surface
This is for wayland_egl backend.
please refer https://phab.enlightenment.org/D2144
Change-Id: Ifd88dc50ef335013e33c1e123acb8a19182f5646
DaeKwang Ryu [Mon, 7 Dec 2015 04:51:56 +0000 (20:51 -0800)]
Merge "EvasGL: implement Context restoring for wayland_egl" into tizen
DaeKwang Ryu [Mon, 7 Dec 2015 04:51:48 +0000 (20:51 -0800)]
Merge "Evas/WL: fix error checking of eglBindAPI." into tizen
DaeKwang Ryu [Mon, 7 Dec 2015 04:51:37 +0000 (20:51 -0800)]
Merge "EvasGL: implement evgl_eng_context_create for GLES 3 on wayland_egl" into tizen
DaeKwang Ryu [Mon, 7 Dec 2015 01:31:22 +0000 (10:31 +0900)]
EvasGL : remove internal tag(doxygen) in GL Helper headers.
Change-Id: Ia638be3bde35cb420e4659c3e6e6f7761982a33a
DaeKwang Ryu [Wed, 28 Oct 2015 11:01:02 +0000 (20:01 +0900)]
EvasGL: implement Context restoring for wayland_egl
Change-Id: Ia880bac8d0d8771c74f1d10e34a8750001f0b534
DaeKwang Ryu [Wed, 28 Oct 2015 06:06:40 +0000 (15:06 +0900)]
Evas/WL: fix error checking of eglBindAPI.
if eglGetError sequencially called, second eglGetError() doesn't give
the information of real Error.
Change-Id: I9acd303d5550fe896b19b0a50e071e89f2185fac
DaeKwang Ryu [Wed, 28 Oct 2015 05:59:35 +0000 (14:59 +0900)]
EvasGL: implement evgl_eng_context_create for GLES 3 on wayland_egl
Change-Id: I450a2dd0ef2c08be4128f9e4685e089967ceba13
Sangjin Lee [Thu, 3 Dec 2015 06:49:10 +0000 (15:49 +0900)]
gl_drm: Fix release framebuffer in pageflip handle
Change-Id: Ide673be0c2eef10346962bc7935a7657ed262b39
Signed-off-by: Sangjin Lee <lsj119@samsung.com>
Doyoun Kang [Thu, 3 Dec 2015 02:56:47 +0000 (11:56 +0900)]
ecore wayland: fixed bug not to move window which is not mapped
Change-Id: Ib21e6bac21854134b9f8786a0feaeb34399dc8d0
Doyoun Kang [Thu, 3 Dec 2015 02:12:30 +0000 (11:12 +0900)]
ecore wayland: remove build warning
Change-Id: Ie476e30357f2696ada7bf758f469a9946743a03c
MinJeong Kim [Wed, 2 Dec 2015 02:49:46 +0000 (11:49 +0900)]
ecore_main: handle EPOLLHUP
When hang up happened on the file descriptor, there are no solution to
prevent infinite loop for handling the file descriptor.
To resolve thie problem, EPOLLHUP handling process is added.
@fix
Change-Id: Ibce80c1adfd6a2744347130e0942199aff9396dc
Jaehwan Kim [Wed, 2 Dec 2015 02:34:57 +0000 (18:34 -0800)]
Merge "eina eina_log: fix compilation on windows" into tizen
Jaehwan Kim [Wed, 2 Dec 2015 02:34:50 +0000 (18:34 -0800)]
Merge "support tizen dlog logging system" into tizen
ChunEon Park [Sat, 22 Aug 2015 09:50:36 +0000 (18:50 +0900)]
eina eina_log: fix compilation on windows
window hosting doesn't use syslog.
Change-Id: I4016b2ceeba974819f2988f80a0c3ca819ef3698
Jongmin Lee [Wed, 21 Jan 2015 12:19:47 +0000 (21:19 +0900)]
support tizen dlog logging system
Conflicts:
src/lib/eina/eina_log.c
Change-Id: I608f5a494fb8b72ee9b40e06c618cfe601a130ef
Doyoun Kang [Thu, 26 Nov 2015 10:47:16 +0000 (19:47 +0900)]
ecore wayland/ecore_evas wayland: support to handle iconify_change event
Change-Id: I3afd10f6e2040c68f93ed421851bd03868461407
Duna Oh [Mon, 30 Nov 2015 23:32:00 +0000 (08:32 +0900)]
ecore_drm: add capability check in pointer_xy_get()
Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: I532dcb99ced5a420d68ebc3f8ff10a96383ccfa0
Duna Oh [Wed, 25 Nov 2015 06:30:49 +0000 (15:30 +0900)]
Ecore_Drm: Fix discontinuous mouse motion when handling multiple pointer devices
Change-Id: I3ea09a6b9dc19af586c56cf1d3ea3a2e9ae68190
Signed-off-by: Duna Oh <duna.oh@samsung.com>
Ji-Youn Park [Thu, 26 Nov 2015 08:05:39 +0000 (16:35 +0830)]
ecore_wayland: fix keygrab didn't work when window is not focused after migration
Change-Id: I339e100970ac1a59060f306ba88b0ab877cccb4e
SooChan Lim [Wed, 25 Nov 2015 08:26:12 +0000 (17:26 +0900)]
ecore-drm: set the -DECORE_DRM_DEVICE_SUPPORT_SPRD after %build
Change-Id: I1cd282a10fbbb60f345814856f8bdbf6c564fc44
MinJeong Kim [Wed, 25 Nov 2015 07:12:47 +0000 (16:12 +0900)]
ecore_wl: assign _ecore_wl_disp to NULL if init fails
Assign _ecore_wl_disp to NULL if init fails for preventing future
abuses.
@fix
Change-Id: Ic4f9e3b84993aead4400567a53e664261854f887
Joogab Yun [Fri, 20 Nov 2015 05:59:11 +0000 (14:59 +0900)]
Evas GL: Fix failing make check test case
The version field was not properly set for GLES 1 and 3 (but not tested),
double free() could happen on the API structs, and empty API structs
could be returned.
From
cc4b54ec0a69c43f5163addbb6a4f4a6615cb8c0 Mon Sep 17 00:00:00 2001
From: Jean-Philippe Andre <jp.andre@samsung.com>
Change-Id: Ic4944f5b87743fd0e4f2a8a37a87a4e3df69dd5e
Joogab Yun [Fri, 20 Nov 2015 05:57:50 +0000 (14:57 +0900)]
ecore-evas wayland: use correct values when updating
wayland window size
by using the geometry from after the request size has been updated,
scenarios such as the following can be avoided:
[4208305.332] xdg_surface@46.set_window_geometry(0, 0, 1778, 1)
[4208305.370] xdg_surface@46.set_window_geometry(0, 0, 1778, 250)
From
69a8de59b05626591ddc0b960e2e4ccf45f26f2d Mon Sep 17 00:00:00 2001
From: Mike Blumenkrantz <zmike@osg.samsung.com>
Change-Id: I22ebdc4300dbd8b3526ee0f8c349bf76321fdcff
Joogab Yun [Fri, 20 Nov 2015 05:56:35 +0000 (14:56 +0900)]
evas/gl_generic: Check for errors when calling tbm
surface map/unmap
tbm_surface_map/unmap might fail and return error, so we need to check
the return value of these APIs.
From
8c2f9a2669b27fcb904205d7422971648f86b246 Mon Sep 17 00:00:00 2001
From: Dongyeon Kim <dy5.kim@samsung.com>
Change-Id: I16bc30434cb72740b0b19b13a7c28ee9b74abad2
Joogab Yun [Fri, 20 Nov 2015 05:55:43 +0000 (14:55 +0900)]
evas/gl: Bind texture with external target for tbm
surface
egl images created using tbm surface for native surface set use
GL_TEXTURE_EXTERNAL_OES as texture target, so we should bind to
this target when rendering.
Dynamic hint set using tbm surface also creates egl images, but
as we only use RGB* colorspace for this we can use GL_TEXTURE_2D.
So, keep track of texture target in shader array, and bind to the
appropriate one.
This also fixes the bug that image_data_get only worked when BOTH
sec_image_map and sec_tbm_surface extensions are supported.
From
7db0e2066108c2ee78afd317727b581d1d7e8342 Mon Sep 17 00:00:00 2001
From: Dongyeon Kim <dy5.kim@samsung.com>
Change-Id: Iab9437f0119025d7b97223f8b12e723a2e336771
Joogab Yun [Fri, 20 Nov 2015 05:50:08 +0000 (14:50 +0900)]
evas/gl: Do not check for egl errors with
glEGLImageTargetTexture2DOES
Summary:
glEGLImageTargetTexture2DOES is a GL extension API, so we need to use
glGetError instead of eglGetError!
From
16eb3942bb1f81fc56e4314f0a09b6b00b7aa0d7 Mon Sep 17 00:00:00 2001
From: Dongyeon Kim <dy5.kim@samsung.com>
Change-Id: I793e6a4aae6981d2cba98a0cbaf6a2b42f877403
Joogab Yun [Fri, 20 Nov 2015 05:48:56 +0000 (14:48 +0900)]
evas/gl_common: Enable dynamic hint set using tbm
surface only when egl extension is supported
Summary:
Dynamic hint set using tbm surface can only be used when EGL_TIZEN_image_native_surface
extension is supported by the driver. So check for both tbm surface and egl extension.
From
74e556febc1324a2b36531a1478481e44c594298 Mon Sep 17 00:00:00 2001
From: Dongyeon Kim <dy5.kim@samsung.com>
Change-Id: I1cbbfe2911574d989854d6e077a8caed8bbf7000
Joogab Yun [Fri, 20 Nov 2015 05:47:39 +0000 (14:47 +0900)]
Evas GL: Minimize internal resource creation
Summary:
Evas GL maintains internal resource (XWindow, EGL Window Surface, EGL Context)
per thread to be used for make current when indirect rendering is used.
Currently this internal resource is created regardless of current rendering mode,
and always created when a new Evas GL thread is created by the application.
Internal resource created in a new thread is not freed until evas shuts down
in the main thread, so this causes memory/fd leak.
This can be fixed by creating internal resource only in necessary cases (ie. indirect rendering),
and adding tls resource destructor to be called when thread exits.
From
65b2a436397d8cad4155968f214d1f68ce3d951f Mon Sep 17 00:00:00 2001
From: Dongyeon Kim <dy5.kim@samsung.com>
Change-Id: I4737582b29c139f0e3cf0e4b6a8ad2b0544e64fd
Joogab Yun [Fri, 20 Nov 2015 05:44:25 +0000 (14:44 +0900)]
Evas software_x11: add DRI2-x11 support at
image_native_set()
Summary: add DRI2-x11 feature at image_native_set() on Software-x11
This is based on TBM, which means Tizen platform.
Reviewers: spacegrapher, wonsik, raster, jpeg
Subscribers: scholb.kim, dkdk, cedric
Differential Revision: https://phab.enlightenment.org/D3291
Change-Id: Icf6426e53efaf4b274bbb27f3b97e673809f8f42
Joogab Yun [Fri, 20 Nov 2015 05:42:16 +0000 (14:42 +0900)]
Evas sw_generic/x11: Fix calls to native_bind_cb/unbind_cb
Summary:
In Evas-SW-Generic/X11, native_unbind_cb is not called sometimes, although
native_bind_cb was called.
Some native surface's cases, both native_bind_cb and native_unbind_cb should
be called for mapping and unmapping, eg. with tbm_surface.
@fix
Test Plan:
Evas Native Surface with pixmap sample.
Evas Native Surface with tbm(this sample can work in Tize Device)
elementary_test
Reviewers: raster, jpeg, cedric, spacegrapher
Subscribers: JoogabYun, scholb.kim, dkdk
Differential Revision: https://phab.enlightenment.org/D3317
From
84cb06784e6491277f3303276b1339c0207fca64 Mon Sep 17 00:00:00 2001
From: Wonsik Jung <sidein@samsung.com>
Change-Id: Ibb0d729ab085f0722649f7dfeaf134f2eac5326e
Joogab Yun [Fri, 20 Nov 2015 05:39:17 +0000 (14:39 +0900)]
EvasGL: Add error handling for GL_OES_EGL_image/EGL_Image_KHR
Summary:
Add code for exception case for GL_OES_EGL_image/EGL_Image_KHR
These EvasGL's extension functions does not have the code for exception case.
e.g. EvasGLImage is NULL.
Test Plan: Native Pixmap surface's example is created and changed EvasGLImage's value(e.g. valid data or NULL)
Reviewers: raster, spacegrapher, jpeg
Subscribers: scholb.kim, JoogabYun, dkdk, cedric
Differential Revision: https://phab.enlightenment.org/D3284
From
64890d260f9ee9607aa21e52761bba226a7b0bd1 Mon Sep 17 00:00:00 2001
From: Wonsik Jung <sidein@samsung.com>
Change-Id: Idb8eebbca8c6f02ea9fe66ad2a3ec455f085409d
Joogab Yun [Wed, 25 Nov 2015 06:13:00 +0000 (22:13 -0800)]
Merge "Evas GL: implement GLES2/GLES3 wrapper functions" into tizen
Joogab Yun [Wed, 25 Nov 2015 06:12:47 +0000 (22:12 -0800)]
Merge "Evas: Fix bug in evas_cache_image_dirty()" into tizen
Jihoon Kim [Wed, 25 Nov 2015 02:40:27 +0000 (18:40 -0800)]
Merge "Fix IME hide -> show issue in case of focus-out and then focus-in" into tizen
Haifeng Deng [Tue, 24 Nov 2015 09:30:14 +0000 (17:30 +0800)]
Fix IME hide -> show issue in case of focus-out and then focus-in
Change-Id: I1d3d7023dbd10b78f510380ff3c46087228f9180
Junkyeong Kim [Mon, 23 Nov 2015 11:44:56 +0000 (20:44 +0900)]
ecore_drm: Add ECORE_DRM_DEVICE_SUPPORT_SPRD define for SPRD device
Summary: Support spreadtrum graphic chipset device.
Change-Id: Ie69d0e095f0933a95ab6c9ceb801100d8ee1c203
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Boram Park [Mon, 23 Nov 2015 09:10:31 +0000 (18:10 +0900)]
ecore_drm: add drm fd_handler to handle vblank and vendor events
Change-Id: I497ea6564cf5ad4dbf279708feae99aa36d54a8f
Boram Park [Mon, 23 Nov 2015 07:18:00 +0000 (16:18 +0900)]
ecore_drm: support wait_vblank function and user drm vblank callback
Change-Id: I1b5337ee64cb20f44169a50ff7fcd5fd0824b6fb
Boram Park [Mon, 23 Nov 2015 07:13:34 +0000 (16:13 +0900)]
ecore_drm: fix memory leak
Change-Id: I0607f4c256fad6fa133c222125f796e01f02c062
Jaehwan Kim [Mon, 23 Nov 2015 01:50:46 +0000 (17:50 -0800)]
Merge "efl: Remove Gstreamer dependency." into tizen
Joogab Yun [Fri, 20 Nov 2015 05:38:35 +0000 (14:38 +0900)]
Evas GL: implement GLES2/GLES3 wrapper functions
Summary:
I found some bugs in EvasGL with OpenGL ES conformance test.
6 wrapper functions are added for GLES2,
(glDeleteFramebuffers, glFramebufferRenderbuffer
glFramebufferTexture2D, glGetError
glGetFloatv, glGetFramebufferAttachmentParameteriv)
3 wrapper fucntions are added for GLES3.
(glDrawbuffers, glGetStringi, glReadBuffer)
Test Plan:
GLES3 sample app,
EvasGL(OpenGL ES CTS) for 2.0 is passed.
For 3.0, 10 TCs are failed (Total : 2994TCs).
Reviewers: wonsik, spacegrapher, jpeg
Subscribers: cedric, JoogabYun, scholb.kim
Maniphest Tasks: T2621
Differential Revision: https://phab.enlightenment.org/D3301
From
5ccd7830697b45480bfd4fbef455a07a1f222dca Mon Sep 17 00:00:00 2001
From: DaeKwang Ryu <dkdk.ryu@samsung.com>
Change-Id: I5319a69b2dacaa06933e1130195a4b2bb7937ade
Joogab Yun [Fri, 20 Nov 2015 05:37:52 +0000 (14:37 +0900)]
Evas: Fix bug in evas_cache_image_dirty()
Summary: Code which shouldn't be removed was removed by '
800279c23bdb0e925f112c96516dcc96a5487684'
Reviewers: spacegrapher, cedric, jpeg
Reviewed By: jpeg
Subscribers: scholb.kim, dkdk, wonsik, cedric
Differential Revision: https://phab.enlightenment.org/D3278
Change-Id: I9ba30148010eed084a92e32c292504dba5337036
DaeKwang Ryu [Thu, 19 Nov 2015 05:49:14 +0000 (14:49 +0900)]
EvasGL/wayland: EVAS_NATIVE_SURFACE_EVASGL is added.
Change-Id: I61b25d211b6fd216da59ff52691a0458c70a0b85
Youngbok Shin [Tue, 10 Nov 2015 22:52:57 +0000 (14:52 -0800)]
edje: initialize map.zoom values to fix old *.edj compatibility issues.
Summary:
The initial values for map.zoom.x(y) should be [1.0]: it means 100%.
The values from newly builded edj has been set properly.
But, if a part from old *.edj turns on map feature, map.zoom.x(y) will be set [0.0]: it means 0%.
So, the part will be invisible. We need to initialize these values.
@fix
Test Plan:
1. Build a *.edc file which has a part with [description.map.on: 1;] in EFL 1.13.
2. See it works well in EFL 1.13.
3. Install EFL 1.14 or laters.
4. See the part is disappear.
Reviewers: Hermet, jpeg, cedric
Reviewed By: cedric
Subscribers: jiin.moon
Differential Revision: https://phab.enlightenment.org/D3302
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Jaehwan Kim [Wed, 18 Nov 2015 11:45:51 +0000 (20:45 +0900)]
version up to 1.16.0
Changyeon Lee [Wed, 18 Nov 2015 10:29:38 +0000 (19:29 +0900)]
ecore-evas-drm: Use gbm surface format ARGB888 instead of XRGB8888
because XRGB8888 format is unsupported at hawkp target
Change-Id: I9116c022706cdb321d5e45b7a9cab3a16391196e
Jaehwan Kim [Tue, 17 Nov 2015 08:47:29 +0000 (17:47 +0900)]
Merge remote-tracking branch 'origin/sandbox/jaehwan/devel' into tizen
Conflicts:
src/modules/evas/engines/gl_drm/evas_drm.c