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
Sangjin Lee [Thu, 27 Jul 2017 06:41:44 +0000 (15:41 +0900)]
ecore_wayland: fix build warning
Change-Id: I825a72b3d4f8681292546926bb5777f31f1b1c91
Sangjin Lee [Thu, 27 Jul 2017 07:15:53 +0000 (16:15 +0900)]
fix build warnings
Change-Id: I8fd17f70203dc79eea52562bf91a25171b336881
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
Sangjin Lee [Thu, 27 Jul 2017 03:09:16 +0000 (12:09 +0900)]
software_tbm: fix uninitialized value
Change-Id: I24d0749e2d7212f3f60c6a963d40c2f4e54037c6
Sangjin Lee [Thu, 27 Jul 2017 03:03:17 +0000 (12:03 +0900)]
evas_engines: fix build warnings
Change-Id: I8a5036f19793f39afa6f1fc4c0275b28cb939a8f
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
Sangjin Lee [Thu, 27 Jul 2017 02:05:02 +0000 (11:05 +0900)]
ecore_buffer: remove the useless definition
Change-Id: I430310688931184bd59c3dea00aaf0bd2a7a7d1d
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
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
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
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
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
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
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
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
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
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
Joogab Yun [Mon, 24 Jul 2017 10:28:28 +0000 (19:28 +0900)]
[evas] remove build warning message
Change-Id: I12f654e82620f2a44fba4cc0e7aa841e054fca8d
Boram Park [Mon, 24 Jul 2017 08:49:14 +0000 (17:49 +0900)]
ecore_drm_output: remove build warning
Change-Id: I6d13ecdcb4997749c9466e995017b7652a969bf4
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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>
Cedric BAIL [Thu, 9 Mar 2017 23:51:00 +0000 (15:51 -0800)]
ecore: add ecore_event_type_flush.
During shutdown it is possible that some event are still in ecore events
queue and get processed after the shutdown of the module that did emit them.
This would lead to crash in some case. The answer to this problem is to
normally manually track all ecore event in the queue and destroy them
before shutdown... Of course that make the API difficult to use and
basically nobody got it right.
This new API do actually as it says remove all the ecore event of a
certain type from ecore events queue. It is to be called on shutdown.
@fix
Change-Id: Ia50b5a153dd033d3448703fe13c6fd532e28b4f5
Signed-off-by: Jiwon Kim <jiwon177.kim@samsung.com>
Wonsik, Jung [Wed, 12 Apr 2017 04:11:52 +0000 (13:11 +0900)]
[EvasGL] Add more thread safety to wayland egl
This patch is for thread safety to wayland egl backend
It is oriented by "Add more thread safety to gl_x11"(author:JPEG)
Change-Id: I121d3aa68ed110e9c5f4eb0a3dfb5ade0335fa2d
Youngbok Shin [Fri, 21 Apr 2017 04:40:21 +0000 (13:40 +0900)]
edje: Add ellipsize feature and refactory fade_ellipsis, marquee features.
* example:
description {
text {
ellipsize {
mode: FADE_MARQUEE; // NONE(default), NORMAL, FADE, FADE_MARQUEE, MARQUEE
align: END; // END(default), START, LEFT, RIGHT, LOCALE
marquee {
type: ROLL; // NORMAL(default), ROLL
speed: 50; // pixel per sec. It is a scalable variable when its part is scalable.
// duration: 4.0;// sec per loop. The speed will be changed according to text's length.
loop: 3;
loop_delay: 2.0; // sec. delay before starting each loop
}
}
}
}
@tizen_fix
Change-Id: Iaa1d5d29ed4c2ddfc071c407ca6b7425eb4da199
Sangjin Lee [Tue, 4 Jul 2017 22:46:12 +0000 (07:46 +0900)]
wayland_shm: add condition check for shm_flusher
Change-Id: I09979ce5225a2a982ef86d43871a484e557cbd6d
Youngbok Shin [Tue, 4 Jul 2017 11:28:28 +0000 (20:28 +0900)]
edje: remove MULTILINE hints from input_hint_get function
Edje_Input_Hints does not have MULTILINE hints.
Also, set/get result should be kept.
@tizen_fix
Change-Id: Ifd96823e7b00f8492665bcec54cb5feb8a206bc0
(cherry picked from commit
e7ee5c1a230c41d76bed6159dcff165b279785f1)
JengHyun Kang [Mon, 3 Jul 2017 08:31:16 +0000 (17:31 +0900)]
ecore_wl_input: fix a condition of delete ecore_device
Change-Id: I25eb476fed6f7442a588529b1c233a490dbc17f7
Prasoon Singh [Tue, 9 May 2017 17:37:12 +0000 (10:37 -0700)]
eina: fix for escapable charachters not getting escaped if it comes after '\t' or '\n'
Summary:
Escaping is not happening whenever any escapable characters is coming after
'\t' or '\n'. It will also fix invalid read of 1 byte which happens for string where
last charachter is '\t' or '\n' like "eina\t".
Test Plan:
Take a string like "eina\t ". Observe space which is followed by tab is not getting
escaped.
Signed-off-by: Prasoon Singh <prasoon.16@samsung.com>
Reviewers: shilpasingh, rajeshps, govi, cedric
Reviewed By: shilpasingh
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4847
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Change-Id: Ie2cd495024390b3fdb5dba81a660680d6b2fa9d1
Jean-Philippe Andre [Mon, 29 May 2017 06:41:06 +0000 (15:41 +0900)]
edje: Add recursive flag for message_signal_process
Original patch by Jinwoo Shin:
If edje has multiple levels of child group,
edje_object_message_signal_process cannot process message on
child group. To cover that, it needs to add new API which
traverses its hierarchy and process messages.
@feature
Signed-off-by: jinwoo.shin <jw0227.shin@samsung.com>
Differential Revision: https://phab.enlightenment.org/D4914
Change-Id: I8d34087d7171cbda2378c1914d4db2e7670d53d8
Youngbok Shin [Thu, 29 Jun 2017 02:29:56 +0000 (11:29 +0900)]
evas: change PACKAGE macro to elementary for getting "default:LTR"
In Tizen, Elementary package has translations of "default:LTR".
@tizen_fix
Change-Id: I93afca080d594ac64ada4bd16ba51db719a63a77
Youngbok Shin [Tue, 13 Jun 2017 10:15:12 +0000 (13:15 +0300)]
evas textblock: add align=locale option to respect locale's direction
Summary:
There are many requests to add a new feature for handling horizontal align
according to current locale. For example, in RTL locale setting,
users want to see right aligned text for every list's item.
Even if some of list's items only contain LTR characters!
It is useful for the needs.
@feature
Test Plan: N/A
Reviewers: herdsman, tasn, woohyun, raster, cedric
Reviewed By: herdsman, raster
Subscribers: z-wony, jpeg
Differential Revision: https://phab.enlightenment.org/D4664
Change-Id: I23cff606706d421e1f5388875b4062ce112d2e2e
Youngbok Shin [Thu, 29 Jun 2017 07:59:39 +0000 (16:59 +0900)]
edje entry: set imf context input hint with MULTILINE if current entry is multiline
@tizen_fix
Change-Id: I52b6df29cdec81c0749b2b8b1503f71cedadbf4e
Jihoon Kim [Mon, 26 Jun 2017 10:58:08 +0000 (19:58 +0900)]
edje: Add edje_object_part_text_prediction_hint_set
Change-Id: I67d0c8fb55e0ffda5426355308668337794ee449
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Joogab Yun [Wed, 28 Jun 2017 06:13:00 +0000 (15:13 +0900)]
evas: initalize orient property in file_set()
Summary:
Someone calls evas_object_image_file_set() and set orient,
and then re-set another file.
At that time, there is a mismatch between Evas_Image_Data's
cur->orient and engine's orient data.
So, "file_set(a) -> orient_set(90) -> file_set(b) -> orient_set(90)"
is not working now.
Therefore, when a file_set() is finished, initialization is needed.
Change-Id: Icb0b393773f14b24949ad33188253e84669bd21c
Joogab Yun [Tue, 27 Jun 2017 09:36:38 +0000 (18:36 +0900)]
[evas_gl] The orient set behavior was different between gl-backend and
sw-backend.
- Gl-backend is the rotation relative to the previous orientation
- SW-backend is the rotation relative to the first orientation
changes the behavior based on sw-backend
Change-Id: I050ef5dde7e1447a9ea06eada4cf07adfc4ded0c
Sangjin Lee [Tue, 27 Jun 2017 05:48:46 +0000 (14:48 +0900)]
wayland_shm: add implementation of tizen_shm_flusher
Change-Id: I164e29e94a1873002afd1de6159d43261b6f7905
Joogab Yun [Fri, 24 Feb 2017 09:51:03 +0000 (18:51 +0900)]
[evas_gl] The cache entry is deleted when set to orient.
so reloading the cache entry.
Change-Id: I36de13d40001e897128a59e9616cf09f3fcdb168
Sung-Jin Park [Mon, 26 Jun 2017 23:00:47 +0000 (08:00 +0900)]
ecore_device: add new device subclasses
Change-Id: I94518ecb2b643da402d87843145fd3ffc526d759
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
Hosang Kim [Tue, 20 Jun 2017 07:11:26 +0000 (16:11 +0900)]
evas_device: add new device subclasses.
- EVAS_DEVICE_SUBCLASS_REMOCON
- EVAS_DEVICE_SUBCLASS_VIRTUAL_KEYBOARD
Change-Id: I7208b90cedeb7a6f36f1aed7c577fdd21def0fcb
jiin.moon [Thu, 22 Jun 2017 07:32:53 +0000 (16:32 +0900)]
ecore_anim: Fix don't call animator_cb
If the tick_queue_count has number less than zero, don't call the animator_cb.
Change-Id: I03648f3f89237075dd6b2d248c549afb6e33b975
Doyoun Kang [Mon, 19 Jun 2017 01:49:00 +0000 (10:49 +0900)]
ecore_drm : add code to check null pointer
Change-Id: I6e2ac60d2c7b4614b626f0f8ff73dfefc1920aeb
InHong Han [Thu, 15 Jun 2017 10:10:12 +0000 (19:10 +0900)]
ecore_imf: Removed wrong comments in doxygen
Change-Id: Id8b00ae80fc974e77ca5ad04dab2dbe90c80a872
InHong Han [Mon, 12 Jun 2017 04:36:33 +0000 (13:36 +0900)]
ecore_imf: Added ecore_imf_context_input_panel_position_set API
Change-Id: I30d444f72914e7ad6983287d33209f340bdf674b
José Roberto de Souza [Wed, 27 Jan 2016 20:32:49 +0000 (18:32 -0200)]
eldbus: Correctly read/write boolean to eina_value
DBus bool type is a uint32_t not a uint8_t, just changing how read
and write, not chaging how it is stored in eina_value to save some
bytes of RAM.
This fix the stack overflow pointed out here: https://phab.enlightenment.org/T3089
@fix
Change-Id: Ib1dc0613613165d841342c3f0727080955e2f436
Wonsik, Jung [Wed, 14 Jun 2017 08:02:19 +0000 (17:02 +0900)]
[EvasGL] Add to check current eglDisplay when eglMakeCurrent is called
Add to check current eglDisplay when eglMakeCurrent is called.
If eglWindow surface and eglContext is created twice,
same eglSurfaces and eglContexts are created in each backend by Mali's core.
To fix that, add checking code with current eglDisplay.
Change-Id: I8f3e54d31dc8d08a6115f531e40d665cbc931635
huiyu.eun [Thu, 8 Jun 2017 01:54:40 +0000 (10:54 +0900)]
[EvasGL] Fix the bug when use prerotate
- Modify Environment Variable : EVAS_GL_PREROTATION_DISABLE
- When use prerotate, ob->rot is always zero
Change-Id: Ie059b65b42db681010308a99abf1f33ea0612f88
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Boram Park [Wed, 14 Jun 2017 05:53:39 +0000 (14:53 +0900)]
ecore_evas_drm: transform the input event in ecore_drm side
Change-Id: I8d54850a684e1f87d9879714681ab62844ae2509
Youngbok Shin [Wed, 14 Jun 2017 00:29:13 +0000 (09:29 +0900)]
edje: fix mistyped return value from edje_object_part_text_valign_get
@tizen_fix
Change-Id: I9e7997da5e3329e066c4672b259c03c7ddcf4c65
Joogab Yun [Mon, 12 Jun 2017 06:33:44 +0000 (15:33 +0900)]
[evas_gl_engine] add orientation checking at image_stride_get()
Change-Id: I6ea901be0ba316f98dd1cc56ac697078c9a67cef
Joogab Yun [Fri, 9 Jun 2017 02:16:45 +0000 (11:16 +0900)]
[evas_sw] enable EVAS_WAYLAND_SHM_BUFFERS setting in evas_tbmbuf
you can change the default buffer count, but not yet support single buffer.
It support at least double buffers at evas_tbmbuf.
Change-Id: If8d22e9456ac02e914f14acd48a919a349b5160c
Carsten Haitzler (Rasterman) [Thu, 8 Jun 2017 05:48:08 +0000 (14:48 +0900)]
evas - font dir fonts.alias - limit alias parse length
a rouge fonts.alias file in a font dir/path could contain long strings
that buffers dont have space for, so limit length of string.
@fix
Change-Id: I17888b0b8b824a5fde1b0fc089e08c4dd9c026b0
Youngbok Shin [Thu, 1 Jun 2017 05:27:55 +0000 (14:27 +0900)]
edje_calc: fix calculation for vertically expandable textblock without max height
If there is no maximum height in description,
Then the following textblock should be vertically expandable without ellipsis.
part { name: "textblock";
type: TEXTBLOCK;
description {
min: X X;
text.min: 0 1;
}
}
@tizen_fix
Change-Id: I19239732d309c3d1b32e68201a24a9038fca8643
Boram Park [Wed, 7 Jun 2017 06:59:23 +0000 (15:59 +0900)]
ecore_evas_wayland: ignore the output transform event when iconified
App will be drawn when uniconified
Change-Id: I5f7f532c89d25bce8309db2ef002ad1fd36bbcb9
Joogab Yun [Mon, 29 May 2017 08:51:07 +0000 (17:51 +0900)]
[evas_gl_thread] check null about string value in
glShaderSource_evgl_api_thread_cmd()
fixed crash at
ES2-CTS.gtf.GL2Tests.shader_source.shadersource_invalidshaderhandle
testing
Change-Id: Ie94ec331338bec525207bef63390be75c493f2fc
Joogab Yun [Tue, 23 May 2017 07:28:13 +0000 (16:28 +0900)]
[evas_gl_thread] Enhanced consistency for evasgl threads.
Change-Id: I00b846790a0534bf9ef9d085f5e19b22eea55ab4
InHong Han [Tue, 16 May 2017 10:58:32 +0000 (19:58 +0900)]
ecore_imf: Added ecore_imf_context_mime_type_accept_set API
Change-Id: Icf8980de2ea8ddaef4d1fad5a85d5c8da948f660
jiin.moon [Wed, 31 May 2017 00:28:36 +0000 (09:28 +0900)]
evas: Fix don't redraw map_surface issue
Refs: master, <origin/HEAD>, <origin/master>, v1.19.0-726-ge250a27
Author: jiin.moon <jiin.moon@samsung.com>
AuthorDate: Tue May 30 19:25:37 2017 +0900
Commit: Jean-Philippe Andre <jp.andre@samsung.com>
CommitDate: Tue May 30 19:25:37 2017 +0900
evas: Fix don't redraw map_sufarce issue
Summary:
map_surface does not redraw in below case.
1) parent and child are smart object and has map.
3) drawing objects.
4) apply new map to child object.
Test Plan: sample code
Reviewers: jpeg, cedric, jypark
Differential Revision: https://phab.enlightenment.org/D4889
Change-Id: I692ff9efe525ff5325a3001123da26ad08cafa45
JengHyun Kang [Wed, 24 May 2017 01:06:49 +0000 (10:06 +0900)]
ecore_device: propagate a ecore_device's subclass
Change-Id: Ibbcaab69c50055cebfede968a213a29336333a24
JengHyun Kang [Tue, 30 May 2017 12:16:38 +0000 (21:16 +0900)]
ecore_drm: add a new api to transform touch
- ecore_drm_device_touch_transformation_set()
- add functions to calculate touch transform matrix
Change-Id: Ic9aaffe2e58125e64e5d3a98241b88ff7013a64d
JengHyun Kang [Tue, 30 May 2017 03:49:33 +0000 (12:49 +0900)]
ecore_drm: add a new api to rotate touch
- API: ecore_drm_device_touch_rotation_set()
Change-Id: I91a2c9214958dad90260f17b8e387ddee4201318
Wonsik, Jung [Thu, 25 May 2017 09:49:56 +0000 (18:49 +0900)]
[EvasTBM] Fix the bug when tbm surface is resized.
When tbm surface is resized, tbm_surface_queue_reset should be called to reset tbm surface queue.
Change-Id: If6905f5a91a59bcd56ffc38bf2281ade8aa26296
sunghyun kim [Wed, 31 May 2017 11:16:23 +0000 (20:16 +0900)]
[EXTN_GL] skip iconify callback when extn typs is SHM
check extn type before check prop.window.
in 64bit emulator, it has some problem.
Change-Id: I157866466dbd10f6e48ffda4c0970b83b3b5bb6f
Jihoon Kim [Wed, 31 May 2017 09:23:32 +0000 (18:23 +0900)]
ecore_imf: Add commit content event callback
COMMIT_CONTENT is called when the input method commits content such as an image.
Change-Id: Idf238dc9b27811999b1ee733eeba2318d57e54f1
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Youngbok Shin [Fri, 17 Feb 2017 09:08:32 +0000 (18:08 +0900)]
edje: add part_text_valign property for internal usage
There is a need of changing vertical align using API from EFL C# dev team.
@tizen_feature
Change-Id: Ib9376ce4088624654cc96f169a3058f5d4d532be
Sung-Jin Park [Tue, 30 May 2017 08:45:57 +0000 (17:45 +0900)]
ecore_drm: close given fd when there is no matching ecore_drm_evdev device
Change-Id: I153891f2ae6d9cbee34144b21e405627c1dc22fc
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
Jeeyong Um [Tue, 30 May 2017 04:37:18 +0000 (13:37 +0900)]
eina: Fix broken link in doc to introduce integer hash algorithms
Signed-Off-By: Jeeyong Um <jc9.um@samsung.com>
Change-Id: Ic2fa32d92f20f2cf1c558182f99ba22b9f7e560f
Wonsik, Jung [Thu, 25 May 2017 09:46:30 +0000 (18:46 +0900)]
[EvasGL] update wl_egl_window in wayland egl backend.
wl_egl_window is created in evas_wayland egl backend.
So, wl_egl_window value of _Evas_Engine_Info_Wayland_Egl is needed to update with this value.
Change-Id: I5076cd95ed90c951729d09ed03d5dd6efa93bf9e
jiin.moon [Fri, 26 May 2017 02:19:31 +0000 (11:19 +0900)]
ecore_anim : Add safety code to ecore_anim
Change-Id: I76ce644bc2166597eb49a19a8403115d51527dd5
Joogab Yun [Wed, 17 May 2017 07:24:37 +0000 (16:24 +0900)]
[evas_render] Downstream "evas render - drop eo overhead by using ptrs
we already have" [commit id :
51638afbebc225b5a550eb87a0e74c53d866ed2e]
evas render - drop eo overhead by using ptrs we already have
several calls, specifically evas_object_change_reset,
evas_object_cur_prev, and evas_object_clip_changes_clean that are
called directly or indirectly as part of evas render on at least
every
active object if not more, were doing full eo obj lookups when their
calling functions already all had the eo protected data looked up.
tha's silly and just adds overhead we don't need. my test dropped
_eo_obj_pointer_get overhead in perf profiles from 4.48% to 2.65%.
see:
4.48% libeo.so.1.18.99 [.] _eo_obj_pointer_get
4.23% libevas.so.1.18.99 [.]
evas_render_updates_internal
2.61% libevas.so.1.18.99 [.]
evas_render_updates_internal_loop
1.68% libeo.so.1.18.99 [.] efl_data_scope_get
1.57% libc-2.24.so [.] _int_malloc
1.42% libevas.so.1.18.99 [.]
evas_object_smart_changed_get
1.09% libevas.so.1.18.99 [.]
evas_object_clip_recalc.part.37
1.08% libpthread-2.24.so [.] pthread_getspecific
1.05% libevas.so.1.18.99 [.]
efl_canvas_object_class_get
1.01% libevas.so.1.18.99 [.] evas_object_cur_prev
0.99% libeo.so.1.18.99 [.]
_efl_object_event_callback_legacy_call
0.87% libevas.so.1.18.99 [.]
_evas_render_phase1_object_ctx_render_cache_append
0.82% libpthread-2.24.so [.] pthread_mutex_lock
0.81% libevas.so.1.18.99 [.]
_evas_render_phase1_object_process
0.79% libc-2.24.so [.] _int_free
vs now the improved:
4.82% libevas.so.1.18.99 [.]
evas_render_updates_internal
3.44% libevas.so.1.18.99 [.]
evas_render_updates_internal_loop
2.65% libeo.so.1.18.99 [.] _eo_obj_pointer_get
2.22% libc-2.24.so [.] _int_malloc
1.46% libevas.so.1.18.99 [.]
evas_object_smart_changed_get
1.04% libeo.so.1.18.99 [.]
_efl_object_event_callback_legacy_call
1.03% libevas.so.1.18.99 [.]
_evas_render_phase1_object_ctx_render_cache_append
0.97% libeina.so.1.18.99 [.]
eina_chained_mempool_malloc
0.93% libevas.so.1.18.99 [.]
evas_object_clip_recalc.part.37
0.92% libpthread-2.24.so [.] pthread_mutex_lock
0.91% libevas.so.1.18.99 [.]
_evas_render_phase1_object_process
0.84% libc-2.24.so [.] _int_free
0.84% libevas.so.1.18.99 [.] evas_object_cur_prev
0.83% libeina.so.1.18.99 [.] eina_chained_mempool_free
0.80% libeo.so.1.18.99 [.] efl_data_scope_get
of course other things "increase their percentage" as oe overhead
now
dropped, and things seem to move around a bit, but it does make
sense
to do this with no downsides i can see as we already are accessing
the
protected data ptr in the parent func.
Change-Id: Iee7740df896537df047fac9fb0d33b450be9759f
Joogab Yun [Tue, 23 May 2017 23:55:47 +0000 (08:55 +0900)]
[evas_native_tbm] memory is mapped but not unmapped properly leads to
quick low memory
(_evas_common_rgba_image_surface_mmap/_evas_common_rgba_image_surface_munmap)
because setting NULL to image.date at _native_free_cb() before proper unmamp
Change-Id: Ia5cdaa8bc49698b87f3e77ee879dfde979240d59
Joogab Yun [Wed, 24 May 2017 09:23:54 +0000 (18:23 +0900)]
[evas_tbmbuf] changed to not use wl_event_queue
Change-Id: I1923dfecffac7a9050d6751e8528e9310396eff3
Hosang Kim [Wed, 24 May 2017 05:55:52 +0000 (14:55 +0900)]
evas_events: fix build error
Change-Id: Ib40958220b0c2ee27e11a08214456fde6c57926b
Hosang Kim [Fri, 19 May 2017 08:20:11 +0000 (17:20 +0900)]
evas_events: add missing device information
Change-Id: I5de5f4ed5ca53d78f6d3903374c371a7b2fcfdad
Taehyub Kim [Tue, 23 May 2017 04:29:35 +0000 (13:29 +0900)]
ecore_wayland: free drag source when drag leave event comes.
This is relate to triggering ECORE_WL_EVENT_DATA_SOURCE_CANCELLED.
Change-Id: I8af837114a8a9973a3563d1d16aaae91131939d1
Doyoun Kang [Mon, 22 May 2017 08:15:11 +0000 (17:15 +0900)]
ecore_wayland: set a role property while creating cursor surface (2)
Change-Id: I981167e20413dfae5ee17fbd337ad1cc730e9620
Doyoun Kang [Mon, 22 May 2017 08:04:17 +0000 (17:04 +0900)]
ecore_wayland: set a role property while creating cursor surface
Change-Id: I73ccd65dca9c30de82c085ef5538ed2ba8d686f2
Joogab Yun [Sun, 21 May 2017 23:58:32 +0000 (08:58 +0900)]
[evas_gl_thread] code cleanup : removed unuse code
Change-Id: I61dbde80d76a3d4d7588e1d090e7a5848ad810d9
jiin.moon [Tue, 16 May 2017 04:34:27 +0000 (13:34 +0900)]
Revert "Revert "ecore_evas: Changes the animator source to custom""
This reverts commit
67d0bb47886274544af301bb4221cf8fdc2167ef.
Change-Id: If8a949a4a7a3c1ec550dae05aa163a14bf8a6b2b
SangHyeon Lee [Fri, 19 May 2017 13:05:34 +0000 (22:05 +0900)]
Revert "Revert "Revert "[evas_gl_thread] default enable EVAS_GL_RENDER_THREAD and"""
This reverts commit
065a378fb86215c94731247e07ac592677d0e5ad.
Change-Id: Ide5ecd38249dad821a6d68170500352a75cb5296
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
Hosang Kim [Fri, 19 May 2017 12:42:25 +0000 (21:42 +0900)]
ecore_wl_dnd: fix double free exception.
Change-Id: Ia909be41f7b3752949be4dd16862f5fcef105d1f