path: root/src/lib/evas/canvas (follow)
AgeCommit message (Collapse)Author
2014-10-22Evas filters: Remove useless source_count and cow checksJean-Philippe Andre
2014-10-22Evas filters: Feed some cow to the image objectsJean-Philippe Andre
Same as for the text objects. Fixes T1725. Cedric, please run again your memory test, please.
2014-10-22Evas filters: Move filter COW to evas global stuffJean-Philippe Andre
It will be shared between TEXT and IMAGE objects.
2014-10-22Evas filters: Use a cow to reduce memory usage of text objectsJean-Philippe Andre
As pointed out by Cedric, the memory usage of basic evas objects has increased a lot in recent versions of EFL, in part due to this excessive use of filters data. This is a partial fix for ticket 1725.
2014-10-22Evas GL: Fix unused variableJean-Philippe Andre
CID 1248912
2014-10-21evas: Evas_Box - layout_flow_horizontal and layout_flow_vertical fixAndrii Kroitor
Summary: Now minimum width hint (for horizontal layout) and minimum height hint (for vertical) are set to largest item size rather than largest row/column. @fix Test Plan: 1. Run "elementary_test" 2. Maximize window 3. Unmaximize it ExR: button boxes should return to start state. Reviewers: cedric, seoz, Hermet Subscribers: cedric, reutskiy.v.v Differential Revision: Signed-off-by: Cedric BAIL <>
2014-10-21Evas-3D Tests: fix Eo usage.Daniel Zaoui
There are still Valgrind (invalid read) issues but at least, it doesn't segfault more.
2014-10-21Evas-3D: invoke eo_do_super in destructors.Daniel Zaoui
2014-10-20evas: evas_map - fix cast from double to int with using lround()artem.popov
Summary: All points in map are double, when try to get point coordinates, there are issues with rounding. @fix Reviewers: Hermet, raster, seoz, cedric Reviewed By: cedric Subscribers: cedric Differential Revision: Signed-off-by: Cedric BAIL <>
2014-10-20Evas GL: Enable direct rendering even with alpha imagesJean-Philippe Andre
2014-10-20Evas GL: Add support for OpenGL-ES 1.1 (part 1)Jean-Philippe Andre
This commit adds lots of required definitions (GL_ stuff), new API entries in the Evas_GL_API struct, and basic new APIs to create OpenGL-ES 1.1 contexts. @feature
2014-10-20Evas GL: Fix compilation for EGL/GLESJean-Philippe Andre
Configure with --with-opengl=es --enable-egl Fixes runtime link dependencies
2014-10-20Evas GL: Add support for pbuffer surfacesJean-Philippe Andre
Supports only EGL for now :( These pbuffer surfaces can be used to create dummy surfaces for make_current and render threads. @feature
2014-10-20Evas GL: Add evas_gl_surface_queryJean-Philippe Andre
When using EGL, this function should return the properties of a surface. Limited to a subset of known attributes. Right now, this function will only work fine with EGL. GLX support or any other engine is not implemented. @feature
2014-10-20Evas GL: Return safe empty string "" instead of NULLJean-Philippe Andre
This is so dumb.
2014-10-20Evas GL: Add API evas_gl_rotation_getJean-Philippe Andre
This will be used to increase the chances of having direct rendering (no fallback to FBO) even if the window is rotated. The client is then responsible for handling the view rotation. @feature
2014-10-20Evas GL: Fix runtime linking issuesJean-Philippe Andre
There is some mess with gl common functions that need to be called from the engine itself, eg. error set/get.
2014-10-20Evas GL: Add safety checks for missing functionsJean-Philippe Andre
2014-10-20Evas GL: Add APIs to get current surface/contextJean-Philippe Andre
- evas_gl_current_surface_get - evas_gl_current_context_get @feature
2014-10-20Evas GL: Add API evas_gl_error_get()Jean-Philippe Andre
Similar in meaning to eglGetError() @feature
2014-10-20Evas GL: Add some thread safetyJean-Philippe Andre
This is only the core evas gl support. TODO: gl_x11 and other engines
2014-10-12evas: more defensive programming.Cedric BAIL
2014-10-08evas: fix warnings introduced by Evas_3D eet import/export feature.Bogdan Devichev
Summary: This is a fix of those warnings. Sorry for existence of them. CC lib/evas/common/lib_evas_libevas_la-evas_alpha_main.lo ../../src/lib/evas/canvas/evas_3d_mesh_loader_eet.c:113:13: warning: assignment from incompatible pointer type eet_file = _evas_3d_eet_file_new(); ^ CC lib/evas/common/lib_evas_libevas_la-evas_blend_main.lo CC lib/evas/common/lib_evas_libevas_la-evas_blit_main.lo CC lib/evas/common/lib_evas_libevas_la-evas_convert_color.lo ../../src/lib/evas/canvas/evas_3d_mesh_saver_eet.c: In function 'evas_3d_mesh_save_eet': ../../src/lib/evas/canvas/evas_3d_mesh_saver_eet.c:159:13: warning: assignment from incompatible pointer type eet_file = _evas_3d_eet_file_new(); ^ CC lib/evas/common/lib_evas_libevas_la-evas_convert_colorspace.lo CC lib/evas/common/lib_evas_libevas_la-evas_convert_gry_1.lo ../../src/lib/evas/canvas/evas_3d_eet.c: In function '_evas_3d_eet_file_new': ../../src/lib/evas/canvas/evas_3d_eet.c:28:4: warning: return discards 'const' qualifier from pointer target type return creating_file; Reviewers: cedric, artem.popov Subscribers: cedric Differential Revision: Signed-off-by: Cedric BAIL <>
2014-10-08Evas: Remove unused array calculate_objectsJean-Philippe Andre
2014-10-07evas: updated docChunEon Park
here also use Eina_Bool for consistency.
2014-10-07evas: updated doc.ChunEon Park
mention Eina_Bool for consistency.
2014-10-07evas - render2 renders conecnt for the first time... wow...Carsten Haitzler (Rasterman)
this is an unused code path UNLESS you: export EVAS_RENDER2=1 so this will affect nothing unless you enable this and test it. it's designe dto be done this way so we can slowly bring it in and bring it up to speed and peolpe can easily test it and so on. so now - content is rendered. most content is actually. only thing that breaks that i can see so far is mapped smart objects.
2014-10-06evas: Evas_3D - add .eet export/importBogdan Devichev
Summary: The first version of .eet format is added. All changes due to discussion in D1307 are done. Reviewers: artem.popov, se.osadchy, reutskiy.v.v, Hermet, raster, cedric, Oleksander @feature Subscribers: cedric Differential Revision: Signed-off-by: Cedric BAIL <>
2014-10-02evas textblock: return text direction for under cursor in cursor geometry getThiep Ha
Summary: Currently, in cursor geometry get function, the text direction is not returned if cursor is under cursor. This patch fixs it by returning text direction for under cursor. @fix Reviewers: tasn Subscribers: herdsman, cedric Differential Revision:
2014-10-01Evas Textblock: Fix native width of BiDi textDaniel Hirt
Summary: This fixes an issue that causes BiDi text to get wrapped even when resizing the textblock to its native size. The way we find the last visual item in the native line is wrong. The 'visual_pos' describes the visual position in the formatted layout, in which wrapping may occur. So, this is really bad to use it for native width calculations as well. Also, there's no need to actually reorder the line - we just need the last visual item. This adds and uses a function very similar to _layout_line_reorder, in which we retrieve the last visual item in the native line. This function does not do any actual reordering, as the native layout is disposed of after calculation is done. Also, added GET_ITEM_LEN macro for convenience. Fixes T1532 @fix Test Plan: Added to evas textblock test suite in this patch Reviewers: tasn Subscribers: id213sin, JackDanielZ, cedric Maniphest Tasks: T1532 Differential Revision:
2014-10-01evas: fixed initialization typesJaeun Choi
2014-09-26Evas Textblock: Fix bad empty line add on wrappingDaniel Hirt
Summary: In some cases of char or word wrapping, an empty line might be accidentally added at the end of the paragraph. That line contains no items. Of course, this line should not exist. One outcome of this is that it causes wrong height values of the paragraph, when the finalizing code uses the _layout_last_line_max_descent_adjust_calc, which in turn looks at that empty line to calculate the descent values. @fix Test Plan: Char-wrap and word-wrap tests to test suite included in this revision. Reviewers: tasn Subscribers: JackDanielZ, cedric Projects: #efl Differential Revision:
2014-09-25Eo: Change eo_add/del/unref behaviour.Tom Hacohen
Before this change eo_add() used to create an object with 1 ref, and if the object had a parent, a second ref. Now, eo_add() always returns an object with 1 ref, and eo_add_ref() preserves the old behaviour (for bindings). eo_unref now un-parents if refcount is 0, and eo_del() is an alias for eo_unref (will change to be a way to ensure an object is dead and goes to zombie-land even if still refed).
2014-09-25Eo: Get rid of eo_add_custom.Tom Hacohen
We decided to deprecate this one in favour of setting thing in the construction between the constructor and the finalizer.
2014-09-24evas_events: fixed keyup with modifierAndrii Kroitor
Summary: removed check that disallows exact modifiers set. I.e. if we need Ctrl+s without any other modifiers: mask = evas_key_modifier_mask_get(obj, "Control"); evas_object_key_grab(obj, "o", mask, ~mask, false); This works with keydown, but was broken with keyup. Reviewers: cedric, seoz, Hermet, raster Subscribers: cedric, reutskiy.v.v Differential Revision: Signed-off-by: Cedric BAIL <> Signed-off-by: Carsten Haitzler (Rasterman) <>
2014-09-23fix config.h inclusion across the treeMike Blumenkrantz
2014-09-18Evas: Fix crash in hideSebastian Dransfeld
During E shutdown I often get a crash here, so check if we have an evas. @fix
2014-09-10eolian: remove accessor params featureDaniel Kolesa
Temporarily replace it with @const_get and @const_set tags in values section.
2014-09-09eo: update the EFL to use builtin complex typesDaniel Kolesa
2014-09-08Documentation: Adding documentation for evas_object_textblock structures.Srivardhan Hebbar
Summary: This is a fix to one of the FIXME in the code, evas_object_textblock.c Signed-off-by: Srivardhan Hebbar <> Reviewers: herdsman, tasn Subscribers: cedric Differential Revision:
2014-09-06evas: agressively freeze events on calculate callback and clear.Cedric BAIL
2014-09-06evas: let's freeze the canvas, shall we ?Cedric BAIL
This is a critical performance issue that was introduced during our move to eo2. This code was still eo1 style so I guess it was just forgotten. The result is that canvas with large numbers of widget were slower after the migration. @fix
2014-09-05evas: remove duplicate function call in evas_shutdown().Youngbok Shin
Summary: evas_font_dir_cache_free() is called twice in evas_shutdown(). evas_common_shutdown() will call evas_font_dir_cache_free(). Test Plan: NONE Reviewers: tasn, woohyun Subscribers: herdsman, cedric Differential Revision:
2014-09-03Revert "evas: Evas_3D - add .eet export/import"ChunEon Park
This reverts commit 9ebb28e3d6690f8548309fd97d2037c9e4ef2c07. I didn't mean pushing this patch... sorry.
2014-09-03[Evas/evas-3d] Add shadow maps. Added two scene-API functions for enable and ↵Dmytro Dadyka
disable shadows on the scene. Added 6 light-API function for set and get the light projection. Reviewers: raster, cedric, Hermet Subscribers: raster, cedric Differential Revision:
2014-09-03Merge branch 'master' of ssh:// Park
2014-09-03Eolian/Generator: support params initialization.Daniel Zaoui
This is needed when get properties or methods have to return a value in case of failure or to initialize parameters. The way used is to generate an intermediate function that will initialize the parameters and then invoke the "user" function.
2014-09-03Merge branch 'master' of ssh:// Park
2014-09-02evas: actually just define the right number of events.Cedric BAIL
2014-09-02evas: forgotten evas canvas event EVAS_CANVAS_EVENT_DEVICE_CHANGED.Cedric BAIL