platform/upstream/efl.git
6 years ago [evas_gl] evas : save the orient value when doing image_data_get() 79/145379/2
Joogab Yun [Tue, 22 Aug 2017 07:08:22 +0000 (16:08 +0900)]
[evas_gl] evas : save the orient value when doing image_data_get()

    1. evas_object_orient_set(image1, 90)
    2. buffer = evas_object_image_data_get(image1);
    3. evas_object_image_data_set(image2, buffer);

    we need an orient value of image1 for image2,
    so we keep orient value of image1 at image_data_get()

Change-Id: I9daab94ba9de55690bf70bf8172b0593af21a3de

6 years agoRevert "[evas_gl] evas: Fix support for image_data_get on snapshot" 77/145377/2
Joogab Yun [Tue, 22 Aug 2017 02:47:52 +0000 (11:47 +0900)]
Revert "[evas_gl] evas: Fix support for image_data_get on snapshot"

Change-Id: Ie017277377729a4cfacf5637bf71d3a3787c532d

6 years agoecore_imf: add new device subclasses 06/145406/1
Jihoon Kim [Tue, 22 Aug 2017 08:06:12 +0000 (17:06 +0900)]
ecore_imf: add new device subclasses

Change-Id: I72d6bf10d38dd644fbb170cc16979be3037ee991
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoecore_wl: handle EINVAL to leave log and client be aborted 53/144853/5
Juyeon Lee [Fri, 18 Aug 2017 05:42:02 +0000 (14:42 +0900)]
ecore_wl: handle EINVAL to leave log and client be aborted

Change-Id: I20ef84d87897978bdaeac9e92201d93c49179ea6

6 years agoevas: Fix to use fontconfig when there is a global_font_path 80/144980/1
Youngbok Shin [Sun, 20 Aug 2017 05:08:40 +0000 (14:08 +0900)]
evas: Fix to use fontconfig when there is a global_font_path

@tizen_fix

Change-Id: I6ef2bcca72efbece8b3491a1c46526c6e3242350

6 years agoedje: move Text, Textblock object based on its original position in smart move 02/144902/3
Youngbok Shin [Fri, 18 Aug 2017 08:49:58 +0000 (17:49 +0900)]
edje: move Text, Textblock object based on its original position in smart move

@tizen_fix

Change-Id: I07871d49e9384bc3067e6036c0762352e02044b5

6 years agoevas_gl: fix evas_gl_current_context_get() 19/144819/2
Daekwang Ryu [Wed, 29 Mar 2017 08:06:12 +0000 (17:06 +0900)]
evas_gl: fix evas_gl_current_context_get()

evas_gl_current_context_get() function should return
the context of evas_gl_common_current_context_get()
becuase CONTEXT_RESTORE feature was added.
CONTEXT_RESTORE makes app call evas_gl_make_current() only once
without evas_gl context switching.

Change-Id: Ic4cc77f419d1e40ecd0a3eb0d6e7022488d64cdc

6 years ago[evas sw tbm] add null check for ns 50/144650/1
Joogab Yun [Thu, 17 Aug 2017 09:45:56 +0000 (18:45 +0900)]
[evas sw tbm] add null check for ns

Change-Id: Iee29b6d97fbedb20c9235e9a6fe09bb91b7297ee

6 years ago[NativeTBMSurface] Seperated by colorspace. 20/144620/2
Wonsik, Jung [Wed, 8 Mar 2017 05:18:36 +0000 (14:18 +0900)]
[NativeTBMSurface] Seperated by colorspace.

To create RGBA_Image for NativeTBMSurface, the related code is seperated by tbm format.
So, Getting format internal function is added and seperated the code.

Change-Id: I8f3d5c07fa1b0e5b6dc722ab0e083267cacc2bd4

6 years ago[NativeTBMSurface] Add _evas_native_tbm_init/shutdown 19/144619/2
Wonsik, Jung [Wed, 8 Mar 2017 01:27:55 +0000 (10:27 +0900)]
[NativeTBMSurface] Add _evas_native_tbm_init/shutdown

Add _evas_native_tbm_inti/shutdown to evas_native_tbm.c
In addition, one more patch is added to fix stride mismatch
and allocate image data for converting from yuv to rgb.
This patchset are  oriented by JP's and Minkyung patch
---------------------------------------------------------------------------------
Author: Jean-Philippe Andre <jp.andre@samsung.com>  2016-03-09 16:18:34
Committer: Jean-Philippe Andre <jp.andre@samsung.com>  2016-03-15 11:11:59
    Evas engines: Add internal functions for native images
----------------------------------------------------------------------------------
Author: Minkyoung Kim <mer.kim@samsung.com>  2016-03-31 15:55:15
Committer: Jean-Philippe Andre <jp.andre@samsung.com>  2016-04-01 12:09:06
    evas : remove native.func.data variable and data argument of native calblacks.
-----------------------------------------------------------------------------------

Change-Id: Ic75402b307cb5548ba3ebe5e387c281b23d83307

6 years agoevas: fix emoji merge issues caused by wrong handling of INHERITED script 67/144567/1
Youngbok Shin [Thu, 17 Aug 2017 07:08:11 +0000 (16:08 +0900)]
evas: fix emoji merge issues caused by wrong handling of INHERITED script

INHERITED script has to be handled to follow current script, not initial script.

@tizen_fix

Change-Id: Ia5da1ec2221c218418e388959df63661fbe393af

6 years ago[evas_gl_common] fixed SVACE issues 18/144218/1 accepted/tizen/4.0/unified/20170828.222402 accepted/tizen/unified/20170821.051109 submit/tizen/20170816.060215 submit/tizen_4.0/20170828.100005
Joogab Yun [Wed, 16 Aug 2017 02:33:30 +0000 (11:33 +0900)]
[evas_gl_common] fixed SVACE issues

WGID : 260203, 265054, 265312

Change-Id: Ic448a4eecc9084db029b98b2269f8599f4671d0e

6 years agoecore_evas_wl: do set_buffer_transform in gl side 02/144202/1
Boram Park [Wed, 16 Aug 2017 00:56:38 +0000 (09:56 +0900)]
ecore_evas_wl: do set_buffer_transform in gl side

This reverts commit dd95f864b622ca58bb8cd1e7bdcb6bd11acae886.

Change-Id: If729fac095696f37df222d3e3dfeda164a8ebef6

6 years agono rendering if manual_render is set 10/144010/2
Boram Park [Mon, 14 Aug 2017 08:26:21 +0000 (17:26 +0900)]
no rendering if manual_render is set

Change-Id: Id468d6d7b6fd6019f5dc02bd5f96671241be2b52

6 years ago[evasgl] change swap mode when rect size not match tile size 18/143718/2
sunghyun kim [Fri, 11 Aug 2017 05:16:32 +0000 (14:16 +0900)]
[evasgl] change swap mode when rect size not match tile size

Change-Id: I609a0bab36f0781de0048844516405a53a7990c8

6 years agoApply ASLR to executable files. 27/143827/2
Bowon Ryu [Fri, 11 Aug 2017 11:32:41 +0000 (20:32 +0900)]
Apply ASLR to executable files.

Change-Id: I774ea8fd31924ff349190a26f5984beeeae48fc7
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
6 years agoEdje_Edit: first part of vector API implementation 46/137446/3
Vitalii Vorobiov [Wed, 11 Jan 2017 13:10:35 +0000 (15:10 +0200)]
Edje_Edit: first part of vector API implementation

edje_edit_vector_del
edje_edit_vector_usage_list_get
edje_edit_vector_id_get
edje_edit_vectors_list_get

edje_edit_state_vector_get
edje_edit_state_vector_set

Change-Id: Ie649dd3e02bf2379ad5c01037aca2c3ba79a7b59
Signed-off-by: Vitalii Vorobiov <vi.vorobiov@samsung.com>
6 years agoEdje_Edit: some API for RUN_PLUGIN programs 45/137445/3
Vitalii Vorobiov [Thu, 23 Mar 2017 11:07:25 +0000 (13:07 +0200)]
Edje_Edit: some API for RUN_PLUGIN programs

Such as:
> Get list of plugins in loaded edje
> Set plugin name for RUN_PLUGIN action of certain program
> Get plugin name of RUN_PLUGIN action of certain program

Change-Id: Ic07add96908e3ef5d1003bc2f1bc317d020c7730
Signed-off-by: Vitalii Vorobiov <vi.vorobiov@samsung.com>
6 years ago[evas_gl] evas: Fix support for image_data_get on snapshot 95/143195/5
Joogab Yun [Wed, 9 Aug 2017 04:15:38 +0000 (13:15 +0900)]
[evas_gl] evas: Fix support for image_data_get on snapshot

after the evas_object_orient_set(), get the buffer that was rotated image when evas_object_data_get()

Change-Id: I5082c5e2d724ede78ae0303bebcd4c0cf57c7408

6 years agocommon3d: correct converting number to float 22/143722/1
Thiep Ha [Fri, 11 Aug 2017 05:17:58 +0000 (14:17 +0900)]
common3d: correct converting number to float

Change-Id: Ia2e0a78bb579dc2002b5af3b6c8bc07069dbc697

6 years agoevas/canvas: fix an incorrect sizing of smart object bounding box. 08/143708/1
Hermet Park [Tue, 2 Feb 2016 12:14:43 +0000 (21:14 +0900)]
evas/canvas: fix an incorrect sizing of smart object bounding box.

height of the children b-box should be arranged by parent y-pos.

Signed-Off-By: KeuckDo Bang <keuckdo.bang@samsung.com>
Signed-Off-By: MinKyu Kim <imetjade.kim@samsung.com>
@fix

Change-Id: I5d26b66e1d1762a7b9606c13e5dba19f3a6211c8

6 years ago[evas_gl_core] changed log level from ERR to DBG 31/143231/2
Joogab Yun [Wed, 9 Aug 2017 06:30:46 +0000 (15:30 +0900)]
[evas_gl_core] changed log level from ERR to DBG

Change-Id: I270269e83a140bd298713d3f28c1bf69df93f48d

6 years agoevas bmp loader - fix warnings about same type handled twice 10/143310/2
Carsten Haitzler (Rasterman) [Fri, 28 Jul 2017 11:39:44 +0000 (20:39 +0900)]
evas bmp loader - fix warnings about same type handled twice

so a type we handle earlir inan if we re-handle as invalid later. this
wouldnt lead to a crash or bugs as the if's would ned to be evaluated
in order normally, but it's good to get it right.

found by PVS studio

Change-Id: I03b0315fbb938d34b4221f44376dd77ca294cf36

6 years agoecore_wl: add socket errno to be shutdown 20/143620/1
Juyeon Lee [Thu, 10 Aug 2017 13:16:43 +0000 (22:16 +0900)]
ecore_wl: add socket errno to be shutdown

Change-Id: I797074f01dd11296c7281a5870dec9cb4d56953a

6 years agoecore_audio_pulse_ml: Check memory allocation fail 25/143125/2
Jaehyun Cho [Tue, 8 Aug 2017 13:05:43 +0000 (22:05 +0900)]
ecore_audio_pulse_ml: Check memory allocation fail

Change-Id: I2aad5a79f6774f5daaed476e929c6385211253a3

6 years agoevas_smart: Fix evas_smart_callback_description_find 43/138743/2
Jean-Philippe Andre [Wed, 12 Jul 2017 08:19:28 +0000 (17:19 +0900)]
evas_smart: Fix evas_smart_callback_description_find

bsearch was returnign a cb** not a cb*

Fixes T4540

Change-Id: Ib10628bfd79d9e990d3d591a829869b9d5fa9d3c

6 years agoecore_wl: shutdown a process if disconnected from server 42/143342/2 accepted/tizen/unified/20170810.172531 submit/tizen/20170810.044648
Juyeon Lee [Wed, 9 Aug 2017 09:59:51 +0000 (18:59 +0900)]
ecore_wl: shutdown a process if disconnected from server

Change-Id: Ia804f72f3138b89d122397273ec4f841e2801112

6 years agoecore glib support - if we are not the main ctx owner loop to acquire 65/143265/2
Carsten Haitzler (Rasterman) [Wed, 9 Aug 2017 07:18:10 +0000 (16:18 +0900)]
ecore glib support - if we are not the main ctx owner loop to acquire

the code didn't try acquire every loop if we were not, so it wouldnt
wake up if someone stole context (and then gave it up). found by roy!

@fix

Change-Id: Iff3eb1161d0c689e3fc3efa91bf89751629ce4e0

6 years ago emotion webcam: fix check for v4l2 video capture device capability 25/143225/1
Jiyoun Park [Wed, 9 Aug 2017 06:24:18 +0000 (15:24 +0900)]
emotion webcam: fix check for v4l2 video capture device capability

    The negation should be uses after checking the capability bit with the &.
    Better use parenthesis  to make this work.

    Thankls to the sparse sematic parser for spotting this.

Change-Id: I223d0c44b4b2abe0e5ac631a3d9d1eb1b3cd08b7

6 years agoecore_fb_li: fix calloc fail error 72/143172/1
Jiyoun Park [Wed, 9 Aug 2017 01:49:13 +0000 (10:49 +0900)]
ecore_fb_li: fix calloc fail error

Change-Id: I974a10509975b32ec6b615717763709a6efa121b

6 years agoFix efl doxygen warnings 10/142910/3
Myoungwoon Roy, Kim [Tue, 8 Aug 2017 00:29:33 +0000 (09:29 +0900)]
Fix efl doxygen warnings

Summary:
This patch fixs efl doxygen warnings and updates the doxyfile.

Change-Id: I7c8cb3edb5889d2b85892a5cee54f10889033476

6 years agoedje_edit: fix wrong condition in edje_generate_source_state_map function 55/142855/2
Taehyub Kim [Mon, 7 Aug 2017 10:14:13 +0000 (19:14 +0900)]
edje_edit: fix wrong condition in edje_generate_source_state_map function

Change-Id: I9b2524589d1b040e8cfb2e7e4c34a3769dfa0349

6 years agoedje_cc: add null-checking code to the ninepatch_image_info_get 48/142648/2
Minchul Lee [Wed, 2 Aug 2017 08:07:52 +0000 (17:07 +0900)]
edje_cc: add null-checking code to the ninepatch_image_info_get

Change-Id: I26a0c076c025f6b44f06013bd29d50db0683db3d
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
6 years agoevas: Add safety code for smart object 27/142227/3
jiin.moon [Thu, 3 Aug 2017 05:55:49 +0000 (14:55 +0900)]
evas: Add safety code for smart object

If user use the smart object function with no smart object,
it should be retuned.

@tizen_only

Change-Id: I616fdc6a7fe4b6ae6d76a0d1aa1bec8b1929c5e8

6 years agoedje: fixed top-aligned issue when marquee is started 02/142602/2
Youngbok Shin [Fri, 4 Aug 2017 11:42:59 +0000 (20:42 +0900)]
edje: fixed top-aligned issue when marquee is started

@tizen_fix

Change-Id: Id2980186055f26ea173f4c326fe75472aca781a6

6 years agoedje: add text marquee speed set/get APIs for internal usages 42/142442/2
Youngbok Shin [Fri, 4 Aug 2017 03:00:18 +0000 (12:00 +0900)]
edje: add text marquee speed set/get APIs for internal usages

@tizen_feature

Change-Id: I358e20901097b190dc6f1fab92d5d39e7b4195f0

6 years ago[evas_tbmbuf] fixed svace issue 61/142161/2
Joogab Yun [Thu, 3 Aug 2017 01:30:41 +0000 (10:30 +0900)]
[evas_tbmbuf] fixed svace issue

Change-Id: I2f14be953cb0321ac777e85c720cd7a1011ab69c

6 years ago[evas_tbmbuf] changed to use only one tzsurf_flusher per wl_surf 78/142078/3
Joogab Yun [Wed, 2 Aug 2017 10:59:34 +0000 (19:59 +0900)]
[evas_tbmbuf] changed to use only one tzsurf_flusher per wl_surf

Change-Id: If69c1ed02d04778217bd34a99fe7cbee4249c84e

6 years ago[evasgl] fix warning in ecore_evas_tbm.c 60/142160/2
sunghyun kim [Thu, 3 Aug 2017 02:09:11 +0000 (11:09 +0900)]
[evasgl] fix warning in ecore_evas_tbm.c

ecore_evas_tbm_ext_new no need to use const type

Change-Id: I57fb4cdbc829e03744f085a713bef963d2899226

6 years ago[evasgl] Use gl call immediately related frambuffer without checking 94/140594/3
sunghyun kim [Tue, 25 Jul 2017 12:30:04 +0000 (21:30 +0900)]
[evasgl] Use gl call immediately related frambuffer without checking

A non-NULL return value for eglGetProcAddress() does not guarante
that a function is actually supported at runtime.
so if eglGetProcAddress() return NULL, it can be problem.
this issue is especially occuring in framebuffer call.

as a matter of fact, framebuffer is core api from gles 2.0,
so it can be used immediately without checking

Change-Id: Iaec4d0f24e1c9c0d947c593688d2c09691fbf2c2

6 years agogl_drm: stop trying to figure out buffer age if gl extension isn't present 94/141894/2
Derek Foreman [Fri, 22 Jan 2016 20:48:34 +0000 (14:48 -0600)]
gl_drm: stop trying to figure out buffer age if gl extension isn't present

If we don't have the right extension for age we probably don't have
partial updates either.  The code to get the age calculations right is
actually much nastier than this anyway since gbm can hand back buffers
in arbitrary order, and as many as it feels like.

Change-Id: I22ecdfcf18e5bff5b955fc51936431b7bb4d882c

6 years agoedje: remove build warnings caused by unused parameter or variable 53/142053/3 accepted/tizen/4.0/unified/20170816.011633 accepted/tizen/4.0/unified/20170816.014835 accepted/tizen/unified/20170804.025602 submit/tizen/20170803.051344 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522
Youngbok Shin [Wed, 2 Aug 2017 10:07:33 +0000 (19:07 +0900)]
edje: remove build warnings caused by unused parameter or variable

It is patch for text.ellipsize.

@tizen_fix

Change-Id: I79d2604599da4a71689f291cbf8dede8435c27e6

6 years agoevas textblock: remove build warning for comparing integer and size_t variables 52/142052/2
Youngbok Shin [Wed, 2 Aug 2017 10:03:29 +0000 (19:03 +0900)]
evas textblock: remove build warning for comparing integer and size_t variables

@tizen_fix

Change-Id: I564a35e46979df603a350eca69f596ce1cd39e27

6 years ago[evas_gl] fixed svace issue 31/142031/2
Joogab Yun [Wed, 2 Aug 2017 08:46:34 +0000 (17:46 +0900)]
[evas_gl] fixed svace issue
WGID 266441, 269645

Change-Id: I7a370419e8c96e759a13352a7ef72eef2d76c143

6 years agoevas textblock: fixed to update ascent/descent for font instance 46/142046/2
Youngbok Shin [Wed, 2 Aug 2017 09:53:20 +0000 (18:53 +0900)]
evas textblock: fixed to update ascent/descent for font instance

There was a mistake from the following patch.
"evas textblock: fixed to calc ascent/descent values with considering main font"

@tizen_fix

Change-Id: I2c5af6002290288ff9acebe98a2a879ec6ac047f

6 years agoeldbus - make file local func added in fix static 52/141552/3
Carsten Haitzler (Rasterman) [Mon, 31 Jul 2017 23:29:37 +0000 (08:29 +0900)]
eldbus - make file local func added in fix static

better to keep the func local unless needed elsewhere too

Change-Id: I1812174c0450efee1d38b1e6b3a0df2203529ed6

6 years agoedje: add text marquee duration set/get APIs for internal usages 89/141789/2
Youngbok Shin [Tue, 1 Aug 2017 11:05:08 +0000 (20:05 +0900)]
edje: add text marquee duration set/get APIs for internal usages

It also add some missing comments for changes of ellipsize features.

@tizen_feature

Change-Id: I8e2df138833dbfb4d1b110325eb7c089f1105140

6 years ago[evas] fix svace issue 73/141573/1
Joogab Yun [Tue, 1 Aug 2017 05:00:54 +0000 (14:00 +0900)]
[evas] fix svace issue
WGID: 170018, 170891, 170892, 200149, 258324, 258326
258612, 258685, 259918, 265106

Change-Id: I68558eb8b773f4114d313b2bcde5443f4e20d266

6 years agoedje: add a NULL checking before assigning a initial value 60/141560/1
Youngbok Shin [Tue, 1 Aug 2017 04:47:13 +0000 (13:47 +0900)]
edje: add a NULL checking before assigning a initial value

@tizen_fix

Change-Id: Ie4548b9ff98f8c964aefd442af9ae85ead96d97f

6 years agoeldbus: check message serial before using 50/141550/2
Shinwoo Kim [Mon, 31 Jul 2017 06:50:48 +0000 (15:50 +0900)]
eldbus: check message serial before using

Summary:
Whatever the dbus_connection_send_with_reply returns, the serial value
should be checked, because if the seral value is invalid a process could be aborted.

There is backtrace as below.

The dbus_connection_send_with_reply could return TRUE
even though it has a problem. Please refer to following comment:

   /* Refuse to send fds on a connection that cannot handle
      them. Unfortunately we cannot return a proper error here, so
      the best we can do is return TRUE but leave *pending_return
      as NULL. */

Test Plan:
There is not a exact reproduce step. If the Tizen login manager is relaunched
repeatedly, then the dbus and other service processes are relaunched.
If a service process tries to use dbus when the dbus has problem as above,
then it could be possilbe to get above backtrace.

Reviewers: raster, zehortigoza

Subscribers: cedric, jpeg

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

@fix

Change-Id: I4a6769e4f7154d0f95db4234f4a87e1f62ab0ab6

6 years agoecore_imf: check return value of memory allocation 06/141506/2
Jihoon Kim [Tue, 1 Aug 2017 01:27:37 +0000 (10:27 +0900)]
ecore_imf: check return value of memory allocation

Change-Id: Id18c686d06d91c75a615b3ebaab99b9467190c0f
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agowayland_shm: add safety check 42/141542/1
Sangjin Lee [Tue, 1 Aug 2017 04:18:12 +0000 (13:18 +0900)]
wayland_shm: add safety check

Change-Id: Ic2d1c6e4462b4dd8d50adbbf662cf2b253784398

6 years agoevas_gl: Fix build warnings 62/140962/3
huiyu.eun [Thu, 27 Jul 2017 07:09:15 +0000 (16:09 +0900)]
evas_gl: Fix build warnings

Change-Id: Ic487fdab4f80e917c2b52760c5bb22c0ede2cff2
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years agoedje: send signals for ellipsize.marquee 59/141059/5
Youngbok Shin [Fri, 28 Jul 2017 03:05:08 +0000 (12:05 +0900)]
edje: send signals for ellipsize.marquee

It adds the following signals.

"text,ellipsize,marquee,loop" - When each loop is done.
"text,ellipsize,marquee,done" - When all loops are done.
"text,ellipsize,marquee,none" - When text is too short to slide.

@tizen_feature

Change-Id: Ib9205b0ddda42ed25cd6b252337137e22a2ff148

6 years ago[evas_gl_thread] remove build warning message 00/141300/2
Joogab Yun [Mon, 31 Jul 2017 02:16:04 +0000 (11:16 +0900)]
[evas_gl_thread] remove build warning message

Change-Id: Idae973352f03ad12f5927f9d4047d14181abf7c9

6 years ago[EvasEngine] Fix build warning 74/141274/1
Wonsik, Jung [Sun, 30 Jul 2017 00:24:15 +0000 (09:24 +0900)]
[EvasEngine] Fix build warning

Fix build warning for eng_image_native_set()

Change-Id: Ic5f730361d6a7c9456624e275f64b1dd31dd06e2

6 years ago[EvasGL] Add to unset PreRotation 57/140857/3
Wonsik, Jung [Thu, 27 Jul 2017 02:00:37 +0000 (11:00 +0900)]
[EvasGL] Add to unset PreRotation

If evasgl and the other objects  work together, then remove evasgl object,
the other object should work without prerotation.
Becase they have their own rotation code.

Change-Id: I04a861ed578e565a7a9fa8cacc635da5f271b733

6 years agoecore_drm: fix build warnings 45/141145/1
JengHyun Kang [Fri, 28 Jul 2017 08:44:38 +0000 (17:44 +0900)]
ecore_drm: fix build warnings

Change-Id: I3ae9c8722aaf028605f940c2c0a8bcaa063c5430

6 years ago[evasgl] fix warning in extn & tbm backend 00/140900/2
sunghyun kim [Thu, 27 Jul 2017 05:50:31 +0000 (14:50 +0900)]
[evasgl] fix warning in extn & tbm backend

fix warning in extn & tbm_backend

1. fixed pointer type in ecore_evs_tbmc.c
2. add EINA_UNUSED for unused value
3. fix resource_id initail value for fix warning
4. change ecore_evas_extn_socket_new_internal() for fix warning

Change-Id: I7ae91fcfd3a246614bca5a1fe0c9ea18a7578a3a

6 years ago[evas_gl] update shader when compiling new shader 82/139982/3
sunghyun kim [Fri, 21 Jul 2017 07:24:50 +0000 (16:24 +0900)]
[evas_gl] update shader when compiling new shader

if new shader is compiled, it will be saved after shutdown.
because of this, shader is compiled 2~3 times in some case.
so add some code for this problem.

1. close & reopen shader before checking shader file.
2. update shader file when application compile new shader

Change-Id: I93f0f5c46d99910b7b794dcfefba70d993b2905d

6 years agoecore_wayland: fix build warning 35/140935/2
Sangjin Lee [Thu, 27 Jul 2017 06:41:44 +0000 (15:41 +0900)]
ecore_wayland: fix build warning

Change-Id: I825a72b3d4f8681292546926bb5777f31f1b1c91

6 years agofix build warnings 34/140934/2
Sangjin Lee [Thu, 27 Jul 2017 07:15:53 +0000 (16:15 +0900)]
fix build warnings

Change-Id: I8fd17f70203dc79eea52562bf91a25171b336881

6 years agosoftware_tbm: disable swap_mode for fixing build warning 99/140899/1
Sangjin Lee [Thu, 27 Jul 2017 04:34:48 +0000 (13:34 +0900)]
software_tbm: disable swap_mode for fixing build warning

Change-Id: I14867b37599dfa2675f62f81d3971956d7bd3fcf

6 years agosoftware_tbm: fix uninitialized value 98/140898/1
Sangjin Lee [Thu, 27 Jul 2017 03:09:16 +0000 (12:09 +0900)]
software_tbm: fix uninitialized value

Change-Id: I24d0749e2d7212f3f60c6a963d40c2f4e54037c6

6 years agoevas_engines: fix build warnings 97/140897/1
Sangjin Lee [Thu, 27 Jul 2017 03:03:17 +0000 (12:03 +0900)]
evas_engines: fix build warnings

Change-Id: I8a5036f19793f39afa6f1fc4c0275b28cb939a8f

6 years agoecore_evas_extn: fix build warning 96/140896/1
Sangjin Lee [Thu, 27 Jul 2017 02:28:41 +0000 (11:28 +0900)]
ecore_evas_extn: fix build warning

remove the wayland-server.h

Change-Id: I7be330bda2a6be611ae363424e4a6728615763a5

6 years agoecore_buffer: remove the useless definition 95/140895/1
Sangjin Lee [Thu, 27 Jul 2017 02:05:02 +0000 (11:05 +0900)]
ecore_buffer: remove the useless definition

Change-Id: I430310688931184bd59c3dea00aaf0bd2a7a7d1d

6 years ago[EvasGL] Modify the libwayland-egl name. 18/140818/1 accepted/tizen/unified/20170728.195341 submit/tizen/20170727.055818
Wonsik, Jung [Wed, 26 Jul 2017 11:39:09 +0000 (20:39 +0900)]
[EvasGL] Modify the libwayland-egl name.

Modify the libwayland-egl name from libwayland-egl.so to libwayland-egl.so.1

Change-Id: I6851a03baa081d1c8700cb00912f6d49710b6f42

6 years agoecore_events: inarray should be flushed before return 01/140801/1
WooHyun Jung [Wed, 26 Jul 2017 09:57:37 +0000 (18:57 +0900)]
ecore_events: inarray should be flushed before return

@fix

Change-Id: I59ab3ecc71899bdbdc5a08b1584251831d6433c9

6 years ago ecore_evas_wayland: fix bug ecore_evas cannot update the evas when rotation 19/140719/1
Jiyoun Park [Wed, 26 Jul 2017 06:55:04 +0000 (15:55 +0900)]
   ecore_evas_wayland: fix bug ecore_evas cannot update the evas when rotation

   usecase:
   show -> rotation -> hide -> show
   ecore_evas_wayland didn't check the rotation.
   when ee is landscapemode, it cannot update the right area of evas.

Change-Id: Ic8f0bf2856b9a4f1d3012556d686e05ab05e2378

6 years agoevas textblock: support nagative value for linegap 81/140681/1
Youngbok Shin [Wed, 26 Jul 2017 05:01:44 +0000 (14:01 +0900)]
evas textblock: support nagative value for linegap

It was supported since Tizen 2.3.

@tizen_fix

Change-Id: I0645e5a1b03d821d965bd33d22592916abe8e04a

6 years agoevas textblock: fixed to calc ascent/descent values with considering main font 21/140021/4
Youngbok Shin [Fri, 21 Jul 2017 10:51:46 +0000 (19:51 +0900)]
evas textblock: fixed to calc ascent/descent values with considering main font

@tizen_fix

Change-Id: I9b87d046737e78ef55ba00e58d808db979e1805e

6 years agoedje: restore ellipsis state of TEXT part when marquee mode is NONE 35/140535/2
Youngbok Shin [Tue, 25 Jul 2017 08:43:15 +0000 (17:43 +0900)]
edje: restore ellipsis state of TEXT part when marquee mode is NONE

@tizen_fix

Change-Id: I7b5458a72b9dc9ebce531ffd5176aeabcfd033c5

6 years agoedje: fix to apply loop_delay even if there is no loop limit 98/140498/2
Youngbok Shin [Tue, 25 Jul 2017 07:17:45 +0000 (16:17 +0900)]
edje: fix to apply loop_delay even if there is no loop limit

@tizen_fix

Change-Id: I43803757d52f0a345a5f74df5587526a1dc7c98b

6 years agoedje: fix wrong speed calculation for text marquee's duration 89/140489/2
Youngbok Shin [Tue, 25 Jul 2017 06:57:41 +0000 (15:57 +0900)]
edje: fix wrong speed calculation for text marquee's duration

@tizen_fix

Change-Id: Ic3cbd2fa178ee6c65e0b22665fd3592a1e0ea0fd

6 years ago[evas_gl_thread] Refactoring evas gl thread 59/139659/5
Joogab Yun [Wed, 19 Jul 2017 10:45:45 +0000 (19:45 +0900)]
[evas_gl_thread]  Refactoring evas gl thread
1. combine the gl and evgl threads together
   : export EVAS_GL_RENDER_THREAD=1
2. Changed the pushing method of thread commands

    Now user can allocate a command buffer first, then enqueue it.
    It will be free automatically after callback is called.

    GL_TH_ST(command) *buf;
    void *thcmd_ref;
    buf = evas_gl_thread_cmd_create(EVAS_GL_THREAD_TYPE_GL,
                                    sizeof(GL_TH_ST(command)),
                                    &thcmd_ref);
    buf->xxx = xxxx; // Setup content
    evas_gl_thread_cmd_enqueue(thcmd_ref
                               GL_TH_CB(command),
                               EVAS_GL_THREAD_MODE_FINISH);
3. Refactoring Thread functions of EGL/GLX to the new form
4. Replace GL_TH and EVGL_TH to the new form
5. Refactoring EvasGL macro to attach thread funcs
6. Replace dlopen'ed symbols (glsym_XXX)
7. Replace functional threading codes to the new form
8. Enable direct rendering when evas gl thread is On

Change-Id: Ie88edd77f670b59ac5fae8ce9c34753c2bd36009

6 years agoecore: Fix memory leak and logic 70/140370/1
Jean-Philippe Andre [Tue, 14 Mar 2017 13:28:50 +0000 (22:28 +0900)]
ecore: Fix memory leak and logic

@cedric... how could this even happen??

Change-Id: I8669ada54d996ee7e2758bb286fd88f7c30998a2

6 years ago[evas] remove build warning message 91/140291/2
Joogab Yun [Mon, 24 Jul 2017 10:28:28 +0000 (19:28 +0900)]
[evas] remove build warning message

Change-Id: I12f654e82620f2a44fba4cc0e7aa841e054fca8d

6 years agoecore_drm_output: remove build warning 65/140265/1
Boram Park [Mon, 24 Jul 2017 08:49:14 +0000 (17:49 +0900)]
ecore_drm_output: remove build warning

Change-Id: I6d13ecdcb4997749c9466e995017b7652a969bf4

6 years ago ecore-x: add missing atom fetches! 85/140185/1
Jiyoun Park [Mon, 24 Jul 2017 06:18:09 +0000 (15:18 +0900)]
ecore-x: add missing atom fetches!

    ECORE_X_ATOM_E_ILLUME_SLIDING_WIN_STATE
    ECORE_X_ATOM_E_ILLUME_SLIDING_WIN_GEOMETRY

    all had no atom fetches! fix..

    @fix

Change-Id: I82942d293bc504b99fcb45c2e54846deefb3aa6a

6 years ago[evas_gl] Add lock to wait compiling shader 06/139206/7
sunghyun kim [Tue, 18 Jul 2017 02:57:49 +0000 (11:57 +0900)]
[evas_gl] Add lock to wait compiling shader

when application compile shader, shader files are created at the end.
so if other proceess try creating shader before shader file is created,
it also try again compile shader.
so add lock to wait compiling shader

Change-Id: Id9da72f226e180cc18fcaaa65d639676ccfe9114

7 years agoslider: Allow range limitations 96/139196/3
Hosang Kim [Tue, 11 Jul 2017 07:25:44 +0000 (16:25 +0900)]
slider: Allow range limitations

Summary:
When user drags slider, slider value cannot be changed by API.
However the necessity of above behavior has emerged.
Because sometimes applications want limitation of slider value.

Test Plan: elementary_test -> slider -> Limited

Reviewers: woohyun, cedric, SanghyeonLee, singh.amitesh, jpeg

Reviewed By: jpeg

Subscribers: cedric, jpeg

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

Change-Id: I57bd9152ec26d0f3d74c80c0baefa09b5224568d

7 years agoevas: Restore flag pre_render_done in render_mapped 95/139695/2
jiin.moon [Thu, 20 Jul 2017 06:39:55 +0000 (15:39 +0900)]
evas: Restore flag pre_render_done in render_mapped

Author:     Jean-Philippe Andre <jp.andre@samsung.com>
AuthorDate: Thu Jul 20 14:35:48 2017 +0900
Commit:     Jean-Philippe Andre <jp.andre@samsung.com>
CommitDate: Thu Jul 20 15:17:36 2017 +0900

    evas: Restore flag pre_render_done in render_mapped

    Some objects don't go through render_pre (unchanged, child
    of mapped parents), even though they will go through
    evas_render_mapped. Those were marked as pre_render_done
    inside evas_render_mapped since it seemed to fix some issues
    a long time ago.

    Unfortunately, if those objects are changed their flag may
    not be reset to false, which means they never go through
    render_pre, leading to render issues.

    I believe simply restoring the value of the pre_render_done
    flag should be good enough. I don't know why it is set to
    true inside evas_render_mapped but I also don't want to find
    out :)

    See 9ac13e4aec83ea6dadfa62e4253b1db4ffe167e8 (old)
    See 87e5e70a9d888ce93ed807bb0d39d1738241ad9b (older)

    Patch made with @jiin.moon

Change-Id: I18cba0e979bc7fe50952ff33b01b9bc4160087a5

7 years agoRevert "ecore_evas_wl: do set_buffer_transform in gl side" 58/139858/1 accepted/tizen/unified/20170721.201732 submit/tizen/20170721.005824
Boram Park [Fri, 21 Jul 2017 01:00:13 +0000 (10:00 +0900)]
Revert "ecore_evas_wl: do set_buffer_transform in gl side"

This reverts commit 787f71a5a41378a2f63904df61ae5b6f6b148e1e.

Change-Id: Ib37923559fa70865f48ffd08a91e584fc39dbfd7

7 years agoRevert "[evas_gl_thread] separates wl_egl_xxX API calls into threads." 57/139857/1
Boram Park [Fri, 21 Jul 2017 01:00:03 +0000 (10:00 +0900)]
Revert "[evas_gl_thread]  separates wl_egl_xxX API calls into threads."

This reverts commit 8c9470c0133a076f67535b5655a3d850e9e9a904.

Change-Id: I500e92388f550a18acd829bc831c81e1b585c7f1

7 years ago[evas_gl_thread] separates wl_egl_xxX API calls into threads. 94/139494/6
Joogab Yun [Tue, 27 Jun 2017 04:55:13 +0000 (13:55 +0900)]
[evas_gl_thread]  separates wl_egl_xxX API calls into threads.

Change-Id: I39401708477d682b4ca16735cc6e66e1f036da89

7 years ago[evas_gl] calculates texture sampling for orient (90 or 270) 82/139182/2
Joogab Yun [Tue, 18 Jul 2017 00:53:14 +0000 (09:53 +0900)]
[evas_gl] calculates texture sampling for orient (90 or 270)

Change-Id: I9744ab3379c64fc3c829885a17295b22f2b210a2

7 years agoecore_evas_wl: do set_buffer_transform in gl side 43/139443/1
Boram Park [Thu, 15 Jun 2017 07:11:46 +0000 (16:11 +0900)]
ecore_evas_wl: do set_buffer_transform in gl side

buffer-transform = window-rotation + output-transform

Change-Id: I276552bb1979a54f35398e24bddde4b0e049eac4

7 years agoecore_wl: change the compositor binding version 42/139442/1
Boram Park [Thu, 15 Jun 2017 07:09:45 +0000 (16:09 +0900)]
ecore_wl: change the compositor binding version

to use wl_surface_damage_buffer

Change-Id: I4791022e2b348989729a5ba5e8717d19d5b83edf

7 years agoEvas and Eolian : Freed string buffer 93/139093/2
jiin.moon [Mon, 17 Jul 2017 08:07:25 +0000 (17:07 +0900)]
Evas and Eolian : Freed string buffer
Summary : String buffer returned by eina_strbuf_new() is not freed in some cases

@Fix

Signed-off-by: Uma Devika <u.bodapati@samsung.com>
Reviewers: cedric, tasn, jpeg, raster, singh.amitesh

Subscribers: tanwar.umesh07, yashu21985, cedric, jpeg

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

Change-Id: Ic6a20827a912621d90a15367d4cb58ef16b0e01d

7 years agoevas_gl: FBO capa test for each version 16/137516/5
Daekwang Ryu [Thu, 22 Jun 2017 06:29:39 +0000 (15:29 +0900)]
evas_gl: FBO capa test for each version

Supporting extensions by each version is different.
So testing for each version is needed.

In GLES 3.1, MSAA texture is core.
But now renderer can't render MSAA texture.
texture() in GLSL can't use with MSAA texture and
binding point is different.
MSAA texture binding point is GL_TEXTURE_2D_MULTISAMPLE.

Change-Id: I8e7fe39c83272dcb44df10a6e847bd55b2879ccb

7 years agoedje_cc: Add copy item for proxy part 32/139232/2
jiin.moon [Mon, 17 Jul 2017 08:24:11 +0000 (17:24 +0900)]
edje_cc: Add copy item for proxy part

Refs: master, <origin/HEAD>, <origin/master>, v1.20.0-beta2-43-g4211822
Author:     jiin.moon <jiin.moon@samsung.com>
AuthorDate: Fri Jul 14 11:29:50 2017 +0900
Commit:     Jean-Philippe Andre <jp.andre@samsung.com>
CommitDate: Fri Jul 14 11:39:44 2017 +0900

    edje_cc: Add copy item for proxy part

    Summary:
    Although user use "inherit" in a state of proxy part,
    the inherit function does not copy the source_visible and
    the source_clip value of parent to the state.

    Test Plan: {F1751132}sample

    Reviewers: jpeg, cedric

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

    @fix

Change-Id: I35e7eafd558d1e41b6d49e70ab0ebf8f63e93ae5

7 years ago[evasgl] Delete checking checksum when copy old shader 92/138592/2
sunghyun kim [Thu, 13 Jul 2017 02:07:53 +0000 (11:07 +0900)]
[evasgl] Delete checking checksum when copy old shader

when application use runtime shader, it add runtime shader when application shutdown.
for add runtime shader, they copy old shader file to temp file  and modify,rename this.
but in this case, eet_open & checksum check is failed.
because temp file is empty (it didn't write checksum)

so delete checking checksum when copy old shader to temp file.

Change-Id: I4930bd14922429e4eb85ad41d5ffd0b7dbff6d75

7 years ago[EvasGL] Optimize precompiling shader list 58/137958/4
Wonsik, Jung [Mon, 10 Jul 2017 11:31:52 +0000 (20:31 +0900)]
[EvasGL] Optimize precompiling shader list

When Evas GL shader file is created at fist,
Many shaders is create/compiled, then program is created/attached/linked with the shaders.
In case of some devices, the glProgramLink() time is spent too much.
To opimize, base shaders are only included to the list.

Change-Id: Ibe04ffd30f2ae6d0a3b9b61d3370a9f924dc9825

7 years agoecore_wl: read events only when fd_handler has READ flag. 42/139142/3 accepted/tizen/unified/20170719.004634 submit/tizen/20170718.002809
Boram Park [Mon, 17 Jul 2017 12:00:47 +0000 (21:00 +0900)]
ecore_wl: read events only when fd_handler has READ flag.

fd_handler can be called when WRITE|ERROR flags are set. In these case, we
shouldn't call wl_display_read_event. Otherwise, the main thread will be
deadlock by wl_display_read_event because there is no event to read in
wayland fd.

Change-Id: Idfeeedf800028b9ee5e65debcf6f8a196aa0670a

7 years agoedje_load: fix mirroring bug with GROUP, BOX, or TABLE part 81/137681/2 accepted/tizen/unified/20170717.170202 submit/tizen/20170713.122748 submit/tizen/20170714.014828
anand.km [Fri, 7 Jul 2017 04:59:52 +0000 (10:29 +0530)]
edje_load: fix mirroring bug with GROUP, BOX, or TABLE part

Change-Id: Ic6c99f84d56facd631046a108c13e995b8d04abb

7 years agoevas_gl: remove core API symbols in EvasGL extensions 96/137096/2
Daekwang Ryu [Tue, 4 Jul 2017 10:11:05 +0000 (19:11 +0900)]
evas_gl: remove core API symbols in EvasGL extensions

In some cases, core API and extension API are different.
So getting the core API first does not guarantee the operation.

Change-Id: Idb23fc879064a13d4dfea03b39c561b2deb8e5f8

7 years agoecore_drm: set a screen rotation angle to ecore_drm_output 72/137172/2 accepted/tizen/unified/20170711.181154 submit/tizen/20170707.071852 submit/tizen/20170711.023244
JengHyun Kang [Tue, 4 Jul 2017 13:51:26 +0000 (22:51 +0900)]
ecore_drm: set a screen rotation angle to ecore_drm_output

  - change pointer device's width and height following rotation

Change-Id: I49bad62ca532e08d31c85ad9208099b3644b5469

7 years agoEdje_cc: support braces for description.proxy attribute. 69/136769/3
Mykyta Biliavskyi [Wed, 30 Dec 2015 07:03:30 +0000 (16:03 +0900)]
Edje_cc: support braces for description.proxy attribute.

Fix parsing Group.Parts.Part.Description.Proxy block in cases
when uses braces:

part { type: PROXY;
  description {
    ..
    proxy {
      source_clip:    1;
      source_visible: 1;
    }
      ..
  }
}

@fix

Change-Id: I81eec472f745c454ed5c635acab5cdc63f0e8940

7 years agoecore_imf: avoid crash during shutdown due to Ecore_Event queue. 28/118328/2
Cedric BAIL [Fri, 10 Mar 2017 00:11:19 +0000 (16:11 -0800)]
ecore_imf: avoid crash during shutdown due to Ecore_Event queue.

Change-Id: I7f461fa49d30ea300b6d03f3d09be1ac1beced2e
Signed-off-by: Jiwon Kim <jiwon177.kim@samsung.com>