platform/upstream/efl.git
7 years agoecore_drm2: Use stricter cursor plane size check
Derek Foreman [Wed, 3 May 2017 13:01:35 +0000 (08:01 -0500)]
ecore_drm2: Use stricter cursor plane size check

Unfortunately the plane sized returned from the cursor plane query isn't
a limit, it's an exact size.  Sometimes you can use a different size,
but that's completely hardware dependent - so stick to the advertised
size.

7 years agodrm-ee: Use a plane for the evas
Derek Foreman [Fri, 28 Apr 2017 20:49:17 +0000 (15:49 -0500)]
drm-ee: Use a plane for the evas

Assign a plane at startup and update it in flip.

7 years agogl_drm: Support atomic updates
Derek Foreman [Fri, 28 Apr 2017 20:43:09 +0000 (15:43 -0500)]
gl_drm: Support atomic updates

Grab a plane and lock it down for displaying the canvas, update it on
page flip.

7 years agoecore_drm2: Add API to update the fb for a plane
Derek Foreman [Fri, 28 Apr 2017 20:30:34 +0000 (15:30 -0500)]
ecore_drm2: Add API to update the fb for a plane

7 years agoecore_drm2: Rebuild atomic state from plane_destination_set
Derek Foreman [Fri, 28 Apr 2017 20:22:47 +0000 (15:22 -0500)]
ecore_drm2: Rebuild atomic state from plane_destination_set

Call a test commit to rebuild the atomic_req

7 years agoecore_drm2: Fix atomic flip with no new buffer
Derek Foreman [Fri, 28 Apr 2017 20:15:59 +0000 (15:15 -0500)]
ecore_drm2: Fix atomic flip with no new buffer

We don't have an atomic state, so we need to create one before the flip

7 years agoecore_drm2: Pass user data to atomic flip
Derek Foreman [Fri, 28 Apr 2017 19:51:46 +0000 (14:51 -0500)]
ecore_drm2: Pass user data to atomic flip

We need the user_data to come back to us in the flip handler like it does
in the non atomic flip.

7 years agoecore_drm2: Add some atomic state tracking
Derek Foreman [Fri, 28 Apr 2017 17:28:39 +0000 (12:28 -0500)]
ecore_drm2: Add some atomic state tracking

I think we're now at the point where the two paths are merged.

Still no atomic functionality because nothing assigned the primary plane,
so we have no atomic state to commit.  The machinery should be in place
though.

7 years agoecore_drm2: Handle atomic state in _release_buffer
Derek Foreman [Fri, 28 Apr 2017 17:23:28 +0000 (12:23 -0500)]
ecore_drm2: Handle atomic state in _release_buffer

Further merging of atomic and non-atomic paths

7 years agoecore_drm2: Make _release_buffer take a state struct instead of fb
Derek Foreman [Fri, 28 Apr 2017 17:22:04 +0000 (12:22 -0500)]
ecore_drm2: Make _release_buffer take a state struct instead of fb

Lets us push the NULL set into _release_buffer for some clean up

7 years agoecore_drm2: Refactor common code from non-atomic path
Derek Foreman [Fri, 28 Apr 2017 16:27:10 +0000 (11:27 -0500)]
ecore_drm2: Refactor common code from non-atomic path

We'll need to perform all this for atomic operations as well.

7 years agoecore_drm2: Fix typo in comment
Derek Foreman [Fri, 28 Apr 2017 16:26:08 +0000 (11:26 -0500)]
ecore_drm2: Fix typo in comment

7 years agoecore_drm2: treat atomic flip without a req as an error
Derek Foreman [Fri, 28 Apr 2017 15:38:30 +0000 (10:38 -0500)]
ecore_drm2: treat atomic flip without a req as an error

We should use the safety macro here instead of silently continuing so we
can get something in the log if this happens.

7 years agoecore_drm2: remove fb parameter from _fb_flip()
Derek Foreman [Thu, 27 Apr 2017 21:52:09 +0000 (16:52 -0500)]
ecore_drm2: remove fb parameter from _fb_flip()

Time to start smashing the atomic and non-atomic paths together.

7 years agoecore_drm2: Replace output fbs with state structs
Derek Foreman [Thu, 27 Apr 2017 21:43:06 +0000 (16:43 -0500)]
ecore_drm2: Replace output fbs with state structs

next, pending, and current are going to have to deal with atomic state
instead of just fbs soon

7 years agoecore_drm2: Move atomic state into an output state struct
Derek Foreman [Thu, 27 Apr 2017 21:02:59 +0000 (16:02 -0500)]
ecore_drm2: Move atomic state into an output state struct

This should make it easier to share code paths between atomic and non
atomic operations.

7 years agoecore_drm2: Perform test flip during plane assignment
Derek Foreman [Thu, 27 Apr 2017 20:53:16 +0000 (15:53 -0500)]
ecore_drm2: Perform test flip during plane assignment

Make sure we can commit that plane at assign time so when we hook up to
the scene graph it knows when it can safely use a plane.

7 years agoecore_drm2: Drop static from _fb_atomic_flip_test()
Derek Foreman [Thu, 27 Apr 2017 20:50:38 +0000 (15:50 -0500)]
ecore_drm2: Drop static from _fb_atomic_flip_test()

We're going to need this one in plane assign to test commits

7 years agoecore_drm2: remove flip test from commit path
Derek Foreman [Thu, 27 Apr 2017 20:47:12 +0000 (15:47 -0500)]
ecore_drm2: remove flip test from commit path

We'll be doing tests as we build up plane state assignment.  it's too late
to do anything about it if we fail here - failed tests will block plane
assignment in the first place so the scene graph knows it still has to
render those visual elements.

7 years agoecore_drm2: Add ecore_drm2_plane_release to release planes
Derek Foreman [Thu, 27 Apr 2017 20:45:51 +0000 (15:45 -0500)]
ecore_drm2: Add ecore_drm2_plane_release to release planes

Opposite of plane assign.

7 years agoecore_drm2: Store output in plane structure
Derek Foreman [Fri, 28 Apr 2017 20:17:07 +0000 (15:17 -0500)]
ecore_drm2: Store output in plane structure

This will simplify a bunch of API that would otherwise have to pass in
both output and plane - and in some cases we might not have the output
handy anyway.

7 years agoecore_drm2: Remove next, current, pending from plane state
Derek Foreman [Thu, 27 Apr 2017 20:45:07 +0000 (15:45 -0500)]
ecore_drm2: Remove next, current, pending from plane state

These will be output state eventually

7 years agoecore_drm2: Assign planes in ecore_drm2_plane_assign
Derek Foreman [Thu, 27 Apr 2017 20:44:22 +0000 (15:44 -0500)]
ecore_drm2: Assign planes in ecore_drm2_plane_assign

Don't just test, allocate the resource, and then prevent further
assignments from trying to use it as well.

7 years agoecore_drm2: Don't use drmModeAtomicMerge
Derek Foreman [Thu, 27 Apr 2017 20:34:52 +0000 (15:34 -0500)]
ecore_drm2: Don't use drmModeAtomicMerge

We're creating the entire state from scratch already - trying to merge
with the old state will likely bring in state we just tried to replace.

7 years agoecore_drm2: Remove extra #ifdef
Derek Foreman [Thu, 27 Apr 2017 15:53:26 +0000 (10:53 -0500)]
ecore_drm2: Remove extra #ifdef

It's the same as the previous one, so combine them.

7 years agoecore_drm2: Fix typo in error message
Derek Foreman [Thu, 27 Apr 2017 15:13:46 +0000 (10:13 -0500)]
ecore_drm2: Fix typo in error message

Stop printing "commit test failed" from non-test commits.

7 years agoecore_drm2: Add an env var to disable atomic pageflips
Derek Foreman [Thu, 27 Apr 2017 15:13:14 +0000 (10:13 -0500)]
ecore_drm2: Add an env var to disable atomic pageflips

Allows testing non-atomic paths without a reboot or a rebuild.

7 years agoecore-drm2: Do atomic commits per-output
Chris Michael [Thu, 27 Apr 2017 13:11:41 +0000 (09:11 -0400)]
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>
7 years agoecore-drm2: Free output atomic request on destruction
Chris Michael [Thu, 27 Apr 2017 13:10:43 +0000 (09:10 -0400)]
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>
7 years agoecore-drm2: Remove newly added atomic API functions
Chris Michael [Thu, 27 Apr 2017 13:09:46 +0000 (09:09 -0400)]
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>
7 years agoecore-drm2: Remove #ifdef for HAVE_ATOMIC in plane_assign function
Chris Michael [Tue, 25 Apr 2017 14:29:00 +0000 (10:29 -0400)]
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>
7 years agoecore-drm2: Minor formatting fix
Chris Michael [Tue, 25 Apr 2017 14:27:37 +0000 (10:27 -0400)]
ecore-drm2: Minor formatting fix

NB: No functional changes

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoecore-drm2: Fill output states regardless if atomic
Chris Michael [Tue, 25 Apr 2017 14:14:36 +0000 (10:14 -0400)]
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>
7 years agoecore-drm2: Enable filling state structures without atomic support
Chris Michael [Tue, 25 Apr 2017 14:10:54 +0000 (10:10 -0400)]
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>
7 years agoecore-drm2: Enable reuse of existing state structures for non-atomic
Chris Michael [Tue, 25 Apr 2017 14:09:48 +0000 (10:09 -0400)]
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>
7 years agoecore-drm2: Minor formatting fix
Chris Michael [Tue, 25 Apr 2017 13:12:18 +0000 (09:12 -0400)]
ecore-drm2: Minor formatting fix

NB: No functional changes

Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoeo: fix missing event emission
Marcel Hollerbach [Thu, 4 May 2017 18:22:06 +0000 (20:22 +0200)]
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 605fec91ee7.

@fix

7 years agoefl_ui_focus_object: that definition is not needed.
Marcel Hollerbach [Sun, 30 Apr 2017 10:11:08 +0000 (12:11 +0200)]
efl_ui_focus_object: that definition is not needed.

7 years agoefl_ui_focus_manager_sub: replace a wrong comment
Marcel Hollerbach [Sun, 30 Apr 2017 09:54:04 +0000 (11:54 +0200)]
efl_ui_focus_manager_sub: replace a wrong comment

7 years agoefl_ui_focus_manager: specify the event in the same way evas does
Marcel Hollerbach [Sun, 30 Apr 2017 09:36:19 +0000 (11:36 +0200)]
efl_ui_focus_manager: specify the event in the same way evas does

7 years agoefl_ui_focus_manager: the caller gives away the ownership of this list
Marcel Hollerbach [Sun, 30 Apr 2017 09:35:55 +0000 (11:35 +0200)]
efl_ui_focus_manager: the caller gives away the ownership of this list

7 years agoefl_ui_focus_manager: elaborate on what the last object is
Marcel Hollerbach [Sun, 30 Apr 2017 09:35:32 +0000 (11:35 +0200)]
efl_ui_focus_manager: elaborate on what the last object is

7 years agoefl_ui_focus_manager: make documentation clear
Marcel Hollerbach [Sun, 30 Apr 2017 09:26:10 +0000 (11:26 +0200)]
efl_ui_focus_manager: make documentation clear

jpeg pointed out that the documentation here is missleading and unclear.

7 years agoefl_ui_focus_manager: give feedback if setting root worked or not
Marcel Hollerbach [Sun, 30 Apr 2017 09:25:17 +0000 (11:25 +0200)]
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

7 years agoefl_ui_focus_manager: rename api from geometry to focus_geometry
Marcel Hollerbach [Sun, 30 Apr 2017 08:57:56 +0000 (10:57 +0200)]
efl_ui_focus_manager: rename api from geometry to focus_geometry

otherwise we would clash with efl.gfx.

7 years agoeolian: allow future<void> for value-less futures
Daniel Kolesa [Thu, 4 May 2017 13:27:17 +0000 (15:27 +0200)]
eolian: allow future<void> for value-less futures

7 years agoelm_code: fix make check, sorry
Andy Williams [Wed, 3 May 2017 19:51:03 +0000 (20:51 +0100)]
elm_code: fix make check, sorry

7 years agoEvas_Common: Fix punctuation errors and typos
Bryce Harrington [Wed, 3 May 2017 19:07:44 +0000 (15:07 -0400)]
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

7 years agoevas: Rewrite Evas Eo documentation
Bryce Harrington [Wed, 3 May 2017 10:38:41 +0000 (12:38 +0200)]
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

7 years agoexamples/evas: Fix missing space before -lm in compilation directions
Bryce Harrington [Wed, 3 May 2017 10:03:40 +0000 (12:03 +0200)]
examples/evas: Fix missing space before -lm in compilation directions

Subscribers: cedric, jpeg

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

7 years agoevas_canvas3d_mesh: Fix typo
Bryce Harrington [Wed, 3 May 2017 09:55:21 +0000 (11:55 +0200)]
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

7 years agoelm_code: Expose API for inserting text at cursor
Andy Williams [Wed, 3 May 2017 07:17:06 +0000 (08:17 +0100)]
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).

7 years agoelm_code : LINE_APPEND Render fix
Al Poole [Tue, 2 May 2017 19:57:36 +0000 (20:57 +0100)]
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

7 years agotests: elm: make sure the new focus_common.h file gets into dist
Stefan Schmidt [Tue, 2 May 2017 15:23:49 +0000 (17:23 +0200)]
tests: elm: make sure the new focus_common.h file gets into dist

Needed to run check from the dist tarballs.

7 years agoecore_imf: Add ecore_imf_context_prediction_hint_set API
Jihoon Kim [Tue, 2 May 2017 07:28:10 +0000 (16:28 +0900)]
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

7 years agodocs: remove wrong line-height
Marcel Hollerbach [Sun, 30 Apr 2017 07:45:29 +0000 (09:45 +0200)]
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

7 years agoecore_evas: make ecore_evas buffer asynchronous.
Cedric BAIL [Fri, 28 Apr 2017 23:06:29 +0000 (16:06 -0700)]
ecore_evas: make ecore_evas buffer asynchronous.

7 years agoevas: only call output function on initialized output.
Cedric BAIL [Fri, 28 Apr 2017 23:02:09 +0000 (16:02 -0700)]
evas: only call output function on initialized output.

7 years agoecore_evas: do timeout reset on RENDER_POST for future asynchronous rendering.
Cedric BAIL [Fri, 28 Apr 2017 20:41:54 +0000 (13:41 -0700)]
ecore_evas: do timeout reset on RENDER_POST for future asynchronous rendering.

7 years agoecore_evas: properly warn when we are already rendering.
Cedric BAIL [Fri, 28 Apr 2017 20:40:26 +0000 (13:40 -0700)]
ecore_evas: properly warn when we are already rendering.

7 years agoecore_evas: refactor ecore_evas buffer render logic.
Cedric BAIL [Fri, 28 Apr 2017 20:28:43 +0000 (13:28 -0700)]
ecore_evas: refactor ecore_evas buffer render logic.

First step into introducing async rendering for ecore_evas buffer.

7 years agoelm_code: Fix selection,start signal
Andy Williams [Fri, 21 Apr 2017 17:23:05 +0000 (18:23 +0100)]
elm_code: Fix selection,start signal

@fix

7 years agoeio: improve Kevent (FreeBSD et. al)
Al Poole [Fri, 28 Apr 2017 17:16:41 +0000 (10:16 -0700)]
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>
7 years agobump minimum version requirement of freetype2 to 16.2.10 which equals release 2.5.0.1
Stefan Schmidt [Fri, 28 Apr 2017 14:00:52 +0000 (16:00 +0200)]
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

7 years agobuild: bump minimum version requirement of gnutls to 3.3.6
Stefan Schmidt [Fri, 28 Apr 2017 13:25:45 +0000 (15:25 +0200)]
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

7 years agoefl readme - add libunwind to highly recommended for err bt
Carsten Haitzler (Rasterman) [Fri, 28 Apr 2017 10:01:26 +0000 (19:01 +0900)]
efl readme - add libunwind to highly recommended for err bt

7 years agoefl readme - remove liblz4 from recommendations
Carsten Haitzler (Rasterman) [Fri, 28 Apr 2017 09:59:44 +0000 (18:59 +0900)]
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.

7 years agoefl readme - vlc really shouldn't be recommended list if gst is def
Carsten Haitzler (Rasterman) [Fri, 28 Apr 2017 09:56:17 +0000 (18:56 +0900)]
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

7 years agoevas font code - build on older freetypes without new definitions
Carsten Haitzler (Rasterman) [Fri, 28 Apr 2017 09:37:40 +0000 (18:37 +0900)]
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

7 years agothread fence code - move elsewhere in file to avoid conflicts
Carsten Haitzler (Rasterman) [Fri, 28 Apr 2017 02:24:48 +0000 (11:24 +0900)]
thread fence code - move elsewhere in file to avoid conflicts

7 years agoedje_cc: Fix warning caused by conflict between local & global variable
Jeeyong Um [Fri, 28 Apr 2017 02:54:11 +0000 (11:54 +0900)]
edje_cc: Fix warning caused by conflict between local & global variable

7 years agoecore_evas: fix test in the hide callback in Windows module
Vincent Torri [Wed, 26 Apr 2017 20:39:39 +0000 (22:39 +0200)]
ecore_evas: fix test in the hide callback in Windows module

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agoedje: Fix resource leak
Chris Michael [Thu, 27 Apr 2017 15:05:30 +0000 (11:05 -0400)]
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>
7 years agoedje: Fix resource leak
Chris Michael [Thu, 27 Apr 2017 15:02:51 +0000 (11:02 -0400)]
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>
7 years agowayland engines: Don't store evas in engine info
Derek Foreman [Wed, 26 Apr 2017 19:20:47 +0000 (14:20 -0500)]
wayland engines: Don't store evas in engine info

We don't need it anymore.

7 years agowayland_shm: Stop using the evas directly to block for async render
Derek Foreman [Wed, 26 Apr 2017 19:16:37 +0000 (14:16 -0500)]
wayland_shm: Stop using the evas directly to block for async render

Use the new fence function instead.

This makes Cedric less unhappy.

7 years agoevas: Add a function to block for render thread completion
Derek Foreman [Wed, 26 Apr 2017 18:44:33 +0000 (13:44 -0500)]
evas: Add a function to block for render thread completion

This is needed by dmabuf engine fallback when it realizes it locally
allocated a buffer, has been rendering to it, but the compositor can't use
it.

So the engine copies its buffer contents into a new wl_shm buffer and
continues from there - however we need to make sure the async renderer
has finished first, so we don't copy a partial buffer.

This allows us to block for all previously submit actions in the render
queue to complete.

7 years agogl_drm:Rename import_simple_dmabuf to gl_import_simple_dmabuf
Derek Foreman [Tue, 25 Apr 2017 20:57:43 +0000 (15:57 -0500)]
gl_drm:Rename import_simple_dmabuf to gl_import_simple_dmabuf

There's also an ecore_drm2 function to import dmabuf as fb, so it's a
little less confusing to be a little more explicit here.

7 years agoecore_evas_wayland: Make local functions static
Derek Foreman [Tue, 25 Apr 2017 16:24:53 +0000 (11:24 -0500)]
ecore_evas_wayland: Make local functions static

7 years agoecore_evas_wayland: Remove unused functions
Derek Foreman [Tue, 25 Apr 2017 16:18:22 +0000 (11:18 -0500)]
ecore_evas_wayland: Remove unused functions

7 years agoecore_evas_wayland: Remove unnecessary function prototypes
Derek Foreman [Tue, 25 Apr 2017 16:00:34 +0000 (11:00 -0500)]
ecore_evas_wayland: Remove unnecessary function prototypes

7 years agoecore_evas_wayland_common: Reorder functions
Derek Foreman [Tue, 25 Apr 2017 15:59:33 +0000 (10:59 -0500)]
ecore_evas_wayland_common: Reorder functions

Try to put these in order so we don't need prototypes

No functional changes

7 years agoecore_evas: Add doxygen for ecore_evas_gl_x11_options_new()
Bryce Harrington [Wed, 26 Apr 2017 17:34:52 +0000 (13:34 -0400)]
ecore_evas: Add doxygen for ecore_evas_gl_x11_options_new()

Reviewers: devilhorns

Subscribers: cedric, jpeg

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

7 years agoeo: move all the key_ properties to C
Daniel Kolesa [Wed, 26 Apr 2017 14:18:49 +0000 (16:18 +0200)]
eo: move all the key_ properties to C

7 years agoeo: move wref_add/wref_del to C
Daniel Kolesa [Wed, 26 Apr 2017 13:01:44 +0000 (15:01 +0200)]
eo: move wref_add/wref_del to C

7 years agoeo: move future_link to C
Daniel Kolesa [Wed, 26 Apr 2017 12:25:37 +0000 (14:25 +0200)]
eo: move future_link to C

7 years agoecore: efl_promise: remove superfluous NULL check
Stefan Schmidt [Wed, 26 Apr 2017 13:12:53 +0000 (15:12 +0200)]
ecore: efl_promise: remove superfluous NULL check

f is already checked against NULL in the eina array macro. No need to check
again.

CID: 1362730

7 years agoeldbus: check return of dbus_signature_iter_next()
Stefan Schmidt [Wed, 26 Apr 2017 12:49:37 +0000 (14:49 +0200)]
eldbus: check return of dbus_signature_iter_next()

CID: 1341856

7 years agoevas_filter: initialize was_empty to false to have a defined state
Stefan Schmidt [Wed, 26 Apr 2017 12:16:14 +0000 (14:16 +0200)]
evas_filter: initialize was_empty to false to have a defined state

It is used further below in an if clause but might not have been
initialized at that point.

CID: 1374276

7 years agoevas: gl_filters: fix leak of evas image
Stefan Schmidt [Wed, 26 Apr 2017 11:56:59 +0000 (13:56 +0200)]
evas: gl_filters: fix leak of evas image

Make sure we free the allocated use_map evas image before leaving scope.

CID: 1374275

7 years agoevas: fix logic in evas_events.c
Jaeun Choi [Wed, 26 Apr 2017 08:16:16 +0000 (17:16 +0900)]
evas: fix logic in evas_events.c

Summary:
when collecting the objects under a mouse pointer,
evas uses the geometry of an object to decide
whether the mouse pointer is inside the area of the object,
which is inappropriate for a mapped object.
so mapped objects don't receive mouse events when they should.
this patch fixes the issue.

Test Plan: A sample code will be added as comments

Reviewers: jpeg, raster

Subscribers: cedric, eunue

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

7 years agoelm_fileselector: made fileselector styling more flexible
Vyacheslav Reutskiy [Wed, 26 Apr 2017 08:16:01 +0000 (11:16 +0300)]
elm_fileselector: made fileselector styling more flexible

Previously the progressbar in fileselector use hardcoded style name
"wheel", that made unpossible to create different style for
fileselector. This commit made it possible.

@fix

7 years agoelm_cursor: add style name for sub cursor
Vyacheslav Reutskiy [Wed, 26 Apr 2017 05:57:22 +0000 (08:57 +0300)]
elm_cursor: add style name for sub cursor

Missing style name for sub cursor call the next error output:

ERR<24193>:elementary lib/elementary/els_cursor.c:734 elm_cursor_theme()
Could not apply the theme to the cursor style=(null)

Also this error call extra recalc for cursor hot spots.

Fixes T5408
@fix

7 years agoEcore_Evas: use window states and event property to fix ecore_evas_fullscreen_set()
Vincent Torri [Wed, 26 Apr 2017 05:32:11 +0000 (07:32 +0200)]
Ecore_Evas: use window states and event property to fix ecore_evas_fullscreen_set()

This implies that elm_win_fullscreen_set() is also fixed

@fix

7 years agoEcore_Win32: add Property event API
Vincent Torri [Wed, 26 Apr 2017 05:17:04 +0000 (07:17 +0200)]
Ecore_Win32: add Property event API

@feature

7 years agoEcore_Win32: add ecore_win32_window_state_get() API to retrieve a window states
Vincent Torri [Wed, 26 Apr 2017 05:10:21 +0000 (07:10 +0200)]
Ecore_Win32: add ecore_win32_window_state_get() API to retrieve a window states

@feature

7 years agoEcore_Win32: update fullscreen state
Vincent Torri [Wed, 26 Apr 2017 04:56:42 +0000 (06:56 +0200)]
Ecore_Win32: update fullscreen state

7 years agoEcore_Win32: follow a bit more X code
Vincent Torri [Wed, 26 Apr 2017 04:53:57 +0000 (06:53 +0200)]
Ecore_Win32: follow a bit more X code

7 years agoEcore_Evas: clean up Windows module
Vincent Torri [Wed, 26 Apr 2017 04:47:13 +0000 (06:47 +0200)]
Ecore_Evas: clean up Windows module

7 years agoEcore_Win32: fix information message
Vincent Torri [Wed, 26 Apr 2017 04:19:20 +0000 (06:19 +0200)]
Ecore_Win32: fix information message