joogab yun [Fri, 25 Mar 2016 14:27:31 +0000 (07:27 -0700)]
Merge "Revert "Evas GL: Applied 'Fix linking to 'context_restore_set'' patch for wayland_egl engine"" into tizen
joogab yun [Fri, 25 Mar 2016 14:27:22 +0000 (07:27 -0700)]
Merge "Revert "Evas GL: Fix aarch64 build error in 'run-time generation and load of shaders' patch"" into tizen
joogab yun [Fri, 25 Mar 2016 14:27:12 +0000 (07:27 -0700)]
Merge "Revert "Evas GL: Fix 'run-time shader' patch by changing position 'extension GL_OES_EGL_image_external:require'"" into tizen
Prudhvi Raj Vasireddi [Fri, 25 Mar 2016 14:18:03 +0000 (07:18 -0700)]
Revert "Evas GL: Applied 'Fix linking to 'context_restore_set'' patch for wayland_egl engine"
This reverts commit
4e43d2c3a82f6471ca1f3e4028f2115d47f91cea.
Change-Id: Ic2a26071e42db61efb54446e458f031d45e4f2ec
Prudhvi Raj Vasireddi [Fri, 25 Mar 2016 14:17:50 +0000 (07:17 -0700)]
Revert "Evas GL: Fix aarch64 build error in 'run-time generation and load of shaders' patch"
This reverts commit
61c9991eef4ece13e45c567905c48d3e9a829a09.
Change-Id: I024814255ec3043ad9da207b9c0d0fda4452f246
Prudhvi Raj Vasireddi [Fri, 25 Mar 2016 14:17:36 +0000 (07:17 -0700)]
Revert "Evas GL: Fix 'run-time shader' patch by changing position 'extension GL_OES_EGL_image_external:require'"
This reverts commit
45b7bf098bea3d1d5bf468387239cfa0dd7c1058.
Change-Id: I4babc4fe364576b9538e8e8474a6b762bd7b0da1
Ji-Youn Park [Fri, 25 Mar 2016 09:11:04 +0000 (17:41 +0830)]
evas: trigger FLUSH_PRE callback prior to kicking off an async render
while not occurring immediately before flush as in sync rendering, this
is functionally close enough that it will serve the purpose for which the
callback was intended, namely receiving a callback that occurs after render
update calculations have occurred but before flush happens
opensource_commit
1d3c4162b3d863a798c68865829c892c0832d903
Author: Mike Blumenkrantz <zmike@osg.samsung.com>
Date: Tue Dec 15 17:18:36 2015 -0500
Change-Id: Icac04f7e3a33088754b5e906d604b165a4b4cf02
JengHyun Kang [Fri, 25 Mar 2016 06:12:58 +0000 (15:12 +0900)]
Do not send first finger touch events. Only send mouse events
Change-Id: Ic7114548e9db045ad3f9aa8bf6761147017870e1
Jihoon Kim [Thu, 24 Mar 2016 11:48:50 +0000 (04:48 -0700)]
Merge "ecore_imf/wayland: fix IME flickering issue when input_panel_hide and show is called sequentially" into tizen
Jihoon Kim [Thu, 24 Mar 2016 11:31:48 +0000 (20:31 +0900)]
ecore_imf/wayland: fix IME flickering issue when input_panel_hide and show is called sequentially
Change-Id: Ieafa9cd921cc8d68c64af6b72404ef52e7bbf724
Wonsik Jung [Thu, 24 Mar 2016 10:59:20 +0000 (03:59 -0700)]
Merge "Evas GL: Fix 'run-time shader' patch by changing position 'extension GL_OES_EGL_image_external:require'" into tizen
Wonsik Jung [Thu, 24 Mar 2016 10:45:42 +0000 (03:45 -0700)]
Merge "Revert ":evas: enable dynamic flag for zero copy texture upload in ector / Bind to TEXTURE_EXTERNAL for images with dynamic hint and tbm"" into tizen
Prudhvi Raj, Vasireddi [Thu, 24 Mar 2016 10:37:22 +0000 (19:37 +0900)]
Evas GL: Fix 'run-time shader' patch by changing position 'extension GL_OES_EGL_image_external:require'
Change-Id: I899d9a49ad7313610bfdccd9d90a3ff3f17dee02
Wonsik Jung [Thu, 24 Mar 2016 10:41:00 +0000 (03:41 -0700)]
Revert ":evas: enable dynamic flag for zero copy texture upload in ector / Bind to TEXTURE_EXTERNAL for images with dynamic hint and tbm"
This reverts commit
1d7a1bc0a841eacc433369524f999ab331bd0365.
Change-Id: Iba5cea19ffccda72e30ac93c0de3e0d93e4fa035
JengHyun Kang [Wed, 23 Mar 2016 06:33:53 +0000 (15:33 +0900)]
ecore_wayland: Add a new API to get keymap
- ecore_wl_input_keymap_get()
Change-Id: I38c660881c87cba2b1a066c276a3f0b5f8d62c6f
Wonsik Jung [Thu, 24 Mar 2016 02:00:49 +0000 (19:00 -0700)]
Merge ":evas: enable dynamic flag for zero copy texture upload in ector / Bind to TEXTURE_EXTERNAL for images with dynamic hint and tbm" into tizen
SooChan Lim [Wed, 23 Mar 2016 08:04:39 +0000 (17:04 +0900)]
ecore_drm : set the output mode without fb
Change-Id: Icad38375de9680a990bffd25776c06e3079b7ba8
Mike Blumenkrantz [Tue, 15 Dec 2015 22:14:43 +0000 (17:14 -0500)]
ecore-evas wayland: move frame sending to pre-flush callback
it was possible to deadlock rendering if a pre-render occurred but
the resulting render had no updated regions
@fix
Conflicts:
src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c
src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c
Change-Id: I2c391f037c29310d1d66945c256ba8af98d9c22f
huiyu.eun [Tue, 22 Mar 2016 10:52:10 +0000 (19:52 +0900)]
:evas: enable dynamic flag for zero copy texture upload in ector / Bind to TEXTURE_EXTERNAL for images with dynamic hint and tbm
This is backport from MCD TIZEN :
commit ID :
8e2bc203d2cc2ea36123589f2eed70ef59b6a404,
a2dc65a843e02fd0932673caa21d6d81f00c19fc
Author: Dongyeon Kim <dy5.kim@samsung.com>
Date: 2015-10-13 16:07:18, 2015-10-01 10:05:28
[Title] evas: enable dynamic flag for zero copy texture upload in ector / Bind to TEXTURE_EXTERNAL for images with dynamic hint and tbm[Problem] Animation slow
[Cause] Texture uploading in Adreno is slow
[Solution] Remove texture uploading by enabling dynamic hint set
for images used in ector, and use GL_TEXTURE_EXTERNAL_OES target
for texture bound from tbm surface
[Team] Graphics
Change-Id: Ie72bebea09141c2c27122cc2d3750dc0533d19e3
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Hosang Kim [Tue, 22 Mar 2016 10:47:16 +0000 (19:47 +0900)]
ecore_wl: add logic for waiting until keyrouter interface is ready.
Sometimes keyrouter interface is not ready.
Signed-off-by: Hosang Kim <hosang12.kim@samsung.com>
Change-Id: I22ca3c74295b5a4e2b22676cf57ba43ef43b0a9b
Duna Oh [Tue, 22 Mar 2016 03:56:59 +0000 (12:56 +0900)]
ecore_evas_drm: enable pointer warping
origin: upstream
https://git.enlightenment.org/core/efl.git/commit/?id=
d53e1d6748f07f46e9c6abc791651cdc78c0bc86
https://git.enlightenment.org/core/efl.git/commit/?id=
ddc6962d775345ccb0eb4590486693efb3564075
Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: Ib387b2b0fe00221cbfc2ddfc40b2824e8504b837
Ji-Youn Park [Tue, 22 Mar 2016 06:48:43 +0000 (15:18 +0830)]
ecore_evas: change RENDER_SYNC from define to env
outside needs to turn on/off RENDER_SYNC feature.
env val: ECORE_EVAS_RENDER_SYNC.
Change-Id: If02ef2aad383e500dacf2ec34ea4715a234d7117
Jaehwan Kim [Tue, 22 Mar 2016 02:47:01 +0000 (11:47 +0900)]
spec : remove unnecessary enviroment values
Change-Id: I08315161279cd46cbcb028aa7696507412255db3
Prudhvi Raj, Vasireddi [Mon, 21 Mar 2016 12:11:12 +0000 (21:11 +0900)]
Evas GL: Fix aarch64 build error in 'run-time generation and load of shaders' patch
Change-Id: Iae81201874de496a41c3a868b786ceed30487bcf
sungwook park [Mon, 21 Mar 2016 10:35:18 +0000 (03:35 -0700)]
Merge "ecore_imf/wayland: use default preedit style" into tizen
Duna Oh [Wed, 16 Mar 2016 10:44:24 +0000 (19:44 +0900)]
ecore_input_evas: find a evas_device of requested Evas_Device_Class
Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: I9269fd5ccf466a1d37d3d94bddd2bcce48b5b09f
Jihoon Kim [Mon, 21 Mar 2016 07:36:42 +0000 (16:36 +0900)]
ecore_imf/wayland: use default preedit style
Change-Id: Iffb2d450923bbde191c4928253f133b13608a8e8
JengHyun Kang [Tue, 15 Mar 2016 12:31:29 +0000 (21:31 +0900)]
ecore_wl: Generate mouse button cancel event
Change-Id: I1ae57dc8279ce8eefdce682335fb98361710be64
DaeKwang Ryu [Mon, 21 Mar 2016 01:47:35 +0000 (18:47 -0700)]
Merge "EvasGL: implement GLES 3.1" into tizen
DaeKwang Ryu [Tue, 23 Feb 2016 08:40:10 +0000 (17:40 +0900)]
EvasGL: implement GLES 3.1
add feature GLES 3.1.
2 wrapper functions are added.
(glFramebufferParameteri, glGetFramebufferParameteriv)
Bugfix: in evas_gl_api_ext.c,
It didn't create Ext functions for GLES 3.X.
Change-Id: I0b913f57d511631527b667f6feb79d4d4f35d7e1
Prudhvi Raj, Vasireddi [Fri, 18 Mar 2016 03:13:22 +0000 (12:13 +0900)]
Evas GL: Applied 'Fix linking to 'context_restore_set'' patch for wayland_egl engine
Change-Id: I5bfc2ad6a21110c32470021c06df8f098425e08d
Wonsik Jung [Fri, 18 Mar 2016 02:57:42 +0000 (19:57 -0700)]
Merge " Evas GL: Apply patches for 'run-time generation and load of shaders' feature" into tizen
Jee-Yong Um [Thu, 17 Mar 2016 09:08:29 +0000 (02:08 -0700)]
Merge "disable ephysics to remove dependency on bullet" into tizen
Jee-Yong Um [Thu, 17 Mar 2016 09:00:42 +0000 (18:00 +0900)]
disable ephysics to remove dependency on bullet
Change-Id: I32b4cbe751477a9bbf88ea415aae612d3c4f3fc4
Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
MinJeong Kim [Thu, 3 Mar 2016 12:16:02 +0000 (21:16 +0900)]
ecore-wayland: support tizen_effect interface
Supprot tizen_effect interface. tizen_effect interface allows client to know
if window effect is done or started.
Change-Id: I854777ee18e90d2e02be007df2f3e361089d1cce
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
Doyoun Kang [Thu, 17 Mar 2016 04:56:27 +0000 (21:56 -0700)]
Merge "Revert "ecore-wl: save the values of aux_hint in Ecore_Wl_Window"" into tizen
Doyoun Kang [Thu, 17 Mar 2016 04:55:58 +0000 (21:55 -0700)]
Merge "ecore-wl: do not destroy the wl_surface during ecore_wl_window is existed." into tizen
Juyeon Lee [Wed, 16 Mar 2016 10:58:37 +0000 (19:58 +0900)]
ecore_drm/ecore_evas_drm : add HWC condition on pageFlip
Change-Id: I2757b8246d7f292435ee7b2359acc790f7368a28
Youngbok Shin [Fri, 11 Mar 2016 05:17:37 +0000 (14:17 +0900)]
efl: prepare /run/.efl/.ecore directory for display owner with proper permissons
@tizen_fix
Change-Id: Id13b37fa638165caec1f1f05d0d02b283562dfc1
Sangjin Lee [Tue, 15 Mar 2016 11:04:19 +0000 (04:04 -0700)]
Merge "evas: use a environment "TIZEN_WAYLAND_SHM_DIR" as a path of shared memory." into tizen
Seunghun Lee [Tue, 15 Mar 2016 08:44:41 +0000 (17:44 +0900)]
evas: use a environment "TIZEN_WAYLAND_SHM_DIR" as a path of shared memory.
allow to locate the shm file in the Tizen specific directory.
Change-Id: I76663d784076d59cce290500ebe857070c293934
Duna Oh [Tue, 15 Mar 2016 00:22:08 +0000 (09:22 +0900)]
ecore_wl_input: use the identifier of input device as evas_device's description
identifier - the path of event node. ex)/dev/input/event2 -> evas_device's description
name - readable name of device. ex) USB Optical Mouse -> evas_device's name
Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: I580ae276dd01537dc6ca44910597d2906717c5b6
Duna Oh [Mon, 14 Mar 2016 03:06:43 +0000 (12:06 +0900)]
ecore_drm: initialize dev->window value to -1, meaning unset yet.
The window value from ecore_evas could be zero.
So use -1 as a default value.
Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: I4c347e9fd29eee0c0a6f90c81fd53745bfde895e
Doyoun Kang [Tue, 15 Mar 2016 04:22:17 +0000 (13:22 +0900)]
ecore wayland: added code to handle parent window when the parent window is set
Change-Id: Ie0c2723d30a58eb2cc0f8366382100621c33e554
Prudhvi Raj, Vasireddi [Mon, 14 Mar 2016 06:12:16 +0000 (15:12 +0900)]
Evas GL: Apply patches for 'run-time generation and load of shaders' feature
Major changes,
By default, compile & load only most common shaders
Compile & load other shaders during run-time as and when needed
Major improvements,
Improves launching time with less number of shaders compiled & loaded by default
Reduces memory usage, by avoiding loading all shaders
Limits loading to most common shaders only in every subsequent run
Upstream patches list,
Evas GL: Implement runtime generation and load of shaders
Evas GL: Release shader compiler during evas_render_idle_flush
Evas GL: Fix linking to 'context_restore_set'
Evas GL: Delete shaders after linking programs
Evas GL: Precompile common shaders
Evas GL: Save all binary shaders during idle_flush
Evas GL: Fix oopsie in the shaders selection
evas_gl_shader: refractor shader/program compile check code.
Evas GL: Fix build for bigendian
Efreet, Elua : use eina_file_mkstemp instead of mkstemp
Evas GL: Fix shaders for bigendian
Evas: Fix potential crash with extraneous eet_shutdown
Evas GL: Fix shader binaries cache
Evas GL: Also fix surface cap cache
Evas: Fix shader flag 'afill' (forcing alpha to 255)
Evas: Actually fix this 'afill' thing
Evas: Discard shaders cache when the code changed
Evas: Avoid saving the shaders cache at every shutdown
Evas GL: Actually save the checksum inside the file
eina: use eina_file_path_join() and eina_environment_tmp_get() when needed
Eina: Fix eina_file_mk[ds]temp when a path is passed
elua: Fix use of eina_file_mkstemp after previous patch
Efreet, Elua : use eina_file_mkstemp instead of mkstemp
Eina: Add proper test case for eina_mk[ds]temp
Change-Id: Ica4093ebf9b89a5d270e3bde999efe9cb9fbe69f
Gwanglim Lee [Tue, 15 Mar 2016 05:06:42 +0000 (14:06 +0900)]
ecore_evas_drm: add eina module init / shutdown to resolve undefined symbol error
Change-Id: Ibf95c78cc498057ec94aff8debf03c08d94db157
Gwanglim Lee [Mon, 14 Mar 2016 13:22:33 +0000 (22:22 +0900)]
edje: get cache directory from XDG_CACHE_HOME not from efreet
Change-Id: Ic3a24293f1cab8aa63185f51162d22f7e5a5d928
Boram Park [Thu, 10 Mar 2016 03:07:27 +0000 (12:07 +0900)]
not using gbm_tbm_get_surface
Change-Id: I53e93e341910095574e8054604dd78e93f321b41
Jihoon Kim [Wed, 9 Mar 2016 02:11:16 +0000 (11:11 +0900)]
Add since_tizen in ecore_imf keyboard mode event
Change-Id: Ic387ece1a407bf99abca529938c3949b34ff362e
DaeKwang Ryu [Wed, 9 Mar 2016 01:54:11 +0000 (17:54 -0800)]
Merge "EvasGL: This patch is for synchronization with Tizen 2.4" into tizen
Seunghun Lee [Mon, 7 Mar 2016 10:19:45 +0000 (19:19 +0900)]
Revert "ecore-wl: save the values of aux_hint in Ecore_Wl_Window"
This reverts commit
c7ead75ae758dba7814055138faa8811f7a4cf35.
Change-Id: I99537d1ef2d236ded1eb5c0ea6abd9e67b9d3203
Seunghun Lee [Wed, 24 Feb 2016 09:44:01 +0000 (18:44 +0900)]
ecore-wl: do not destroy the wl_surface during ecore_wl_window is existed.
If we destroy wl_surface by ecore_wl_window_hide(),
all of the protocol related wl_surface should be made again when it is shown.
But external libraries doesn't know about state of wl_surface,
Thus, keeping the wl_surface with ecore_wl_window is better.
Change-Id: I6977d761bcbce8bf280abb986fa5ac126c98c63f
Jean-Philippe Andre [Mon, 25 Jan 2016 06:58:16 +0000 (15:58 +0900)]
ecore_evas_extn: Add safety checks, fixing a crash in elm_test
See T2835 (my crash was different from the one reported).
The buffer may be initialized after the first render_pre, due to
whatever timing issue. Check in elm_test "Window Socket" and then
open several "Window Plug".
@fix
Change-Id: Id8740001e8c489f1a3b98d81d39427615f610df0
SooChan Lim [Mon, 7 Mar 2016 07:30:07 +0000 (16:30 +0900)]
ecore_drm: add ecore_drm_output_hal_private_get
get the private data of the drm_output_hal
Change-Id: I75d0c9eee9cf4a925f43a8d956473622da4f5c74
DaeKwang Ryu [Mon, 7 Mar 2016 02:41:16 +0000 (11:41 +0900)]
EvasGL: This patch is for synchronization with Tizen 2.4
Change-Id: I370d843f45e81750b1a338ee0a6ffa220c8d296d
Jihoon Kim [Mon, 7 Mar 2016 01:37:56 +0000 (17:37 -0800)]
Merge "ecore_imf/wayland: Support input panel data get" into tizen
Haifeng Deng [Thu, 18 Feb 2016 10:32:45 +0000 (18:32 +0800)]
ecore_imf/wayland: Support input panel data get
Change-Id: I8f7a57b7ead8ed3e21b0ebbc72acf8cc1f35d1f0
sunghyun kim [Mon, 7 Mar 2016 00:40:35 +0000 (16:40 -0800)]
Merge "change type position Kept for ABI compatibility" into tizen
Boram Park [Fri, 4 Mar 2016 02:49:59 +0000 (11:49 +0900)]
use dumb buffer if SW backend is running
Change-Id: I47f3b350a78deddae508cd81d4e6912eb5b250c3
Boram Park [Thu, 3 Mar 2016 12:30:22 +0000 (21:30 +0900)]
not create dumb framebuffer
Change-Id: Ic9705dca66e22d317dc8b8e8a409ed4cb0fbbae0
Boram Park [Thu, 3 Mar 2016 08:46:22 +0000 (17:46 +0900)]
temporarily fix for enlightenment blocking issue
Change-Id: I5d16778ff93a181f07d261acdab8b042f2ea6914
sunghyun kim [Mon, 29 Feb 2016 11:22:02 +0000 (20:22 +0900)]
change type position Kept for ABI compatibility
change EVAS_NATIVE_SURFACE_WL's position 3 to 6 for keep ABI compatibility
Change-Id: Iab9be58e1113b2156060089b816f3cb97cc53edb
Ji-Youn Park [Mon, 29 Feb 2016 07:50:59 +0000 (16:20 +0830)]
ecore_wl : add exception checks regarding _ecore_wl_disp->wl.keyrouter in ecore_wl_window_keygrab_unset()
Change-Id: I6fa198cae8dec760b1f797d7dd0f7f07edce13fa
Boram Park [Sun, 28 Feb 2016 23:46:10 +0000 (08:46 +0900)]
use TRACE_EFL_XXXX macro
Change-Id: I4abd97bced49c4c84b02ac257e32468e8bd9bd66
Boram Park [Sat, 13 Feb 2016 05:24:59 +0000 (14:24 +0900)]
apply libtdm
Change-Id: I32186ffd4d5733eaf6f763251405a5459e85277d
Boram Park [Sat, 13 Feb 2016 04:47:20 +0000 (13:47 +0900)]
Revert "ecore_drm: Add ECORE_DRM_DEVICE_SUPPORT_SPRD define for SPRD device"
This reverts commit
f02998e1c2c0a49a481fde8c86b3cf6e392eb03f.
Conflicts:
src/lib/ecore_drm/ecore_drm_device.c
Change-Id: I3649845c5aa49d3795c874b78d008379903b16c4
Boram Park [Sat, 13 Feb 2016 04:45:49 +0000 (13:45 +0900)]
Revert "ecore-drm: set the -DECORE_DRM_DEVICE_SUPPORT_SPRD after %build"
This reverts commit
437a096a5bd9b70f9aeb1788f6c5db8931d254a6.
Change-Id: I6ae917ce094c36ae75681c42ecdc013843cfa83f
JengHyun Kang [Fri, 26 Feb 2016 05:33:45 +0000 (14:33 +0900)]
Check tizen api version to convert key to support old tizen keycodes
Change-Id: I8278b93f9e78b9a02bfc231feb42d29cf9504bba
MinJeong Kim [Fri, 26 Feb 2016 02:09:48 +0000 (11:09 +0900)]
Added ttrace for drm setup, evas_gl_drm engine, ecore_evas_gl_drm
Change-Id: Ibab1b414bc82cc677bd6d73ae8d03f0d3d06f76c
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
Youngbok Shin [Tue, 23 Feb 2016 06:15:02 +0000 (22:15 -0800)]
Merge "edje_entry: Add "preedit_highlight" tag" into tizen
Minwoo, Lee [Mon, 24 Aug 2015 06:49:50 +0000 (15:49 +0900)]
edje_entry: Add "preedit_highlight" tag
Signed-off-by: Minwoo, Lee <minwoo47.lee@samsung.com>
Conflicts:
src/lib/edje/edje_entry.c
Change-Id: I11c2edd7b589bcf46db0b2c3e384ccb1cdab58fb
sungwook park [Tue, 23 Feb 2016 04:25:17 +0000 (20:25 -0800)]
Merge "ecore_imf/wayland: refine content purpose" into tizen
Junkyeong Kim [Tue, 16 Feb 2016 09:22:50 +0000 (18:22 +0900)]
ecore_drm : add _ecore_drm_output_delete
Change-Id: Ia0f52966ed2b57a2ee81176c31fa3abb783e7de5
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Jihoon Kim [Mon, 22 Feb 2016 08:40:56 +0000 (17:40 +0900)]
ecore_imf/wayland: refine content purpose
Change-Id: If125b5fe7d98bb281a5a4c521190e9e2293308b9
Jihoon Kim [Mon, 22 Feb 2016 05:07:32 +0000 (14:07 +0900)]
ecore_imf/wayland: Add comment in tizen only code
Change-Id: I6a5338abbeaeb5bdef5a5430943b9a82e24028e3
Youngbok Shin [Mon, 19 Jan 2015 08:47:39 +0000 (17:47 +0900)]
[Tizen2.4] Fix to load module for plugin.
Change-Id: I86fac687d2293f1be52d3585e94ac4d6b0374fb9
Jihoon Kim [Fri, 19 Feb 2016 10:02:22 +0000 (02:02 -0800)]
Merge "ecore_imf/wayland: Add bidi_direction" into tizen
InHong Han [Fri, 19 Feb 2016 05:36:52 +0000 (14:36 +0900)]
ecore_imf/wayland: Add bidi_direction
Change-Id: I2070af00e794bf56ab71db4d57c823080394e599
Signed-off-by: InHong Han <inhong1.han@samsung.com>
Seunghun Lee [Wed, 17 Feb 2016 05:54:10 +0000 (14:54 +0900)]
ecore-wl: save the values of aux_hint in Ecore_Wl_Window
this patch is for re-sending the values of aux_hint in case wl_surface is recreated.
Change-Id: Ib45a68b036173a1d98f1c9d36ef1a1788d99c025
SooChan Lim [Fri, 19 Feb 2016 03:56:37 +0000 (12:56 +0900)]
Revert "evas-gl-drm: block the pageflip for hwc at enlightenment."
This reverts commit
b3072ce9783f3d8baf1da18d1472bddeab6093ed.
Change-Id: I1fb1c354379733d4c65a010da8acdc48c2f78778
SooChan Lim [Fri, 19 Feb 2016 03:56:27 +0000 (12:56 +0900)]
Revert "ecore-evas-drm: hwc:check the possibility of drawing canvas"
This reverts commit
0abd931f3714f471d13aad524d2fda9503adaf68.
Change-Id: If71e942112eb97c9ca5ec9ca0c9099ac23ee0323
SooChan Lim [Thu, 18 Feb 2016 23:30:17 +0000 (08:30 +0900)]
ecore-evas-drm: hwc:check the possibility of drawing canvas
The wait_for_showup flags is set by enlightenment hwc.
The wait_for_showup flags is set to be true
when enlightenment display something on a screen.
And the flags is set to be false when the enlightenment
is done to display the image on a screen.
Change-Id: I221d7ae53d4a02e8a2012e88212d8ec18c0d90f3
SooChan Lim [Thu, 18 Feb 2016 23:25:59 +0000 (08:25 +0900)]
evas-gl-drm: block the pageflip for hwc at enlightenment.
When the enlightenment set up the hwc(hardware compositing),
gl_drm engine does not display the ecore_evas canvas on a display.
Enlightenment will do it.
Change-Id: I562d1349d22e02b25d89c3093f89a15e86e157d3
Youngbok Shin [Tue, 16 Feb 2016 15:14:38 +0000 (17:14 +0200)]
Evas Text: Update text layout when ellipsis is changed without resize
Summary:
When only ellipsis is changed from 0.0~1.0 to -1.0 without resize,
the text is never updated. Because, previous state for ellipsis is never kept
and used properly to check when Evas Text needs to be updated.
It does not have any effect when ellipsis is changed from -1.0 to 0.0~1.0.
Because, Evas text always resize itself according to its text size.
So, necessarily, Evas text object has to be resized to the smaller size.
Commonly, Edje will handle its size if Evas text needs to be ellipsized.
@fix
Test Plan: Test case is included.
Reviewers: tasn, woohyun, herdsman
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3448
Conflicts:
src/tests/evas/evas_test_text.c
Change-Id: Id5c484152efbe0a4df723c4422127e46ad5213be
Youngbok Shin [Thu, 19 Nov 2015 11:37:07 +0000 (11:37 +0000)]
Evas object: Add paragraph_direciton APIs
Summary:
It adds evas_object_paragraph_direction_set, get APIs.
The APIs set or get paragraph direction to/from the given object.
It changes BiDi calculations and affect the direction and aligning of text.
It doesn't have any effect to text without Fribidi library.
The default paragraph direction is EVAS_BIDI_DIRECTION_INHERIT.
If dir is EVAS_BIDI_DIRECTION_INHERIT, paragraph direction is changed
according to smart parent object. If there is no smart parent object,
paragraph direction works as EVAS_BIDI_DIRECTION_NEUTRAL.
@feature
Test Plan:
Test cases included to the following files.
- evas_test_textblock.c
- evas_test_text.c
- evas_test_object_smart.c
Run "make check".
Reviewers: woohyun, raster, herdsman, tasn
Subscribers: c, raster, cedric
Differential Revision: https://phab.enlightenment.org/D1690
Conflicts:
src/lib/evas/canvas/evas_object_text.c
Change-Id: Ie97eab545f487bdd817156b18fd434f814159183
Tom Hacohen [Thu, 12 Nov 2015 15:43:43 +0000 (15:43 +0000)]
Evas text: Change bitfield bool types to Eina_Bool.
This is really just a safety measure, as we always just check if the value
is true. However, with char the potential values are -1 and 0, and with
Eina_Bool they are 1 and 0, so fixing that.
Thanks to the "sparse semantic parser" for detecting that, and to Stefan
for reporting.
Change-Id: Icb0de29e241e5931be7b2c7e9f78c0324b949e46
Subodh Kumar [Tue, 17 Nov 2015 11:22:17 +0000 (11:22 +0000)]
Evas text: Remove tabs for readability
Summary: Remove tabs
Test Plan: NA
Reviewers: tasn
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D3337
Change-Id: I235274a7410c20255f2d09c182797b1d11bc6bf4
Subodh Kumar [Mon, 9 Nov 2015 23:39:10 +0000 (15:39 -0800)]
evas: fix some indentation and formatting in textblock.
Summary: Fix some indentation and formatting.
Reviewers: herdsman, tasn
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D3174
Change-Id: I235048cadb9ad828cf22dbcd7a7c4ed3ca52fb79
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Youngbok Shin [Mon, 15 Feb 2016 10:41:37 +0000 (10:41 +0000)]
Evas text: set NULL free'd pointers in evas_object_text_free()
Summary:
_render_pre() function could be called for an object which is
going to be deleted. According to state changes of the object,
text could be recalculated with free'd pointers. It caused an
invalid read and crash.
@fix
Test Plan:
1. Apply D1747.
2. Run elementary_test.
3. Put any character in elm_entry and change paragraph direction.
4. Put any character again.
5. It can cause a crash which is caused by invalid read in Evas Text.
Reviewers: herdsman, woohyun, tasn, raster
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3445
Change-Id: Id4c680ac7ecab49a59af365dfcd7b6f5dfcca432
Daniel Hirt [Sun, 14 Feb 2016 12:20:34 +0000 (14:20 +0200)]
Evas textblock: ifdef unused 'hyphens' code
The usage of the 'hyphens' array is only relevant when
"--enable-hyphen" is used.
This fixes the dead code addressed in
5b083ace84ca91496810cd1826c9469a6c741700.
Change-Id: Ic4801d8b8a581f108773b08cd6947326d039e80a
Daniel Hirt [Sun, 14 Feb 2016 11:18:49 +0000 (13:18 +0200)]
Revert "Evas textblock: Properly ifdef hyphenation out."
This reverts commit
5b083ace84ca91496810cd1826c9469a6c741700.
The "--enable-hyphen" option refers to using the optional hyphenation
dictionaries. We support hyphenation via SHY-HYPHEN hints regardless of
this option.
The following commit will provide finer handling to address the issue in
the reverted one.
Change-Id: I14845bb2bdb20e546cf44a89e407b7566cc5de53
Tom Hacohen [Fri, 12 Feb 2016 12:12:00 +0000 (12:12 +0000)]
Evas textblock: Disable hyphenation tests when hyphenation is disabled.
Conflicts:
src/tests/evas/evas_test_textblock.c
Change-Id: Ib1826744bf9a87d5bd122b5ea91a06c4009ffc60
Tom Hacohen [Fri, 12 Feb 2016 12:08:29 +0000 (12:08 +0000)]
Evas textblock: Properly ifdef hyphenation out.
I found this thanks to coverity. There was some code that we were running
although hyphenation was actually off.
CID 1341062.
Change-Id: Id890453d9fb4bcbdfa68587245a12b70061ab43c
Youngbok Shin [Fri, 12 Feb 2016 09:46:33 +0000 (09:46 +0000)]
Evas textblock: Fix _dict_hyphen_load could return an uninitialized pointer
Summary:
If there are hyph_*.dic files except for requested language,
"dict" pointer could be return without initialized. It doesn't make any
warning messages when it is compiled. Normally, it is NULL implicitly.
But, it is good to set NULL explicitly for understanding code.
Test Plan: N/A
Reviewers: herdsman, tasn, woohyun
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3674
Change-Id: Id2ce93c6c55c39e7f5464963fb26dd715e87264e
Youngbok Shin [Thu, 11 Feb 2016 10:17:46 +0000 (10:17 +0000)]
Evas font: Use proper enum value for extrabold
Summary:
ULTRABOLD is identical to EXTRABOLD in freetype.
But, "extrabold" word is added for FC_WEIGHT_EXTRABOLD.
So, it has to be changed to use EXTRABOLD instead of
ULTRABOLD. It was mistake in my previous commit.
@fix
Test Plan: N/A
Reviewers: tasn, herdsman, woohyun
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3673
Change-Id: I46ce936b5023f5f5f766c9faaac8c8bb8df4dd56
Youngbok Shin [Fri, 4 Dec 2015 14:46:26 +0000 (14:46 +0000)]
Evas textblock: Skip layout logic for an text item which doesn't have font.
Summary:
Evas textblock could cause infinite loop if there is no fonts to use.
If there is no fonts, text_props.text_len is never set.
When text_props.text_len is 0, the for loop in _layout_par runs forever.
It is ridiculous to use Textblock without fonts. But, it shouldn't runs
infinite loop in any situation.
@fix
Test Plan:
1. Remove all of fonts in your EFL or Tizen device.
(Or you can test it modifying some codes in Textblock by skipping load fonts.)
2. Run elementary_test -to entry3 or see any multiline textblocks.
Reviewers: tasn, herdsman, woohyun
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3402
Change-Id: Ifeb027353a8b0de7ff033df63f02d542954c7cf7
Youngbok Shin [Wed, 2 Dec 2015 07:36:47 +0000 (09:36 +0200)]
Evas Textblock: Fix text disappear issue when text is made up with multiple items.
Summary:
Text is disappearing when we resize a singleline Evas Textblock with ellipsis.
It is happened by putting a Text item at logical_items list without considering about logical position.
It is only happended the text is made up with multiple items.
@fix
Test Plan:
1. Run elementary_test
2. Click Label Ellipsis
3. Resize the window dynamically and see the result.
Reviewers: woohyun, tasn, herdsman
Subscribers: jpeg, subodh6129, shilpasingh, cedric
Maniphest Tasks: T2709
Differential Revision: https://phab.enlightenment.org/D3022
Change-Id: I8ec611fbddbb8fab1cd9706d4fc16f82ae87891f
Minwoo, Lee [Wed, 6 Jan 2016 19:24:16 +0000 (11:24 -0800)]
evas: fix a NULL dereference issue
Summary:
If evas engine init failed, it can make crash.
For example
If opengl init failed, then ee->prop.window is 0
ecore_evas_gl_x11_options_new_internal
{
if (!ee->prop.window)
{
ERR("evas_engine_info_set() init engine '%s' failed.", ee->driver);
ecore_evas_free(ee);
return NULL;
}
}
ecore_evas_free calls evas_fonts_zero_pressure
and this time evas->engine.func is NULL so it makes crash.
Reviewers: cedric
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3542
Change-Id: I1f1becdc34856fe75a6de7eafb76ec78bfc8ccba
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Youngbok Shin [Tue, 1 Dec 2015 23:03:27 +0000 (15:03 -0800)]
evas: fix a NULL dereference issue in font.
Summary:
eina_list_remove returns Eina_List pointer.
It could be NULL if the last list item is removed.
And the returned Eina_List pointer could be different from the given list.
So, calling free for fdir->data after fdir's address is changed is dangerous.
@fix
Test Plan: Run expedite or test app with evas_font_path_append() API.
Reviewers: stefan_schmidt, jpeg
Reviewed By: jpeg
Subscribers: stefan, jiin.moon, cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3392
Change-Id: I08525dccd60e975818194e3e86aaa4b1d66375f1
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Stefan Schmidt [Mon, 30 Nov 2015 16:16:28 +0000 (17:16 +0100)]
evas_font_dir: do not passed free'd memory to eina_list_remove()
Free the actual memory after we removed it from the list.
Change-Id: I4a1211df9c2ca52f6eba34a9ae78a16d19edf4dc