Commit Graph

19 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
Mike Blumenkrantz c6a9c34e7f giant header overhaul which removes all the stupid one line function prototype headers and e_mod_main.h headers that contain nothing but unnecessary module api prototypes
SVN revision: 79908
2012-11-30 14:38:34 +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
Hannes Janetzek 495902f88b e17/illume: add option to resize app window before animating keyboard. send default keyboard layout on start (not alpha)
SVN revision: 62937
2011-08-29 09:28:40 +00:00
Christopher Michael bfe14a9dff Better variable name(s).
SVN revision: 50862
2010-08-06 15:15:32 +00:00
Carsten Haitzler 6193ae5803 happi?
SVN revision: 50855
2010-08-06 06:41:09 +00:00
Carsten Haitzler 74d2c22252 bad! bug bug!
SVN revision: 50853
2010-08-06 05:08:26 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Mike Blumenkrantz 127aae1ab8 my first e commit that doesn't break anything (I think)!
enables eeze_udev support where available, currently only illume2, as a device backend to replace ehal.
unless --enable-device-udev is explicitly specified, e will continue to use ehal as the device backend.
upon selection of eeze_udev, a brief warning will be shown during config summary.
components that do not support eeze_udev will still fall back to hal even if eeze_udev is selected


SVN revision: 48867
2010-05-14 18:19:51 +00:00
Mike Blumenkrantz 8983a44a51 one more :((
SVN revision: 48817
2010-05-13 19:49:37 +00:00
Christopher Michael 90275a397b Fix illume keyboard to handle quick toggles of show/hide.
SVN revision: 48140
2010-04-19 19:33:51 +00:00
Christopher Michael acae39fd3e Fix issue where sometimes when closing an app, the window below would
not show...now it will at least show home. This fixes the 'grey'
background issue reported by TAsn.

Fix issue of keyboard layout getting reset when switching between 2
apps which use a vkbd (reported by TAsn).



SVN revision: 47636
2010-03-31 23:43:35 +00:00
Christopher Michael 2466083ecd Don't segfault if keyboard has no border.
SVN revision: 46520
2010-02-26 21:04:03 +00:00
Christopher Michael 301223f66f Remove last remaining round-trip.
Remove some printfs.
Fix some formatting.



SVN revision: 46510
2010-02-26 11:37:01 +00:00
Christopher Michael 22761b568b Don't need to send a layout update when animation is done (it's already send
in the show/hide calls).

Send new keyboard geometry if we are not animating also.



SVN revision: 46509
2010-02-26 11:20:43 +00:00
Christopher Michael 7a79cfc933 Add sending keyboard geometry for conformant apps.
SVN revision: 46404
2010-02-23 20:54:59 +00:00
Christopher Michael 0e67df5730 Add layout sending/updating.
SVN revision: 46312
2010-02-19 15:40:11 +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