Chris Michael [Tue, 11 Aug 2015 14:12:43 +0000 (10:12 -0400)]
evas-wayland-egl: Remove extra blank line
Summary: No function changes, just removed an extra blank line
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 11 Aug 2015 14:09:40 +0000 (10:09 -0400)]
evas-wayland-egl: Add support for partial update extension
Summary: if EGL_KHR_partial_update extension is implemented in the
driver, set damage region. This is done before the draw calls.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Stefan Schmidt [Tue, 11 Aug 2015 12:02:17 +0000 (14:02 +0200)]
bindings/eina_cxx: add eina_cxx group as link to main page to find API docs
Stefan Schmidt [Tue, 11 Aug 2015 11:59:44 +0000 (13:59 +0200)]
eolian: add eolian group as link to main page to find API docs
Fixes T2541
Stefan Schmidt [Tue, 11 Aug 2015 11:46:42 +0000 (13:46 +0200)]
docs: Build documentation also for code that is still in BETA.
Doxygen uses its on preprocessor and this one missed the
EFL_BETA_API_SUPPORT=1 define so none our our BETA api hidden behind
it was build for our documentation.
ref T2541
Subodh Kumar [Tue, 11 Aug 2015 11:10:59 +0000 (12:10 +0100)]
Edje entry: Remove useless commented code
Summary:
After the commit D2904
this commented code and comments are not required
Test Plan: NA
Reviewers: tasn
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2938
Daniel Kolesa [Tue, 11 Aug 2015 09:31:42 +0000 (10:31 +0100)]
eolian: class members now inherit their class's since tag
Mike Blumenkrantz [Mon, 10 Aug 2015 17:17:33 +0000 (13:17 -0400)]
ecore-x: provide property state in Ecore_X_Event_Window_Property
this event is not very useful without the state member.
@feature
Daniel Kolesa [Mon, 10 Aug 2015 15:25:55 +0000 (16:25 +0100)]
eolian/generator: fix turning values into @return when generating docs
@fix
Mike Frysinger [Fri, 7 Aug 2015 16:08:09 +0000 (12:08 -0400)]
fix spurious quotes in msg output
Mike Frysinger [Thu, 6 Aug 2015 04:40:43 +0000 (00:40 -0400)]
use SDL2 everywhere
Some files were still including SDL-1 headers even though we only link
against SDL2 libs.
URL: https://bugs.gentoo.org/551882
Reported-by: Barnaby <badbit@me.com>
Reported-by: Romain Naour <romain.naour@openwide.fr>
Srivardhan Hebbar [Fri, 7 Aug 2015 14:35:45 +0000 (16:35 +0200)]
ecore_con: remove unwanted delete calls from ecore_con_eet test cases.
Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric
Reviewed By: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2910
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Srivardhan Hebbar [Fri, 7 Aug 2015 14:33:38 +0000 (16:33 +0200)]
ecore_con: update documentation.
Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric
Reviewed By: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2909
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Stefan Schmidt [Fri, 7 Aug 2015 12:54:34 +0000 (14:54 +0200)]
ecore_drm_evdev: Avoid shadowing a local variable.
input is already used within this function so rename it in the block.
Cedric BAIL [Fri, 7 Aug 2015 12:41:56 +0000 (14:41 +0200)]
eina: forgot to fix @since for Eina_Bezier.
Subhransu Mohanty [Sun, 12 Jul 2015 06:39:09 +0000 (15:39 +0900)]
eina: add test for Eina_Bezier.
Subhransu Mohanty [Wed, 8 Apr 2015 05:13:15 +0000 (14:13 +0900)]
eina: add Eina_Bezier infrastructure for manipulating cubic bezier curves.
Stefan Schmidt [Fri, 7 Aug 2015 09:30:36 +0000 (11:30 +0200)]
po: Update po files
Yomi [Fri, 7 Aug 2015 08:06:23 +0000 (17:06 +0900)]
Fix grammar in error messages.
Summary:
Changes:
src/examples/eio/eio_file_copy.c
src/tests/eio/eio_test_file.c
src/tests/eio/eio_test_xattr.c
Reviewers: cedric, thiepha, Hermet
Reviewed By: thiepha, Hermet
Subscribers: thiepha, cedric
Differential Revision: https://phab.enlightenment.org/D2912
Jee-Yong Um [Fri, 7 Aug 2015 05:45:47 +0000 (14:45 +0900)]
edje_container: fix typo in edje_container_align_set
Summary:
Fix type in edje_container_align_set,
it was originally named as edje_contain(t)er_align_set.
Reviewers: Hermet
Subscribers: cedric, Hermet
Differential Revision: https://phab.enlightenment.org/D2927
Ji-Youn Park [Fri, 7 Aug 2015 02:53:02 +0000 (11:53 +0900)]
ecore_evas: fix first render skip in several windows
ecore_evas_first only can be set first render even though there are several windows.
because of this, second or third ecore_evas loses chance to render first frame.
@fix
Daniel Kolesa [Thu, 6 Aug 2015 16:04:06 +0000 (17:04 +0100)]
eolian: do not treat @since specially in validation (not needed)
Daniel Kolesa [Thu, 6 Aug 2015 15:53:41 +0000 (16:53 +0100)]
eolian: @since no longer needs to be its own paragraph in docs
However, it still terminates the doc.
Cedric BAIL [Thu, 6 Aug 2015 09:06:55 +0000 (11:06 +0200)]
Merge branch 'devs/cedric/evas_snapshot'
Evas snapshot feature is a new attribute for Evas_Objet_Image that allow the object to get the pixels
of the object below it in its own buffer. This can be used for two typicall use case. First is improving
accessibility by offering a magnifying glass using snapshot together with Evas_Map. Second is to make
it possible to blur the underlying content (in conjunction with filters). This should make it possible
to do some nice new theme and effect.
NOTE: As a technical note, this feature is very costly at the point. We do not support partial update
on surface and we can't know if the object below did change, so we are forced to redraw the full content
of the snapshot object for every frame. The only way to fix it is to add per surface damage detection.
I guess it is time to start rolling this in.
Cedric BAIL [Wed, 5 Aug 2015 13:58:01 +0000 (15:58 +0200)]
edje: add a SNAPSHOT part in EDC.
Cedric BAIL [Sat, 1 Aug 2015 00:38:31 +0000 (02:38 +0200)]
evas: force full redraw of snapshot for every frame, every time.
NOTE: it would be nicer to setup a specific context for each snapshot
and walk all the child below. If any of them did change, only trigger the
full redraw in that case (and of course only if a filter with blurr does
use it somewhere).
Cedric BAIL [Fri, 31 Jul 2015 23:47:46 +0000 (01:47 +0200)]
evas: move make update to be outside of the reused code for rendering sub objects.
Cedric BAIL [Fri, 31 Jul 2015 23:32:24 +0000 (01:32 +0200)]
evas: make sure that the context is only relevant to the surface we are currently manipulating.
Cedric BAIL [Tue, 30 Jun 2015 08:14:23 +0000 (10:14 +0200)]
evas: we now need to force mark the object as changed.
Cedric BAIL [Sat, 9 May 2015 18:02:13 +0000 (20:02 +0200)]
evas: implementation of snapshot feature.
This should theorically work, need some test. Design is easy to understand. Render
every part of a snapshot object by rendering the content below it, before rendering
the stack above it using that object content.
Cedric BAIL [Wed, 15 Apr 2015 10:05:59 +0000 (12:05 +0200)]
evas: prepare refactoring necessary for snapshot.
Cedric BAIL [Tue, 14 Apr 2015 13:21:52 +0000 (15:21 +0200)]
evas: add a snapshot bool to Evas_Object_Image.
Snapshot object are rendering the content of the canvas below them into them.
They can then be used for filter, map or proxy.
Have fun !
Daniel Kolesa [Wed, 5 Aug 2015 11:40:12 +0000 (12:40 +0100)]
autotools: more cross platform dlfuncs/shm_open checks
Daniel Kolesa [Wed, 5 Aug 2015 10:12:24 +0000 (11:12 +0100)]
evas_3d_utils: fix compiler warning
Subodh Kumar [Wed, 5 Aug 2015 10:02:53 +0000 (11:02 +0100)]
Edje entry: Fix to delete selection when preedit status has not ended.
Summary:
Fix to delete selection when preedit status has not ended
In preedit mode when selection is made and input any letter,
there is duplicate character appeared because the selection
is cleared when commit happens so delete the selection in
preedit last stage.
@fix
Test Plan: Test in Tizen devices.
Reviewers: woohyun, id213sin, shilpasingh, tasn
Subscribers: rajeshps, cedric, govi
Differential Revision: https://phab.enlightenment.org/D2837
Chris Michael [Tue, 4 Aug 2015 15:38:21 +0000 (11:38 -0400)]
evas_check_engine: Remove tests for specific version of EGL
Summary: As per cedric, remove tests for egl specific version(s) when
building wayland engines.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
mythri.venugopal [Wed, 29 Jul 2015 21:12:35 +0000 (23:12 +0200)]
evas gl: add support for new partial update extension.
Summary:
If EGL_KHR_partial_update extension is implemented by the driver,
set the damage region. This is done before the draw calls.
@feature
Reviewers: wonsik, spacegrapher, jpeg
Reviewed By: spacegrapher
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2828
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Jee-Yong Um [Wed, 29 Jul 2015 20:29:41 +0000 (22:29 +0200)]
edje_embryo: add methods to handle event flags.
Summary:
Add embryo methods that change the state
whether Edje_Part will handle Evas_Event or not.
Reviewers: Hermet, woohyun, cedric
Reviewed By: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2807
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
perepelits.m [Wed, 29 Jul 2015 20:24:02 +0000 (22:24 +0200)]
evas: add tangent space algorithm
Summary: This is a logic of tangent data calculation, we need it in order to avoid bugs with normal mapping after building with opengl=yes.
Reviewers: Hermet, raster, cedric
Reviewed By: cedric
Subscribers: Oleksander, cedric, artem.popov
Differential Revision: https://phab.enlightenment.org/D2802
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Cedric BAIL [Wed, 29 Jul 2015 19:22:17 +0000 (21:22 +0200)]
evas: twice faster NEON intrinsics scaling up implementation
Summary: Already checked it for tizen 2.3/2.4. Scaling function works properly and much faster.
Reviewers: raster, jolfzverb, cedric
Reviewed By: cedric
Subscribers: cedric
Projects: #efl
Differential Revision: https://phab.enlightenment.org/D2881
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Tom Hacohen [Tue, 4 Aug 2015 14:34:57 +0000 (15:34 +0100)]
Edje entry: Clean up conditions a bit.
Merge two conditions to clean up the code a bit.
Subodh Kumar [Tue, 4 Aug 2015 14:32:47 +0000 (15:32 +0100)]
Edje entry: Make filter logic consistent across all input methods
Summary:
When commit string comes from key_down text filter is applied before deleting
the range but when commit string comes from imf filter is applied after deleting
the range. Moreover when format is prepended range is deleted before applying
insert filter. Please check the _edje_key_down_cb and
_edje_entry_imf_event_commit_cb routines.
@fix
Test Plan: Tested in Tizen device
Reviewers: herdsman, thiepha, shilpasingh, raster, tasn
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2904
Chris Michael [Wed, 15 Jul 2015 14:06:20 +0000 (10:06 -0400)]
ecore-wl: Support wl_keyboard_send_repeat_info for adjusting keyboard repeat rate and delay
Summary: This adds support for allowing a client/compositor to adjust
the keyboard repeat rate and delay via a call to
wl_keyboard_send_repeat_info.
@feature
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Tom Hacohen [Tue, 4 Aug 2015 10:35:18 +0000 (11:35 +0100)]
Ecore audio: Fix typo
We really need to fix dependency tracking for .eo files. It didn't regenerate
dependencies...
Tom Hacohen [Tue, 4 Aug 2015 10:29:34 +0000 (11:29 +0100)]
Eina strbuf: Remove unused variable.
It's never used because it's the base type and the others override the
magic anyway.
Tom Hacohen [Tue, 4 Aug 2015 10:19:50 +0000 (11:19 +0100)]
Eina quad: Remove unused function.
It may be useful for debugging, so you keeping it in source.
This silences a clang warning.
Tom Hacohen [Tue, 4 Aug 2015 10:13:01 +0000 (11:13 +0100)]
Ecore audio: Fix eo references.
Tom Hacohen [Wed, 15 Jul 2015 16:34:07 +0000 (17:34 +0100)]
Migrate more eo files to use Eina.Rectangle.
Tom Hacohen [Wed, 15 Jul 2015 14:10:29 +0000 (15:10 +0100)]
Evas out: migrate more eolian types.
Oleksandr Shcherbina [Tue, 14 Jul 2015 10:19:35 +0000 (11:19 +0100)]
Evas canvas3d: Move evas 3d types to evas_types.eot
Summary:
Move evas_canvas3d types from Evas_Eo.h to evas_types.eot
Change enum constatnt for vertex_arrtib, material_attrib, blend_func
Correct namespace for Evas.Real type
Reviewers: cedric, tasn
Reviewed By: tasn
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2734
Stefan Schmidt [Tue, 4 Aug 2015 09:47:22 +0000 (11:47 +0200)]
configure: Switch to dev mode again. Merge window for 1.16 is open now
Stefan Schmidt [Tue, 4 Aug 2015 08:52:34 +0000 (10:52 +0200)]
release: Update NEWS and bump version for 1.15.0 release
jiin.moon [Tue, 4 Aug 2015 02:49:04 +0000 (11:49 +0900)]
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>
Carsten Haitzler (Rasterman) [Tue, 4 Aug 2015 01:47:38 +0000 (10:47 +0900)]
evas image unload - fix free path to remove from pending list
this should fix T2580
Nicolas Aguirre [Mon, 3 Aug 2015 12:35:00 +0000 (14:35 +0200)]
Revert "[HACK] configure.ac: Forces linking with -lEGL"
This reverts commit
9f8f64b697f974dc204acd340560e9547b21d743.
Nicolas Aguirre [Mon, 3 Aug 2015 12:34:59 +0000 (14:34 +0200)]
Revert "[HACK] ecore_evas_fb: Comments ecore_fb_ts calls that aren't resolved at runtime"
This reverts commit
ff5f8a0412d02e245754e4a90122a7715036cb64.
Nicolas Aguirre [Mon, 3 Aug 2015 12:34:58 +0000 (14:34 +0200)]
Revert "configure.ac: Don't check for Xprint extension. cf:"
This reverts commit
9e0cd04cdcd1e7b6b02a6b34ca5bea5f9a73f1ad.
Nicolas Aguirre [Mon, 3 Aug 2015 12:34:57 +0000 (14:34 +0200)]
Revert "Include <Eet.h> where needed. cf:"
This reverts commit
877338659b4176e1a77f7b6cf37f6225cca763bc.
Nicolas Aguirre [Mon, 3 Aug 2015 12:34:57 +0000 (14:34 +0200)]
Revert "Adds support of the eglfs module in the autotools config"
This reverts commit
3b2074aa710a095c2379702334bfa125bcc1990a.
Nicolas Aguirre [Mon, 3 Aug 2015 12:34:56 +0000 (14:34 +0200)]
Revert "evas: Adds an eglfs module"
This reverts commit
270215889d5ba4e93f9ec05cfa9a9510a345c96c.
Nicolas Aguirre [Mon, 3 Aug 2015 12:34:54 +0000 (14:34 +0200)]
Revert "ecore_evas: Adds an eglfs module"
This reverts commit
a254725d6dedbcfec638f8151bd89e9db068df8f.
Florent Revest [Wed, 22 Jul 2015 16:56:25 +0000 (18:56 +0200)]
[HACK] configure.ac: Forces linking with -lEGL
Florent Revest [Wed, 22 Jul 2015 16:55:16 +0000 (18:55 +0200)]
[HACK] ecore_evas_fb: Comments ecore_fb_ts calls that aren't resolved at runtime
Florent Revest [Wed, 22 Jul 2015 16:53:30 +0000 (18:53 +0200)]
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
Florent Revest [Wed, 22 Jul 2015 16:50:38 +0000 (18:50 +0200)]
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
Florent Revest [Wed, 22 Jul 2015 16:50:13 +0000 (18:50 +0200)]
Adds support of the eglfs module in the autotools config
Florent Revest [Wed, 22 Jul 2015 16:49:14 +0000 (18:49 +0200)]
evas: Adds an eglfs module
Florent Revest [Wed, 22 Jul 2015 16:48:41 +0000 (18:48 +0200)]
ecore_evas: Adds an eglfs module
Srivardhan Hebbar [Mon, 3 Aug 2015 10:17:22 +0000 (12:17 +0200)]
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
Yomi [Mon, 3 Aug 2015 09:50:10 +0000 (11:50 +0200)]
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
Cedric BAIL [Sun, 2 Aug 2015 19:56:08 +0000 (21:56 +0200)]
eina: add intermediate inline function for eina_crc.
This is necessary to make my life easier when adding assembling implementation
of eina_crc.
Jean-Philippe Andre [Fri, 31 Jul 2015 07:58:19 +0000 (16:58 +0900)]
ecore_pipe: Fix potential double close
p->fd_read can be closed in _ecore_pipe_read (from a previous loop)
CID 1267459
Jean-Philippe Andre [Fri, 31 Jul 2015 06:46:08 +0000 (15:46 +0900)]
eina/btlog: Fix some Coverity issues
CID 1297406
CID 1297408
CID 1297409
Ryuan Choi [Fri, 31 Jul 2015 15:08:00 +0000 (00:08 +0900)]
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.
Tom Hacohen [Fri, 31 Jul 2015 15:00:08 +0000 (16:00 +0100)]
Evas text: Migrate docs to new Eolian format.
Daniel Kolesa [Fri, 31 Jul 2015 14:55:01 +0000 (15:55 +0100)]
eolian: different error for validating @since
Tom Hacohen [Fri, 31 Jul 2015 14:19:33 +0000 (15:19 +0100)]
Evas table: Migrate docs to new Eolian format.
Chris Michael [Fri, 31 Jul 2015 13:58:08 +0000 (09:58 -0400)]
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>
ChunEon Park [Fri, 31 Jul 2015 07:23:33 +0000 (16:23 +0900)]
specify ector licenses.
Jean-Philippe Andre [Fri, 31 Jul 2015 03:05:44 +0000 (12:05 +0900)]
Evas filters: Fix invalid sizeof
CID 1308609
Derek Foreman [Thu, 30 Jul 2015 19:37:14 +0000 (15:37 -0400)]
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
Chris Michael [Thu, 30 Jul 2015 19:30:36 +0000 (15:30 -0400)]
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>
Chris Michael [Thu, 30 Jul 2015 19:17:57 +0000 (15:17 -0400)]
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>
Chris Michael [Thu, 30 Jul 2015 19:11:09 +0000 (15:11 -0400)]
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>
Chris Michael [Thu, 30 Jul 2015 19:10:49 +0000 (15:10 -0400)]
evas-wayland-shm: Pass along the wl_display parameter to the surface creation function
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 30 Jul 2015 19:09:55 +0000 (15:09 -0400)]
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>
Chris Michael [Thu, 30 Jul 2015 19:09:02 +0000 (15:09 -0400)]
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>
Chris Michael [Thu, 30 Jul 2015 18:37:58 +0000 (14:37 -0400)]
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>
Chris Michael [Thu, 30 Jul 2015 18:37:10 +0000 (14:37 -0400)]
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>
Chris Michael [Thu, 30 Jul 2015 17:53:10 +0000 (13:53 -0400)]
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>
Derek Foreman [Thu, 30 Jul 2015 15:45:38 +0000 (11:45 -0400)]
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
Derek Foreman [Thu, 30 Jul 2015 15:45:32 +0000 (11:45 -0400)]
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
Derek Foreman [Thu, 30 Jul 2015 15:45:26 +0000 (11:45 -0400)]
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
Derek Foreman [Thu, 30 Jul 2015 15:45:17 +0000 (11:45 -0400)]
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
Derek Foreman [Thu, 30 Jul 2015 15:45:05 +0000 (11:45 -0400)]
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
Derek Foreman [Thu, 30 Jul 2015 15:44:57 +0000 (11:44 -0400)]
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
Derek Foreman [Thu, 30 Jul 2015 15:44:49 +0000 (11:44 -0400)]
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
Derek Foreman [Thu, 30 Jul 2015 15:44:39 +0000 (11:44 -0400)]
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
Daniel Kolesa [Thu, 30 Jul 2015 12:59:16 +0000 (13:59 +0100)]
eolian/generator: actually overrun-safe buffer fill
Daniel Kolesa [Thu, 30 Jul 2015 12:50:46 +0000 (13:50 +0100)]
eolian/generator: no point in creating tmp_env, it's not used