summaryrefslogtreecommitdiff
path: root/src/modules/ecore_evas (follow)
AgeCommit message (Collapse)Author
2017-08-18wayland: Tick like a bossDerek Foreman
Instead of the clever but awful manual_render_set hack, actually do ticks based on frame callbacks. Fix T5850
2017-08-18wayland: Switch to ecore_wl2_window_commit()Derek Foreman
Use ecore_wl2_window_commit() instead of directly calling wl_surface_commit
2017-08-18wayland: Put Ecore_Wl2_Win instead of wl_surface into the enginesDerek Foreman
We'll need to track some state in a common way, so attaching it to the window seems like a good idea.
2017-08-18ecore_evas_extn: Fix socket & plug windowsJean-Philippe Andre
Socket & Plug were broken after 38e6780262906ffd8f6ad8de7c8a4286. Multiple problems here: - The invalid path was used for the lock file. - The invalid buffer ID was used for unlock in render_post. That's because the buffer was switched during output_flush which happens before render_post. So the buffer would remain locked forever on the server side (unless maybe some animation was happening there). @fix
2017-08-17evas: Fix spelling/grammar errorsBryce Harrington
Summary: Fixes some basic punctuation and grammar errors, corrects spelling and word order/choice in various places. Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5098
2017-08-14ecore_evas: win32 module - fix possibly uninitialized variablesVincent Torri
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2017-08-11wayland: set min/max size hints to surface before showMike Blumenkrantz
with deferred surface creation the first canvas change of hints may not be able to trigger protocol methods for size hints, so ensure that hints are set
2017-08-11wayland: remove xdg5 supportMike Blumenkrantz
this has not been used or tested since last year and there are no major compositors which lack xdg6 support
2017-08-11wayland: fix xdg-shell popup windowsMike Blumenkrantz
@fix
2017-08-11ecore_evas_drm: Tick from the animator registration callbackDerek Foreman
If we're not ticking already when a new animator is started then we have to wait for a vblank to get a tick. That's not great. If we can, use the time of the last vblank to generate an immediate tick to avoid this latency.
2017-08-11ecore_evas_drm: Let ecore_drm2 track pending page flipsDerek Foreman
Since the engines can call the flip functions, we need to protect the ticker from missing those flips. Thus, we let ecore_drm2, which obviously sees all flips, track them.
2017-08-09ecore_drm2: Remove ecore_drm2_output_crtc_size_get()Derek Foreman
Replaced with ecore_drm2_output_info_get()
2017-08-09ecore_drm2: Remove ecore_drm2_output_geometry_get()Derek Foreman
Replaced with ecore_drm2_output_info_get()
2017-08-09ecore_drm2: Merge ecore_drm2_device_free and _closeDerek Foreman
There's no reason to have them be separate, all callers must do them back to back, so let's just combine them.
2017-08-09ecore_drm2: Merge ecore_drm2_device_find and ecore_drm2_device_openDerek Foreman
There's never a reason to find a device and not open it, so all callers end up calling these two functions back to back.
2017-08-09ecore_drm2: Pass Ecore_Drm2_Device instead of fd to most functionsDerek Foreman
Intended to simplify the upcoming commit that merges device find and device open into a single function that returns a device. The fd is something callers shouldn't really need to get their hands on, right now there are still a few places where it's needed, but those will be gone soon too.
2017-08-08ecore-evas-wayland: Add handler for Iconify State Change eventChris Michael
Small patch to add a handler for catching Window Iconify State Change events '#divergence' @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-08-07ecore-evas wayland: remove move() functionMike Blumenkrantz
this is conceptually wrong to include in a wayland engine
2017-08-07ecore-evas wayland: clamp max size hints to 0Mike Blumenkrantz
2017-08-06ecore evas wayland - add explicit falltrhough tags for warning removalCarsten Haitzler (Rasterman)
2017-08-04ecore-evas-wayland: rework window hint calcs to be more accurateMike Blumenkrantz
this is still pretty broken for some directions, client-side aspect fml
2017-08-04ecore-evas-wayland: update size when size hints are changedMike Blumenkrantz
ensure hinted size is used @fix
2017-08-04wayland: fix min/max size settingMike Blumenkrantz
also don't set arbitrary hints on init @fix
2017-07-29ecore_evas_drm: Only check for gpu time offset if env var setDerek Foreman
Since most systems shouldn't need this, and it's possible that it's causing trouble for some systems, make it off by default. Fix T5806
2017-07-28ecore_evas_drm: Calculate gpu blank time offset once at startupDerek Foreman
So vmware's graphics driver reports the MONOTONIC drm cap, yet uses CLOCK_REALTIME instead. This leaves us with a gigantic offset between the gpu timestamp and the times ecore_time_get() gets from CLOCK_MONOTONIC. Since ticking screws directly with loop time this results in some long distance clock jumping. This commit fixes drm/gl_drm operation under vmware.
2017-07-28ecore-wl2: implement support for aux hintsMike Blumenkrantz
this is a direct copy of a feature from tizen git with no modifications other than what was required for compilation and functionality https://review.tizen.org/git/?p=platform/upstream/efl.git;a=commitdiff_plain;h=01e72b7e3484ece4b589f95315990ba2c366c231 https://review.tizen.org/git/?p=platform/upstream/efl.git;a=commitdiff;h=670d84b579f248ae0e3df48e9953fe8128da9468 fix T5780 @feature
2017-07-28ecore_drm2: Allow picking a sequence number for blanktime_getDerek Foreman
This lets us do a blocking wait for a vsync. Something we should try to do as infrequently as possible, but in some cases we need it one time at startup to catch graphics driver bugs.
2017-07-26 ecore_evas_wayland: fix bug ecore_evas cannot update the evas when rotationdevs/thiep/size.testJiyoun Park
usecase: show -> rotation -> hide -> show ecore_evas_wayland didn't check the rotation. when ee is landscapemode, it cannot update the right area of evas.
2017-07-21ecore-evas-wayland: destroy frame callback on hideMike Blumenkrantz
ensure cursor surfaces can render again after being hidden #TheDisappointer @fix
2017-07-21wayland: stop creating 1x1 surfaces on initMike Blumenkrantz
fix T5226 #IGot99TicketsBut1x1AintOne
2017-07-13ecore_evas_drm: Provide a last_tick_get callbackDerek Foreman
Allow the drm engine to provide a tick timestamp for the previous vblank interval. ref T5462
2017-07-13ecore_evas: Add a function pointer for last_tick_getDerek Foreman
Engines that provide their own tickers may need to be able to provide the time of the last tick even if they weren't sending ticks to EFL at the time. This is a feature added during freeze as it's necessary to resolve a bug. ref T5462
2017-07-13ecore_evas engines: Add some nulls to the func arraysDerek Foreman
Purely cosmetic, but gets the comments back in sync with reality.
2017-07-11ecore_evas_drm: Partially revert "Refuse to start a ticker for a manually ↵Derek Foreman
rendered canvas" BAILing here can break animators permanently, so best to just log the issue and move on (and potentially allow the ticker to wake us from DPMS). ref T5462 Partially reverts a795629e8c9d7a7f444f8ce655eb9e24dce51429
2017-07-10ecore_evas_drm: Refuse to start a ticker for a manually rendered canvasDerek Foreman
With atomic mode setting this has the hilarious side effect of waking up the display from dpms. Attempting to tick when manual render is set is likely a bug, so log an ERR. fix T5462
2017-07-09Ecore_Evas win32 module: fix memory leakVincent Torri
2017-07-09Add ecore_win32_cursor_show() API and ecore_evas_win32_cursor_(un)set() ↵Vincent Torri
functions This fixes double mouse cursor in elm entries on Windows (for example) @feature @fix
2017-07-05ecore_evas_x: Track changes in framespace sizeJean-Philippe Andre
If the framespace size has changed and by accident (or in fact, by design) the evas size + framespace size is equal to the size sent by the X server, ecore_evas_x was skipping the resize event. This patch adds a tracking of the framespace size so that we redraw the canvas if it changed. This will fix issues with the main menu (since it's in the framespace, 23 pixels tall with the default theme & scale). Note that all this is partly because the ecore evas size is the size without the framespace, so weird calculations are made during resize... Ref T5482
2017-06-15Revert "ecore-evas-wayland: Add support for setting window stack mode"Chris Michael
This commit reverts support for setting window stacking mode from ecore_evas_wayland as per IRC dicussion with cedric This reverts commit a3cf0d3a54f54cccfb48dc2234dada147c30f419.
2017-06-15ecore-evas-wayland: Add support for setting window stack modeChris Michael
This patch adds support for updating ecore_wl2_window stack mode when the ecore_evas_layer_set is called. "#divergence" @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-06-15ecore-evas-wayland: Add support for focus_skip_setChris Michael
This patch adds support for ecore_evas_focus_skip_set in the wayland engine. "#divergence" @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-06-13ecore-evas-wayland: Add support for setting auxiliary hintsChris Michael
This patch adds function pointers to the Wayland Interface that can be used for supporting auxiliary hints on a given window @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-06-12evas: Rename device Class to Type, remove Sub_ClassJean-Philippe Andre
1. The word "class" is a pain point with many languages where it's a keyword. Type is a little better. Also, the property was already named "device_type" and not "device_class". 2. Remove Efl.Input.Device.Sub_Class It's not used inside EFL upstream codebase, and unlikely to be used anywhere else (even in Tizen). Hopefully no one used the Efl_ enum types. So far only the Evas_ types should be in used. Ref T5540
2017-06-09ecore-evas-drm: Remove borrowed fourcc_code from source fileChris Michael
As we will now use static_libs/libdrm for building ecore_evas_drm, we no longer need to include this bit of borrowed four_cc code from libdrm Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-06-09ecore-evas-wl: Add support for Window Manager rotationsChris Michael
This patch adds support to Ecore_Evas_Wayland for Window Manager Rotations so that window managers which do support rotations are able to rotate an EFL wayland application. @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-06-08ecore-evas-x: Remove blank lineChris Michael
NB: No functional changes Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-06-08ecore-evas-wayland: Fix potential null dereferenceChris Michael
Quick patch to fix a potential null derefence in render_flush_pre callback. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-06-07ecore-evas-wl: Don't check window visibility on raisingChris Michael
As we won't get a request from a server to raise a window which is not visible anyway, this check is useless. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-06-05ecore_evas: reuse code by relying on switch case statement fallthrough for ↵Cedric BAIL
key offset case.
2017-06-05evas: document the wayland ecore_evas constructorsBryce Harrington
Reviewers: cedric Subscribers: jpeg Differential Revision: https://phab.enlightenment.org/D4896 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>