Jihoon Kim [Mon, 5 Dec 2016 02:18:11 +0000 (11:18 +0900)]
ecore_imf: fix memory leak issue in example code
ecore_imf_context_event_callback_add () register a callback function to a given context event. ecore_imf_context_event_callback_del () must be called
to unregister callback function registered to a given context event.
Change-Id: Ica5f8aa9690b68183c1d1285c7ddf3a7f2ede496
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Taehyub Kim [Wed, 30 Nov 2016 06:36:09 +0000 (15:36 +0900)]
Revert "ecore: early destruction of animator allow for tick end to always be triggered."
This reverts commit
427d8c21f9de1192b5aa845e35aa9deb5883426d.
Youngbok Shin [Mon, 28 Nov 2016 12:27:27 +0000 (21:27 +0900)]
Fix crash issue due to improper callback handling
@tizen_fix
Change-Id: I618d798424470c2901f05b58f49f2fde7208f2b1
sunghyun kim [Mon, 28 Nov 2016 02:31:12 +0000 (11:31 +0900)]
[Extn_GL] fix rotation issue after change resize logic
fix rotation issue and minor issue about profile set
Change-Id: I36c86a1e964d925d1a0852f8f0a78359d84eaf9c
Duna Oh [Fri, 18 Nov 2016 03:32:42 +0000 (12:32 +0900)]
ecore_wl: add ecore_wl_window_input_get() EAPI
Change-Id: Ie043a4386a893e270471ee5adcbbd65fec4b155e
Signed-off-by: Duna Oh <duna.oh@samsung.com>
subhransu mohanty [Mon, 28 Nov 2016 06:48:52 +0000 (15:48 +0900)]
ector/gl: added antialiasing support for ector gl backend.
Change-Id: I49e32fb4e0fb3d6fc75fe50a5c51286539013314
JengHyun Kang [Wed, 23 Nov 2016 08:25:17 +0000 (17:25 +0900)]
ecore_wayland: Send device events and build devices list if the window is not exist
Change-Id: I937df89aacc8bc6eeeeae17a508c21b00f403e4a
Jaehwan Kim [Fri, 25 Nov 2016 04:17:56 +0000 (13:17 +0900)]
edje_pick: add base_scale value to target edj from origin edj
Change-Id: Ic001d1f8ffbecf41caa74f3444bcf4761414677b
JinYong Park [Mon, 31 Oct 2016 08:29:01 +0000 (17:29 +0900)]
edje_entry: Add edje_object_part_text_select_disable_set
Change-Id: I8eeee540667033d0495777b299d7951fb341c1e9
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
Jee-Yong Um [Tue, 22 Nov 2016 00:46:15 +0000 (09:46 +0900)]
fix doxygen warnings
Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
Change-Id: I35131958bde982d3f615bca83d849d7d40350fa4
subhransu mohanty [Tue, 22 Nov 2016 12:30:42 +0000 (21:30 +0900)]
evas/engine: enable native gl drawing for ector backend
Change-Id: Ic8fa4464cbfa959c17a476554be759945302b924
subhransu mohanty [Tue, 22 Nov 2016 12:30:09 +0000 (21:30 +0900)]
ector/gl: Added the native gl backend in ector
Change-Id: I266ce620efe77ec06f7aa9e37d45e6d243c55b87
subhransu mohanty [Tue, 22 Nov 2016 12:26:49 +0000 (21:26 +0900)]
static_lib: Added triangulator library.
The Library breaks down shape in to list for triangles for opengl drawing.
Feature:
- shape outline triangulation using triangle strips.
- shape filling triangulation using curve flattning and triangle fans.
Change-Id: I80db50b8415d0a3a44b01599ee3e024da4e7a630
Youngbok Shin [Tue, 22 Nov 2016 11:24:30 +0000 (20:24 +0900)]
evas textblock: fix to keep calculated size properly when calculation is skipped
When textblock object's calculations skipped formatted.w could be 0.
It causes abnormal size calculation from Edje.
@tizen_fix
Change-Id: I50d2d40e6dc40a796a047cd33db941d027fce003
Youngbok Shin [Thu, 24 Nov 2016 05:52:32 +0000 (14:52 +0900)]
edje: clean up newly added tag strings
@tizen_fix
Change-Id: I8cf8a3d666ef7d0bd747970bdb9a1a26501fb49b
Youngbok Shin [Tue, 22 Nov 2016 11:16:44 +0000 (20:16 +0900)]
edje: remove FIXME code according to patch for textblock
_formatted_get() function should return calculated size everytime.
There is a bug in Evas Textblock. The bug will be removed.
@tizen_fix
Change-Id: Icb2f1524fdb5791c7eb0da3124f127ffd45ccecf
Youngbok Shin [Tue, 22 Nov 2016 11:12:36 +0000 (20:12 +0900)]
edje: fix to get minimum width even if given width is 0
The patch also fix to calculate maximum width properly in some cases.
It adds missing comment for Tizen only patches.
@tizen_fix
Change-Id: Iec1f6b76be3652031790de0bc24a135e8084c5fe
subhransu mohanty [Tue, 22 Nov 2016 12:24:38 +0000 (21:24 +0900)]
evas/gl: Added support for stencil buffer creation while creating gl Surface.
Reviewers: jpeg, cedric
Reviewed By: jpeg, cedric
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4404
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Change-Id: Id250d434fa3798471d8d9c3e73fb5a29b7db0bb3
Wonki Kim [Mon, 21 Nov 2016 04:26:59 +0000 (13:26 +0900)]
evas: Add shutdown logic on thread creation failure
Summary:
In case of thread creation failure, shutdown logic will be stuck.
To prevent stuck, set exit variables to make thread_shutdown working
even if init fails.
Also modify init logics to return init result to a caller.
Reviewers: jypark, woohyun, cedric, jpeg
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D4411
Change-Id: I7793d4903515c686b28f13f21454d1b6a28eba11
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
jiin.moon [Tue, 22 Nov 2016 06:36:48 +0000 (15:36 +0900)]
evas: Redraw dirty images without updates
Refs: v1.18.0-rc-1592-g55e8842
Author: Jean-Philippe Andre <jp.andre@samsung.com>
AuthorDate: Mon Nov 21 16:58:29 2016 +0900
Commit: Jean-Philippe Andre <jp.andre@samsung.com>
CommitDate: Tue Nov 22 14:32:37 2016 +0900
evas: Redraw dirty images without updates
The proper way to use the pixel_get callback and dirty flag
is to also specify which exact region has been updated
with data_update_add.
Unfortunately many apps and even GLView are relying on
invalid behaviour that forced full redraw of the image
even though data_update_add was never called.
This amends
c1a080f5e4e3ef01cfb792ef3eb9c9e59ba4d3f3
There is no dirty flag equivalent in EO as there is no
pixel_get callback defined (yet). One problem is that the GL
API is not defined, and may prove hard to define for bindings...
Change-Id: I1447c87bb33e7a0fdef2e865d3c7c61f3f1304b8
Jean-Philippe Andre [Wed, 2 Nov 2016 11:04:46 +0000 (20:04 +0900)]
evas: Add some safety code to evas_clip
I'm trying to fix a crash that seems to happens in some very odd
circumstances under stress testing. I have absolutely no idea
what is going wrong... So let's just add some extra safety.
This is a backport of
d0333561be1e74bf617f9a4059ba64bfea495a28
Change-Id: I3e6547dc48d2516f689d0671b3aa2559aa1919dd
Youngbok Shin [Tue, 22 Nov 2016 06:40:01 +0000 (15:40 +0900)]
evas text: Replace the replacement character to 0x00A0 which is empty character
@tizen_fix
Change-Id: I45f685f413aba803166a10d1d90de6463e8772b6
sunghyun kim [Tue, 22 Nov 2016 05:15:12 +0000 (14:15 +0900)]
[Extn_GL] fix resize problem when plug object is updated
when plug object is updated, object don't need to change size
Change-Id: Ie382674bc06698f931eb58bf4c038cccfc194242
sunghyun kim [Fri, 18 Nov 2016 02:03:41 +0000 (18:03 -0800)]
Revert "[ecore_evas_extn] Enable GL in indicator"
This reverts commit
d509c9919b408907e4f16a9a33fc73d6a0c3705d.
Change-Id: I1d0280ee973a4be37173f648add9e5d98f274d5e
sunghyun kim [Mon, 14 Nov 2016 06:54:45 +0000 (15:54 +0900)]
[ecore_evas_extn] Enable GL in indicator
Change-Id: Ief90607679fba0fd82d48eb00543700778fcf5da
Youngbok Shin [Thu, 10 Nov 2016 09:26:12 +0000 (18:26 +0900)]
edje entry: ignore a mouse up event which is holded by other object
It prevents updating cursor while srolling a elm_entry or other object.
@tizen_fix
Change-Id: Ice221d9eba8d6b94dd1e43170c9e6682cf989e56
Jaehwan Kim [Tue, 22 Nov 2016 08:16:54 +0000 (17:16 +0900)]
edje_edit: fix segmentation fault(Array index is out of bound)
@fix
Change-Id: I11e3cbc9470e5511ff7c656aeb519fe0b22b828e
JinYong Park [Fri, 18 Nov 2016 07:13:59 +0000 (16:13 +0900)]
edje_entry: fix "command do nothing when capslock on"
@tizen_fix
Change-Id: Iefe2973d15a6e34e5e9db65f0f7cf3870d58d92e
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
sunghyun kim [Mon, 21 Nov 2016 05:51:55 +0000 (14:51 +0900)]
[Extn_GL] fix resize bug
if cliend is added, socket need to send size to plug.
Change-Id: I33e818b0327a6e1409e22bc1bd2172e963e5c2dd
sunghyun kim [Thu, 17 Nov 2016 04:16:06 +0000 (13:16 +0900)]
[ecore_evas_extn] bug fix in ecore_evas_extn
Change-Id: I335bf62d9b9b50ca58899d5241f9a64e448defb4
Wonsik, Jung [Thu, 17 Nov 2016 13:29:31 +0000 (22:29 +0900)]
[EvasGL] Fix to 3D memory leak.
If evas_gl_make_current is called with NULL,
and evgl_surface_destroy and evgl_context_destroy is called,
3D memory leak occurs.
Because rsc->current_ctx is NULL in evas_gl_make_current
and texture and framebuffer can not be free in destroy funnctions.
To fix that, one value is added to EVGL_resource.
This value is kept with current_ctx, when evas_gl_make_current is called with NULL.
Change-Id: Iabb7685d0c5e932b0e08e716225bf15f58696d0b
SubodhKumar [Fri, 4 Nov 2016 10:03:24 +0000 (15:33 +0530)]
Edje entry: Do not update anchors outside viewport.
Summary:
Do not update anchors outside viewport.
Problem is that when entry contains large number of anchors,
scrolling and launch performance is degraded due to lots of objects
being created and maintained, so to enhance the performance of
entry with anchors, anchors is not updated outside the viewport.
Test Plan:
Should have large number of anchors in entry
Observe the launch and scrolling performance.
Reviewers: tasn, raster, herdsman
Subscribers: thiepha, raster, cedric, jpeg
Tags: efl
Differential Revision: https://phab.enlightenment.org/D3543
Change-Id: I49cf544f3caad9a0e3cf5a9157906a7347eb5af1
Signed-off-by: SubodhKumar <s7158.kumar@samsung.com>
SubodhKumar [Fri, 4 Nov 2016 09:24:01 +0000 (14:54 +0530)]
Edje entry: Do not update cursor for non editable entry.
Summary: Do not update cursor for non editable entry.
If entry is not editable there must not be any need to query
tb cursor geometry and run other codes related to it.
This may improve some performance of non-editable entry.
Test Plan: NA
Reviewers: tasn, herdsman, thiepha
Subscribers: shilpasingh, cedric, jpeg
Projects: efl
Differential Revision: https://phab.enlightenment.org/D3532
Change-Id: I11d5c083a91fc223f1813c63bbcafd30b65be37f
Signed-off-by: SubodhKumar <s7158.kumar@samsung.com>
Jean Guyomarc'h [Sat, 12 Nov 2016 09:42:45 +0000 (10:42 +0100)]
eet: return 0 instead of NULL when the return type is int
Change-Id: Icaaf1571b34f9adced3abf3f0e855402e63acd33
Signed-off-by: Artem Popov <artem.popov@samsung.com>
Taehyub Kim [Thu, 17 Nov 2016 06:24:16 +0000 (15:24 +0900)]
ecore_wayland: prevent overwriting read file descriptor
Change-Id: Idc013685698ebfdd27cc2efbfad8c37be017c2b8
sunghyun kim [Fri, 18 Nov 2016 02:03:41 +0000 (18:03 -0800)]
Revert "[ecore_evas_extn] Enable GL in indicator"
This reverts commit
d509c9919b408907e4f16a9a33fc73d6a0c3705d.
Change-Id: I1d0280ee973a4be37173f648add9e5d98f274d5e
Artem Popov [Fri, 11 Nov 2016 17:57:38 +0000 (09:57 -0800)]
eet: add to basic eet_image EAPIs checking on NULL
@fix
Summary: to avoid segfaults with NULL raw data, add checking on NULL to basic eet_image APIS
Reviewers: NikaWhite, cedric, myoungwoon, jpeg
Reviewed By: jpeg
Subscribers: t.naumenko, jpeg
Differential Revision: https://phab.enlightenment.org/D4386
Change-Id: I8a1bdf9df1864e271c33a71361da57fb3ed84374
Signed-off-by: Artem Popov <artem.popov@samsung.com>
Artem Popov [Mon, 7 Nov 2016 22:42:51 +0000 (14:42 -0800)]
Eina: add NULL check to eina_module_symbol_global_set API @fix
Summary: Add checking on NULL like in other API in module, to avoid segmentation fault
Reviewers: NikaWhite, cedric
Reviewed By: cedric
Subscribers: myoungwoon, jpeg
Differential Revision: https://phab.enlightenment.org/D4383
Change-Id: Icc405c0a3f3e9bf6309d611d8e2f51ef640942ea
Signed-off-by: Artem Popov <artem.popov@samsung.com>
Youngbok Shin [Thu, 10 Nov 2016 09:26:12 +0000 (18:26 +0900)]
edje entry: ignore a mouse up event which is holded by other object
It prevents updating cursor while srolling a elm_entry or other object.
@tizen_fix
Change-Id: Ice221d9eba8d6b94dd1e43170c9e6682cf989e56
Jee-Yong Um [Wed, 2 Nov 2016 06:36:07 +0000 (15:36 +0900)]
eina_value: adjust defgroup to fix documentation
Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
Change-Id: I94d475a9ec995b0f40b28eb8970ae839263a989c
Cedric BAIL [Wed, 13 Jul 2016 22:09:03 +0000 (15:09 -0700)]
ecore: early destruction of animator allow for tick end to always be triggered.
T4043
Change-Id: If6a0f50d4d90b31305e00dafebbbd2250d00ec2f
Signed-off-by: Mykyta Biliavskyi <m.biliavskyi@samsung.com>
Subhransu Mohanty [Fri, 11 Nov 2016 08:12:56 +0000 (17:12 +0900)]
edje: added NULL check.
svac warning: WGID 150623
Change-Id: Ic8857953e8f4ab2634d10dfe6309c5dca3e8acd2
Joogab Yun [Fri, 4 Nov 2016 02:35:49 +0000 (11:35 +0900)]
[evas_gl] support partial rendering
If eglSetDamageRegionKHR has already been called on <surface>
since the most recent frame boundary, an EGL_BAD_ACCESS error is generated
Change-Id: I0d02c3cdff855fd355c448027dcf20aafb1c559b
Changyeon Lee [Fri, 4 Nov 2016 06:26:41 +0000 (15:26 +0900)]
evas_tbmbuf: set proxy of wl_tbm to event queue when waiting buffer
wayland-tbm-server send frame buffer to client when entering hwc
by sending event to proxy of wl_tbm and wl_tbm_queue.
so client need to handle event of wl_tbm and wl_tbm_queue when waiting buffers.
Change-Id: I674a273575aa3c9b2e4da01378fc5223bb160a67
MinJeong Kim [Wed, 16 Nov 2016 07:44:18 +0000 (16:44 +0900)]
ecore_wayland/ecore_evas: update aux hint supported list when supported_get is called
Change-Id: I878e962d80cc44c6eefc787e4e05a5cc9e84cf1a
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
Youngbok Shin [Tue, 15 Nov 2016 10:40:51 +0000 (19:40 +0900)]
Revert "edje entry: keep cursor position on mouse down and move"
This reverts commit
4ba1e50975ff4b69dd9e575dc1cc266bda5f5504.
Change-Id: Ic0821f18ed97ba010eb76db7db8caef0df90cc2d
Jee-Yong Um [Mon, 14 Nov 2016 10:33:32 +0000 (19:33 +0900)]
edje: add missing since_tizen tag
Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
Change-Id: I848803cd6abfc8d32cf0fe0ed9e5f1409d6c04e1
Vyacheslav Reutskiy [Mon, 31 Oct 2016 11:16:36 +0000 (13:16 +0200)]
edje_edit: generate to source code base_scale if it different from 1.0
Fixes T4767
Change-Id: I659388cd3904e7e439d7bc370ce0158fd17f55f1
sunghyun kim [Mon, 14 Nov 2016 06:54:45 +0000 (15:54 +0900)]
[ecore_evas_extn] Enable GL in indicator
Change-Id: Ief90607679fba0fd82d48eb00543700778fcf5da
Youngbok Shin [Thu, 1 Sep 2016 11:45:36 +0000 (20:45 +0900)]
Edje calc: Fix textblock size calculation logic
Summary:
In singleline textblock, using "text.min: 1 0" and min, max width,
Edje allows to use expandable text with ellipsis. It shows ellipsis
when only text's width reach the max width.
But, Edje couldn't support same feature on multiline textblock.
Edje dose not use max height or text.max properly if ellipsis is enabled.
This feature is very useful to make a layout with dynamically aligned text.
@fix
Reviewers: cedric, tasn, woohyun, raster, herdsman
Subscribers: z-wony, eagleeye, jpeg
Differential Revision: https://phab.enlightenment.org/D3595
Change-Id: I0b63ffe07c01c0b6a5fec1df712c99d5dba709e4
Youngbok Shin [Thu, 10 Nov 2016 09:26:12 +0000 (18:26 +0900)]
edje entry: ignore a mouse up event which is holded by other object
It prevents updating cursor while srolling a elm_entry or other object.
@tizen_fix
Change-Id: Ice221d9eba8d6b94dd1e43170c9e6682cf989e56
Youngbok Shin [Mon, 14 Nov 2016 01:54:53 +0000 (10:54 +0900)]
Canvas.text: fix segfault with ellipsis cases
The specific handling for (0.0 <= ellip < 1) doesn't support multi-line cases.
One of the main reasons is that we haven't had the chance to define the wanted
behavior for multi-line.
This is a temporary hack to fix a segfault. The behavior is still undefined,
though.
Fixes T3885.
Change-Id: Icccea39a145f36cda34edca922bdbc7da0e731da
Youngbok Shin [Thu, 10 Nov 2016 07:21:05 +0000 (16:21 +0900)]
edje entry: keep cursor position on mouse down and move
When elm_entry takes focus by a mouse click event,
elm_entry needs to get new cursor position which is changed by mouse down/move/up.
But, elm_entry takes focus before updating the cursor of edje_entry.
It causes an issue about showing proper region.
So, the internal API will be used when elm_entry takes focus.
@tizen_fix
Change-Id: Ie479f9c2763eca56effc57ad7d3409fad7f0830e
SubodhKumar [Fri, 4 Nov 2016 08:22:58 +0000 (13:52 +0530)]
edje entry: do not create object if theme source is not available.
Summary:
Object not created if theme source is not available.
In many case we dont need or define all the
theme sources for entry, even if the sources are
null, edje object is being created.
Test Plan: NA
Reviewers: tasn, herdsman, cedric
Reviewed By: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D3199
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Change-Id: I11f4517d8a872d8053ca0164f40088e6d6d47c56
Signed-off-by: SubodhKumar <s7158.kumar@samsung.com>
SubodhKumar [Fri, 4 Nov 2016 10:26:02 +0000 (15:56 +0530)]
Edje entry: Fix memory leak.
Summary:
Fix memory leak
If user or extra cursor is used, these should be free on
shutdown.
@fix
Test Plan: NA
Reviewers: tasn, herdsman
Subscribers: shilpasingh, cedric, jpeg
Projects: efl
Differential Revision: https://phab.enlightenment.org/D3550
Change-Id: I6e47fec4d6ad53bc3943c90dfe1805a75cceb2fa
Signed-off-by: SubodhKumar <s7158.kumar@samsung.com>
SubodhKumar [Fri, 28 Oct 2016 12:52:43 +0000 (18:22 +0530)]
Edje entry: Add link press effect
Summary:
Add link press effect
Custom tag (linked_pressed) has to be supplied in entry tb style
with color value for press effect to be applied on link text.
Reviewers: tasn
Subscribers: shilpasingh, cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3629
Change-Id: I2084a2bde237ea7a0a09fdc93b4f93a5a7b31143
Signed-off-by: SubodhKumar <s7158.kumar@samsung.com>
Youngbok Shin [Fri, 7 Oct 2016 07:29:28 +0000 (16:29 +0900)]
evas: Apply the last character's advance for width calculation
@tizen_fix
Change-Id: I6729c05478efea3993f003e9cf3fb66ceb1d2bd9
sunghyun kim [Fri, 11 Nov 2016 11:03:53 +0000 (20:03 +0900)]
[evas-gl] fix texture offset for uploading
Change-Id: I19076e86f732341d37f4dd66f80d3eabec2bf11d
Andrii Kroitor [Wed, 9 Nov 2016 08:52:33 +0000 (10:52 +0200)]
Fix efl compilation with and without physics
Change-Id: I5d4ba1778b468365276f94ffb890cb431991df26
SubodhKumar [Wed, 9 Nov 2016 09:03:40 +0000 (14:33 +0530)]
[efl] Fix warnings
Change-Id: I84a90168ff64d12c80af211d1995f4c3c76bb3b7
Signed-off-by: SubodhKumar <s7158.kumar@samsung.com>
Andrii Kroitor [Mon, 17 Oct 2016 15:51:59 +0000 (18:51 +0300)]
edje_edit: refactor eet file usage
Summary:
Move opening for read/write/read-write and error message to internal method
Reuse eet file from Edje instead of opening it again in read-only mode
Add wrapper for eet_close to skip closing if internal file was used
Reviewers: NikaWhite
Subscribers: cedric, jpeg, #eflete
Differential Revision: https://phab.enlightenment.org/D4353
Change-Id: Iac9cdd57ce5878dba4765de94bf83ae1314c2962
Signed-off-by: Mykyta Biliavskyi <m.biliavskyi@samsung.com>
Subhransu Mohanty [Fri, 11 Nov 2016 02:27:53 +0000 (11:27 +0900)]
edje : test for text availabilty before handling marquee
Svace ID : WGID 144214
Change-Id: I7d7dbd9e7fd03839e4fa5b0118eef9030e426719
Youngbok Shin [Wed, 9 Nov 2016 09:10:19 +0000 (18:10 +0900)]
edje entry: only change cursor position in mouse up
Change-Id: Iadf9326ce6470834fbfb2adcf583a3cd12bd5977
sunghyun kim [Thu, 10 Nov 2016 02:04:13 +0000 (11:04 +0900)]
[ecore_evas_extn] fixed build error after add gl backend
don't need check build require about ecore-wayland
Change-Id: Ife48dec49c216810548bd2bdbaa0d0691fd134c3
Jaeun Choi [Tue, 8 Nov 2016 05:58:02 +0000 (14:58 +0900)]
evas: Fix masking with window rotation, take 2
The first patch did not work for maps. This explains why the
original code was so weird. But it actually made sense.
After struggling a bit I realized that we really just need
to shuffle around the pixel position on the window to map that
of the position in the canvas (unrotate it).
Note that compatibility with GLSL-ES (for OpenGL ES) implies
we can not use an array initializer like:
vec2 pos[4] = vec2[4](a,b,c,d);
So the code could probably be optimized. But at least this works.
This patch also avoids calling glGetUniformLocation again and
again.
Change-Id: I90de310eb82d478ba66809d2c0b3e73facd2c3b6
Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
Jongmin Lee [Thu, 3 Nov 2016 05:03:00 +0000 (14:03 +0900)]
[eina_log] redirect critical error to normal error in order to avoid abort on errors in dlog
Change-Id: Ie04b26d1749c43e2b708f193db98e35b452b574a
Jaeun Choi [Tue, 8 Nov 2016 05:56:01 +0000 (14:56 +0900)]
Revert "evas: fixed GL image masking"
This reverts commit
22cb791df87504b920dfb56c97e321a270840fc9.
This patch did not work with mapped images.
Change-Id: I0ee5396369e540a04ec9d2fffd8bef9a6aa2d139
Mykyta Biliavskyi [Fri, 4 Nov 2016 09:06:11 +0000 (11:06 +0200)]
Evas events: fix for works with pipes on windows.
Evil implementation of pipe() function uses sockets. Windows functions
"write", "read" and "close" doesn't works with sockets. In this commit
added macros, that replace "read" with "recv", "write" with "send" and
"close" with "closesocket".
@fix
Change-Id: Ic566c7b994cd23a8244f91835f85029c2d59991c
Signed-off-by: Mykyta Biliavskyi <m.biliavskyi@samsung.com>
Joogab Yun [Wed, 9 Nov 2016 10:17:15 +0000 (19:17 +0900)]
[evas_sw] add tbm_surface_internal_ref/unref
Change-Id: Ib0b1948bd512656d01132e0e37b06ea8931913f3
Shinwoo Kim [Tue, 1 Nov 2016 09:35:39 +0000 (18:35 +0900)]
[edje][text marquee] enhancement
(1) assign NULL to animator variable, if the animator is not necessary any more.
(2) stop text marquee at start point.
(3) do not marquee, if the text is shorter than its view port.
Change-Id: Id13e762e2a2622dbe543d3f60ab49e6d250a6141
sunghyun kim [Wed, 2 Nov 2016 10:03:10 +0000 (19:03 +0900)]
ecore_evas_extn: Add gl backend for ecore_evas_extn
Add gl backend for ecore_evas_extn
if Application set environmental variable "ECORE_EVAS_EXTN_SOCKET_ENGINE=wayland_egl", ecore_evas_extn use gl backend.
other case ( set nothing or buffer), ecore_evas_extn use buffer backend
currently, default is buffer backend
Change-Id: Ia62dde22c81085009b89fa5c791d7c9744b4423b
Sangjin Lee [Mon, 31 Oct 2016 01:08:55 +0000 (10:08 +0900)]
software-tbm: redesign for evas-drm
- Add wayland-buffer for native surface
- Use cserve2
- use libtbm directly
Change-Id: I2c480ad255c23e4ae863f283b91288700106fd81
Vitalii Vorobiov [Fri, 28 Oct 2016 12:56:28 +0000 (15:56 +0300)]
Edje_Edit: save files name instead of full path on sound add
Since file will be inside of edj file, there is no need in having full path to
the place from where it was imported
@fix
Change-Id: I8513928103d74267cb2d1b9080384506d41f2a74
Signed-off-by: Vitalii Vorobiov <vi.vorobiov@samsung.com>
DaeKwang Ryu [Thu, 3 Nov 2016 08:39:00 +0000 (17:39 +0900)]
Remove error log
Change-Id: I2c1691084d417a63cbb5b35a6bd44544ef7e2b0f
Joogab Yun [Thu, 3 Nov 2016 06:44:38 +0000 (15:44 +0900)]
[evas_sw] bug fix lib path
Change-Id: Ida1ee61aa23d1b76dad480ed228686eda5f14a5a
Jean-Philippe Andre [Fri, 12 Aug 2016 02:09:16 +0000 (11:09 +0900)]
evas: Fix shader for text masking
Fixes T4338
@fix
Change-Id: I0996d717e591657c059bda440301cd8a362d05f8
Jaeun Choi [Tue, 1 Nov 2016 06:03:18 +0000 (15:03 +0900)]
evas: fixed GL image masking
GL image masking was broken on window rotation.
This patch fixes the bug by simplifying masking code:
handling the mask image as general images and pushing 6 vertices
instead of pushing the geometry of it.
@fix
Change-Id: Ib9c809927e7d5c1ae72f69b62a2a35c7d4cefbb3
sunghyun kim [Tue, 1 Nov 2016 08:10:51 +0000 (01:10 -0700)]
Revert "ecore_evas_extn : Add GL backend in ecore_evas_extn"
This reverts commit
2120e6d0742e53800994a7e4c606c5b2f17fd4f7.
Change-Id: I06408cb09f131bf8439daff09e27beb123d5837c
Joogab Yun [Fri, 28 Oct 2016 05:29:09 +0000 (14:29 +0900)]
[evas_sw] Fix loading of libary path
Change-Id: I7dbe81a9936cd7c58361a941a5dcf7a58911ceb1
Youngbok Shin [Tue, 1 Nov 2016 04:57:36 +0000 (13:57 +0900)]
edje: prevent crash when a edje object does not load a file
@tizen_fix
Change-Id: I94db2c0108a7054f9eb1dc95f133aa87a9016986
sunghyun kim [Tue, 25 Oct 2016 04:56:52 +0000 (13:56 +0900)]
ecore_evas_extn : Add GL backend in ecore_evas_extn
Change-Id: I1f03c5f7969485cc9a5f499ee96cff52583aa530
Subhransu Mohanty [Wed, 19 Oct 2016 10:52:27 +0000 (19:52 +0900)]
evas/engine: refactor the ector surface caching for gl backend
Change-Id: I14c0b5ac0940471479e35e01b2542ddd13a0c69d
Youngbok Shin [Tue, 25 Oct 2016 04:16:24 +0000 (13:16 +0900)]
edje: Add color class parent-child relationship with APIs
It adds the following APIs
void edje_object_color_class_parent_set(Evas_Object *obj, Evas_Object *parent)
void edje_object_color_class_parent_unset(Evas_Object *obj)
If there is a color_class parent object, the color of object will be
follow parent object's color_class.
@tizen_feature
Change-Id: Ia89a26dab596a7dcfcf120dfffcc9787509292c2
Youngbok Shin [Wed, 19 Oct 2016 09:56:59 +0000 (18:56 +0900)]
edje: update color_class/text_class logic for textblock
@tizen_fix
Change-Id: Id20225abb2e50b799f7e2201d961649fa96c829d
JengHyun Kang [Wed, 19 Oct 2016 08:06:36 +0000 (17:06 +0900)]
ecore_wayland: Add tizen_keyrouter's listener functions
Change-Id: I0c523ea9865be17e9af40b6b484e4c73965878d7
Subhransu Mohanty [Fri, 28 Oct 2016 02:20:20 +0000 (11:20 +0900)]
evas/engine: handle ector surface creation failure
Change-Id: Ie338360669513021a837ba38ae93b35510f7340c
Joogab Yun [Wed, 26 Oct 2016 05:12:14 +0000 (14:12 +0900)]
[evas_swbackend_tbm] apply tbm stride
Change-Id: Iffcc0bbed40ef509b3f55bcf7f73f76bc87f9423
Jaehyun Cho [Thu, 27 Oct 2016 04:15:18 +0000 (13:15 +0900)]
Remove redundant ector.pc
ector.pc should be generaged from ector.pc.in.
Change-Id: I9d629ed5e3d0f00837bb648ccce160cda995fcc9
Subhransu Mohanty [Mon, 24 Oct 2016 01:39:02 +0000 (10:39 +0900)]
evas/engine: check for surface creation failure
Change-Id: Ie81f479876bed27dafcbe4d34622e80a25a5b9e9
Jee-Yong Um [Tue, 25 Oct 2016 04:28:03 +0000 (13:28 +0900)]
edje: fix cached edje modification issue
Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
Change-Id: I21f2f3a9992ff13988e19fbf5d9461f299920b03
Joogab Yun [Wed, 26 Oct 2016 04:10:47 +0000 (13:10 +0900)]
[evas_gl] change a max_memcpy_size 512 to 256
Change-Id: I9a1c87c8a524c51fc39039397d91c4ad5dd08d2d
Vitalii Vorobiov [Tue, 25 Oct 2016 15:22:50 +0000 (18:22 +0300)]
Edje_Edit: use correct description array accessing
its a loop with j, but not with i
kinda a little typo
@fix
Change-Id: Ia026363b48db5ff3179e57fa46cb49b79145d775
Signed-off-by: Vitalii Vorobiov <vi.vorobiov@samsung.com>
sunghyun kim [Tue, 25 Oct 2016 01:48:35 +0000 (10:48 +0900)]
gl-drm : fix uninitialized data issue
fix uninitilized data issue
Change-Id: I2daff5d7d550d5237d6d1ac6419ba80fbe154718
sunghyun kim [Tue, 25 Oct 2016 01:53:13 +0000 (10:53 +0900)]
gl-drm : fixed uninitialized data when use eglGetConfigAttrib()
fixed uninitialized data when use eglGetConfigAttrib()
Change-Id: If43674a299a240baf08d76538b5589d6add73182
Youngbok Shin [Fri, 21 Oct 2016 05:09:13 +0000 (14:09 +0900)]
edje entry: revert tizen only fixes for _surrounding_cb function
@tizen_fix
Change-Id: Id8a27bce480484ca68fc16f483014cef98148b07
Vyacheslav Reutskiy [Tue, 18 Oct 2016 05:49:07 +0000 (08:49 +0300)]
edje_edit: avoid generate '(null)' value for image.normal
Change-Id: I4b53afb0375d4fa7a0c3b88ff05b0c368543f96d
Signed-off-by: Vyacheslav Reutskiy <v.reutskiy@samsung.com>
Vyacheslav Reutskiy [Mon, 17 Oct 2016 14:25:43 +0000 (17:25 +0300)]
edje_edit: add correct tweens generation for inherit state
Change-Id: I639de7b040687e4f21852b4d0c4580f807e5f0e6
Signed-off-by: Vyacheslav Reutskiy <v.reutskiy@samsung.com>
Carsten Haitzler (Rasterman) [Fri, 8 Apr 2016 02:03:44 +0000 (11:03 +0900)]
eina tmp get - support other tmp dir env vars and dont use xdg runtime
xdg runtime dir is NOT a tmp dir in the normal sense. it's not world
writable nor world readable. only for the user. using
eina_environment_tmp_get() would imply that it is a regular tmp dir,
not a per-user private only runtime dir. that is something else
entirely.
@fix
Change-Id: I4fa9e50f9d731c8297f5b0f16314f5193b17e2af
Jean-Philippe Andre [Tue, 19 Jan 2016 02:50:54 +0000 (11:50 +0900)]
Eina: Fix eina_file_mk[ds]temp when a path is passed
If the template is a path, mkstemp and mkdtemp would fail
miserably as they would try to create a file inside
/run/user/1000//path/to/file.XXXXXX even if the path did not
exist.
This patch fixes that by creating temp files inside the sys temp
dir iif the templatename is just a basic name without path
separator.
@fix
Change-Id: I7d8503f8a15e9a03e92f33271dca280b966f70de
Signed-off-by: Mykyta Biliavskyi <m.biliavskyi@samsung.com>
Jean Guyomarc'h [Fri, 16 Oct 2015 13:14:22 +0000 (15:14 +0200)]
eina: fix missing header
This caused functions from eina_util to be undefined at compile time.
The compiler would make implicit casts of return values into ints,
which had major side effects (e.g. segfault edje_cc)
@fix
Change-Id: Ib64f6647d1f20049b504ba19e9f5138ae980ad32
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>