summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* poc for shadow togglingdevs/discomfitor/xdg-shedsmanshipMike Blumenkrantz2015-12-0510-1/+168
| | | | https://www.enlightenment.org/ss/e-5663260720de00.68316445.png
* ecore-wl2: apply same deferred shell surface creation as ecore-waylandMike Blumenkrantz2015-12-043-46/+56
| | | | | | new wheel meets old wheel. ref 265ad8b5d0c46ad17de790e85ceaa593d7a5dd24
* ecore-wl2: handle null global has in ecore_wl2_display_globals_get()Mike Blumenkrantz2015-12-041-1/+1
|
* ecore-evas-wayland: Acknowledge configure event post renderChris Michael2015-12-042-0/+8
| | | | | | | | | | | | This fixes a potential issue where we may have been sending the configure acknowledgement before applying the actual new configuration to the surface. Sending the ack_configure during post-render ensures that we have already rendered according to the new configure (addresses deferred rendering issue). @fix Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
* ecore-wl2: Implement function pointer for configure acknowledgeChris Michael2015-12-042-2/+7
| | | | | | | | | | | | We need a way to store the configure serial, and make the xdg_surface_ack_configure callback be callable by Ecore_Evas at the appropriate time. This fixes an issue where previously we were (potentially) sending a configure acknowledgment while not applying the configure due to deferred rendering. @fix Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
* ecore-evas-wayland: Properly cleanup ecore_wl2 during errorChris Michael2015-12-042-11/+10
| | | | | | | | | If we fail to connect to an existing wayland display, then we should properly cleanup (call ecore_wl2_shutdown) before exiting @fix Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
* ecore-evas-wl: Cleanup creating a wayland canvasChris Michael2015-12-042-42/+0
| | | | | | | | | Unsure where all these extra display_connect calls came from, but remove them. @fix Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
* Evas textblock: Skip layout logic for an text item which doesn't have font.Youngbok Shin2015-12-041-1/+2
| | | | | | | | | | | | | | | | | | | | | | Summary: Evas textblock could cause infinite loop if there is no fonts to use. If there is no fonts, text_props.text_len is never set. When text_props.text_len is 0, the for loop in _layout_par runs forever. It is ridiculous to use Textblock without fonts. But, it shouldn't runs infinite loop in any situation. @fix Test Plan: 1. Remove all of fonts in your EFL or Tizen device. (Or you can test it modifying some codes in Textblock by skipping load fonts.) 2. Run elementary_test -to entry3 or see any multiline textblocks. Reviewers: tasn, herdsman, woohyun Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D3402
* Evil: remove useless codeVincent Torri2015-12-0427-6569/+0
| | | | This code was used for GNU printf and al. but it is useless now
* Cocoa: Fix make distJean-Philippe Andre2015-12-041-2/+1
| | | | See 967d2fe7fa5327675f830dbc3a
* Evas filters: Implement mix3 func for rgba maskingJean-Philippe Andre2015-12-044-61/+151
| | | | | | This operation was faked by running a mul and a blend ops. Now they are combined into one. A GL shader should also be able to do this in a single pass.
* Evas filters: Use Efl.Gfx.Render_OpJean-Philippe Andre2015-12-047-26/+50
| | | | | Some filters are now broken. Yay for refactoring! Will be fixed in the following commit.
* Draw: Add new mask functionsJean-Philippe Andre2015-12-043-7/+53
| | | | Copy & blend to uint32 with a uint8 mask + color.
* ecore-evas-wayland: Use proper Ecore_Wl2 window functionsChris Michael2015-12-031-2/+2
| | | | | | | | | To get the proper maximized and fullscreen states, we should be using the ecore_wl2_window functions, not the ecore_wl_window functions @fix Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
* ecore-evas: Remove duplicated ecore_evas_cocoa_window_get functionChris Michael2015-12-031-9/+0
| | | | | | | During my merge of the ecore_wl2 branch, somehow a duplicated cocoa_window_get function got added. Remove it. Signed-off-by: Chris Michael <cp.michael@samsung.com>
* ecore: Add a new wayland moduleChris Michael2015-12-0341-149/+7156
|\ | | | | | | | | | | | | | | | | | | This is a merge of branch 'devs/devilhorns/ecore_wl2' that improves on the existing ecore_wayland module. Improvements include support for mulitple wayland displays (nested compositor scenario), Improved time to first frame, reduced input latency, and better support for xdg window geometry. @feature
| * ecore-wl2: Always create cursor surface for pointerChris Michael2015-12-031-5/+5
| | | | | | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
| * ecore-evas wayland: enforce frame/state change triggering before move/resizeMike Blumenkrantz2015-12-031-16/+3
| | | | | | | | | | | | | | | | | | | | if a state change occurs on the ee, related callbacks must be run prior to performing any resizes in order to ensure that the correct csd sizes are calculated @fix ref T2841
| * ecore-evas-wl: Fix issue of resize jumpingChris Michael2015-12-031-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | Summary: When an initial client application was shown and we tried to resize it, the resize would jump by the amount of framespace. This was because the xdg_surface@configure event would be sending window geometry as the width/height params in the event. We need to account for that in the callback of window configure and adjust size accordingly. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
| * ecore-wl2: Port Ecore_Evas engines to use Ecore_Wl2 codeChris Michael2015-12-033-1/+17
| | | | | | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
| * ecore_cocoa: add support for system cursorsJean Guyomarc'h2015-12-036-3/+65
| | | | | | | | | | | | | | | | | | | | | | - Ecore_Cocoa_Cursor enum which references system cursors; - API to show/hide cursor: ecore_cocoa_window_cursor_show(); - API to set system cursor: ecore_cocoa_window_cursor_set(); - Ecore_Evas interface to get Ecore_Cocoa_Window from Ecore_Evas. @feature Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
| * ecore-evas-wl: Fix issue of improper window geometryChris Michael2015-12-031-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | This fixes an issue where maximizing a window would set improper xdg surface window geometry. We receive window configure sizes based on xdg surface window geometry, so we need to subtract framespace there or else window size grows when maximizing/unmaximizing multiple times. This also adjusts the call to xdg_surface_set_window_geometry to account for framespace (Fixes T2842). @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
| * ecore-evas wayland: use correct values when updating wayland window sizeMike Blumenkrantz2015-12-031-3/+0
| | | | | | | | | | | | | | | | | | | | by using the geometry from after the request size has been updated, scenarios such as the following can be avoided: [4208305.332] xdg_surface@46.set_window_geometry(0, 0, 1778, 1) [4208305.370] xdg_surface@46.set_window_geometry(0, 0, 1778, 250) @fix
| * ecore-wl2: Add start of code to support wl_keyboardsChris Michael2015-12-032-1/+122
| | | | | | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
| * ecore-wl2: Add private Ecore_Wl2_Keyboard structureChris Michael2015-12-031-0/+34
| | | | | | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
| * ecore-wl2: Remove unnecessary use of MIN macroChris Michael2015-12-033-15/+14
| | | | | | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
| * ecore-wl2: Fix calling wl_surface_frame with proper Ecore_Wl2 windowChris Michael2015-12-031-57/+0
| | | | | | | | | | | | frame Signed-off-by: Chris Michael <cp.michael@samsung.com>
| * ecore-evas-wl: Fix ecore-evas wl common code due to botched rebaseChris Michael2015-12-031-0/+57
| | | | | | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
| * ecore-wl2: Port Ecore_Evas engines to use Ecore_Wl2 codeChris Michael2015-12-033-3/+15
| | | | | | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
| * ecore-evas wayland: enforce frame/state change triggering before move/resizeMike Blumenkrantz2015-12-031-15/+0
| | | | | | | | | | | | | | | | | | | | if a state change occurs on the ee, related callbacks must be run prior to performing any resizes in order to ensure that the correct csd sizes are calculated @fix ref T2841
| * ecore-evas-wl: Fix issue of improper window geometryChris Michael2015-12-031-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | This fixes an issue where maximizing a window would set improper xdg surface window geometry. We receive window configure sizes based on xdg surface window geometry, so we need to subtract framespace there or else window size grows when maximizing/unmaximizing multiple times. This also adjusts the call to xdg_surface_set_window_geometry to account for framespace (Fixes T2842). @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
| * ecore-evas wayland: use correct values when updating wayland window sizeMike Blumenkrantz2015-12-031-0/+2
| | | | | | | | | | | | | | | | | | | | by using the geometry from after the request size has been updated, scenarios such as the following can be avoided: [4208305.332] xdg_surface@46.set_window_geometry(0, 0, 1778, 1) [4208305.370] xdg_surface@46.set_window_geometry(0, 0, 1778, 250) @fix
| * ecore-evas-wl: Fix bad mergeChris Michael2015-12-031-59/+1
| | | | | | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
| * ecore-wl2: Start on implementing support for multi-seatChris Michael2015-12-036-12/+368
| | | | | | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
| * ecore-wl2: Cancel data callback if we have a fatal errorChris Michael2015-12-031-0/+3
| | | | | | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
| * ecore-wl2: Remove setting custom wl_log handlerChris Michael2015-12-031-8/+0
| | | | | | | | | | | | | | | | | | Seems EINA_LOG_DOM has a problem printing out wayland protocol logs, so allow wayland to handle that itself. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
| * ecore-wl2: Fix maximized & fullscreen functions to use window flagChris Michael2015-12-031-12/+8
| | | | | | | | | | | | | | | | | | Rather than rely on window->type for maximized & fullscreen, use the cooresponding window flag @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
| * ecore-wl2: Fix calling wl_surface_frame with proper Ecore_Wl2 window frameChris Michael2015-12-031-0/+1
| | | | | | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
| * ecore-evas-wl: Fix ecore-evas wl common code due to botched rebaseChris Michael2015-12-031-0/+57
| | | | | | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
| * ecore-wl2: Port Ecore_Evas engines to use Ecore_Wl2 codeChris Michael2015-12-033-1/+15
| | | | | | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
| * ecore-evas wayland: enforce frame/state change triggering before move/resizeMike Blumenkrantz2015-12-031-16/+3
| | | | | | | | | | | | | | | | | | | | if a state change occurs on the ee, related callbacks must be run prior to performing any resizes in order to ensure that the correct csd sizes are calculated @fix ref T2841
| * ecore-evas wayland: use correct values when updating wayland window sizeMike Blumenkrantz2015-12-031-3/+0
| | | | | | | | | | | | | | | | | | | | by using the geometry from after the request size has been updated, scenarios such as the following can be avoided: [4208305.332] xdg_surface@46.set_window_geometry(0, 0, 1778, 1) [4208305.370] xdg_surface@46.set_window_geometry(0, 0, 1778, 250) @fix
| * ecore-wl2: Add missing @since for all existing doxygenChris Michael2015-12-031-0/+54
| | | | | | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
| * ecore-wl2: Change name of ecore_wl2_window_class_name_set functionChris Michael2015-12-033-5/+5
| | | | | | | | | | | | | | | | | | It makes more sense to have this function be called ecore_wl2_window_class_set. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
| * ecore-wl2: Add missing EINA_UNUSED for function parametersChris Michael2015-12-031-2/+2
| | | | | | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
| * ecore-wl2: Add function to get a windows rotationChris Michael2015-12-032-1/+27
| | | | | | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>
| * ecore-wl2: Fix issue of not unsetting move mouse pointerChris Michael2015-12-033-14/+32
| | | | | | | | | | | | | | | | | | | | | | Summary: When we finish moving a window, previously the mouse cursor would never get unset from the hand cursor. This is due to the way that grabs work in wayland, and not ever getting an event notification for the move being completed. This patch works around that issue @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
| * ecore-wl2: Fix maximized and fullscreen functions to restore geometryChris Michael2015-12-032-21/+10
| | | | | | | | | | | | | | | | | | Previously, when we maximized or fullscreen a window, we were sending the improper geometry to the window_configure callback @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
| * ecore-evas-wl: Fix issue of resize jumpingChris Michael2015-12-031-4/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | Summary: When an initial client application was shown and we tried to resize it, the resize would jump by the amount of framespace. This was because the xdg_surface@configure event would be sending window geometry as the width/height params in the event. We need to account for that in the callback of window configure and adjust size accordingly. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
| * ecore-wl2: Add doxygen for more ecore_wl2_window functionsChris Michael2015-12-031-17/+164
| | | | | | | | Signed-off-by: Chris Michael <cp.michael@samsung.com>