Commit Graph

88 Commits

Author SHA1 Message Date
Mike Blumenkrantz 86656e4df9 compositor rewrite / charlie-foxtrot situation
huge fustercluck commit because there wasn't really a way to separate out the changes. better to just rip it all out at once.

* compositor and window management completely rewritten. this was the goal for E19, but it pretty much required everything existing to be scrapped since it wasn't optimized, streamlined, or sensible. now instead of having the compositor strapped to the window manager like an outboard motor, it's housed more like an automobile engine.

** various comp structs have been merged into other places (eg. E_Comp_Zone is now just part of E_Zone where applicable), leading to a large deduplication of attributes

** awful E_Comp_Win is totally dead, having been replaced with e_comp_object smart objects which work just like normal canvas objects

** protocol-specific window management and compositor functionality is now kept exclusively in backend files

** e_pixmap api provides generic client finding and rendering api

** screen/xinerama screens are now provided directly by compositor on startup and re-set on change

** e_comp_render_update finally replaced with eina_tiler

** wayland compositor no longer creates X windows

** compositor e_layout removed entirely

* e_container is gone. this was made unnecessary in E18, but I kept it to avoid having too much code churn in one release. its sole purpose was to catch some events and handle window stacking, both of which are now just done by the compositor infra

* e_manager is just for screensaver and keybind stuff now, possibly remove later?

* e_border is gone along with a lot of its api. e_client has replaced it, and e_client has been rewritten completely; some parts may be similar, but the design now relies upon having a functional compositor

** window configuration/focus functions are all removed. all windows are now managed solely with evas_object_X functions on the "frame" member of a client, just as any other canvas object can be managed.

*** do NOT set interceptors on a client's comp_object. seriously.

* startup order rewritten: compositor now starts much earlier, other things just use attrs and members of the compositor

* ecore_x_pointer_xy_get usage replaced with ecore_evas_pointer_xy_get

* e_popup is totally gone, existing usage replaced by e_comp_object_util_add where applicable, otherwise just placed normally on the canvas

* deskmirror is (more) broken for now

* illume is totally fucked

* Ecore_X_Window replaced with Ecore_Window in most cases

* edge binding XWindows replaced with regular canvas objects

* some E_Win functionality has changed such that delete callbacks are now correctly called in ALL cases. various dialogs have been updated to not crash as a result

comp files and descriptions:

e_comp.c - overall compositor functions, rendering/update loop, shape cutting

e_comp_x.c - X window management and compositor functionality

e_comp_wl.c - Wayland surface management and compositor functionality

e_comp_canvas.c - general compositor canvas functions and utilities

e_comp_object.c - E_Client->frame member for managing clients as Evas_Objects, utility functions for adding objects to the compositor rendering systems

additional authors: ivan.briano@intel.com

feature: new compositor

removal: e_border, e_container, e_popup
2014-01-14 20:22:02 -05:00
Mike Blumenkrantz 718dfef61d giant comp rejiggering commit #6:
* border->fx REMOVED, related border api REMOVED

* comp edc has new class of groups: e/comp/effects[/auto]
** these are effects which can be applied to any compositor object through the e_comp_win_effect* api and are written in embryo
*** two types - base and auto - base = manual, for use with animators; auto are "trigger and forget", for use as actual effects

* desk flip transition animations moved to comp effects and FIXED(ish)

* "zoom" effect renamed to "diagonal" for slightly less misleading name since it never did any zooming

* actual "zoom" effect added

* border hierarchy now as follows: cw->effect_obj swallows cw->shobj, cw->shobj swallows cw->bd->bg_object ?: cw->obj, if (cw->bd->bg_object) cw->bd->bg_object swallows cw->obj
** cw->effect_obj now used for all positioning and comp logic
** cw->effect_obj ONLY used for object transformation effects (moving, zooming, fading, etc)
** cw->shobj ONLY for comp visual/non-movement effects (focus effect, unfocus opacity, legacy shadows); this is a candidate for removal/rewrite in E19

* even more comp shape rewrites

* desk flip animation time now controlled by theme since edje doesn't support setting transition time in C; related config value removed

* desk flip transitions (in e_desk.c) rewritten

* various modules (evry/illume2) updated to use comp effects instead of fx offset

* desk flip configuration BROKEN(ish)
2013-04-15 08:39:16 +01:00
Maxime Villard 4a52c46268 From: Maxime Villard <rustyBSD@gmx.fr>
Subject: [E-devel] [e][PATCH] Optimizations v2
Date: Fri, 21 Dec 2012 22:17:32 +0100

Hi,
same patch as before: removed useless nullchecks and
switched some free()'s to E_FREE().



SVN revision: 81592
2012-12-21 21:31:13 +00:00
Mike Blumenkrantz 3bc56a9e5f fix a tremendous number of stringshare leaks
SVN revision: 81532
2012-12-21 10:20:05 +00:00
Mike Blumenkrantz 607417832e don't free ecore_exes here in illume, this breaks e_exec severely
SVN revision: 80449
2012-12-07 13:26:46 +00:00
Mike Blumenkrantz 2434f5adbe more PATH_MAX cleanups
SVN revision: 75520
2012-08-22 07:32:12 +00:00
Mike Blumenkrantz 5a249be7bb OMG! DEVILHORNS USING AN EDITOR WITH TABS INSTEAD OF WHITESPACES????? SAY IT AIN'T SO!!!
SVN revision: 64906
2011-11-07 23:30:27 +00:00
Sebastian Dransfeld 0a0c4d5209 efreet: Revert changed flag
Only send event when cache is actually updated.

SVN revision: 62548
2011-08-18 07:34:02 +00:00
Sebastian Dransfeld 70ed1d3def e: Ignore efreet cache update on no change
SVN revision: 62507
2011-08-16 12:46:47 +00:00
Christopher Michael f5e291ae27 Add UNUSED.
Remove an unused variable.



SVN revision: 51444
2010-08-19 19:37:15 +00:00
Lucas De Marchi e010e6f1bd Apply memset-calloc.cocci
Change calls to malloc + memset to calloc whenever an automatic conversion can
be done.

Possible candidates are not treated here, only the ones we can be sure the
conversion is safe.



SVN revision: 51078
2010-08-13 12:53:08 +00:00
Lucas De Marchi d4329a77a5 Fix memset usage
SVN revision: 51041
2010-08-12 14:28:30 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Christopher Michael df850ebba7 Reenable efreet_desktop_cache_update. The endless loop seems to have
sorted itself out now.



SVN revision: 48892
2010-05-15 16:29:07 +00:00
Christopher Michael f6c66e4464 Disable listening on efreet_desktop_cache_update for now. Some recent
change somewhere seems to be putting this into an endless loop :(



SVN revision: 48767
2010-05-11 21:30:27 +00:00
Christopher Michael 409ed0bffe Add handler for BG change and update home window(s) accordingly.
SVN revision: 48739
2010-05-10 19:26:46 +00:00
Christopher Michael 8aef780c86 Fix showing Settings & System desktops.
SVN revision: 48626
2010-05-05 16:15:51 +00:00
Christopher Michael e80438d801 Clear any old 'appshadow' files and recreate new 'appshadow' on startup.
SVN revision: 48206
2010-04-21 16:22:23 +00:00
Christopher Michael 641f1a464e Break out the Home button into separate module.
Fix illume-home to not include gadget button.
Fix illume-home efreet_desktop_cache_update.



SVN revision: 48174
2010-04-20 19:37:46 +00:00
Christopher Michael 65f44eb009 Make illume-home use E's background.
SVN revision: 48156
2010-04-20 02:03:43 +00:00
Sebastian Dransfeld fadcb01bcb efreet: better naming
SVN revision: 48034
2010-04-15 19:21:03 +00:00
Sebastian Dransfeld 6db513e6f5 e: fix memleaks
SVN revision: 47972
2010-04-12 19:54:57 +00:00
Christopher Michael f4be8d98e9 Some desktop cleanup.
SVN revision: 47717
2010-04-02 23:58:49 +00:00
Christopher Michael 885007c49b Allow home to have focus.
SVN revision: 47612
2010-03-30 23:36:48 +00:00
Sebastian Dransfeld 779ef9e24a Sync with efreet and some cleanup
SVN revision: 47478
2010-03-26 05:34:34 +00:00
Sebastian Dransfeld cdd86db6ac Eet cache for efreet desktop
SVN revision: 46726
2010-03-01 18:16:32 +00:00
Carsten Haitzler 4513a24797 no more round trips! bad bad bad!
SVN revision: 46459
2010-02-25 12:26:10 +00:00
Christopher Michael 94df5150d1 Ok, we cannot accept focus on home window...leads to focus track issues.
SVN revision: 46445
2010-02-24 22:46:34 +00:00
Christopher Michael 25859b62f7 Check home count based on current mode and create or focus home window
accordingly.



SVN revision: 46409
2010-02-23 22:25:31 +00:00
Christopher Michael 84301f2dde Believe that home windows can now accept/take focus. Have not seen any
adverse effects with this yet.



SVN revision: 46396
2010-02-23 18:12:43 +00:00
Christopher Michael 0006745e2f Readd new illume2 code (ugg, svn is a pita) ;)
SVN revision: 46290
2010-02-19 03:00:58 +00:00
Christopher Michael 50bac54206 Ok, another stab at adding this to svn. Remove old code.
SVN revision: 46289
2010-02-19 02:59:56 +00:00
Christopher Michael efb5c66c67 New illume2 code in svn now :)
SVN revision: 46286
2010-02-19 02:32:18 +00:00
Christopher Michael 581ada3a3f Remove old illume2 code.
SVN revision: 46285
2010-02-19 02:30:01 +00:00
Sebastian Dransfeld 02b6e4db39 Ecore_Str.h -> Eina
SVN revision: 45740
2010-01-30 22:11:11 +00:00
Christopher Michael 10fb34ad03 Lock stacking of home windows & deselect an icon after it's started running.
SVN revision: 45500
2010-01-23 21:08:57 +00:00
Christopher Michael da65e0f364 Remove printfs.
SVN revision: 45474
2010-01-22 23:56:09 +00:00
Christopher Michael bbaf21475c Cleanup busycover handles when we close.
Add some printfs for home launching two apps.



SVN revision: 45469
2010-01-22 22:52:28 +00:00
Christopher Michael 06c33bb3ab Better way to set zone (faster as it does not send certain events).
SVN revision: 45315
2010-01-19 02:58:18 +00:00
Christopher Michael f3e837c31b Move borders to proper zone (when launched) if needed.
SVN revision: 45311
2010-01-19 02:17:14 +00:00
Christopher Michael c91fd67597 oops, re-enable new home windows on module startup.
SVN revision: 45234
2010-01-16 18:40:41 +00:00
Christopher Michael 1bc2b829f2 Use PATH_MAX in e_utils.
Add function in e_utils to get a zone by Ecore_X_Window (black_win).
No need to check for locked in illume-indicator.
Add client message handler for quickpanel to handle zone request changes on
quickpanel borders.
Remove some printfs.
Minor formatting in illume2 e_kbd.
Easier check for focused_vkbd_state.



SVN revision: 45233
2010-01-16 18:40:03 +00:00
Sebastian Dransfeld f2c243f91e make clang happy
SVN revision: 45191
2010-01-15 19:36:00 +00:00
Christopher Michael 09db1a4b46 Recreate new home windows on initial load (this handles dual mode also).
Rework/Re-implement busycover windows per home window so we can show
launching status.



SVN revision: 45097
2010-01-13 23:40:23 +00:00
Christopher Michael f288a575b7 New illume2 code for dual-head/xinerma.
SVN revision: 45068
2010-01-12 20:21:04 +00:00
Christopher Michael 3daa61a89d Remove all old illume2 code. New code coming in mass.
SVN revision: 45067
2010-01-12 20:18:38 +00:00
Christopher Michael 002032811d Add handler for creating new home windows when we get the client message.
Check layout mode on startup and create another home window if needed.



SVN revision: 44777
2009-12-30 02:33:09 +00:00
Christopher Michael ff7cea945f Don't listen on delete requests for home window.
SVN revision: 44773
2009-12-30 01:20:08 +00:00
Christopher Michael 301a1ec905 Kill and apps that we have run from 'home' when we unload the module. (to
cleanup nicely when we exit).



SVN revision: 44770
2009-12-29 23:54:17 +00:00
Christopher Michael c7a233c60e Formatting.
SVN revision: 44751
2009-12-28 22:13:42 +00:00