Cedric Bail [Sat, 6 May 2017 00:17:08 +0000 (17:17 -0700)]
ecore_evas: first step into refactoring extn backend.
Cedric Bail [Sat, 6 May 2017 00:16:03 +0000 (17:16 -0700)]
ecore_evas: first step into refactoring drm backend.
Cedric Bail [Sat, 6 May 2017 00:14:44 +0000 (17:14 -0700)]
ecore_evas: first step into refactoring cocoa backend.
Cedric Bail [Wed, 3 May 2017 23:56:40 +0000 (16:56 -0700)]
ecore_evas: use generic function for rendering ecore_evas buffer backend.
Cedric Bail [Sat, 6 May 2017 00:12:17 +0000 (17:12 -0700)]
ecore_evas: add infrastructure to properly track sub ecore_evas.
Cedric Bail [Sat, 6 May 2017 00:06:15 +0000 (17:06 -0700)]
ecore_evas: add logic to allow partial refactoring of backends.
Cedric Bail [Wed, 3 May 2017 23:08:36 +0000 (16:08 -0700)]
ecore_evas: introduce a generic rendering function.
Cedric Bail [Wed, 3 May 2017 23:08:03 +0000 (16:08 -0700)]
ecore_evas: adjust buffer engine with nicer behavior from evas.
Cedric Bail [Wed, 3 May 2017 23:07:34 +0000 (16:07 -0700)]
evas: always pair RENDER_PRE and RENDER_POST.
Cedric Bail [Wed, 3 May 2017 23:37:19 +0000 (16:37 -0700)]
evas: don't double check if the canvas has changed.
Marcel Hollerbach [Fri, 5 May 2017 15:51:52 +0000 (17:51 +0200)]
elm_cnp: fixup behaviour
On touch devices there is the normal gesture to touch on the screen and
hold until the drag operation started.
For users of a mouse there is the gesture of just click and drag the
mouse away.
This commit changes the behaviour of the start based on the device that
sent the event
Derek Foreman [Fri, 5 May 2017 15:52:05 +0000 (10:52 -0500)]
ecore_drm2: Add checks for using a plane after death
We keep planes on the plane list to ensure a released plane is removed
from display - however this means that if a caller starts messing with
a plane after release, that it could potentially reposition a plane it
doesn't own anymore.
Use EINA_SAFETY macros to prevent this.
Derek Foreman [Thu, 4 May 2017 21:28:10 +0000 (16:28 -0500)]
ecore_drm2: Replace plane state release flag with plane dead flag
The release flag is actually less useful than the existing in_use flag
for determining if a plane is unused. If a new plane is assigned before
the next flip cleans up released planes, then it can point to a released
plane state, and both it and the previous user will be freed on the next
commit, leaking a plane.
Putting the flag in the plane structure fixes this while still allowing us
to keep released planes around to ensure a recently released plane is
cleared from atomic state.
Derek Foreman [Thu, 4 May 2017 20:19:58 +0000 (15:19 -0500)]
ecore_drm2: Call flip test in plane release
If we don't do a flip test, the atomic state isn't updated. This fixes
a potential problem where the last operation in state preparation is
a release - the following commit wouldn't include state from the release.
Derek Foreman [Thu, 4 May 2017 18:41:16 +0000 (13:41 -0500)]
ecore_drm2: Fix flip test error handling
We need to free the atomic req if commit fails, so let's merge these
failure paths and simplify code a bit.
Derek Foreman [Wed, 3 May 2017 15:51:14 +0000 (10:51 -0500)]
ecore_drm2: Require x and y value in plane assign
Saves us a flip test, and gaurantees that we're always testing with a
reasonable x, y and not something leftover from a previous assignment.
Chris Michael [Wed, 3 May 2017 14:57:28 +0000 (10:57 -0400)]
ecore-drm2: Release any marked planes during atomic commit
This patch fixes plane_state values during atomic flip test for any
planes marked for release. When the fb_flip actually completes, we
will remove the marked plane(s) from the output.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 3 May 2017 14:56:07 +0000 (10:56 -0400)]
ecore-drm2: Add 'release' flag for planes
As we cannot immediately remove a plane from an output, due to needing
an atomic commit to actually remove the plane from screen, we can use
a 'release' flag to indicate that a given plane needs removal from the
screen during our next atomic commit.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 3 May 2017 14:43:47 +0000 (10:43 -0400)]
ecore-drm2: Don't remove plane from output list on release
As we need to be able to commit a new plane state for any released
planes, we should not be removing them from the output list just yet.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 3 May 2017 14:34:14 +0000 (10:34 -0400)]
ecore-drm2: Fix formatting
NB: No functional changes
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 3 May 2017 13:22:45 +0000 (09:22 -0400)]
ecore-drm2: Don't assign plane to output list if test fails
There is little point in assigning a plane to the output list if the
atomic flip test fails.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
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.
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.
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.
Derek Foreman [Fri, 28 Apr 2017 20:30:34 +0000 (15:30 -0500)]
ecore_drm2: Add API to update the fb for a plane
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
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
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.
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.
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
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
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.
Derek Foreman [Fri, 28 Apr 2017 16:26:08 +0000 (11:26 -0500)]
ecore_drm2: Fix typo in comment
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.
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.
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
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.
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.
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
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.
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.
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.
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
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.
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.
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.
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.
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.
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
Marcel Hollerbach [Sun, 30 Apr 2017 10:11:08 +0000 (12:11 +0200)]
efl_ui_focus_object: that definition is not needed.
Marcel Hollerbach [Sun, 30 Apr 2017 09:54:04 +0000 (11:54 +0200)]
efl_ui_focus_manager_sub: replace a wrong comment
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
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
Marcel Hollerbach [Sun, 30 Apr 2017 09:35:32 +0000 (11:35 +0200)]
efl_ui_focus_manager: elaborate on what the last object is
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.
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
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.
Daniel Kolesa [Thu, 4 May 2017 13:27:17 +0000 (15:27 +0200)]
eolian: allow future<void> for value-less futures
Andy Williams [Wed, 3 May 2017 19:51:03 +0000 (20:51 +0100)]
elm_code: fix make check, sorry
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
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
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
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
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).
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
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.
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
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
Cedric BAIL [Fri, 28 Apr 2017 23:06:29 +0000 (16:06 -0700)]
ecore_evas: make ecore_evas buffer asynchronous.
Cedric BAIL [Fri, 28 Apr 2017 23:02:09 +0000 (16:02 -0700)]
evas: only call output function on initialized output.
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.
Cedric BAIL [Fri, 28 Apr 2017 20:40:26 +0000 (13:40 -0700)]
ecore_evas: properly warn when we are already rendering.
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.
Andy Williams [Fri, 21 Apr 2017 17:23:05 +0000 (18:23 +0100)]
elm_code: Fix selection,start signal
@fix
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>
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
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
Carsten Haitzler (Rasterman) [Fri, 28 Apr 2017 10:01:26 +0000 (19:01 +0900)]
efl readme - add libunwind to highly recommended for err bt
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.
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
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
Carsten Haitzler (Rasterman) [Fri, 28 Apr 2017 02:24:48 +0000 (11:24 +0900)]
thread fence code - move elsewhere in file to avoid conflicts
Jeeyong Um [Fri, 28 Apr 2017 02:54:11 +0000 (11:54 +0900)]
edje_cc: Fix warning caused by conflict between local & global variable
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>
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>
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>
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.
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.
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.
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.
Derek Foreman [Tue, 25 Apr 2017 16:24:53 +0000 (11:24 -0500)]
ecore_evas_wayland: Make local functions static