AgeCommit message (Collapse)Author
2015-11-09Eo: Optimise event callback callJérémy Zurcher
check if the event is frozen before walking the event list
2015-11-09Eo do: use the __thread directive when available to manage call stack.Tom Hacohen
This is faster in most cases, and to be honest, should be much faster than it is. I don't understand why there's no better directive to mark a variable as *really* important thread storage that is used all the time.
2015-11-09Eo: Remove extra paranoid-never could happen safety checks.Tom Hacohen
I was not able to reach those without arbitrary memory corruption, but in that case we are in trouble anyway.
2015-11-09Eo: Reorganise some of the code and cleanup.Tom Hacohen
This is cleaner and makes more sense.
2015-11-09Eo: Removed weird unneeded condition.Tom Hacohen
2015-11-09Eo: Move op resolve check to where it belongs (out of hot path).Tom Hacohen
It was put in the wrong place. It should abort early if it detects we can't resolve, and shouldn't check it if we already know it's OK.
2015-11-09Eo unref: Decrease amount of checks and hint branch prediction.Tom Hacohen
This may look minor, but this is such a hot path, that this actually speeds things up a bit.
2015-11-09Eo: Split object checking from class checking and simplify.Tom Hacohen
The check there was wrong for objects anyway, and was ultra conservative for classes.
2015-11-09Eo callback call: Remove redundant safety checks.Tom Hacohen
This is already being checked by eo_do, no need to duplicate this here.
2015-11-09Eo callback call: Remove redundant refcounting.Tom Hacohen
We already get refcounting from eo_do, no need to have more refcounting here.
2015-11-09Eo callback call: Simplify callback desc matching code.Tom Hacohen
As part of this change, we also error on adding invalid callbacks.
2015-11-09Eo callbacks: simplify callback call code a bit.Tom Hacohen
We don't need this check because it's already checked in the match function.
2015-11-09Eo benchmarks: Add basic callbacks benchmarks.Tom Hacohen
2015-11-09Eo benchmarks: Improve benchmarks.Tom Hacohen
Add more cases, and tune the number of times we test.
2015-11-09Eo benchmark: Fix super benchmark.Tom Hacohen
2015-11-09Eo: Reduce call stack memory footprint.Tom Hacohen
We don't really need the eo_id most of the time, and when we do, it's very easy to get it. It's better if we just don't save the eo_id on the stack, and just save if it's an object or a class instead.
2015-11-09Eo: Remove useless optimisation that is more harm than good.Tom Hacohen
It seems that the idea behind that optimisation, is to save object data fetching when calling functions implemented by the object's class inside functions implemented by the object's class. This should be rare enough not to worth the upkeep, memory reads and memory writes, especially since for all cases apart of mixins (for which this optimisation won't work for anyway), the upkeep is more costly than fetching the data again.
2015-11-09Eo: use correct mask when checking if an id is a classTom Hacohen
2015-11-09Eo: Optimise object data fetching a bit more.Tom Hacohen
Removed safety check that is not necessary. This may seem small, but this in addition to the previous commit, account for around 2% of CPU usage.
2015-11-09Eo: Optimise object data fetching (minor).Tom Hacohen
Pre-calculate object data offset for improved performance.
2015-11-09configure: Switch to dev mode again. Merge window for 1.17 is open nowStefan Schmidt
2015-11-09release: Update NEWS and bump version for 1.16.0 releasev1.16.0Stefan Schmidt
2015-11-09po: update po files before releaseStefan Schmidt
2015-11-09doc: Deprecate filter reference page and link to the wikiJean-Philippe Andre
2015-11-09doc: Fixup EDC doc for Evas 3D stuffJean-Philippe Andre
Use same paragraph title format
2015-11-09doc: Add EDC doc for desc.proxy, fix for desc.fillJean-Philippe Andre
2015-11-06ecore: remove useless printf in Win32 main loop.Cedric BAIL
2015-11-06eina/efreet: open file with binary file on WindowsVincent Torri
@fix Signed-off-by: Cedric BAIL <>
2015-11-05ecore-drm: Remove unused functionChris Michael
As we no longer have an fd handler to listen on the drm fd, we don't need this function anymore @fix Signed-off-by: Chris Michael <>
2015-11-05ecore-drm: Fix issue of hanging in read()Chris Michael
Summary: As we already call drmHandleEvent when we pageflip, we don't need to be using an fd handler to catch them. This should fix T2791 @fix Signed-off-by: Chris Michael <>
2015-11-05ecore-drm: Fix issue of duplicate page flipsChris Michael
Summary: If we already have a pending pageflip scheduled for a given framebuffer, don't reschedule another one. This also includes a minor fix when mmap'ing the framebuffer (previously was also mapped PROT_READ). @fix Signed-off-by: Chris Michael <>
2015-11-05evas - patch in one more if check for obj layer to avoid shutdown crashCarsten Haitzler (Rasterman)
this should fix T2715
2015-11-04evas gl-x11: add missing EVAS_NATIVE_SURFACE_WL supportMike Blumenkrantz
copy/pasted from other engines, only functional with gles+wayland, A Thoroughly Tested Calculated Risk™ ref 1dbecbb6764bdd6f477b5cc6624e791a52cfe1d5
2015-11-04ecore-drm: Check return value of drmHandleEvent and cleanupChris Michael
Summary: drmHandleEvent will return 0 on success, or -1 on error. We should trap for the error case so that we can cleanup any allocated callback structures. @fix Signed-off-by: Chris Michael <>
2015-11-04evas-gl-drm: Implement eglSetDamageRegionKHRChris Michael
Summary: In efforts to reduce tearing in the gl_drm engine, implement support for eglSetDamageRegionKHR to mark parts of a surface as being damaged. @fix Signed-off-by: Chris Michael <>
2015-11-04evas-gl-drm: Find symlink for eglSetDamageRegionKHRChris Michael
In efforts to reduce tearing in the gl_drm engine, find and link to the eglSetDamageRegionKHR function so we can mark damaged regions of a surface @fix Signed-off-by: Chris Michael <>
2015-11-04ecore-evas-gl-drm: Don't create software dumb buffers when using glChris Michael
Summary: If we are rendering using gl_drm, then we don't need to be creating extra software dumb buffers. @fix Signed-off-by: Chris Michael <>
2015-11-04ecore-drm: Don't always check fb size against dumb bufferChris Michael
Summary: If we are running using gl_drm, then we don't need to create software dumb buffers on the drm device. Since we may not have the dumb buffers (only used in software rendering), then we should not always be checking the framebuffer size against the dumb buffer size. @fix Signed-off-by: Chris Michael <>
2015-11-04evas-gl-drm: Set Outbuf vsync according to engineChris Michael
The engine setup code already checks if we are disabling vsync (defaults to on), so we should be setting the Outbuf vsync according to what the engine info has @fix Signed-off-by: Chris Michael <>
2015-11-04Evas: minor whitespace and debug changesJean-Philippe Andre
2015-11-04Evas Text: avoid SIGSEV while ellipsis recalculationVitalii Vorobiov
Summary: Fix Segmentation Fault when TEXT part getting resized and when it has some params (for example ellipsis). Fix T2640 @fix Test Plan: Refer to T2640 Reviewers: raster, Hermet, seoz, herdsman, cedric, reutskiy.v.v, NikaWhite Subscribers: stefan_schmidt, tasn, cedric Maniphest Tasks: T2640 Differential Revision:
2015-11-03eolian: fix function parameter memory leak with valueDaniel Kolesa
2015-11-03tests/ecore_con: check saved env variables before setting them again.Stefan Schmidt
We see segfaults on Jenkins with these two test cases. Better check before setting them as we had similar problems before on this setup as XDG_RUNTIME_DIR might never be set.
2015-11-02emile/ecore_con: drop SSLv3 support due to security issue.Cedric BAIL
SSLv3 has been compromised a year ago by what is known as POODLE ( Every major browser have now dropped support for SSLv3 and distribution are starting to do so also. It is a good timing for us to do so, especially as it breaks build on some distribution.
2015-11-02evas gl_drm: don't deref null ptr on output freeMike Blumenkrantz
2015-11-02evas-wayland-egl: Add missing include header for gl_commonChris Michael
@fix Signed-off-by: Chris Michael <>
2015-11-02evas-wayland-egl: Fix missing support for EVAS_NATIVE_SURFACE_WLChris Michael
Summary: Support for using EVAS_NATIVE_SURFACE_WL was missing/incomplete in the wayland_egl engine. This commit addresses that issue so that now the wayland_egl engine can support both EVAS_NATIVE_SURFACE_OPENGL and EVAS_NATIVE_SURFACE_WL. @fix Signed-off-by: Chris Michael <>
2015-11-02ecore_cocoa: prevent mouse event loss when clicking in titlebarpierre lamot
2015-11-02evas-gl-drm: Fix issue of gl_drm engine not workingChris Michael
Summary: With linux kernels >= 4.2.x, the gl_drm engine was not functional. This is due to the egl config returning an improper config which did not match the expected pixel format. This commit fixes that issue and gl_drm evas engine works again. Should fix ticket T2807 @fix Signed-off-by: Chris Michael <>
2015-11-02ecore-evas-drm: Use GBM_FORMAT_XRGB8888 when creating new canvasChris Michael
Summary: With linux kernels >= 4.2.x, we need to use GBM_FORMAT_XRGB8888 when creating a new canvas else we end up with a format mismatch when trying to add the framebuffer @fix Signed-off-by: Chris Michael <>