Stefan Schmidt [Wed, 29 Jul 2015 15:00:54 +0000 (17:00 +0200)]
NEWS: Small manual tweaks
Most notably removed a merge commit and a commit stating to take EO out of
beta which is not happening for 1.15.
Ji-Youn Park [Wed, 29 Jul 2015 12:56:15 +0000 (21:56 +0900)]
ecore_evas_input: add value to enable mouse button cancel feature
mike reported this feature break the behavior in E19, but I have trouble to reproduce it.
so I first add value to enable this feature and after that,
Daniel Kolesa [Wed, 29 Jul 2015 11:34:14 +0000 (12:34 +0100)]
eina str: remove useless and wrong ifdef for FreeBSD
Jean-Philippe Andre [Wed, 29 Jul 2015 11:00:35 +0000 (20:00 +0900)]
Evas filters: Fix make doc, check when EFL is not installed
Thanks @aerodynamik for even giving the proper environment
variable to set :)
Fixes T2614
Oleksandr Shcherbina [Tue, 28 Jul 2015 20:33:49 +0000 (22:33 +0200)]
evas: fix size of borders in case need generate texture without atlases
Summary:
Set size of texture unit without 2 pixels for borders in case use it without
atlses. Just one case if texture for 3D use repeat mode and non-normalized
tuxture coordinates
Reviewers: Hermet, cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2805
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Chris Michael [Tue, 28 Jul 2015 19:12:17 +0000 (15:12 -0400)]
ecore-evas-wayland-shm: Remove duplicated code on configure event
Summary: As we end up calling ecore_evas_wl_common_resize anyway,
there is no need for all these size calculations in the configure
callback. The resize function will deal with this anyway.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 28 Jul 2015 16:53:20 +0000 (12:53 -0400)]
efl: Bump required wayland library versions
Summary: As a lot of functionality has changed in the relevant efl/e
wayland codebase, we should bump the required wayland library versions
as we are now dependant on updated wayland libraries.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 28 Jul 2015 13:43:16 +0000 (09:43 -0400)]
evas-wayland-shm: Fix issue of surface_swap spamming invalid warning
Summary: Since the surface_swap functionality is changed now, we no
longer need to bother checking if the leaf is busy as we don't use the
leaf itself inside this function anymore.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Derek Foreman [Tue, 28 Jul 2015 13:16:04 +0000 (09:16 -0400)]
wayland-shm: Remove "mapped"
Summary:
Looks like the recent changes to swap/redraw have fixed a problem with
damage tracking and we no longer need this.
Damage history seems ok without it now.
@fix
Reviewers: zmike, devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2876
Derek Foreman [Tue, 28 Jul 2015 13:14:31 +0000 (09:14 -0400)]
wayland-shm: re-organize some of the swap/redraw logic
Summary:
The way things were, we'd be committing a buffer we hadn't rendered to
yet.
Now redraw() contains all the attach/damage/commit logic, and swap() is
called afterwards to set up a new target buffer for the next render.
@fix
Reviewers: zmike, devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2875
Derek Foreman [Tue, 28 Jul 2015 13:13:16 +0000 (09:13 -0400)]
wayland_shm: Don't store frame_cb
Summary:
We don't need to - all the frame callback does for us is ensure a queue
push.
We should destroy any callback we receive when we receive it.
@fix
Reviewers: zmike, devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2874
Jean-Philippe Andre [Tue, 28 Jul 2015 06:49:47 +0000 (15:49 +0900)]
Ecore: Fix invalid lock count if DEBUG is enabled
With -DDEBUG, we can see an error message, like:
ERR: You are calling _ecore_lock() from outside of the main loop
threads in lib/ecore/ecore_private at line 306
Looking at the code shows that ecore_lock fails immediately if
thread debugging is enabled, but ecore_unlock does not, so the
value _ecore_main_lock_count could go below 0.
This is not very important as the value is never used.
Jean-Philippe Andre [Tue, 28 Jul 2015 06:13:59 +0000 (15:13 +0900)]
Evas filters: Fix order of header file includes
This fixes filters on Ubuntu 32 bits.
This was one hell of a weird bug to track down. Everything worked
like a charm on my 64 bit machines, but filters would simply fail
for no good reason: a safety check sees a NULL pointer when clearly
it was properly allocated.
Just after entering a function, the content of an RGBA_Image would
change, even though there was no memory write there. This made the
image data pointer NULL, and filters would fail miserably.
So I printed out the contents of the RGBA_Image, they changed. But
the memory itself had not changed. The size of the struct itself
had changed when jumping from one file to another! But its definition
had not! Non-sense!
Unless of course a system header file was included before config.h
and ino_t or off_t would switch between 32 and 64 bits...
@fix
Jean-Philippe Andre [Tue, 28 Jul 2015 05:17:53 +0000 (14:17 +0900)]
Evas filters: Fix COW usage in filter mixin
Jean-Philippe Andre [Tue, 28 Jul 2015 02:27:08 +0000 (11:27 +0900)]
Evas filters: Disable debug code path
Jean-Philippe Andre [Mon, 27 Jul 2015 08:20:23 +0000 (17:20 +0900)]
Evas filters: Fix invalid rendering in case of async render
This simplifies the code and fixes async buffer management.
@fix
Stefan Schmidt [Mon, 27 Jul 2015 12:17:58 +0000 (14:17 +0200)]
examples: Update .gitignore for binaries
Cedric BAIL [Tue, 28 Jul 2015 01:04:38 +0000 (03:04 +0200)]
ecore_con_eet: fix dereferencing of object during callback that crashed some tests case.
Cedric BAIL [Tue, 28 Jul 2015 00:55:32 +0000 (02:55 +0200)]
ecore_con: fix test to actually send a NULL terminated string.
Ivan Furs [Mon, 27 Jul 2015 23:40:04 +0000 (01:40 +0200)]
evas canvas3d: bounding box does not change the position according object
Summary:
This fix need for synchronous rotation mesh and aabb of "sonic" in example "evas-3d-aabb.c".
@fix
Reviewers: Hermet, cedric
Reviewed By: cedric
Subscribers: sri.hebbar, cedric
Differential Revision: https://phab.enlightenment.org/D2779
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Thiep Ha [Mon, 27 Jul 2015 23:08:11 +0000 (01:08 +0200)]
ecore_ipc: remove redundant code
Summary:
buf is always NULL (already freed and set to NULL).
We don't need to add NULL checking and free it.
Reviewers: raster, cedric, Hermet
Subscribers: seoz, cedric
Differential Revision: https://phab.enlightenment.org/D2783
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Vivek Ellur [Mon, 27 Jul 2015 23:00:34 +0000 (01:00 +0200)]
eina_quaternion: add forgotten implementation of converting eina_matrix3 to eina_quaternion
Summary:
Implemenation of eina_matrix3_quaternion_get function
Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com>
Reviewers: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2786
This was a function I forgot to finish implement. Thanks Vivek to take care of it.
As it comes with a test case, is self contained and fix a missing bit of code I will
push it at this point in time of our release process. Sorry everyone for that late push.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Vivek Ellur [Mon, 27 Jul 2015 22:55:56 +0000 (00:55 +0200)]
eina_quaternion: add test cases for various eina quaternion operations
Summary:
Added test cases for scale, multiply, normalize,dot operations for quaternion
Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com>
Reviewers: cedric
Reviewed By: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2790
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Vivek Ellur [Mon, 27 Jul 2015 22:48:25 +0000 (00:48 +0200)]
eina_quaternion: add test cases for eina f16p16 quaternion functions
Summary:
Added test cases for various operations on eina f16p16 quaternions
Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com>
Reviewers: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2792
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
jiin.moon [Mon, 27 Jul 2015 22:46:05 +0000 (00:46 +0200)]
edje_cc: fix dereference before null check
Summary:
Fix Coverity issue which reports a dereference before null check.
The enc_info can not has NULL point
because _edje_multisense_encode api calls exit() in case of failure
Reviewers: Hermet, Jaehyun, cedric
Reviewed By: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2794
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Seunghun Lee [Mon, 27 Jul 2015 22:41:14 +0000 (00:41 +0200)]
ecore-evas-x: fix typo
Test Plan: N/A
Reviewers: gwanglim, raster, jypark, cedric
Reviewed By: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2832
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Chris Michael [Mon, 27 Jul 2015 19:53:02 +0000 (15:53 -0400)]
evas-wayland-shm: Don't call surface commit until we've setup the frame listener
Summary: This fixes an issue where we may been missing a frame
callback due to the wl_surface_commit being called before the frame
callback listener was setup. Now we will setup the frame callback
listener before doing any wl_surface_commit so that we don't miss
frames.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Daniel Juyung Seo [Mon, 27 Jul 2015 16:20:33 +0000 (01:20 +0900)]
release: Update NEWS and bump version for 1.15.0-beta3 release
Jean-Philippe Andre [Mon, 27 Jul 2015 05:10:29 +0000 (14:10 +0900)]
Evas masking: Fix crash in async rendering
There was a FIXME comment... >_<
Improper management of image resources in async render led to
a rare crash. This should fix that.
@fix
Carsten Haitzler (Rasterman) [Sat, 25 Jul 2015 18:02:06 +0000 (03:02 +0900)]
evas - image data unload - try plug another possible crash path
i am not sure if this is the odd crash i am seeing, but in theory it
could be. as these crashes are rare it's hard to find and gdb is "too
late" other than telling me the image is freed already by the time we
do an unload.
Carsten Haitzler (Rasterman) [Sat, 25 Jul 2015 13:34:17 +0000 (22:34 +0900)]
evas - render2 - ensure region files are in dist
Stefan Schmidt [Fri, 24 Jul 2015 16:51:42 +0000 (18:51 +0200)]
evas/filter: Avoid leak in error path
If format is not found we go out of scope and would leak param. Free instead.
CID 1308610
Carsten Haitzler (Rasterman) [Fri, 24 Jul 2015 14:21:55 +0000 (23:21 +0900)]
evas - image unload - fix unload to only unload imgs needing it
need_unload seems to have been done wrong. using preload not
need_unload. no idea why it checked/cleared preload instead of
need_unload.
Carsten Haitzler (Rasterman) [Tue, 21 Jul 2015 09:01:11 +0000 (18:01 +0900)]
evas render2 work - no new feature - paralell bit of code
*this does not affect any "stable" code paths - it's render2 and some
added region code that i MAY have to use to fix some bugs/issues as i
am noticing tilebuf being pretty silly and just doing bounding boxes.
region code lifted from xserver (mit-x11 license thus compatible with
evas bsd) and it's been stripped down and cleaned up with some tilebuf
optimizations like remembering the last rect add/del to avoid work
when repetedly adding/delling the same rects (very common).
Carsten Haitzler (Rasterman) [Tue, 21 Jul 2015 08:48:47 +0000 (17:48 +0900)]
evas render - fix up debug macros so they don't generate any code
if render debug is not enabled make sure they end up totally empty to
avoid any possible overhead from the optimizer not stripping them out
Srivardhan Hebbar [Fri, 24 Jul 2015 12:40:30 +0000 (13:40 +0100)]
evas grid: Eolian doc conversion of grid.
Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric, tasn, q66
Reviewed By: q66
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2860
Chris Michael [Thu, 23 Jul 2015 14:49:31 +0000 (10:49 -0400)]
ecore-drm: Ignore key events that are not seat wide state changes
Summary: This patch adds some checks to make sure that we can ignore
key events which are not seat wide state changes.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Vincent Torri [Thu, 23 Jul 2015 15:47:28 +0000 (17:47 +0200)]
Ecore_Win32: do not allocate data as it is useless. Fix memory leak.
@fix
Stefan Schmidt [Thu, 23 Jul 2015 15:19:24 +0000 (17:19 +0200)]
examples/emotion: Remove unused callback functions from generic example
Stefan Schmidt [Thu, 23 Jul 2015 15:18:04 +0000 (17:18 +0200)]
examples/ecore_con: Mark some unused parameters as such
Stefan Schmidt [Thu, 23 Jul 2015 15:11:23 +0000 (17:11 +0200)]
examples/evas/shooter: Move image path into file that uses them.
The evas-3d-shooter-header.h is used by two binaries. One is using these image
path and the other not. Which means that we get a bunch of warnings thrown at
us during the compile of the binary which does not use them as unused variables.
Solve this by having them only in the place where they are actually used.
Stefan Schmidt [Thu, 23 Jul 2015 15:03:27 +0000 (17:03 +0200)]
examples/evas/shooter: Add double include guards to header file.
Stefan Schmidt [Thu, 23 Jul 2015 14:48:21 +0000 (16:48 +0200)]
examples/evas/shooter: Remove more unused variables.
Stefan Schmidt [Thu, 23 Jul 2015 14:45:06 +0000 (16:45 +0200)]
examples/evas/shooter: Remove unused variable
The column.ply does not even exist. Might have been removed and this part
forgotten.
Vincent Torri [Thu, 23 Jul 2015 08:36:53 +0000 (10:36 +0200)]
Ecore_Evas GDI engine: free module data
Vincent Torri [Thu, 23 Jul 2015 07:52:31 +0000 (09:52 +0200)]
Evas GDI engine: save the original bitmap into the memory DC
This allows the memory DC to be killed and fix a memory leak
@fix
Jean-Philippe Andre [Thu, 23 Jul 2015 11:07:36 +0000 (20:07 +0900)]
Evas filters: Set state.next to nil when not in transition
This is what the doc says and makes more sense.
That was some kind of inverted logic.
Stefan Schmidt [Thu, 23 Jul 2015 10:14:21 +0000 (12:14 +0200)]
eina: Add since 1.15 tag for environment*get API additions
Stefan Schmidt [Thu, 23 Jul 2015 10:13:01 +0000 (12:13 +0200)]
eina: Add since 1.15 tag for quaternion API additions
Stefan Schmidt [Thu, 23 Jul 2015 10:05:31 +0000 (12:05 +0200)]
eina_evlog: Remove trailing whitespaces while looking at this file.
Stefan Schmidt [Thu, 23 Jul 2015 10:04:35 +0000 (12:04 +0200)]
eina: Add since 1.15 tag for evlog API additions
Stefan Schmidt [Thu, 23 Jul 2015 10:02:42 +0000 (12:02 +0200)]
eina: Add since 1.15 tag for crc API additions
Stefan Schmidt [Thu, 23 Jul 2015 10:00:01 +0000 (12:00 +0200)]
edje: Add since 1.15 tag for language_set API additions
Stefan Schmidt [Thu, 23 Jul 2015 09:58:48 +0000 (11:58 +0200)]
ecore_x: Add since 1.15 tag for keygrab API additions
Stefan Schmidt [Thu, 23 Jul 2015 09:51:08 +0000 (11:51 +0200)]
ecore_x: Add since 1.15 tag for keyrouter API additions
Srivardhan Hebbar [Thu, 23 Jul 2015 09:43:04 +0000 (10:43 +0100)]
evas vg: Eolian doc conversion of vg.
Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric, tasn, q66
Reviewed By: q66
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2857
Daniel Kolesa [Thu, 23 Jul 2015 09:39:44 +0000 (10:39 +0100)]
eina tests, ecore_con tests: fix compiler warnings
Daniel Kolesa [Thu, 23 Jul 2015 09:07:23 +0000 (10:07 +0100)]
eo tests, evas filter tests: fix compiler warnings
Daniel Kolesa [Thu, 23 Jul 2015 09:02:03 +0000 (10:02 +0100)]
eina, ecore_imf: fix uninitialized field warnings
Srivardhan Hebbar [Thu, 23 Jul 2015 08:32:46 +0000 (09:32 +0100)]
evas out: Eolian doc conversion of out.
Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric, tasn, q66
Reviewed By: q66
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2855
Jean-Philippe Andre [Thu, 23 Jul 2015 07:24:29 +0000 (16:24 +0900)]
Evas: Fix wayland-only compilation without Xlib headers
If the Xlib headers are not installed, a special macro must
be defined before including EGL headers.
Jean-Philippe Andre [Mon, 20 Jul 2015 08:33:00 +0000 (17:33 +0900)]
Evas/psd: Remove commented-out debug code
Removing because it matches a grep of <<<< used for merge conflicts :)
Jean-Philippe Andre [Mon, 20 Jul 2015 06:24:04 +0000 (15:24 +0900)]
Evas GL: Add missing call in case of direct rendering
I spotted this by looking at the code in a different branch (that
was tested on real hardware).
Stefan Schmidt [Wed, 22 Jul 2015 15:30:47 +0000 (17:30 +0200)]
Revert "Eolian: fix eolian helper for windows."
This reverts commit
60b473d949c2582695a0ed7e67dc2e2c32eeee1b.
It breaks our mingw cross build setup we are using on jenkins. In summary it
silently fails to use eolian_gen.exe while it should use the linux native
eolian_gen and thus does not generate the c and h files from the eo ones.
See the ml for details or look at the error here:
https://build.enlightenment.org/job/changely_efl_mingw_x86_64/2115/console
Srivardhan Hebbar [Wed, 22 Jul 2015 09:41:39 +0000 (10:41 +0100)]
evas polygon: Eolian doc conversion of polygon.
Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric, tasn, q66
Reviewed By: q66
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2854
Srivardhan Hebbar [Wed, 22 Jul 2015 09:38:59 +0000 (10:38 +0100)]
evas object: Eolion doc conversion of object_smart.
Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric, tasn, q66
Reviewed By: q66
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2853
Vincent Torri [Wed, 22 Jul 2015 05:31:26 +0000 (07:31 +0200)]
Use eina_environment_tmp_get()
Vincent Torri [Wed, 22 Jul 2015 05:28:29 +0000 (07:28 +0200)]
Ecore: lower log level
On Windows, this insanely fills a temporary file, reaching
gigabytes
Vincent Torri [Wed, 22 Jul 2015 03:18:19 +0000 (05:18 +0200)]
Eina: use Eina API in documentation
Vincent Torri [Wed, 22 Jul 2015 03:44:50 +0000 (05:44 +0200)]
Efreet: use eina_file_mkstemp() instead of mkstemp in efreetd.c
Mike Blumenkrantz [Tue, 21 Jul 2015 22:08:16 +0000 (18:08 -0400)]
ecore-x: send last event time along with generic Ecore_X_Event_Client_Message
this won't necessarily be the same time that the client sent the message,
but at least it will provide a better reference point than 0
Daniel Kolesa [Tue, 21 Jul 2015 13:46:25 +0000 (14:46 +0100)]
evas_canvas3d_scene: fix missing color initializer
Daniel Kolesa [Tue, 21 Jul 2015 13:44:38 +0000 (14:44 +0100)]
evas_object_vg: fix missing initializer warning
Daniel Kolesa [Tue, 21 Jul 2015 12:54:23 +0000 (13:54 +0100)]
evas: fix missing render2_walk initializers
This caused annoying compiler warnings that are gone now.
@fix
Srivardhan Hebbar [Tue, 21 Jul 2015 10:57:53 +0000 (11:57 +0100)]
evas textgrid: Eolian doc conversion of Textgrid.Pallelt.
Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric, tasn, q66
Reviewed By: q66
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2847
Srivardhan Hebbar [Tue, 21 Jul 2015 09:23:41 +0000 (10:23 +0100)]
evas box: Eolian doc conversion of box.
Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric, tasn, q66
Reviewed By: tasn, q66
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2845
Daniel Juyung Seo [Mon, 20 Jul 2015 23:09:31 +0000 (08:09 +0900)]
release: Update NEWS and bump version for 1.15.0-beta2 release
Srivardhan Hebbar [Mon, 20 Jul 2015 12:25:27 +0000 (13:25 +0100)]
evas canvas3d: Eolian doc conversion of canvas3d_primitive.
Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric, tasn, q66
Reviewed By: q66
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2842
Srivardhan Hebbar [Mon, 20 Jul 2015 10:53:56 +0000 (11:53 +0100)]
evas canvas3d: Eolian doc conversion of canvas3d_node.
Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric, tasn, q66
Reviewed By: q66
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2839
Srivardhan Hebbar [Fri, 17 Jul 2015 13:54:57 +0000 (14:54 +0100)]
evas canvas: Eolian doc conversion of efl_vg_base.
Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric, tasn, q66
Reviewed By: q66
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2835
Srivardhan Hebbar [Fri, 17 Jul 2015 13:25:48 +0000 (14:25 +0100)]
evas canvas3d: Eolian doc conversion of canvas3d_object.
Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric, tasn, q66
Reviewed By: q66
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2834
Srivardhan Hebbar [Fri, 17 Jul 2015 12:11:01 +0000 (13:11 +0100)]
evas canvas3d: Eolian doc conversion of canvas3d_camera.
Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric, tasn, q66
Reviewed By: q66
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2825
Jean-Philippe Andre [Fri, 17 Jul 2015 04:47:30 +0000 (13:47 +0900)]
Evas GL: Some documentation on sync objects
Jean-Philippe Andre [Fri, 17 Jul 2015 02:50:21 +0000 (11:50 +0900)]
Evas GL: Deprecate API evasglCreateImage
Despite its ugly name, evasglCreateImageForContext should be used
instead, as it's a proper API with evasgl and ctx passed in as
arguments.
Jean-Philippe Andre [Thu, 16 Jul 2015 13:25:36 +0000 (22:25 +0900)]
Evas GL: Fix sync, wlbuffer and image egl ext functions
Before this patch, those EGL/EvasGL functions can not work
without a current context. But EGL does not require any
current context for those to work, or at least, this should
be left to the driver to decide.
Evas GL was only able to get a pointer to the display
if a context was current.
The display pointer should be infered from Evas_GL unless
we can find a current display. EGL does not require a
context to be current in most of these function calls.
This should bring evasgl a little bit closer to EGL in terms
of behaviour (those are EGL-only extensions, btw).
Thanks @spacegrapher for the quick review
@fix
Hosang Kim [Thu, 16 Jul 2015 11:07:39 +0000 (20:07 +0900)]
evas_image : fix unloads cleanup logic
Summary:
Now Evas gl preload feature is disabled.
But if it is turned on, memory crash occurs.
Because evas_gl_common_texture_upload is not excuted immediately.
Test Plan: EVAS_GL_PRELOAD=1 ELM_ENGINE=gl elementary_test -to "photocam"
Reviewers: raster, cedric, woohyun, seoz, Hermet, singh.amitesh, jpeg
Subscribers: jpeg, cedric
Differential Revision: https://phab.enlightenment.org/D2823
Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
Jean-Philippe Andre [Thu, 16 Jul 2015 11:02:47 +0000 (20:02 +0900)]
Ectore: And more build fixes for @mythri! :)
Jean-Philippe Andre [Tue, 14 Jul 2015 04:49:51 +0000 (13:49 +0900)]
Evas filters: Fix color value for invisible
Since the filters default to alpha = 255 the actual value of
invisible / transparent was black.
Jean-Philippe Andre [Fri, 10 Jul 2015 03:37:27 +0000 (12:37 +0900)]
Evas GL: Fix glClear(0,0,0,0) with DR and COPY
When glClear is called in direct rendering move (DR), we usually
have to skip the call altogether because clearing out transparency
would erase the pixels in the evas backbuffer. This means Evas
would not be able to blend an RGBA GLView on top of other objects.
But COPY mode should allow Evas GL to poke holes in a window
backbuffer.
Thanks @spacegrapher for the review :)
NOTE: Elm GLView also needs to pass the render op to its Evas.Image.
@fix
Jean-Philippe Andre [Mon, 13 Jul 2015 07:04:45 +0000 (16:04 +0900)]
Evas GL: Fix internal function pointer
evas_gl_native_context_get is an internal function
passed around from an evas engine to evas_gl so that we can
implement evasglCreateImageForContext without exposing
any evas engine internal structure to evas_gl.
It's all a ittle bit ugly but the previous solution with
dlsym(DEFAULT) didn't work.
Jean-Philippe Andre [Mon, 13 Jul 2015 05:08:08 +0000 (14:08 +0900)]
eina_module: Raise dlopen() error messages to WRN when file exists
Failing to load a module that does not exist is indeed not an error,
but failing to load a module that exists on disk happened probably
because of an error like "symbol not found".
Considering eina_module is most likely used by EFL itself, I believe
an internal linking failure is a warning worth reporting.
Jean-Philippe Andre [Mon, 13 Jul 2015 04:51:10 +0000 (13:51 +0900)]
Evas GL: Fix evasglImageDestroy() from non-evasgl threads
If the TLS variable was not initialized, Evas GL can't get a pointer
to a valid EGLDisplay which is required by eglImageDestroy.
So, we keep track of the dpy used at creation time and use that
if we're in another thread.
Jean-Philippe Andre [Thu, 16 Jul 2015 10:35:48 +0000 (19:35 +0900)]
Ector: Another build fix for @mythri
Srivardhan Hebbar [Thu, 16 Jul 2015 10:16:45 +0000 (11:16 +0100)]
evas canvas3d: Eolian doc conversion of canvas3d_light.
Summary:
Apart from evas_canvas3d_node_look_at_set() all other things are referenced.
Tried to reference it to @Evas.Canvas3D.Node.look_at_set(). But getting error.
Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric, tasn, q66
Reviewed By: q66
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2822
Jean-Philippe Andre [Thu, 16 Jul 2015 02:39:38 +0000 (11:39 +0900)]
Ector: Fix potential build errors with double typedef
Depending on the compiler and its version, having twice a
typedef on the same name may lead to a build failure.
Thanks @mythri for the report.
Daniel Kolesa [Thu, 16 Jul 2015 09:14:44 +0000 (10:14 +0100)]
image_savers/jpeg: actually properly fixed the jump
Tom Hacohen [Thu, 16 Jul 2015 08:34:16 +0000 (09:34 +0100)]
Ecore evas: Correct function name in magic failure.
Why this is done like this, and not just with __func__ in the macro is
beyond me.
Thanks to Vincent Torri for pointing this out.
@fix
Tom Hacohen [Thu, 16 Jul 2015 08:27:40 +0000 (09:27 +0100)]
Eolian: fix eolian helper for windows.
Based on an Elementary patch by Vincent Torri.
@fix
Carsten Haitzler (Rasterman) [Thu, 16 Jul 2015 02:13:29 +0000 (11:13 +0900)]
Revert "image_savers/jpeg: actually use normal jmp_buf/setjmp/longjmp"
This reverts commit
5beb47aa4d65d0be9d75550511dd184e9e69b4d8.
Revert "image_savers/jpeg: fix undefined behavior of using sigsetjmp on jmp_buf"
This reverts commit
84c7751e195ea29efffbe55eaa732e739402a04a.
these end up with efl simply not compiling. efl tree does not build at
all now and this warrants a revert.
lib/evas/.libs/libevas.so: undefined reference to sigjmp'
collect2: error: ld returned 1 exit status
Makefile:19321: recipe for target 'bin/evas/evas_cserve2' failed
.. etc.
Daniel Kolesa [Wed, 15 Jul 2015 19:05:23 +0000 (20:05 +0100)]
image_savers/jpeg: actually use normal jmp_buf/setjmp/longjmp