Commit Graph

53353 Commits

Author SHA1 Message Date
Derek Foreman 63bc30dd5b ecore_drm2: Fix typo in error message
Stop printing "commit test failed" from non-test commits.
2017-05-05 12:53:21 -05:00
Derek Foreman 950df19c67 ecore_drm2: Add an env var to disable atomic pageflips
Allows testing non-atomic paths without a reboot or a rebuild.
2017-05-05 12:53:21 -05:00
Chris Michael 0595e70b22 ecore-drm2: Do atomic commits per-output
In cases where output monitors have different frequencies, we need to
be doing atomic commits on a per-output basis. This patch modifies the
ecore_drm2_fb_flip function to support doing atomic commits per output.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-05-05 12:53:21 -05:00
Chris Michael 2ba64a4c0a ecore-drm2: Free output atomic request on destruction
When we free an output, make sure we cleanup any existing atomic
commit requests

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-05-05 12:53:20 -05:00
Chris Michael 03cb02fa74 ecore-drm2: Remove newly added atomic API functions
As we need to do atomic commits on a per-output basis, these 2 newly
added API functions can go because these functions did one atomic
commit for all outputs

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-05-05 12:53:20 -05:00
Chris Michael e5de325e90 ecore-drm2: Remove #ifdef for HAVE_ATOMIC in plane_assign function
As there is nothing inside this function which requires any Atomic API
calls, this #ifdef can be removed and the function can then still be
used to assign Primary planes for non-atomic use cases.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-05-05 12:53:20 -05:00
Chris Michael b9f4641762 ecore-drm2: Minor formatting fix
NB: No functional changes

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-05-05 12:53:20 -05:00
Chris Michael 86bd42884a ecore-drm2: Fill output states regardless if atomic
This commit fills in various output 'state' structures during creation
so that those state structures can be reused for pageflip handling
even if Atomic support is not enabled.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-05-05 12:53:20 -05:00
Chris Michael f07f2e6e4e ecore-drm2: Enable filling state structures without atomic support
This commit enables the ability to fill our state structures even if
atomic support is not enabled. This will allow us to reuse those state
structures for dealing with pageflip in both the atomic & non-atomic
use cases.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-05-05 12:53:20 -05:00
Chris Michael e1b26f6320 ecore-drm2: Enable reuse of existing state structures for non-atomic
As there is nothing 'atomic' specific in these structures, we can move
them outside the atomic ifdef and make use of them for handling
pageflip for both atomic and non-atomic use cases.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-05-05 12:53:20 -05:00
Chris Michael eb1ed0fc0a ecore-drm2: Minor formatting fix
NB: No functional changes

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-05-05 12:53:20 -05:00
Marcel Hollerbach 5b8421c550 eo: fix missing event emission
There have been cases where the logic of _event_callback_call break'ed
too early in the event submission.
Reason for that was the line ((const unsigned char *) desc -
(const unsigned char *) it->desc) producing a overflow.

This means the if statement

if (!legacy_compare &&
   ((const unsigned char *) desc - (const unsigned char *) it->desc) < 0)

was true while the pointer desc was smaller than it->desc, which means
the event subscription got aborted, even if it should not.

This turned out on two 32 bit maschines. And led to not rendering apps
anymore.

It was introduced by commit in 605fec91ee.

@fix
2017-05-04 20:44:42 +02:00
Marcel Hollerbach 3633bb4f5e efl_ui_focus_object: that definition is not needed. 2017-05-04 20:44:42 +02:00
Marcel Hollerbach a02b519bf4 efl_ui_focus_manager_sub: replace a wrong comment 2017-05-04 20:44:42 +02:00
Marcel Hollerbach 178b363bac efl_ui_focus_manager: specify the event in the same way evas does 2017-05-04 20:44:42 +02:00
Marcel Hollerbach c9aeeef9a5 efl_ui_focus_manager: the caller gives away the ownership of this list 2017-05-04 20:44:41 +02:00
Marcel Hollerbach 00660723c8 efl_ui_focus_manager: elaborate on what the last object is 2017-05-04 20:44:41 +02:00
Marcel Hollerbach e7281ff67e efl_ui_focus_manager: make documentation clear
jpeg pointed out that the documentation here is missleading and unclear.
2017-05-04 20:44:41 +02:00
Marcel Hollerbach 059239a997 efl_ui_focus_manager: give feedback if setting root worked or not
so a potential caller can make sure if the set of root worked or not
2017-05-04 20:44:41 +02:00
Marcel Hollerbach 0ebe80fa0b efl_ui_focus_manager: rename api from geometry to focus_geometry
otherwise we would clash with efl.gfx.
2017-05-04 20:44:41 +02:00
Daniel Kolesa 802d544265 eolian: allow future<void> for value-less futures 2017-05-04 15:27:17 +02:00
Andy Williams cae34033ef elm_code: fix make check, sorry 2017-05-03 20:51:53 +01:00
Bryce Harrington 29b512b90e Evas_Common: Fix punctuation errors and typos
Reviewers: devilhorns

Reviewed By: devilhorns

Subscribers: devilhorns, stefan_schmidt, cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4842
2017-05-03 15:07:44 -04:00
Bryce Harrington 910c316c17 evas: Rewrite Evas Eo documentation
Summary:
Cleans up grammar, simplifies wording, and elaborates on some details
for better clarity.  Assume the reader will already have a basic
understanding of reference counting and 3D graphics in order to avoid
overexplaining these concepts.

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4837
2017-05-03 12:38:41 +02:00
Bryce Harrington ccd78c7708 examples/evas: Fix missing space before -lm in compilation directions
Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4835
2017-05-03 12:03:40 +02:00
Bryce Harrington 1e1a9df53d evas_canvas3d_mesh: Fix typo
Summary:  Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4838
2017-05-03 11:55:21 +02:00
Andy Williams 3b9e69e888 elm_code: Expose API for inserting text at cursor
widget operations use NULL terminated strings, backend does not.
Refactor some selection code so all selection deletions trigger
undo events (except where they should not).
2017-05-03 08:17:06 +01:00
Al Poole 9b8efc4811 elm_code : LINE_APPEND Render fix
Summary: @fix

Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4839
2017-05-02 20:58:14 +01:00
Stefan Schmidt 2e149f6046 tests: elm: make sure the new focus_common.h file gets into dist
Needed to run check from the dist tarballs.
2017-05-02 17:23:49 +02:00
Jihoon Kim ea8196e411 ecore_imf: Add ecore_imf_context_prediction_hint_set API
Summary: Added a new api to send the prediction hint string to IME.

Test Plan: Tested in Tizen device

Reviewers: woohyun, id213sin, jihoon

Reviewed By: jihoon

Subscribers: cedric, jsuya, z-wony, jpeg

Differential Revision: https://phab.enlightenment.org/D4805
2017-05-02 16:28:10 +09:00
Marcel Hollerbach 2c16e58613 docs: remove wrong line-height
there was a 'line-height: 0%;' that resulted in unreadable edc code in
the Edje Data Collection reference documentation page.

Thank you Jeremy Suntheimer for spotting that!

fix T5438
2017-04-30 09:49:02 +02:00
Cedric BAIL 19c65cdc8d ecore_evas: make ecore_evas buffer asynchronous. 2017-04-28 16:11:23 -07:00
Cedric BAIL 849a182018 evas: only call output function on initialized output. 2017-04-28 16:11:23 -07:00
Cedric BAIL 23dddfffac ecore_evas: do timeout reset on RENDER_POST for future asynchronous rendering. 2017-04-28 16:11:23 -07:00
Cedric BAIL 1bd82596a6 ecore_evas: properly warn when we are already rendering. 2017-04-28 16:11:23 -07:00
Cedric BAIL da8efae8c0 ecore_evas: refactor ecore_evas buffer render logic.
First step into introducing async rendering for ecore_evas buffer.
2017-04-28 16:11:23 -07:00
Andy Williams e99bfd7e7d elm_code: Fix selection,start signal
@fix
2017-04-28 21:18:35 +01:00
Al Poole 7ee68cb4e2 eio: improve Kevent (FreeBSD et. al)
Summary: Adds initial support for file/directory creation and deletion detection.

Reviewers: raster, cedric

Reviewed By: cedric

Subscribers: raster, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2017-04-28 10:17:17 -07:00
Stefan Schmidt 4029b99bb4 bump minimum version requirement of freetype2 to 16.2.10 which equals release 2.5.0.1
For this one I feel like I earned an archaeologist medal. :-)

This is related to the commit raster made in aa92cddb to accommodate for older
freetype version. The TT_INTERPRETER_VERSION_35 define was actually introduced
in the release 2.5.0 which was released in June 2013 which means it had almost
4 years to get picked up. I would consider this safe to be a minimum dependency
for current efl versions.

The trick here is that the release version does not match the library version
spit out by pkg-config. 16.2.10 equals the freetype 2.5.0.1 release in this case.
Better make a note about it in configure for the next poor soul trying to
understand this.

Thanks again to llelectronics for reporting this.
Fix T5437
@fix
2017-04-28 16:09:46 +02:00
Stefan Schmidt 88faca5591 build: bump minimum version requirement of gnutls to 3.3.6
This releases offers the gnutls_certificate_set_x509_trust_dir() API we use in
ecore_con. This gnutls version was release in July 2014 which gave it enough
time to be picked up by distributions.

Thanks a lot to llelectronics for reporting and tracking down the problem.

ref T5437
@fix
2017-04-28 15:25:45 +02:00
Carsten Haitzler 1b523a985a efl readme - add libunwind to highly recommended for err bt 2017-04-28 19:01:26 +09:00
Carsten Haitzler adc75aef45 efl readme - remove liblz4 from recommendations
it's probably not a good idea as it adds some dirty pages for a tiny
lib that we already supply in our source. if your distro demands you
do this - fine. but i wouldnt recommend this highly.
2017-04-28 18:59:44 +09:00
Carsten Haitzler 0bf3da41e4 efl readme - vlc really shouldn't be recommended list if gst is def
recommending vlc and having gts default is probably not good. choose
one or the other ... but not both. so remove from the recommended list
just ebcause it's causing excess deps by packagers apparently
2017-04-28 18:56:17 +09:00
Carsten Haitzler aa92cddb8b evas font code - build on older freetypes without new definitions
use the actual #35 as:

in freetype and it cant change without breaking abi...

@fix
2017-04-28 18:41:39 +09:00
Carsten Haitzler b2ca7a96dc thread fence code - move elsewhere in file to avoid conflicts 2017-04-28 18:41:39 +09:00
Jeeyong Um 26d728be01 edje_cc: Fix warning caused by conflict between local & global variable 2017-04-28 11:54:11 +09:00
Vincent Torri cf2786a849 ecore_evas: fix test in the hide callback in Windows module
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2017-04-27 09:56:23 -07:00
Chris Michael d312f94857 edje: Fix resource leak
The function parse_str returns allocated memory which should be freed
before we exit this function.

Fix Coverity CID1374644

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-04-27 11:05:30 -04:00
Chris Michael 70cb03711d edje: Fix resource leak
The function parse_str returns allocated memory which should be freed
before we exit this function.

Fix Coverity CID1374647

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-04-27 11:02:51 -04:00
Derek Foreman 755577c423 wayland engines: Don't store evas in engine info
We don't need it anymore.
2017-04-26 14:20:47 -05:00