Wonsik Jung [Sun, 24 Jan 2016 11:47:19 +0000 (20:47 +0900)]
evas engine : Downstream tbm surface patchs
Evas_Engine: add TBM surface and clean up Native Struct
:
7db9613e8c95268acfa6d51ea6aa45418ee8e697
evas tbm: Fix compilation warnings
:
d7903e40b326de5323276cdf2869a608cd0c5a33
evas tbm: Fix compilation warnings
:
d7903e40b326de5323276cdf2869a608cd0c5a33
wayland: Add support for TBM buffers
:
3593186a60e5530871a252a4bd6b03d881a0ead4
waylang-egl: Remove trailing spaces
:
a7063973819c087a3a6e039e4cbeed13b29a1fd5
Evas: Fix compilation for GLX
8884ce59b33d4681a1f1bd60bc91d0d6adf9348f
Change-Id: Ie709a5a610f8037907c99a57353995dfa20d99ba
Seunghun Lee [Wed, 13 Jan 2016 05:26:44 +0000 (14:26 +0900)]
ecore-buffer: connect wayland display server first as a buffer queue server.
buffer queue server is a display server in wayland display server environment.
Change-Id: I08fa3396ec0b4e063703b119f6eda8ee43b6906b
Seunghun Lee [Wed, 13 Jan 2016 05:22:20 +0000 (14:22 +0900)]
ecore-buffer: remove examples that may not worked.
since the API, ecore_buffer_data_get() is not supported in tizen distro,
so, the examples to be removed by this commit may not worked.
Change-Id: I60243b86d0386df8bbb8159abd5a2d71c297fea1
Duna Oh [Mon, 11 Jan 2016 02:14:36 +0000 (11:14 +0900)]
ecore_wayland: send mouse_move when sets touch_focus window in cb_touch_down
Summary:
When user touches the screen, ecore_drm generates MOUSE_MOVE event before MOUSE_BUTTON_DOWN.
But when ecore_wayland gets touch_motion before touch_down, touch_focus window is NULL and sending MOUSE_MOVE event fails.
Also in terms of 'touch' input, touch_focus needs be set in cb_touch_down, not in cb_pointer_enter.
So this commit makes sure that ecore_wayland generates MOUSE_MOVE when touch_focus is set.
Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: I721c0dc7248a885c57c64d3957e0bd84cd7ce1bd
Youngbok Shin [Wed, 13 Jan 2016 02:42:59 +0000 (18:42 -0800)]
Merge "efl: Enable hyphenation" into tizen
Youngbok Shin [Wed, 13 Jan 2016 02:42:46 +0000 (18:42 -0800)]
Merge "Evas textblock: add support for hyphenation wrap style" into tizen
Youngbok Shin [Wed, 13 Jan 2016 02:42:39 +0000 (18:42 -0800)]
Merge "Eina unicode: add eina_unicode_unicode_to_utf8_range" into tizen
Youngbok Shin [Wed, 13 Jan 2016 02:42:29 +0000 (18:42 -0800)]
Merge "Evas language: add full locale language getter" into tizen
Youngbok Shin [Wed, 13 Jan 2016 02:42:23 +0000 (18:42 -0800)]
Merge "Evas language: Fix language from locale function." into tizen
Thiep Ha [Wed, 13 Jan 2016 01:52:58 +0000 (10:52 +0900)]
ecore_con: enable other builds, not only wayland
@tizen_fix
Change-Id: I836a960fdddabd7686120da00a32a64201e90f17
Changyeon Lee [Tue, 12 Jan 2016 03:43:15 +0000 (12:43 +0900)]
gl_drm: consider stride of frame buffer in outbuf copy
Change-Id: Iba4f5ebe3a05d5d6e579b1cf2449382c17d53494
Seunghun Lee [Tue, 12 Jan 2016 05:59:26 +0000 (21:59 -0800)]
Merge "ecore_buffer: remove ecore-buffer.pc file from default distro pc list." into tizen
Jihoon Kim [Mon, 11 Jan 2016 11:01:49 +0000 (20:01 +0900)]
ecore_imf/wayland: Fix not to show IME in touching entry after hiding IME
Change-Id: Ib97ce48f0cd25002210f2a5cfca2c3583ad50321
MinJeong Kim [Mon, 11 Jan 2016 08:30:26 +0000 (17:30 +0900)]
ecore_wl_input: fix null pointer dereference
Change-Id: I3ba69ad69b920548116c1935b3aea64257d7f03a
Youngbok Shin [Thu, 24 Dec 2015 06:25:18 +0000 (15:25 +0900)]
efl: Enable hyphenation
Change-Id: I3cce33b90bf05501195b99142b2ff9879a5f15aa
Daniel Hirt [Tue, 13 Oct 2015 07:59:19 +0000 (10:59 +0300)]
Evas textblock: add support for hyphenation wrap style
We now support hyphenation in style. Use "wrap=hyphenation" to use this
wrap option. It will hyphenate based on explicit SOFT HYPHEN (­)
placement in the text, and with the (optional) assistance of dictionaries
compatible with Hunspell's "hyphen" library.
This wrap mode favors breaking at hyphen positions in a word, over moving
the whole word to the next line. It will put an additional "-" at the
break position if it was hyphened.
Enabling the hyphen dictionaries is done by adding these configure
options:
--enable-hyphen (requires Hunspell's "hyphen" library installed)
--with-dictionaries-hyphen-dir=DIR (specifies the install location of
the actual .dic dictionary files e.g. /usr/share/hyphen)
Note that dictionary files are expected to be in the form of "en_US.dic"
or anything that ends with it e.g. "hyph_en_US.dic" (this how they are
named in Arch Linux).
@feature
Change-Id: I789e58b1056fbfdbd5562c99a8a2c21848c4c025
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
Seunghun Lee [Thu, 7 Jan 2016 07:30:12 +0000 (16:30 +0900)]
ecore_buffer: remove ecore-buffer.pc file from default distro pc list.
Change-Id: Ie73e9480af57d3f68484936c17fae07672cbaa4c
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