Chris Michael
07ee56d555
ecore-drm: Fix formatting
...
Summary: NO functional changes, just formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-09 17:42:00 +02:00
Chris Michael
40945aa10c
ecore-drm: Fix issue with edid_parse_string truncating strings
...
Summary: We should only truncate the string if it's greater than 4
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-09 17:41:33 +02:00
Chris Michael
ec12d25057
ecore-drm: Add more connector types
...
Summary: libdrm has support for Virtual and DSI connector types, so
add those to the connector types
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-09 17:41:24 +02:00
Chris Michael
e5e0b0b506
ecore-drm: Fix formatting
...
Summary: NO functional changes, just formatting.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-09 17:41:13 +02:00
Chris Michael
c7ced198e6
ecore-drm: Move Eeze Udev Watch to Drm Device
...
Summary: Move the Eeze udev watch to inside the ecore_drm_device. This
allows us to only create One watch to catch all output changes. No
need for more than one watch (one per output) as was done previously
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-09 17:41:03 +02:00
Chris Michael
318f2c435a
ecore-drm: Add width & height to Ecore_Drm_Fb structure
...
Summary: This adds a w & h field to the Ecore_Drm_Fb structure so it
can be used from within the Evas engine
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-09 17:40:42 +02:00
Chris Michael
2f62ebb223
ecore-drm: Create all framebuffers using XRGB8888 by default
...
Summary: By default, we should be creating dumb buffers using XRGB8888
that way it does not matter if we have an alpha channel or not in the
buffer.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-09 17:40:22 +02:00
Carsten Haitzler
8c8bf357ba
eian threadqueue - be clearer on the message struct/format limitations
...
this makes the send func docs also be clear on the
Eina_Thread_Queue_Msg limitations like the wait func
2015-04-09 17:21:25 +09:00
Stefan Schmidt
c3ee9ff22b
eina_matrix: Add since tags to all new functions in 1.14
2015-04-08 14:39:50 +02:00
Stefan Schmidt
a12c53ba7a
eina_quad: Add since tags for new eina_quad*()
...
This needs documentation for the new functions.
2015-04-08 14:39:49 +02:00
Jaeun Choi
15e11cb05f
eina: eina_unicode_utf8_next_get should return 0
...
when one of the parameters is NULL to avoid null pointer access.
it also corresponds to the description in doc.
@fix
2015-04-08 21:29:13 +09:00
Stefan Schmidt
adbe2e864b
eina: Add since tag for new eina_simple_xml_attribute_w3c_parse()
2015-04-08 14:13:57 +02:00
Stefan Schmidt
8a764d8d9c
eina: Add since tag for new eina_list_data_idx()
...
Also fix some whitespaces while being there.
2015-04-08 14:11:44 +02:00
Stefan Schmidt
1e081f2ae1
edje: Add since tag for new edje_file_iterator_new()
2015-04-08 14:08:03 +02:00
Stefan Schmidt
28d69b5f5b
edje: Add since tag for new edje_mmap_color_class_iterator_new()
2015-04-08 14:08:03 +02:00
Stefan Schmidt
c4d2e9893c
edje: Add since for new edje_color_class_active_iterator_new()
2015-04-08 14:08:03 +02:00
Jean-Philippe Andre
464e6ca987
Evas masking: Avoid potential crashes (SW)
...
Make sure not to sample the mask image outside its boundaries.
This is a series of last resort checks. I can not reproduce the
crashes but know they have happened.
I used EINA_UNLIKELY more for clarity than for compiler optimizations.
2015-04-08 18:17:34 +09:00
Conrad Meyer
9281fb5537
ecore_main.c: Refactor purely duplicate ecore_main_fd_handler_file_add()
...
Summary:
... to simply invoke `_ecore_main_fd_handler_add()`. The only difference appears to be the former sets `->file` to `EINA_TRUE`. So, we add that as a parameter.
You can consider this patch, and any other contributions I make to enlightenment, to be under the terms of whatever open source license governs that particular project, or at your option, the MIT license. Basically, if I'm uploading patches here, it's because I want them to be useful.
Test Plan: Should be pretty straightforward. I am in the process of doing a compile check.
Reviewers: #efl
Projects: #efl
Differential Revision: https://phab.enlightenment.org/D2302
2015-04-08 15:47:26 +09:00
Conrad Meyer
0c21b91f0f
Edje: Remove excessive casts and use type Edje_Object
...
Use type Edje_Object instead of Eo in legacy EAPI's.
Spotted in TAsn's ABI report, under "Problems with Symbols".
I believe this will actually add two changes (Eo -> Edje_Object),
but I like the typing better ;)
2015-04-08 14:42:04 +09:00
Conrad Meyer
6dd135d4c6
Evas GL: Add @since 1.14 flags to Evas_Native_Surface
...
And enum
2015-04-08 12:31:06 +09:00
Conrad Meyer
9fece8c333
Ecore IMF: Add @since tags to new fields
2015-04-08 12:29:00 +09:00
pierre lamot
869ed025a2
ecore_cocoa: fix scrollwheel behavior
...
- prioritize vertical scroll over horizontal
- set amount to either -1 or 1, since EFL doesn't handle other value properly
- fix wheel bouncing with some devices (X:0,Y:0 scrolling events)
@fix
2015-04-07 19:05:55 +02:00
ChunEon Park
1e33454772
evas common: make logic same to c code version.
...
As C version,
It increase alpha value by 1 to avoid loosing of the remains while it divides
values. Neon version does same technique to make same results.
2015-04-07 23:06:43 +09:00
ChunEon Park
51d60e649c
evas common: NEON version of evas_common_convert_argb_premul.
...
This patch reduces power consumption by around 18mA in certain scenarios
(music player list scroll, my files sound list scroll), making
evas_common_convert_argb_premul() ~60% faster (6.2msec->2.6msec).
Take music-player application, make 100 copies of the standard
Over the Horizon” song, scroll up and down to see those
downscaled-from-720x720 thumbnails enter and leave the screen.
Every time a list item enters the screen, the image is re-read
(as evas image cache is not large enough to store more than two
pictures of that size), and one call of _common_convert_argb_premul()
occurs, taking ~6.2msec (which is not much compared to ~60msec
spent in libpng->libz (the biggest bottleneck here),
but still noticeable).
A similar power consumption improvement is observed during
scrolling sounds list of the same files in My Files application
(just with idle level ~100mA lower).
We also checked the new code to be correct on random input data.
all tests are performed based on tizen device.
Signed-Off-By: Artem Dergachev <dergachev.a@samsung.com>
2015-04-07 23:05:40 +09:00
Cedric BAIL
0b4d525e59
evas: make all of Evas_Object_VG API part of BETA
...
As JP pointed out there is no point of having an API if the only way to use
it is through a BETA API.
2015-04-07 13:11:21 +02:00
Jean-Philippe Andre
18d5e04bb5
Emile image: Fix TGV (ETC1,2) loader
...
The error was not reset to NONE even in case of success.
2015-04-07 14:40:00 +09:00
Mike Blumenkrantz
c3dc01ef32
edje: fix edje_mmap_color_class_iterator_new() iterator
...
not actually the same iterator as a certain frenchman originally wrote
#cedric
2015-04-06 15:11:06 -04:00
Mike Blumenkrantz
052d27c9f1
edje: remove recalc when unswallowing objects
...
I can't test this as thoroughly as I'd like due to ref T2272, but
it appears that this calc was also unnecessary
2015-04-06 12:59:07 -04:00
Andrii Kroitor
9fdcecebe3
edje: fix program transition generation by Edje_Edit.
...
Summary:
fix possible CURRENT option omission (0-time transition + non-LINEAR
transition type. fix extra ';' for omitted 0-time LINEAR transition
Reviewers: cedric, seoz, raster, Hermet
Subscribers: cedric, reutskiy.v.v
Differential Revision: https://phab.enlightenment.org/D2279
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-06 16:37:53 +02:00
Andrii Kroitor
0de1bde1ca
edje: fix possible segfault in Edje_Edit _check_recursive_reference
...
Summary: if we don't force object loading ref can be NULL
Reviewers: seoz, raster, Hermet, Sergeant_Whitespace, cedric
Reviewed By: Sergeant_Whitespace, cedric
Subscribers: Sergeant_Whitespace, cedric, reutskiy.v.v
Differential Revision: https://phab.enlightenment.org/D2274
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-06 16:37:53 +02:00
ChunEon Park
7a6eb2ea42
evas/common: improve evas_common_convert_argb_unpremul() computation.
...
prev logic increased the alpha channel by 1 so the unpremul resulted in the color got too diff from the origin.
We can't avoid losing the rest values while dividing values in premul/unpremul()
but this will recover the value better closed to origin value.
2015-04-06 22:02:49 +09:00
Jean-Philippe Andre
cc36889d73
Efl.File: Add async property and async_wait() method
...
Summary:
Some other patches in elm will implement support for images.
async means fopen() will happen asynchronously in a thread.
Reviewers: cedric, raster, tasn
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2261
2015-04-06 15:58:55 +09:00
Bogdan Devichev
f8f118f058
evas-3d: T2226 (Evas Eet saver does out of range access) fixed.
...
Summary:
texcoord now is 2D vector
@fix
Reviewers: cedric, Hermet, raster
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2233
2015-04-06 14:13:30 +09:00
Oleksandr Shcherbina
bc8dfbb1ef
[evas/evas_3D] Billboard mechanism
...
Summary:
Add pointer to target billboard node in Evas_3D_Node
Skip set flags change orientation for billboard node
Add method node_billboard_update to use it for change orientation during traverse
by nodes
Split API evas_3d_node_look_at_set to have possibility change orientation of node
without set flags
Reviewers: cedric, Hermet
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2245
2015-04-06 14:10:28 +09:00
Andrii Kroitor
a30091ee93
edje_edit: add program action DRAG_* support to code generation
...
Reviewers: cedric, seoz, raster, reutskiy.v.v, Hermet
Reviewed By: Hermet
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2281
2015-04-06 13:52:28 +09:00
Andrii Kroitor
e7d48d39ca
edje_edit: fix box/table items source generation
...
Reviewers: cedric, seoz, raster, reutskiy.v.v, Hermet
Reviewed By: Hermet
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2282
2015-04-06 13:44:22 +09:00
Andrii Kroitor
77004c5154
edje_edit: fix STATE_SET and SIGNAL_EMIT generation
...
Summary:
edje_cc allows state, signal and source to be "". So edje_edit also should
handle this values as valid and souldn't break programs, that are using them.
Reviewers: cedric, seoz, raster, Hermet
Reviewed By: Hermet
Subscribers: cedric, reutskiy.v.v
Differential Revision: https://phab.enlightenment.org/D2280
2015-04-06 13:40:27 +09:00
Andrii Kroitor
7bbb04d6fa
edje_edit: add 'fixed' support to code generation
...
Reviewers: cedric, seoz, Hermet, raster, Sergeant_Whitespace
Reviewed By: Sergeant_Whitespace
Subscribers: Sergeant_Whitespace, cedric, reutskiy.v.v
Differential Revision: https://phab.enlightenment.org/D2267
2015-04-06 13:24:40 +09:00
Felipe Magno de Almeida
7928609a29
efl: move emodel to be an efl interfaces.
2015-04-05 16:23:38 +02:00
Larry Jr
2f53833331
emodel: api change property_get/set and event modelchange
2015-04-05 15:19:55 +02:00
Cedric BAIL
23cfd2b4f4
eio: fix coding style of Eio_Model.
2015-04-05 15:19:53 +02:00
Cedric BAIL
92be4f9c89
eio: use Eina_Log in Eio_Model.
2015-04-05 15:19:52 +02:00
Larry Jr
9ed6bea380
emodel: API changes and removed unnecessary eina_values copy and stringshares
2015-04-05 15:19:49 +02:00
Guilherme Lepsch
68a31df227
eio: fix mismatch datatypes for internal data model properties.
2015-04-05 15:19:47 +02:00
Larry Jr
05eecf5c8f
emodel: Created Emodel and Eio_Model.
2015-04-05 15:19:45 +02:00
Vincent Torri
c8a9769665
Evas: remove warning while factorizing code
2015-04-05 11:30:56 +03:00
ChunEon Park
513b7c5ed9
evas: fix typo in doc.
2015-04-04 15:04:01 +09:00
Mike Blumenkrantz
0ae06207af
edje: flag param as unused
2015-04-03 21:26:34 -04:00
Mike Blumenkrantz
12acac7035
edje: immediately return NULL when no color classes exist in edje_color_class_active_iterator_new()
2015-04-03 21:26:02 -04:00
Cedric BAIL
6a52271a86
ector: make sure that all of Ector is a beta API.
2015-04-03 16:57:55 +02:00
Cedric BAIL
899b70d3dc
evas: mark Evas VG API as beta API to.
2015-04-03 16:57:35 +02:00
Subhransu Mohanty
85312d56c6
ector: update cairo enum definitions and fix gradient spread issue.
...
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-03 16:38:19 +02:00
Subhransu Mohanty
c8764e9279
ector: fix memory leak in Ector.Renderer.Generic.Base class
...
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-03 16:38:18 +02:00
Subhransu Mohanty
f4d325ee78
evas: fix memory leak in Efl.Vg.Base class.
2015-04-03 16:38:17 +02:00
Subhransu Mohanty
8d584dff34
efl: fix memory leak in efl_gfx_shape_interpolate().
...
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-03 16:38:15 +02:00
Subhransu Mohanty
5c31036249
evas/canvas : bail out in case of empty or null dash.
...
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-03 16:38:14 +02:00
Subhransu Mohanty
2d74a4efb2
efl: fix svg path parsing to handle Z also.
...
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-03 16:38:11 +02:00
Subhransu Mohanty
470d64c85e
efl: update efl_gfx_shape interpolation to use fill color.
...
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-03 16:38:10 +02:00
Cedric BAIL
c44aa8f05d
efl: all those function should have been static already.
2015-04-03 16:38:08 +02:00
Cedric BAIL
41a75f0b07
efl: follow Efl.VG naming by using bounds_get as an API name.
2015-04-03 16:38:08 +02:00
Cedric BAIL
990c088f6b
evas: align naming with ector, use bounds.
2015-04-03 16:38:07 +02:00
Cedric BAIL
65fb92831b
ector: there is no need for bounds get to return a Eina_Bool.
2015-04-03 16:38:06 +02:00
Cedric BAIL
600e69d226
evas: implements efl_vg_bound_get in all Efl.VG object.
2015-04-03 16:38:04 +02:00
Cedric BAIL
c1836b97ed
evas: remove Efl.VG.Image for now as it was not implemented.
2015-04-03 16:38:00 +02:00
Cedric BAIL
2613d17844
evas: remove unused function, no need for untested code.
2015-04-03 16:37:59 +02:00
Cedric BAIL
0eeb19d688
evas: implement stack below and above get for Efl.VG object.
2015-04-03 16:37:58 +02:00
Cedric BAIL
1821aef0c6
evas: add forgotten static in some Efl_VG object.
2015-04-03 16:37:57 +02:00
Cedric BAIL
9e3cfef8d7
evas: add missing boung_get and above/below get.
2015-04-03 16:37:56 +02:00
Cedric BAIL
510a3e42e8
ector: implements bounds_get for gradients in Cairo backend.
2015-04-03 16:37:55 +02:00
Cedric BAIL
2d9bccbfdc
ector: implements bounds_get for Ector_Renderer_Cairo_Shape.
2015-04-03 16:34:30 +02:00
Cedric BAIL
7bca6c00f4
ector: fix the return type of ector_renderer_bounds_get.
2015-04-03 16:34:29 +02:00
Cedric BAIL
30e2b8398e
efl: add path bounding box computation.
...
This code does compute the largest possible bounding box not a minimal one.
2015-04-03 16:34:28 +02:00
Cedric BAIL
8288e0a880
evas: remove SVG loader code.
2015-04-03 16:34:27 +02:00
Cedric BAIL
013b18ea6a
evas: removing the ability to load file in Evas_Object_VG for now.
...
Without events and animation it is not really useful and that can only be
done with a library on top of Ecore.
2015-04-03 16:34:26 +02:00
Cedric BAIL
5310a3ea9c
ector: remove some warning from the Cairo backend.
2015-04-03 16:34:25 +02:00
Cedric BAIL
39f7ce192c
ector: implement surface size property.
2015-04-03 16:34:24 +02:00
Cedric BAIL
0d95e53932
ector: remove useless function for now.
2015-04-03 16:34:23 +02:00
Cedric BAIL
b18b1e89ff
evas: fix Windows build.
2015-04-03 16:34:22 +02:00
Subhransu Mohanty
6c64f2db74
ector: fix transform issue in cairo backend.
...
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-03 16:34:19 +02:00
Subhransu Mohanty
b20872bf68
ector: add cairo_save() and cairo_restore() to fix the transformation issue.
...
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-03 16:34:16 +02:00
Subhransu Mohanty
1c093f3660
evas: fix EVAS_RENDERER_DEBUG_TIMING implementation for async rendering
...
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-03 16:34:15 +02:00
Subhransu Mohanty
03c5e052e8
efl: simplify append_circle() api implementation.
...
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-03 16:34:14 +02:00
Subhransu Mohanty
1f62465916
ector: add mul_col feature in Cairo backend and fixed color handling issue.
...
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-03 16:34:10 +02:00
Subhransu Mohanty
a500249b69
ector: add clipping support for Cairo backend.
...
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-03 16:34:07 +02:00
Subhransu Mohanty
26d8641381
ector: gradient now uses spread while filling a shape for Cairo backend.
...
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-03 16:34:06 +02:00
Subhransu Mohanty
e22752d1eb
ector: use line width, join and cap style while stoking the path for Cairo backend.
...
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-03 16:34:05 +02:00
Subhransu Mohanty
f1e48f8de8
ector: don't draw the gradient if its used as fill object in Cairo backend.
...
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-03 16:34:03 +02:00
Subhransu Sekhar Mohanty
f73352adec
evas : add documentation to legacy vector api's.
...
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-03 16:34:02 +02:00
Subhransu Sekhar Mohanty
e80a759139
evas: add legacy api for creating vg_shape and vg_container object.
...
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-03 16:34:00 +02:00
Subhransu Sekhar Mohanty
b1e663b368
efl: fix efl_gfx_append_rect to clamp radius to always fit inside of the rectangle.
...
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-03 16:33:59 +02:00
Subhransu Sekhar Mohanty
c1c6b7effc
efl: force close of rect shape to prevent to avoid join showing with non rounded rectangle.
...
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-03 16:33:58 +02:00
Cedric BAIL
40b9eea3cb
ector: expose more useful immediate rendering functions to the outside world.
2015-04-03 16:33:57 +02:00
Cedric BAIL
105b375f68
efl: interpolate stroke also.
2015-04-03 16:33:51 +02:00
Subhransu Sekhar Mohanty
0ec75ca05f
ector: fix coding style of freetype backend.
2015-04-03 16:33:50 +02:00
Subhransu Sekhar Mohanty
1d0ce5bc05
ector: fix ector_color_multiply() function
2015-04-03 16:33:49 +02:00
Cedric BAIL
5e5b3750c7
ector: add warning if library is not found.
...
We use the system configuration to find it. So if it doesn't find it, adjust
your system.
2015-04-03 16:33:48 +02:00
Subhransu Sekhar Mohanty
9f88fd068c
ector: add handling of EFL_GFX_PATH_CHANGED signal to Freetype backend.
...
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-04-03 16:33:44 +02:00
Cedric BAIL
29aefe04ad
evas: correctly handle redraw of changed tree of Evas_VG_Node.
2015-04-03 16:33:42 +02:00
Cedric BAIL
728fa26409
ector: use the new infrastructure to detect changed path for Cairo backend.
2015-04-03 16:33:40 +02:00
Cedric BAIL
d14f805793
efl: notify when the path change.
...
This is an easier and safer way than forcing all object inheriting this class
to override all function that modify the path.
2015-04-03 16:33:38 +02:00