platform/upstream/efl.git
9 years agoecore_wayland: fix ecore wayland rotation geometry 39/49439/1 accepted/tizen/mobile/20151014.092629 accepted/tizen/tv/20151014.092641 accepted/tizen/wearable/20151014.092638 submit/tizen/20151014.010355
Mun, Gwan-gyeong [Wed, 7 Oct 2015 13:22:54 +0000 (22:22 +0900)]
ecore_wayland: fix ecore wayland rotation geometry
               when the tz_rotation interface is bound, apply rotation geometry

Change-Id: I431077770b52a5daccb955284a0adb9a37eb703e

9 years agoecore_wayland: add null check after realloc to avoid dereferencing a null pointer 20/49420/1
Gwanglim Lee [Tue, 13 Oct 2015 05:56:19 +0000 (14:56 +0900)]
ecore_wayland: add null check after realloc to avoid dereferencing a null pointer

Change-Id: Ie903e619cb990ecaf4cbfc028d4c79548b39891f

9 years agoecore_wayland: set default value to unitialized variable 'changed' in _ecore_wl_cb_co... 19/49419/1
Gwanglim Lee [Tue, 13 Oct 2015 05:52:16 +0000 (14:52 +0900)]
ecore_wayland: set default value to unitialized variable 'changed' in _ecore_wl_cb_conformant_area

Change-Id: Ia27539ee6601b2287ebd8841e69d33c0dfdddce3

9 years agoecore_wayland: add null check to fix dereference null pointer while setting up keygrab 16/49416/1
Gwanglim Lee [Tue, 13 Oct 2015 05:46:53 +0000 (14:46 +0900)]
ecore_wayland: add null check to fix dereference null pointer while setting up keygrab

Change-Id: I8b1626027efec510d02ccc423099e9fcf8e6c0eb

9 years agoecore_wayland: fix dereference null pointer after wl_surface_frame and remove unneces... 13/49413/1
Gwanglim Lee [Tue, 13 Oct 2015 05:41:28 +0000 (14:41 +0900)]
ecore_wayland: fix dereference null pointer after wl_surface_frame and remove unnecessary null checks

Change-Id: I01b1405879b1fd6c5735ed67e493a3e735b7adbd

9 years agoecore_wayland: fix dereference null pointer after wl_surface_frame 11/49411/1
Gwanglim Lee [Tue, 13 Oct 2015 05:34:32 +0000 (14:34 +0900)]
ecore_wayland: fix dereference null pointer after wl_surface_frame

Change-Id: Ib3d8d320081850c2a169e31b97b06f2ef27cfe6c

9 years agoecore_wayland: add check null after calling calloc 07/49407/1
Gwanglim Lee [Tue, 13 Oct 2015 05:22:23 +0000 (14:22 +0900)]
ecore_wayland: add check null after calling calloc

Change-Id: I057c2c80a65576103579b68fda92f1cd26bb6929

9 years agoecore_wayland: fix dereference null pointer after wl_region_add 05/49405/1
Gwanglim Lee [Tue, 13 Oct 2015 05:20:38 +0000 (14:20 +0900)]
ecore_wayland: fix dereference null pointer after wl_region_add

Change-Id: I3fba93b436c66e43c31e021af302a5ecefb784ef

9 years agoecore_wayland: fix dereference null pointer while setting up opaque region 04/49404/1
Gwanglim Lee [Tue, 13 Oct 2015 05:19:04 +0000 (14:19 +0900)]
ecore_wayland: fix dereference null pointer while setting up opaque region

Change-Id: I1459cc0f04b589ace7ca4f359c005b5fe6246bc0

9 years agoecore_wayland: fix dereference null pointer while creating ecore_wl_subsurf 03/49403/1
Gwanglim Lee [Tue, 13 Oct 2015 05:17:35 +0000 (14:17 +0900)]
ecore_wayland: fix dereference null pointer while creating ecore_wl_subsurf

Change-Id: I4c3a80a3bcdd8aac7a0911b1f6e60a6a0ad0fafd

9 years agoecore_wayland: fix dereference null pointer while creating ecore_wl_window 01/49401/1
Gwanglim Lee [Tue, 13 Oct 2015 05:13:38 +0000 (14:13 +0900)]
ecore_wayland: fix dereference null pointer while creating ecore_wl_window

Change-Id: Ie6bddb77705bfc83c0aa1c9f1ce702853e00ae4d

9 years agoecore_wayland: fix dereference null pointer in ecore_wl_window_surface_create 00/49400/1
Gwanglim Lee [Tue, 13 Oct 2015 05:11:02 +0000 (14:11 +0900)]
ecore_wayland: fix dereference null pointer in ecore_wl_window_surface_create

Change-Id: Ib9e9e2a60c915c9956cc125a61165d42c3d597f4

9 years agoecore_buffer: fix dereference null pointer 96/49396/1
Gwanglim Lee [Tue, 13 Oct 2015 05:06:51 +0000 (14:06 +0900)]
ecore_buffer: fix dereference null pointer

Change-Id: I7178a00526aba93042e9d31906933fb48de0ac05

9 years agoMerge "security: change to apply Tizen security policy." into tizen
Jaehwan Kim [Thu, 8 Oct 2015 07:47:41 +0000 (00:47 -0700)]
Merge "security: change to apply Tizen security policy." into tizen

9 years agoecore_wayland: Send 'get_supported_aux_hints' only when window calls 'elm_win_aux_hin... 32/49132/2 accepted/tizen/mobile/20151008.004311 accepted/tizen/tv/20151008.004323 accepted/tizen/wearable/20151008.004339 submit/tizen/20151007.074301
Duna Oh [Wed, 7 Oct 2015 05:30:21 +0000 (14:30 +0900)]
ecore_wayland: Send 'get_supported_aux_hints' only when window calls 'elm_win_aux_hint_add'

Change-Id: I926570d93078603d051b52182d6ff04076b267cc
Signed-off-by: Duna Oh <duna.oh@samsung.com>
9 years agosecurity: change to apply Tizen security policy. 87/48287/2
Jaehwan Kim [Thu, 17 Sep 2015 06:59:55 +0000 (15:59 +0900)]
security: change to apply Tizen security policy.

evas-cserve2 make the socket file in the /run/.efl
and ecore_evas_extn_buf make tmp file in that folder.
It has a authority of "User::App::Shared"

@tizen_feature

Conflicts:
packaging/efl.spec

Change-Id: Ie8baa503237204f7f484e8f2d305e1a3a9d05e96

9 years agoecore_wayland: resize the window when rotation geometry is different with allocated... 87/49087/1 accepted/tizen/mobile/20151006.225010 accepted/tizen/tv/20151006.225027 accepted/tizen/wearable/20151006.225041 submit/tizen/20151006.102239
Mun, Gwan-gyeong [Tue, 6 Oct 2015 08:30:42 +0000 (17:30 +0900)]
ecore_wayland: resize the window when rotation geometry is different with allocated window size.

Change-Id: Ibcc3909707a73daa008adea1f3a374129fc04333

9 years agofix build error in 64 bit. 14/49014/1 accepted/tizen/mobile/20151005.232501 accepted/tizen/tv/20151005.232523 accepted/tizen/wearable/20151005.232531 submit/tizen/20151005.070132
Jaehwan Kim [Mon, 5 Oct 2015 06:45:03 +0000 (15:45 +0900)]
fix build error in 64 bit.

Change-Id: I125415ce04a49ccf3cae284512ee927d70ae26b6

9 years agoecore_wayland: support aux_hint(auxiliary hint) for wayland surface 96/48496/7 submit/tizen/20151005.020432
Duna Oh [Tue, 22 Sep 2015 07:39:02 +0000 (16:39 +0900)]
ecore_wayland: support aux_hint(auxiliary hint) for wayland surface

Change-Id: I0dfa12272295d2990bd33aff18ac604f583c901e
Signed-off-by: Duna Oh <duna.oh@samsung.com>
9 years ago[efl] remove unused daemon in binary 63/48963/1
Jongmin Lee [Sun, 28 Jun 2015 06:46:39 +0000 (15:46 +0900)]
[efl] remove unused daemon in binary

Conflicts:
packaging/efl.manifest
packaging/efl.spec

Change-Id: I2aef23e5c806166ed405a12a917333ad66ebadbf

9 years agoecore_imf/wayland: support private command protocol 47/48747/2 accepted/tizen/mobile/20150929.014355 accepted/tizen/tv/20150929.014415 accepted/tizen/wearable/20150929.014427 submit/tizen/20150926.121837
Jihoon Kim [Sat, 26 Sep 2015 12:07:42 +0000 (21:07 +0900)]
ecore_imf/wayland: support private command protocol

Change-Id: I141384fa44c9e6e438a9eb365a8acec83aaafe60

9 years agogl_common: evgl_native_surface_direct_opts_get() does nothing if native_surface is... 92/48592/1 accepted/tizen/mobile/20150925.012310 accepted/tizen/tv/20150925.012318 accepted/tizen/wearable/20150925.012327 submit/tizen/20150924.044428 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620
Boram Park [Wed, 23 Sep 2015 09:34:36 +0000 (18:34 +0900)]
gl_common: evgl_native_surface_direct_opts_get() does nothing if native_surface is EVAS_NATIVE_SURFACE_WL type.

Change-Id: If0ec0d9ec2e8a1085c58bb6e71a35995b5d7ed3f

9 years agoevas/gl_drm: Change EGL_WAYLAND definitions to EVAS_GL_WAYLAND. 32/48532/2
Mun, Gwan-gyeong [Tue, 22 Sep 2015 11:53:43 +0000 (20:53 +0900)]
evas/gl_drm: Change EGL_WAYLAND definitions to EVAS_GL_WAYLAND.

Change-Id: Ib6407db9269b83334b6f84f8e99bcdeac6c8f7e7

9 years agoEvas GL: Add definitions for EGL_WL_bind_wayland_display 31/48531/2
Mun, Gwan-gyeong [Tue, 22 Sep 2015 11:44:13 +0000 (20:44 +0900)]
Evas GL: Add definitions for EGL_WL_bind_wayland_display

Change-Id: I592bc09f2ca74e755a5908e0dfa43ebf706dc471

9 years agoMerge "ecore_imf/wayland: support to set input panel data" into tizen accepted/tizen/mobile/20150923.052338 accepted/tizen/tv/20150923.052350 accepted/tizen/wearable/20150923.052403 submit/tizen/20150923.002249
Jihoon Kim [Tue, 22 Sep 2015 11:21:02 +0000 (04:21 -0700)]
Merge "ecore_imf/wayland: support to set input panel data" into tizen

9 years agoecore_imf/wayland: support to set input panel data 24/48524/1
Jihoon Kim [Tue, 22 Sep 2015 11:10:30 +0000 (20:10 +0900)]
ecore_imf/wayland: support to set input panel data

Change-Id: I03331c671957fa0339a534118d1517d54fa5ed37

9 years agoecore_wayland: remove communicating of rotation_geometry_hint with display server. 88/47888/2 accepted/tizen/mobile/20150922.232717 accepted/tizen/tv/20150922.232732 accepted/tizen/wearable/20150922.232743 submit/tizen/20150922.084350
Mun, Gwan-gyeong [Wed, 9 Sep 2015 07:23:34 +0000 (16:23 +0900)]
ecore_wayland: remove communicating of rotation_geometry_hint with display server.
               when window got rotate event from display server , resize window size by itself policy.

Change-Id: I3f9437583ef06814de368a95b700887ae7050068

9 years agoevas/gl_drm: fix yinvert query with eglQueryWaylandBufferWL() 06/48506/1
Mun, Gwan-gyeong [Tue, 22 Sep 2015 08:12:42 +0000 (17:12 +0900)]
evas/gl_drm: fix yinvert query with eglQueryWaylandBufferWL()

Change-Id: Ic5cf335af92bb11ee12364ce0ea84fbcac0bb56d

9 years agoecore_imf/wayland: support to set the selection region 34/48334/1 accepted/tizen/mobile/20150920.232417 accepted/tizen/tv/20150920.232434 accepted/tizen/wearable/20150920.232447 submit/tizen/20150918.065348
Jihoon Kim [Fri, 18 Sep 2015 06:40:02 +0000 (15:40 +0900)]
ecore_imf/wayland: support to set the selection region

Change-Id: I41ea27b864976e864dae0125543972f9a850d5de

9 years agoevas: Add scale feature for embedded bitmap fonts. 49/48249/5 accepted/tizen/mobile/20150918.024713 accepted/tizen/tv/20150918.024727 accepted/tizen/wearable/20150918.024738 submit/tizen/20150917.071344
Youngbok Shin [Mon, 22 Jun 2015 10:45:58 +0000 (19:45 +0900)]
evas: Add scale feature for embedded bitmap fonts.

Change-Id: If53dbe417dae3e84a23e4e6875df0668382b62f4
Origin: spin

9 years agoevas: Add safety check for NULL pointer of clipper. 48/48248/4
Youngbok Shin [Tue, 24 Mar 2015 03:53:34 +0000 (12:53 +0900)]
evas: Add safety check for NULL pointer of clipper.

Summary: It caused crash when clipper is NULL and it makes evas test-suite fail.

Test Plan: Run evas test-suite. (make check)

Reviewers: woohyun, tasn, herdsman, Hermet

Reviewed By: Hermet

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2215

Change-Id: I6cff95ff7ba807441c96a24c838d5891ea980e0f
Origin: upstream

9 years agoevas - font - new color bitmap support - rename funcs to match file 47/48247/4
Carsten Haitzler (Rasterman) [Fri, 20 Mar 2015 01:49:49 +0000 (10:49 +0900)]
evas - font - new color bitmap support - rename funcs to match file

Change-Id: I32f0464588a133bd8b442622a23717a3e75374a6
Origin: upstream

9 years agoMerge "evas: Support bitmap embedded color font." into tizen
Jaeun Choi [Thu, 17 Sep 2015 05:23:28 +0000 (22:23 -0700)]
Merge "evas: Support bitmap embedded color font." into tizen

9 years agoevas: Support bitmap embedded color font. 46/48246/3
Youngbok Shin [Thu, 19 Mar 2015 10:02:02 +0000 (19:02 +0900)]
evas: Support bitmap embedded color font.

Summary:
Add the code for getting bitmap buffers from embedded color font,
And draw the bitmap buffers as images.
For drawing the bitmap buffers as images,
evas_common_draw_context_font_ext_set internal API is changed to
pass additional gl engine functions.
T2139
@feature

Test Plan:
1. Set a bitmap embedded color font to textblock.
2. Set a unicode emoticon text.
3. See the result.

Please check the sample unicode in the following link.
http://www.fileformat.info/info/unicode/char/1f3af/index.htm
http://www.fileformat.info/info/unicode/char/1f555/index.htm
http://www.fileformat.info/info/unicode/char/2600/index.htm
http://www.fileformat.info/info/unicode/char/263a/index.htm

Reviewers: tasn, woohyun, jpeg, raster

Reviewed By: raster

Subscribers: herdsman, cedric

Differential Revision: https://phab.enlightenment.org/D2084

Change-Id: Ib0a11092c83b9f212783fcbb8db3ae42e7fc2722
Origin: upstream

9 years agoMerge "EvasGL : implement missed functions in wayland engine" into tizen submit/tizen/20150917.063024
DaeKwang Ryu [Thu, 17 Sep 2015 04:41:56 +0000 (21:41 -0700)]
Merge "EvasGL : implement missed functions in wayland engine" into tizen

9 years agoMerge "Evas GL: Add indirect surface fallback and yinvert callback" into tizen
ryu [Thu, 17 Sep 2015 04:41:47 +0000 (21:41 -0700)]
Merge "Evas GL: Add indirect surface fallback and yinvert callback" into tizen

9 years agoMerge "Evas GL: destroy egl image when surface is destroyed" into tizen
ryu [Thu, 17 Sep 2015 04:41:19 +0000 (21:41 -0700)]
Merge "Evas GL: destroy egl image when surface is destroyed" into tizen

9 years agoMerge "Evas GL: Add missed GLES 3.0 functions." into tizen
ryu [Thu, 17 Sep 2015 04:41:09 +0000 (21:41 -0700)]
Merge "Evas GL: Add missed GLES 3.0 functions." into tizen

9 years agoMerge "fallback configuration when mismatch depth/stencil buffer" into tizen
ryu [Thu, 17 Sep 2015 04:41:00 +0000 (21:41 -0700)]
Merge "fallback configuration when mismatch depth/stencil buffer" into tizen

9 years agoMerge "Evas GL: Wrap glGetString() for gles1.x." into tizen
ryu [Thu, 17 Sep 2015 04:40:51 +0000 (21:40 -0700)]
Merge "Evas GL: Wrap glGetString() for gles1.x." into tizen

9 years agoMerge "Evas GL: Add support for Evas GL 3.0" into tizen
ryu [Thu, 17 Sep 2015 04:40:41 +0000 (21:40 -0700)]
Merge "Evas GL: Add support for Evas GL 3.0" into tizen

9 years agoMerge "Evas GL: Use EGL image to share between Evas GL and GL backend" into tizen
ryu [Thu, 17 Sep 2015 04:40:30 +0000 (21:40 -0700)]
Merge "Evas GL: Use EGL image to share between Evas GL and GL backend" into tizen

9 years agoMerge "Evas GL: Add pixmap surface fallback for gles 1.x indirect rendering" into...
ryu [Thu, 17 Sep 2015 04:40:21 +0000 (21:40 -0700)]
Merge "Evas GL: Add pixmap surface fallback for gles 1.x indirect rendering" into tizen

9 years agoMerge "evas: fix error checking of eglBindAPI." into tizen
ryu [Thu, 17 Sep 2015 04:40:05 +0000 (21:40 -0700)]
Merge "evas: fix error checking of eglBindAPI." into tizen

9 years agoMerge "evas_gl: Add feature to set depth/stencil/msaa bit to window surface." into...
ryu [Thu, 17 Sep 2015 04:39:55 +0000 (21:39 -0700)]
Merge "evas_gl: Add feature to set depth/stencil/msaa bit to window surface." into tizen

9 years agoMerge "Evas GL: Add internal function to create GLES1 specific context" into tizen
Daekwang Ryu [Thu, 17 Sep 2015 04:39:41 +0000 (21:39 -0700)]
Merge "Evas GL: Add internal function to create GLES1 specific context" into tizen

9 years agoMerge "Evas GL: Add hidden flags instead of env vars" into tizen
Daekwang Ryu [Thu, 17 Sep 2015 04:39:31 +0000 (21:39 -0700)]
Merge "Evas GL: Add hidden flags instead of env vars" into tizen

9 years agoMerge "Evas GL: Fix Direct Rendering without Client-side rotation" into tizen
Daekwang Ryu [Thu, 17 Sep 2015 04:39:20 +0000 (21:39 -0700)]
Merge "Evas GL: Fix Direct Rendering without Client-side rotation" into tizen

9 years agoMerge "Evas GL: Try to find the best matching config for GLES1" into tizen
Daekwang Ryu [Thu, 17 Sep 2015 04:39:07 +0000 (21:39 -0700)]
Merge "Evas GL: Try to find the best matching config for GLES1" into tizen

9 years agoMerge "Evas GL: Create XPixmap for GLES 1 indirect rendering" into tizen
Daekwang Ryu [Thu, 17 Sep 2015 04:38:55 +0000 (21:38 -0700)]
Merge "Evas GL: Create XPixmap for GLES 1 indirect rendering" into tizen

9 years agoMerge "1. Evas: Add Evas GL helper macros for GLESv1 and GLESv2 2. Evas GL: Add OpenG...
Daekwang Ryu [Thu, 17 Sep 2015 04:38:43 +0000 (21:38 -0700)]
Merge "1. Evas: Add Evas GL helper macros for GLESv1 and GLESv2 2. Evas GL: Add OpenGL ES 1 bit to all surfaces" into tizen

9 years agoEvasGL : implement missed functions in wayland engine 63/48163/3
DaeKwang Ryu [Tue, 15 Sep 2015 09:48:32 +0000 (18:48 +0900)]
EvasGL : implement missed functions in wayland engine

The functions is implemented in GL_X11 engine, not in wayland engine.
So added in wayland engine.

Change-Id: I1cc9263ba1739ee435bfddf0105b17ace9f54f10

9 years agoEvas GL: Add indirect surface fallback and yinvert callback 49/47449/4
Dongyeon Kim [Fri, 17 Apr 2015 06:56:14 +0000 (15:56 +0900)]
Evas GL: Add indirect surface fallback and yinvert callback

Summary:
When either FBO or EGL image from texture extension is not supported,
we can use pixmap surface as indirect surface fallback.
Since native pixmaps have (0,0) in the upper left while
FBOs have (0,0) in the lower left, we should invert the y coordinates
when native pixmaps are used as the render target.
To accomodate run-time y-invert check we add a new callback for
EVAS_NATIVE_SURFACE_EVASGL type.

Change-Id: I7d7dcb0b96589692f1171ad01b14de4804d28d83

9 years agoEvas GL: destroy egl image when surface is destroyed 48/47448/4
Dongyeon Kim [Thu, 16 Apr 2015 05:34:31 +0000 (14:34 +0900)]
Evas GL: destroy egl image when surface is destroyed

Summary:
We should destroy egl image when surface is destroyed
to avoid memory leak.
Fix direct_mem_opt and direct_override flag setting.

Change-Id: Icf82ae78d4de394542cd41f66c3becd6cb95f589

9 years agoEvas GL: Add missed GLES 3.0 functions. 47/47447/4
mythri.venugopal [Tue, 24 Mar 2015 17:11:53 +0000 (17:11 +0000)]
Evas GL: Add missed GLES 3.0 functions.

Change-Id: Ic4448f3537af94f142eee9a2a63b16f00916c773

9 years agofallback configuration when mismatch depth/stencil buffer 46/47446/4
Wonsik Jung [Wed, 18 Mar 2015 07:08:23 +0000 (16:08 +0900)]
fallback configuration when mismatch depth/stencil buffer

This patch is downstream and implemented by JP.

Change-Id: Ie22c587316df8fdefad340dbc8b625dd1d174bf5

9 years agoEvas GL: Wrap glGetString() for gles1.x. 45/47445/4
Minkyoung Kim [Wed, 18 Mar 2015 08:14:41 +0000 (17:14 +0900)]
Evas GL: Wrap glGetString() for gles1.x.

This is backport from upstream :

  commit 9a0f5913144da3def33e246e0438c8529f367298
  Author: Minkyoung Kim <mer.kim@samsung.com>
  Date:   Tue Feb 24 19:32:35 2015 +0900

      Evas GL: Wrap glGetString() for gles1.x.

      Summary:
      - Implement glGetString() wrapper func in the same way as gles2.x.
      - Small bug fix glGetString() for gles2.x.

Change-Id: I54569c5d239fde17b17d7cc8334bca1fc67edc0e

9 years agoEvas GL: Add support for Evas GL 3.0 44/47444/4
mythri.venugopal [Fri, 13 Mar 2015 19:19:44 +0000 (19:19 +0000)]
Evas GL: Add support for Evas GL 3.0

This is a unified backport from upstream efl containing:

commit 56c9919d0080df6fb7630068229c992443728078
Author: Dongyeon Kim <dy5.kim@samsung.com>
Date:   Mon Mar 9 17:17:19 2015 +0900
    Evas GL: change function naming and small bug fixes
    Summary:
    Remove gles1 prefixes for functions that are also used by gles3.
    Refactor evgl_make_current a little bit.
    Destroy indirect context properly.
    Some log message changes and typo fixes.
    Test Plan: Local tests on desktop PC
    Reviewers: jpeg
    Subscribers: mythri, mer.kim, wonsik, cedric
    Differential Revision: https://phab.enlightenment.org/D2104

commit f3bbc602ac30a66dac50a1e8eddaf2ac3710cdc0
Author: Jean-Philippe Andre <jp.andre@samsung.com>
Date:   Thu Mar 5 18:16:05 2015 +0900
    Evas GL: Fix list of extensions with GLESv1
    EGL/EvasGL extensions are also valid with GLESv1.
    This means evasglCreateImage could be used.

commit 8f465c0b104df73affc12e42e67cd25e6cc5d1d0
Author: Jean-Philippe Andre <jp.andre@samsung.com>
Date:   Thu Mar 5 17:20:57 2015 +0900
    Evas GL: Fix logic in debug check

commit 4817103b8c5217179055a130e20452b7e85b14e8
Author: Jean-Philippe Andre <jp.andre@samsung.com>
Date:   Thu Mar 5 15:57:14 2015 +0900
    Evas GL: Fix build errors and warnings from previous commit

commit 2245cc12a47da9fe826f29a19ddb1874e18f7eb4
Author: mythri.venugopal <mythri.venugopal@samsung.com>
Date:   Thu Mar 5 15:36:35 2015 +0900
    Evas GL: Add support for Evas GL 3.0
    Summary:
    This should enable applications to use GLES 3.0 through evas gl.

Change-Id: Ia73473a9d705d970b0f7ddbc55f510f3c112bb81

9 years agoEvas GL: Use EGL image to share between Evas GL and GL backend 43/47443/4
mythri.venugopal [Fri, 13 Mar 2015 17:50:20 +0000 (17:50 +0000)]
Evas GL: Use EGL image to share between Evas GL and GL backend

Summary:When the context version between Evas GL and GL backend differs,
        we cannot share texture between them. So, when the driver
        has support for KHR_gl_texture_2D_image extension,
        use EGL image to share between Evas GL and GL backend

Change-Id: Ifffadb8f13e71b1f3889508ea21b83a25f85e2f3

9 years agoEvas GL: Add pixmap surface fallback for gles 1.x indirect rendering 42/47442/4
mythri.venugopal [Wed, 11 Mar 2015 15:56:12 +0000 (15:56 +0000)]
Evas GL: Add pixmap surface fallback for gles 1.x indirect rendering

Merge from upstream patch
https://phab.enlightenment.org/rEFLa14492ef73c9267042c5bf505080d0e90af394de

Automatically fallback to indirect rendering on FBO or X11 Pixmap
if the Evas Object Image is not marked as dirty. This should
improve the performance and/or power consumption in those
rare cases where this area of the canvas needs to be redrawn
but the GL content has not changed.

and

- when dirty set is not called but has direct rendering,
   evas gl should render to a fallback surface and use that as texture
 - for gles 1.x, this fallback surface should be a pixmap surface,
   so it uses EVAS_NATIVE_SURFACE_X11 type
 - from now, both EVAS_NATIVE_SURFACE_OPENGL and EVAS_NATIVE_SURFACE_X11
   can be passed for direct rendering

Change-Id: I8aefb55c2b42dc90d4440bfaaa59f3824828b1cd

9 years agoevas: fix error checking of eglBindAPI. 41/47441/4
Minkyoung Kim [Mon, 16 Mar 2015 01:58:04 +0000 (10:58 +0900)]
evas: fix error checking of eglBindAPI.

If eglGetError sequencially called, second eglGetError() doesn't give the information of real Error.

Change-Id: Ifcb677e0675768b1b1c79e5e1000bbd2ffc39eec

9 years agoevas_gl: Add feature to set depth/stencil/msaa bit to window surface. 40/47440/4
Joogab Yun [Wed, 17 Jun 2015 05:34:30 +0000 (14:34 +0900)]
evas_gl: Add feature to set depth/stencil/msaa bit to window surface.

    Summary:
    When Evas GL runs with direct rendering, it can not set depth, stencil and msaa to Window surface.
    This patch is possible to use "option" input paramater of ecore_evas_gl_x11_options_new.
    So, new API is not needed.

    The other patch is in elementary. The elementary patch will be used this patch.

    Test Plan: Test elm gl veiw in elementary_test and JP's test app.

    Differential Revision: https://phab.enlightenment.org/D2144

Change-Id: If854ffae327fdd81e52fde44c79aea2e7c98b39e

9 years agoEvas GL: Add internal function to create GLES1 specific context 39/47439/4
Daekwang Ryu [Wed, 11 Mar 2015 07:30:55 +0000 (16:30 +0900)]
Evas GL: Add internal function to create GLES1 specific context

This context will be used for GLES 1 indirect rendering.
The problem is the following:
eglMakeCurrent( fails with EGL_BAD_MATCH when switching to an
X Pixmap surface for GLES1 indirect rendering because
the EGL configuration for the surface and the context don't match.
The EGLConfig for the context is the sam as that of the window,
while the surface requires the EGL_PIXMAP_BIT flag, as well as other depth,
stencil & msaa flags. (on most drivers, the pixmap bit is not a big deal,
but depth, stencil and msaa are very important).
Thus, the EGLConfig for the surface does't match.
In order to make them match, we need to create another context
to use for GLES1 indirect rendering, that will have the same configuration
as the surface.
In the case of GLES2 we con't have this problem because  GLES2 surfaces
created by Evas GL are not actual EGL surfaces, but simply FBOs and
eglMakeCurrent( is called using the canvas window surface.))

Change-Id: I939d58f5c576781a9972b23067f0e954ddea88a7

9 years agoEvas GL: Add hidden flags instead of env vars 38/47438/4
Daekwang Ryu [Tue, 3 Mar 2015 12:09:25 +0000 (21:09 +0900)]
Evas GL: Add hidden flags instead of env vars

For Direct Override and Memory Optimization.
This commit includes a lot of changes, but most of them
are directly related to moving the global var into the surface.
In particular, we must keep track of the DR surfaces, so we
add them to a hash indexed by texture id.

Change-Id: Iea696e279eac7e4ab4d130adb748936f2d97488c

9 years agoEvas GL: Fix Direct Rendering without Client-side rotation 37/47437/4
Daekwang Ryu [Tue, 3 Mar 2015 10:55:00 +0000 (19:55 +0900)]
Evas GL: Fix Direct Rendering without Client-side rotation

Introduce Evas function gl_surface_direct_renderable_get(
This lets the image object know if the underlying surface is
directly renderable, based on rotation, client-side rotation and
direct rendering flags.
I've introduced this because the image object only knows this
surface is a candidate for direct rendering, but can't decide
whether rotation is allowed or not (it doesn't have access to
the client_side_rotation flag).
List traversal is not optimal but considering real-life use cases
(ie. only one big GLView), it should be good enough.
This should finally fix the problems with direct rendering
and pre-rotation VS. client_side_rotation.)

Change-Id: I477dc6092328f3e5cea5ab60df1928c373ff92cc

9 years agoEvas GL: Try to find the best matching config for GLES1 36/47436/4
Daekwang Ryu [Tue, 3 Mar 2015 08:16:06 +0000 (17:16 +0900)]
Evas GL: Try to find the best matching config for GLES1

When configuring an EGL surface, it is important to match
EGL and X Visual infos. In this commit, we list all
compatible EGL modes (wrt. color, depth, stencil & msaa),
and then find the matching visuals in X land.

Change-Id: I0c4fb527b17bafbc9adb104d89eee9d9deff82d7

9 years agoEvas GL: Create XPixmap for GLES 1 indirect rendering 35/47435/4
Daekwang Ryu [Tue, 3 Mar 2015 06:44:28 +0000 (15:44 +0900)]
Evas GL: Create XPixmap for GLES 1 indirect rendering

Change-Id: I130cb12104ca3716243ca926372af4b67ee04d1c

9 years ago1. Evas: Add Evas GL helper macros for GLESv1 and GLESv2 34/47434/4
Daekwang Ryu [Wed, 4 Mar 2015 07:12:56 +0000 (16:12 +0900)]
1. Evas: Add Evas GL helper macros for GLESv1 and GLESv2
2. Evas GL: Add OpenGL ES 1 bit to all surfaces

Change-Id: I6697acad8a63fc67dc7e4e0e033f4c32707593cb

9 years agoecore_wayland: add code to deal with keyboard map event for keygrab 61/48161/1 accepted/tizen/mobile/20150917.040722 accepted/tizen/tv/20150917.040728 accepted/tizen/wearable/20150917.040742 submit/tizen/20150915.095532
Ji-Youn Park [Tue, 15 Sep 2015 09:10:17 +0000 (17:40 +0830)]
ecore_wayland: add code to deal with keyboard map event for keygrab

keygrab api only available after keyboard map event.
keygrab wait until wayland disply dequeues the job of default queue

Change-Id: I69fe4f86673a0d7876a9bde56b72102065e24a9b

9 years agoecore_wayland: Change keyevent handler to pass event even though window is not exist 02/48002/2 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150911.145209 accepted/tizen/tv/20150911.145222 accepted/tizen/wearable/20150911.145231 submit/accepted/tizen_mobile/20150911.023538 submit/tizen/20150911.051348 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release
Ji-Youn Park [Fri, 11 Sep 2015 01:37:19 +0000 (10:07 +0830)]
ecore_wayland: Change keyevent handler to pass event even though window is not exist

@tizen_feature

Change-Id: I87bb2ca85b9e743a3cf976c597f15819f07f5bd4

9 years agofixed lots of warnings 08/47808/2 accepted/tizen/mobile/20150909.140524 accepted/tizen/tv/20150909.140354 accepted/tizen/wearable/20150909.134930 submit/tizen/20150909.054258
Gwanglim Lee [Wed, 9 Sep 2015 05:02:52 +0000 (14:02 +0900)]
fixed lots of warnings

Change-Id: I02ac5247744022feb23e4257978314fa3d3ca21f

9 years agoevas: fix build failure with old version freetype. 55/47755/3
Youngbok Shin [Fri, 20 Mar 2015 04:24:31 +0000 (13:24 +0900)]
evas: fix build failure with old version freetype.

Summary:
Fix build failure with old version freetype.
It is caused for supporting colored font.

Reviewers: raster, jpeg, woohyun, Hermet

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2200

Change-Id: Id127d393567186b855a99910ff104769f39be4e7
Origin: upstream

9 years agoecore_wayland: Add rotation geometry hint 19/45219/5
Mun, Gwan-gyeong [Fri, 24 Jul 2015 05:26:04 +0000 (14:26 +0900)]
ecore_wayland: Add rotation geometry hint
               implement manual_rotation_done

Change-Id: I3db849f8601e77727d3fa96d50de131ae0a7baf8

9 years agoecore_evas_extn: change the lock file path. 17/47717/1 accepted/tizen/mobile/20150908.231451 accepted/tizen/tv/20150908.231518 accepted/tizen/wearable/20150908.231504 submit/tizen/20150908.071056
Jaehwan Kim [Tue, 8 Sep 2015 06:55:23 +0000 (15:55 +0900)]
ecore_evas_extn: change the lock file path.

The lock file can be accecced by any application.
But in Tizen, it needs SMACK rule.

@tizen_feature

Change-Id: I6daf97702e736e34ec0fc2b80ec247ca39e91239

9 years agoMerge "EvasGL: [bugfix] It creates a directory in root." into tizen accepted/tizen/mobile/20150908.073540 accepted/tizen/tv/20150908.073621 accepted/tizen/wearable/20150908.073601 submit/tizen/20150908.011933
DaeKwang Ryu [Tue, 8 Sep 2015 01:15:20 +0000 (18:15 -0700)]
Merge "EvasGL: [bugfix] It creates a directory in root." into tizen

9 years agoecore_wayland: added Ecore_Wl_Event_Window_Lower event to notify that window lower... 57/47657/1
Gwanglim Lee [Mon, 7 Sep 2015 13:20:18 +0000 (22:20 +0900)]
ecore_wayland: added Ecore_Wl_Event_Window_Lower event to notify that window lower request is occurred.

Change-Id: I2065dc4741f116cd158086055101983670948491

9 years agoEvasGL: [bugfix] It creates a directory in root. 59/47659/1
DaeKwang Ryu [Mon, 7 Sep 2015 13:19:27 +0000 (22:19 +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: I7cd9201c60cf6aece1e72033d38fa8053370d399

9 years agoevas: add image orient set/get API in software backend for now. 18/47618/1
kabeer khan [Wed, 11 Feb 2015 16:30:49 +0000 (17:30 +0100)]
evas: add image orient set/get API in software backend for now.

Summary:
Added API's to rotate(0, 90, 180, 270), flip(horizontal, vertical, transpose, transverse)
evas image object. Also added example to demonstrate this.

Signed-off-by: kabeer khan <kabeer.khan@samsung.com>
Reviewers: raster, stephenmhouston, cedric

Subscribers: stephenmhouston, cedric

Differential Revision: https://phab.enlightenment.org/D1950

Change-Id: If7ca7376d9123b992097d0f91b1196423239b10f
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Origin: upstream

9 years agoecore_evas_wayland: Set the min/max sizes after minus operation 35/47535/1
Duna Oh [Fri, 4 Sep 2015 08:24:15 +0000 (17:24 +0900)]
ecore_evas_wayland: Set the min/max sizes after minus operation

Resizing a window below min value, we expect the size will be min size. But the window had 'min size- border size'. I fixed it.

Change-Id: I4fb993bff8c3027822c6259e326f7c06914dfcdb
Signed-off-by: Duna Oh <duna.oh@samsung.com>
9 years agoEvasGL: [bugfix] There were uninitialize variables. 23/47223/1 accepted/tizen/mobile/20150907.123133 accepted/tizen/tv/20150907.123327 accepted/tizen/wearable/20150907.123520 submit/tizen/20150907.050211
DaeKwang Ryu [Tue, 1 Sep 2015 06:16:13 +0000 (15:16 +0900)]
EvasGL: [bugfix] There were uninitialize variables.

It created a directory with a weird name in root because The character pointer variables
were not initialized.

Change-Id: Idce968b8b34bdefdfa9e0f043b7278f70b57c5d7

9 years agoecore_imf/wayland: support to get the geometry of input panel 45/47145/1 accepted/tizen/mobile/20150901.083444 accepted/tizen/tv/20150901.083453 accepted/tizen/wearable/20150901.083501 submit/tizen/20150901.014904
Jihoon Kim [Mon, 31 Aug 2015 08:12:14 +0000 (17:12 +0900)]
ecore_imf/wayland: support to get the geometry of input panel

Change-Id: Ic3dcd0f30084892aea49d4f25eef775253bd6f7b

9 years agoecore_imf/wayland: fix bug IME doesn't disappears when pressing H/W back button in... 89/46989/1
Jihoon Kim [Fri, 28 Aug 2015 00:33:54 +0000 (09:33 +0900)]
ecore_imf/wayland: fix bug IME doesn't disappears when pressing H/W back button in WILL SHOW status

Change-Id: I2b4f9d70e7879eda1f2ce56fad0c3544d2d1cd20

9 years agoeio_monitor: Removed unnecessary eio_file_direct_stat 35/46835/2 accepted/tizen/mobile/20150826.222710 accepted/tizen/tv/20150826.222732 accepted/tizen/wearable/20150826.222744 submit/tizen/20150826.115317
Felipe Magno de Almeida [Fri, 10 Apr 2015 20:11:41 +0000 (17:11 -0300)]
eio_monitor: Removed unnecessary eio_file_direct_stat

Removed unnecessary asynchronous stat, which could make eio_monitor to
lose events between the monitor creation and stat completion.

Change-Id: I7f420267fa39fae54b7fc3c73eb2f1a9f4225741
origin: upstream

9 years agoecore_wayland: call fn_state_change after iconified_set 98/46698/1 accepted/tizen/mobile/20150826.015950 accepted/tizen/tv/20150826.015555 accepted/tizen/wearable/20150826.020202 submit/tizen/20150825.110136
Duna Oh [Tue, 25 Aug 2015 05:52:37 +0000 (14:52 +0900)]
ecore_wayland: call fn_state_change after iconified_set

This updates 'iconified' state in elm_win_state_change(), now elm_win_iconified_get() works properly.
Change-Id: I0f24220f5c938dc57c2cca88c3297d52f44191ce
Signed-off-by: Duna Oh <duna.oh@samsung.com>
9 years agoecore_buffer: assert if wl_display_dispatch returns -1 52/46652/3 accepted/tizen/mobile/20150825.060832 accepted/tizen/tv/20150825.060843 accepted/tizen/wearable/20150825.060852 submit/tizen/20150824.055555
Boram Park [Mon, 24 Aug 2015 11:59:58 +0000 (20:59 +0900)]
ecore_buffer: assert if wl_display_dispatch returns -1

Change-Id: Ie874d2529bd002ffb418d22e08a3ff79621d1689

9 years agoecore_wl: quit loop & assert if wl_display_dispatch returns -1 51/46651/3
Boram Park [Mon, 24 Aug 2015 11:59:48 +0000 (20:59 +0900)]
ecore_wl: quit loop & assert if wl_display_dispatch returns -1

Change-Id: Ic3c848b15891689cedaca3ea49698e5c147713f2

9 years agoecore_wayland: added iconify / uniconify requests 89/46589/1 accepted/tizen/mobile/20150824.002726 accepted/tizen/tv/20150824.002740 accepted/tizen/wearable/20150824.002751 submit/tizen/20150822.055555
Gwanglim Lee [Sat, 22 Aug 2015 08:09:33 +0000 (17:09 +0900)]
ecore_wayland: added iconify / uniconify requests

Change-Id: I290e323eb9f3b92f57ecf13efed768fa495582fe

9 years agoecore_imf/wayland: support to set return key disabled 60/46560/1
Jihoon Kim [Fri, 21 Aug 2015 13:37:08 +0000 (22:37 +0900)]
ecore_imf/wayland: support to set return key disabled

Change-Id: I5566744e812b9bf89c0b828682bb72d6932f4486

9 years agoEvas renderer: Fix double-clipping issue with maps 82/46082/1 accepted/tizen/mobile/20150816.062204 accepted/tizen/tv/20150816.062336 accepted/tizen/wearable/20150816.062530 submit/tizen/20150815.132954
Duna Oh [Fri, 14 Aug 2015 05:33:33 +0000 (14:33 +0900)]
Evas renderer: Fix double-clipping issue with maps

This patch is from upstream commit.
https://git.enlightenment.org/core/efl.git/commit/?id=b0c6a32d681aea398d53cda2d935d0ee10226903

Change-Id: Ic7b33a8989495307c199a7be555d74ea109a3608
Signed-off-by: Duna Oh <duna.oh@samsung.com>
9 years agoevas/font: Add evas_font_reinit API. 55/45755/2 accepted/tizen/mobile/20150813.011805 accepted/tizen/tv/20150813.011817 accepted/tizen/wearable/20150813.011829 submit/tizen/20150811.061834 submit/tizen/20150812.050254
Youngbok Shin [Thu, 19 Mar 2015 09:01:41 +0000 (18:01 +0900)]
evas/font: Add evas_font_reinit API.

Summary:
Reinitialize FontConfig. If FontConfig has to be reinitialized
according to changes of system enviroments(ex. Changing font config files), it will be useful.

Reviewers: woohyun, seoz, tasn, cedric, raster

Reviewed By: raster

Subscribers: raster, herdsman, cedric

Differential Revision: https://phab.enlightenment.org/D1962

Change-Id: I9b8fa3429cdcc432fbf51fc60fa4da1bde6dbc45
origin: upstream

9 years agoevas_map: added precise coord get/set APIs 26/45626/1 accepted/tizen/mobile/20150811.013617 accepted/tizen/tv/20150811.013630 accepted/tizen/wearable/20150811.013647 submit/tizen/20150810.055113
MinJeong Kim [Mon, 10 Aug 2015 03:21:46 +0000 (12:21 +0900)]
evas_map: added precise coord get/set APIs

Parameters of evas_map_point_coord_get/set are integer coordinates values,
so any caller of APIs can not get/set coordinates of evas map accurately.
For improving accuracy of that, below two APIs using double value are added.
 - evas_map_point_precise_coord_set
 - evas_map_point_precise_coord_get

Change-Id: I632477de1224a0dd2db509809835f1e627762b64
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
9 years agoecore_wayland: add code to deal with several keycodes. 61/45461/2 accepted/tizen/mobile/20150806.134412 accepted/tizen/tv/20150806.134430 accepted/tizen/wearable/20150806.134440 submit/tizen/20150806.024124
Ji-Youn Park [Thu, 6 Aug 2015 08:31:48 +0000 (17:31 +0900)]
ecore_wayland: add code to deal with several keycodes.

One keysymbol can have several keycodes.

Change-Id: I6403d4a0faba1e9eb4efe3838b4d29b4dda68e14

9 years agoevas_events: check pointer position with map coordinates 50/45450/3
MinJeong Kim [Thu, 6 Aug 2015 07:20:22 +0000 (16:20 +0900)]
evas_events: check pointer position with map coordinates

When the evas processes mouse move, it has checked whether pointer position is
inside of clip of the object or outside of. But, if the object is using map,
absolute pointer position can not be compatible with evas map coordinates of
the object. so before the check operation, evas has to get map coordinates and
has to use these map coordinate instead of absolute pointer position
value.

Change-Id: I8365b422221934ce0c9a983a178e895eb09adc1a

9 years agoecore_wayland: destroy tizen_extension objects when destroying surfaces 28/45428/2
Duna Oh [Thu, 6 Aug 2015 02:44:30 +0000 (11:44 +0900)]
ecore_wayland: destroy tizen_extension objects when destroying surfaces

Change-Id: Ibc57ff03adc7892059134d6f7261d7e6e4058c07
Signed-off-by: Duna Oh <duna.oh@samsung.com>
9 years agoecore_wayland: send set_focus_skip request in ecore_wl_window_show() 26/45426/2
Duna Oh [Thu, 6 Aug 2015 02:32:51 +0000 (11:32 +0900)]
ecore_wayland: send set_focus_skip request in ecore_wl_window_show()

Change-Id: I3e8eded7a1683ce5b4856a6cd8902b6bdf8ea03d
Signed-off-by: Duna Oh <duna.oh@samsung.com>
9 years agoecore_wayland: ecore_wayland backend calls the keyevent callback only window is focused. 05/45405/2 submit/accepted/tizen_mobile/20150806.021624
Ji-Youn Park [Wed, 5 Aug 2015 15:36:20 +0000 (00:36 +0900)]
ecore_wayland: ecore_wayland backend calls the keyevent callback only window is focused.

In tizen, keyevent callback can be called even though window is not focused.
add code to deal with key event callback when window is not focused
.

Change-Id: I869618a23447b1d596700d565402e64d7e963fb4

9 years agoevas engine: add null point exception. 59/45159/2 accepted/tizen/mobile/20150805.065724 accepted/tizen/tv/20150805.065730 accepted/tizen/wearable/20150805.065740 submit/tizen/20150805.022840
Jaehwan Kim [Thu, 30 Jul 2015 02:08:39 +0000 (11:08 +0900)]
evas engine: add null point exception.

Sometimes the data parameter can be null.
It makes a segment fault.
test: evas_new > add method_output as buffer > evas_free

@fix

Change-Id: Ia20eb37e6e946359b0ea4085fd8ed6a47a06ddd4
origin: upstream

9 years agoecore_wayland: change enum value according to wayland keyrouter protocol. 72/44972/1 accepted/tizen/mobile/20150731.005039 accepted/tizen/tv/20150731.005130 accepted/tizen/wearable/20150731.005223 submit/tizen/20150730.080223
Ji-Youn Park [Thu, 30 Jul 2015 07:00:52 +0000 (16:00 +0900)]
ecore_wayland: change enum value according to wayland keyrouter protocol.

before, utilx open the grab mode <shared, topmost, exclusive, override exclusive>.
but wayland keyrouter open the grab mode <shared, topmost, override exclusive, exlcusive>
so ecore wayland also change enum according to the keyrouter enum define.

Change-Id: Ib1c14a140223b2866b710440c7a439b21e6c3cbc

9 years agoecore_imf/wayland: support to set prediction allow mode 92/44892/1 accepted/tizen/mobile/20150730.014159 accepted/tizen/tv/20150730.014321 accepted/tizen/wearable/20150730.014526 submit/tizen/20150729.072918
Jihoon Kim [Wed, 29 Jul 2015 06:46:08 +0000 (15:46 +0900)]
ecore_imf/wayland: support to set prediction allow mode

Change-Id: I658ea9eb13dba502386b68f9df4b0371329a8430

9 years agosupport "raise" request for wayland surface 33/44733/1 accepted/tizen/mobile/20150727.235738 accepted/tizen/tv/20150727.235831 accepted/tizen/wearable/20150727.235923 submit/tizen/20150727.083523
Duna Oh [Mon, 27 Jul 2015 07:54:01 +0000 (16:54 +0900)]
support "raise" request for wayland surface

Change-Id: I318f13470b3e10079322dbc1255fedea10df4ee7
Signed-off-by: Duna Oh <duna.oh@samsung.com>