Commit Graph

31386 Commits

Author SHA1 Message Date
jiin.moon 94abb3a422 ecore_evas: Fix crash in async render
Summary:
The root cause of the crash is freed memory.
The evas_object_image_data_set api called with extn buffer in _ipc_server_data.
But there is no inform to render when free this buffer.
@fix

Reviewers: Hermet, jpeg, jypark

Subscribers: stefan_schmidt, cedric

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

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
2015-08-04 11:59:24 +09:00
Carsten Haitzler d31098fcec evas image unload - fix free path to remove from pending list
this should fix T2580
2015-08-04 10:47:38 +09:00
Nicolas Aguirre da919e609e Revert "[HACK] configure.ac: Forces linking with -lEGL"
This reverts commit 9f8f64b697.
2015-08-03 14:35:00 +02:00
Nicolas Aguirre d54ef1d593 Revert "[HACK] ecore_evas_fb: Comments ecore_fb_ts calls that aren't resolved at runtime"
This reverts commit ff5f8a0412.
2015-08-03 14:34:59 +02:00
Nicolas Aguirre 2415d8d352 Revert "configure.ac: Don't check for Xprint extension. cf:"
This reverts commit 9e0cd04cdc.
2015-08-03 14:34:58 +02:00
Nicolas Aguirre b79ab57226 Revert "Include <Eet.h> where needed. cf:"
This reverts commit 877338659b.
2015-08-03 14:34:57 +02:00
Nicolas Aguirre d990a7b12a Revert "Adds support of the eglfs module in the autotools config"
This reverts commit 3b2074aa71.
2015-08-03 14:34:57 +02:00
Nicolas Aguirre c1a483f2af Revert "evas: Adds an eglfs module"
This reverts commit 270215889d.
2015-08-03 14:34:56 +02:00
Nicolas Aguirre 3594b230af Revert "ecore_evas: Adds an eglfs module"
This reverts commit a254725d6d.
2015-08-03 14:34:54 +02:00
Florent Revest 9f8f64b697 [HACK] configure.ac: Forces linking with -lEGL 2015-08-03 14:16:35 +02:00
Florent Revest ff5f8a0412 [HACK] ecore_evas_fb: Comments ecore_fb_ts calls that aren't resolved at runtime 2015-08-03 14:16:35 +02:00
Florent Revest 9e0cd04cdc configure.ac: Don't check for Xprint extension. cf:
https://github.com/openembedded/meta-oe/blob/master/meta-efl/recipes-efl/efl/efl/0001-configure.ac-Don-t-check-for-Xprint-extension.patch
2015-08-03 14:16:35 +02:00
Florent Revest 877338659b Include <Eet.h> where needed. cf:
https://github.com/openembedded/meta-oe/blob/master/meta-efl/recipes-efl/efl/efl/0002-evas_3d-Add-Eet.h-includes.patch
2015-08-03 14:16:35 +02:00
Florent Revest 3b2074aa71 Adds support of the eglfs module in the autotools config 2015-08-03 14:16:35 +02:00
Florent Revest 270215889d evas: Adds an eglfs module 2015-08-03 14:16:35 +02:00
Florent Revest a254725d6d ecore_evas: Adds an eglfs module 2015-08-03 14:16:35 +02:00
Srivardhan Hebbar 715e0a2508 ecore_con: Correcting ece_svr to ece_cl in test case.
Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: cedric

Subscribers: stefan_schmidt, cedric

Differential Revision: https://phab.enlightenment.org/D2903
2015-08-03 12:17:22 +02:00
Yomi c1f9152f10 eio: grammar and typo fixes in docs.
Summary:
Fix a sentence.

Changes:

     src/examples/eio/eio_file_ls.c

Reviewers: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2894
2015-08-03 11:59:03 +02:00
Cedric BAIL a07c526460 eina: add intermediate inline function for eina_crc.
This is necessary to make my life easier when adding assembling implementation
of eina_crc.
2015-08-03 11:51:22 +02:00
Jean-Philippe Andre 868d0fb2e8 ecore_pipe: Fix potential double close
p->fd_read can be closed in _ecore_pipe_read (from a previous loop)

CID 1267459
2015-08-03 12:27:21 +09:00
Jean-Philippe Andre 7bfecbdaf2 eina/btlog: Fix some Coverity issues
CID 1297406
CID 1297408
CID 1297409
2015-08-03 12:27:21 +09:00
Ryuan Choi bddce0b650 Eeze: Fix build break with --disable-libmount
While compiling eeze_disk_dummy.c, eeze_mount_tabs_watch does not have visibility
because EAPI is cleared by Ecore.h in Eeze_Disk.h.
2015-08-01 00:17:37 +09:00
Tom Hacohen 7ffa4d1367 Evas text: Migrate docs to new Eolian format. 2015-07-31 16:00:23 +01:00
Daniel Kolesa b2bfd64f26 eolian: different error for validating @since 2015-07-31 15:55:24 +01:00
Tom Hacohen e851249db7 Evas table: Migrate docs to new Eolian format. 2015-07-31 15:38:18 +01:00
Chris Michael a4ab05aadd evas-wayland-shm: Use wl_display_dispatch_pending to wait for buffers
Summary: This fixes T2625 where launching filemanager would cause a
deadlock. The issue here is that wl_display_dispatch actually uses
poll() which will block and wait, while using
wl_display_dispatch_pending does not case any blocking.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-31 09:58:08 -04:00
ChunEon Park a0a038681c specify ector licenses. 2015-07-31 16:25:42 +09:00
Jean-Philippe Andre 81f1f5db17 Evas filters: Fix invalid sizeof
CID 1308609
2015-07-31 13:24:17 +09:00
Derek Foreman 99af748e4b wayland-shm: When we run out of shm buffers kick the server to get some back
Summary:
This fixes a rendering issue with wayland apps. We consume all buffers then
drop any attempted renders that take place while we have no buffers.
This fix now waits for the server to give us some buffers back.
This is the cause of T2612

@fix

 #Kansas

Reviewers: zmike, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2897
2015-07-30 15:37:21 -04:00
Chris Michael 9c432ca590 ecore-evas-wayland: Remove unused variable
Summary: As we no longer need the wdata here (see previous commit), we
can remove the usage of this variable

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-30 15:30:36 -04:00
Chris Michael 82de5a66d7 ecore-evas-wayland: Remove call to ecore_wl_window_update_location
Summary: This function should really not be called here as it triggers
an xdg_surface_set_window_geometry call which (in turn) should only be
getting called when the window geometry (meaning visible region)
itself has changed.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-30 15:17:57 -04:00
Chris Michael d68644c920 evas-wayland-shm: Set wl_display field inside the Shm_Surface structure
Summary: As we need access to the wl_display in order to dispatch
events on the queue while we wait for free buffers, pass it in to the
surface creation function and set it in the Shm_Surface structure

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-30 15:11:09 -04:00
Chris Michael fae40e995b evas-wayland-shm: Pass along the wl_display parameter to the surface creation function
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-30 15:10:49 -04:00
Chris Michael b1bb88b8f2 evas-wayland-shm: Modify existing engine functions to take a wl_display parameter
Summary: These functions need to have an additional wl_display
parameter so that we can set the field inside the Surface structure

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-30 15:09:55 -04:00
Chris Michael a48c54cddd evas-wayland-shm: Provide wl_display to the surface structure
Summary: In order to fix an existing rendering issue, we need access
to the wl_display so that we can dispatch events on the que while we
wait for a free buffer

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-30 15:09:02 -04:00
Chris Michael 5f8f87df3d ecore-evas-wayland: Set wl_display in the evas engine structure
Summary: This sets the wl_display field of the Evas engine info
structure so that the wl_display can later be used for dispatching
queue while we await a free buffer

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-30 14:42:14 -04:00
Chris Michael a1c203967e evas-wayland-shm: Provide wl_display field in engine info structure
Summary: This just adds a field so we have some place to store the
wl_display for use in the evas wayland engine

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-30 14:42:09 -04:00
Chris Michael 37b767994e evas-wayland-shm: If no depth is specified during reconfigure, use existing depth
Summary: This fixes a crash which Could occur if no outbuf depth was
given during a call to reconfigure.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-30 13:53:10 -04:00
Derek Foreman f86e04b14f wayland-shm: Introduce buffer ages
Summary:
We now track each shm buffer's time since last draw so evas can tell
what it needs to re-render.

Reviewers: zmike, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2893
2015-07-30 11:45:38 -04:00
Derek Foreman 997e84f14e wayland-shm: Assign buffers in the swap_mode callback
Summary:
This is when we're about to start a new render, so it's the best
time to set up the next buffer to draw to.

Reviewers: zmike, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2892
2015-07-30 11:45:32 -04:00
Derek Foreman ebea504cbc wayland-shm: rename _evas_outbuf_swapmode_get() to _evas_outbuf_swap_mode_get()
Summary: Everyone else calls it swap_mode, let's be trendy.

Reviewers: zmike, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2891
2015-07-30 11:45:26 -04:00
Derek Foreman cf3434a927 wayland-shm: Remove curr_buff from Shm_Surface
Summary:
We already have *current, but we're not using it properly.  Let's throw
out curr_buff and just use *current.

This temporarily makes swapmode_get do full renders, this will be
fixed in a future commit that adds proper buffer ages.

Reviewers: zmike, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2890
2015-07-30 11:45:17 -04:00
Derek Foreman 157ad667b4 wayland-shm: refactor _evas_shm_surface_data_get()
Summary:
Split out the buffer picking stuff because we're going to want to call
it from somewhere else.

Reviewers: zmike, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2889
2015-07-30 11:45:05 -04:00
Derek Foreman 525269dc98 wayland-shm: Use MAX_BUFFERS macro instead of magic 4
Reviewers: zmike, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2888
2015-07-30 11:44:57 -04:00
Derek Foreman d2f5d240a4 wayland-shm: rename _evas_shm_surface_redraw() to _evas_shm_surface_post()
Summary:
It doesn't redraw anything, it posts a buffer full of data to the
compositor.

Reviewers: zmike, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2887
2015-07-30 11:44:49 -04:00
Derek Foreman f59f83810c wayland-shm: remove _evas_shm_surface_swap()
Summary: It no longer does anything useful

Reviewers: zmike, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2886
2015-07-30 11:44:39 -04:00
Daniel Kolesa ec48df78c3 eolian/generator: actually overrun-safe buffer fill 2015-07-30 13:59:16 +01:00
Daniel Kolesa 1c5bd5e502 eolian/generator: no point in creating tmp_env, it's not used 2015-07-30 13:50:46 +01:00
Daniel Kolesa c1faf56818 licenses: fix and generalize copyright information 2015-07-30 13:38:41 +01:00
Stefan Schmidt a76ca97388 eolian/common_funcs: Play safe and use strncpy
Not very likely but better play safe and make sure we don not overrun
our destination buffer here.

CID: 1311352
2015-07-30 14:28:09 +02:00