Commit Graph

283 Commits

Author SHA1 Message Date
Christopher Michael 8e219d3455 E Comp (wayland): Use the wayland method of getting time (appears some
wayland clients have issues with using E's timestamp from events).



SVN revision: 67632
2012-01-31 13:51:52 +00:00
Christopher Michael 9ba038d504 E Comp (wayland): Get important input from X11 (focus in/out, mouse
in/out, mouse down/up, key down/up, etc, etc) and pass it on to
wayland clients in the form that they expect (wayland events).



SVN revision: 67593
2012-01-29 20:31:46 +00:00
Christopher Michael 2b36a0e7ba E Comp (wayland): Add getting pixmap for egl surfaces.
SVN revision: 67592
2012-01-29 20:30:29 +00:00
Christopher Michael a764120adf E Comp (Wayland): Only fetch pixmap from wayland if we are a 'border'
window and 'borderless' (helps reduce apparent lag people were having).

NB: This is only enabled IF you do it on purpose with
--enable-wayland-clients when building E17. If NOT, then it defaults
to the code path that was there pre-existing.



SVN revision: 67576
2012-01-28 22:52:47 +00:00
Christopher Michael 9619be1673 E Comp (wayland): Add check for empty surface list (and bail out) and
add checks for valid buffer, and valid border.



SVN revision: 67575
2012-01-28 22:51:19 +00:00
Christopher Michael 26f6478d62 E Comp (wayland): Set border to borderless on show, so that we can
reduce pixmap lookups in core comp routines.



SVN revision: 67574
2012-01-28 22:50:24 +00:00
Christopher Michael 7ab3b4cb9e E Comp (wayland): Disable getting pixmap from Wayland (for now) as
this seems to break compositor for normal x11 users.



SVN revision: 67568
2012-01-27 15:07:42 +00:00
Christopher Michael c7e037e842 E Comp (wayland): Fix a few more instances of
ecore_x_composite_name_window_pixmap_get when building w/ wayland
client support.



SVN revision: 67556
2012-01-26 18:28:15 +00:00
Christopher Michael 98eb4d06ff E Comp (wayland): Commit new code for comp module that renders wayland
clients in e17 (x11).

NB: This is an inital 'working' commit, tho there are still things on
the todo for this, so don't expect it to "fully" work yet.



SVN revision: 67553
2012-01-26 18:21:54 +00:00
Christopher Michael d818752f81 E Comp (wayland): Add big FIXME note wrt why wayland clients are not
displaying.



SVN revision: 67531
2012-01-25 11:02:07 +00:00
Christopher Michael b2b3fc51fc E Comp (wayland): Fix some formatting. Set egl config_atribs to be
similar to the ones used in the evas_gl engine.



SVN revision: 67530
2012-01-25 11:01:18 +00:00
Christopher Michael 744b0a6658 E Comp (wayland): Set surface transform to NULL on creation.
SVN revision: 67529
2012-01-25 11:00:29 +00:00
Christopher Michael f636fe3065 E Comp (wayland): Remove unused function.
SVN revision: 67469
2012-01-23 12:35:42 +00:00
Christopher Michael 9309c86d3d E Comp (Wayland): Handle output mode flipped.
SVN revision: 67468
2012-01-23 12:22:16 +00:00
Christopher Michael 03eeeaaf0c E Comp (Wayland): Add functions for create/destroy of EGL images.
Add some notes....cause this STILL is NOT working :(



SVN revision: 67467
2012-01-23 12:21:39 +00:00
Christopher Michael 6d650eb556 E Comp (wayland): Handle destroy & create of egl images for surface.
SVN revision: 67466
2012-01-23 12:20:48 +00:00
Christopher Michael 50dd8bd43f E Comp (wayland): Quiet output. Add EGL image functions to compositor
structure.



SVN revision: 67465
2012-01-23 12:20:17 +00:00
Christopher Michael f4c3c4b041 E Comp (wayland): Add some notes. Remove some debug output. Hangle EGL
images.



SVN revision: 67464
2012-01-23 12:19:44 +00:00
Christopher Michael 36b4602804 E Comp Module (wayland client support): Break large file into several
smaller ones (easier to maintain & read). Finish off lots of todos
from original file.

NB: This STILL will not render wayland clients in our compositor.
Anyone with experience wrt this ?? Any help would be appreciated !!



SVN revision: 67451
2012-01-22 16:32:39 +00:00
Christopher Michael 2cef205925 Comp: Fix building without wayland clients.
SVN revision: 67424
2012-01-21 09:22:01 +00:00
Christopher Michael 7b37b6a28b Comp Module: Add code for allowing comp module to render wayland
clients (incomplete still).

NB: Just adding this code so that Gwanglim Lee can see the code.



SVN revision: 67398
2012-01-20 18:40:39 +00:00
Gustavo Sverzut Barbieri 4305b8e7fe e/docs: do bare documentation for e.
Just some groups and basic description for modules. I'm NOT going back
to this anytime soon, but would be VERY happy if people could do some
screenshots and put the images for each module in docs/img/ folder,
linking to them from each e_mod_main.h



SVN revision: 67362
2012-01-19 23:25:32 +00:00
Carsten Haitzler 524904ac55 sigusr2 now toggles fps :)
SVN revision: 66935
2012-01-06 10:26:02 +00:00
Mike Blumenkrantz 27661da8ef not having any text here weirds me out
SVN revision: 66918
2012-01-06 03:58:34 +00:00
Gwanglim Lee 990a6ef050 From: Gwanglim Lee <gl77.lee@samsung.com>
Subject: [E-devel] [Patch] E17/comp: add _NET_WM_CM_Sn checking code

I've added checking code to detect another compositor that is already
running.

And I've also removed unnecessory set/unset code for _NET_WM_CM_S#.



SVN revision: 66657
2011-12-30 02:15:02 +00:00
Carsten Haitzler cdb864ed8e remove all traces of selecting engine in e17 - wont actuallly ever be
needed beyond compositor. :)



SVN revision: 66513
2011-12-26 06:24:59 +00:00
Cedric BAIL fe17e9caa7 e: fix layout and visibility issue with emotion xv surface.
SVN revision: 64304
2011-10-22 21:15:40 +00:00
Cedric BAIL 0a59d65e3f e: actually let E17 handle direct video rendering path.
NOTE: There is still the following list of issue :
	- stacking, with window that could get between the video
layer and the application layer.
	- border, if I turn them off the window get resized to
1x1 and I don't understand yet why.
	- comp-scale, as we don't understand that this window
are one, it display them separatly.

I think that the only possible answer is to enable this feature
only when composite is tunerd on and make window a smart object
so we could merge the video layer and the application in one
object.



SVN revision: 64257
2011-10-21 15:31:35 +00:00
Mike Blumenkrantz d6b9024fcc warning--
SVN revision: 64112
2011-10-16 15:35:53 +00:00
Hannes Janetzek 3d1ecd29e5 e17/comp: ok, dont make Comp_Source public, add functions needed by comp-scale instead
SVN revision: 63965
2011-10-10 21:09:26 +00:00
Hannes Janetzek b59bdf6761 e17/comp: add function to get Comp_Source for window.
- make part of comp source struct public, better than having all modules using Comp_Source
  copying E_Comp_Win private struct. 


SVN revision: 63963
2011-10-10 20:30:33 +00:00
Christopher Michael 942b27687d E: Comp Module: Shorten label of reset warning so that dialog fits on
small screens.



SVN revision: 63563
2011-09-23 10:02:57 +00:00
Christopher Michael a0a0b42146 E: No need to store static lists of borders, comps, shelves, etc.
Those static lists were only used in config dialogs, so they are not
'required' to be static and existing while E is running. The config
dialogs can just call the e_theme_*_list functions when they need to.

NB: This reduces E's memory footprint !! :)



SVN revision: 63529
2011-09-22 04:05:55 +00:00
Hannes Janetzek b8955ac805 e17/comp: workaround. dont know where it came from but *c was NULL here
SVN revision: 63520
2011-09-21 13:47:15 +00:00
Hannes Janetzek 6e731831db e17/comp: add some info how to reset config and mark inidrect gl as experimental
SVN revision: 63444
2011-09-17 01:42:49 +00:00
Hannes Janetzek e39bfa01a8 e17/comp: remove my disabled code. cleanups
SVN revision: 62861
2011-08-26 14:52:19 +00:00
Christopher Michael 113e155a51 Comp Module: If shadows are disabled in config, then do not draw them ;)
SVN revision: 62628
2011-08-20 11:39:25 +00:00
Carsten Haitzler 7c9f1888df big big big wizard revamp. as per todo list.
SVN revision: 62478
2011-08-15 09:21:12 +00:00
Hannes Janetzek 52a9416c57 e17/comp-scale: dont show border window if it is not bd->visible
this happend when hidden_override is unset on an invisible border or
when there are damage updates for a invisible border and cw->sh_obj ist not visible

fixes flickering of comp-scale pager windows from other desks on finish


SVN revision: 62308
2011-08-10 19:22:42 +00:00
Christopher Michael 750dbdf926 E: Re-enable Alert window when composite module is running.
SVN revision: 62182
2011-08-07 14:03:21 +00:00
Carsten Haitzler 1ee33462ad in text-from-pixmap dont keep queueing updates when no updates exist
(same as software mode).



SVN revision: 61970
2011-08-02 01:02:14 +00:00
Christopher Michael 015e05f81f E: Composite module: Only allow OpenGL engine if "ECORE_X_NO_XLIB" is
not around (hence ecore_x was started to allow Opengl to run).



SVN revision: 61764
2011-07-26 14:21:23 +00:00
Christopher Michael 1a13f8c26f E: Make E work with the new XCB stuffs. This breaks out e_alert into
it's own utility (as per raster's request/idea). Remove explicit
x_clags in Makefile.am(s) as they are no longer needed.

NB: I added some additional libs to the precache stuffs (even tho it's
not used right now). Also a newer e_main (more optimized).

NB: IF you are brave and want to test this, build evas w/ xcb, build
ecore w/ xcb, then rebuild E. Also, disable building opengl in both
evas & ecore (it's not ready for public consumption when paired w/ xcb).



SVN revision: 61680
2011-07-25 09:40:18 +00:00
Carsten Haitzler e923a8b481 fix limit fps - it doesnt totally limit fps as window moves and
resizes are still going to work at input event rate, but app rendering
will be limited etc. and this stops e missing updates. so it's a bugfix.



SVN revision: 61643
2011-07-24 09:16:52 +00:00
Carsten Haitzler 82d078956a dont really need env var anymore - sync options work.
SVN revision: 61630
2011-07-24 05:51:44 +00:00
Boris Faure 6048d46024 remove .cvsignore files
SVN revision: 60246
2011-06-12 21:38:37 +00:00
Hannes Janetzek 3c3a0582f2 e17: added comp style for everything.
needs formatting. has anyone the indentation style for e17 edc for emacs?


SVN revision: 59028
2011-04-29 06:23:02 +00:00
Hannes Janetzek d6be95ecea e17/comp: run show animation also when hidden_override is set
should fix bug with windows not become visible when they are mapped while comp-scale is active


SVN revision: 58996
2011-04-28 10:03:43 +00:00
Christopher Michael 43c493f090 E17 - Fixup some compiler warnings
gadcon: Fix 'limit' may be used uninitialized.
        Fix formatting in some places.
menus:  Fix several variables may be used uninitialized warnings.
comp:   Add UNUSED where needed.
        Fix formatting in some places.



SVN revision: 58467
2011-04-08 05:31:47 +00:00
Hannes Janetzek 08b3049296 e17/comp: disable dropshadow module when comp is enabled
SVN revision: 58317
2011-04-04 09:11:59 +00:00
Carsten Haitzler 17d1ec22ed hmmm turn off sync/delayed fatch. breaks in some situations.
SVN revision: 58225
2011-03-31 11:05:23 +00:00
Carsten Haitzler 8f3befc80c missed update nullify
SVN revision: 58222
2011-03-31 08:39:50 +00:00
Carsten Haitzler 822e911859 new sync protocol support -> sync efl apps more "perfectly" on resize.
its still a hack. real solution is making e totoally composited and
then the state machine can easily handle it all nigh flawlessly.



SVN revision: 58221
2011-03-31 08:14:18 +00:00
Mike Blumenkrantz 555c466ddc formatting again with updated cfg
SVN revision: 57911
2011-03-20 06:51:13 +00:00
Mike Blumenkrantz 1bfdf90aab ecrustified
SVN revision: 57909
2011-03-20 06:12:17 +00:00
Hannes Janetzek 3e85ebbb42 17/comp: add notification dialog when OpenGL init fails
SVN revision: 57907
2011-03-20 04:45:05 +00:00
Hannes Janetzek d20d417b66 e17:comp: workaround segv. not sure what the right fix is
SVN revision: 57899
2011-03-19 16:46:04 +00:00
Christopher Michael 895c3e6546 Add UNUSED where missing.
Fix formatting.



SVN revision: 57834
2011-03-18 00:11:59 +00:00
Hannes Janetzek 7f457f1911 e17: add option to have gadcon client settings menu in toplevel again.
added e_menu_item_new_relative(E_Menu, E_Menu_Item *rel) which appends 
 new item to rel or prepends it when rel is NULL.

changed e_gadcon_util_client_menu_append to to take only the gadget menu
 and returns the new toplevel menu that should be shown by gcc
 depending on the setting this is a new menu with gadget menu as submenu
 or the gadet_menu with gadget menu items appended

updated e-modules-extra comes in a minute


SVN revision: 57826
2011-03-17 17:08:36 +00:00
Hannes Janetzek d69ce12435 e17/comp: finally. only set PropertyChangeMask on override windows for which we dont have it already.
removes Xlib header. causes a second round-trip for ecore_x_event_mask_set. but should not happen that often i guess


SVN revision: 57811
2011-03-16 22:46:25 +00:00
Hannes Janetzek 5b6527fbc6 e17/comp: enable property sniffing of override redirect windows again.
should there be a function in ecore_x to add event-mask elements?


SVN revision: 57809
2011-03-16 22:21:52 +00:00
Hannes Janetzek 6e6145a32e e17/comp: whoops this should have bee removed by the last commit
SVN revision: 57807
2011-03-16 22:03:53 +00:00
Hannes Janetzek 1155517394 e17/comp: revert sniffing. seems i need to get only those windows that are not managed by
SVN revision: 57806
2011-03-16 21:40:25 +00:00
Hannes Janetzek 5732e6300d e17/comp: sniff some property events from override redirect windows and support _NET_WM_WINDOW_OPACITY
no more opaque black background for gksu


SVN revision: 57805
2011-03-16 21:25:35 +00:00
Hannes Janetzek 22f3ce7e66 e17/comp: use input winodw for cm_selection. still not working with gksu overlay somehow..
SVN revision: 57801
2011-03-16 14:39:44 +00:00
Hannes Janetzek e4413ad2a7 e17/comp: acquire cm selection for composited screens
SVN revision: 57795
2011-03-16 12:12:23 +00:00
Hannes Janetzek e2cdc78fe1 e17:comp: more self explanatory label
SVN revision: 57782
2011-03-15 21:49:04 +00:00
Hannes Janetzek 0ab4fa35e4 e17:comp: add config option for initial draw timeout.
- no more laggy everything, reduced default timeout from 0.2 to 0.05
- add match for everything for new configs



SVN revision: 57780
2011-03-15 21:35:08 +00:00
Hannes Janetzek 6f65815b3d e17:comp: dont wait for damage/timeout from popups and e menus. we know they draw fast
SVN revision: 57778
2011-03-15 20:47:30 +00:00
Hannes Janetzek f19d67bc2d e17/comp:config: select correct item on add match
SVN revision: 57756
2011-03-14 23:56:16 +00:00
Hannes Janetzek c48f99a609 e17/comp: dont set visible until !cw->hidden_override.
trying to fix an infinite loop in when new window is added that is directly set to cw->hidden_override


SVN revision: 57689
2011-03-11 12:15:41 +00:00
Hannes Janetzek 8caac494bd e17/comp: dont run into infinite loop on show_ready when hidden_override is set
SVN revision: 57672
2011-03-10 15:14:14 +00:00
Hannes Janetzek 770b48d12d e17/comp: disable reuse of old comp_win for borders switching frame window for now.
bad things can happen with internal windows when switching rgb/argb frames. 
need to check it tomorrow.


SVN revision: 57517
2011-03-04 00:34:39 +00:00
Hannes Janetzek 48f84b70f3 e17/comp: wait for first damage on win_show.
this fixes pixel garbage with many gtk menus.
are there any windows that dont create damage on show?


SVN revision: 57513
2011-03-03 23:58:30 +00:00
Hannes Janetzek f0657e77f2 e17/comp: set smooth scaling of mirror objects according to config
SVN revision: 57511
2011-03-03 23:49:11 +00:00
Hannes Janetzek 9a0a0905d5 e17/comp:
- remove mirror object from cw->obj_mirror when object is deleted
- stack the mirror object relative to the original. just handy
- allow to set hidden_override. typo?
- reuse comp_win for borders that switched between argb/rgb frame


SVN revision: 57510
2011-03-03 23:36:54 +00:00
Eric Schuele 329fcebb36 Add a few missing module descriptions.
SVN revision: 57465
2011-03-02 04:55:11 +00:00
Christopher Michael 463c6051d1 E Comp Module: formatting/whitespace fixes.
Remove miles of whitespace & fix horrible formatting.

No Jeff, we do not declare variables in the middle of our
functions (in E).....SPANK SPANK :P



SVN revision: 57345
2011-02-26 21:51:40 +00:00
Hannes Janetzek e2a91285df e17/comp: show more info in match list.
before one had to open 'edit match' to see what it actually matches


SVN revision: 57339
2011-02-26 13:26:47 +00:00
Hannes Janetzek 85a86051db e17/comp: cleanup last commit and fix warnings on 64bit os
SVN revision: 57338
2011-02-26 12:19:29 +00:00
Hannes Janetzek 76d3af24a6 e17/comp: make config dialog inaccessible while editing window matches
overlay dialog with a background and put the match widgets above so that 
one cant press other buttons e.g. delete the match that one is currently 
editing. also fixes the problem that when frametable has a translucent
background the dialog below doesnt shine through


SVN revision: 57337
2011-02-26 11:56:50 +00:00
Hannes Janetzek 5d71553af1 e17/comp: fix segv in config dialog when no item is selected
SVN revision: 57335
2011-02-26 10:42:10 +00:00
Massimo Maiurana 359a85e93d updating various translations
SVN revision: 57225
2011-02-21 19:19:12 +00:00
Carsten Haitzler 048a1e6cf7 ok user signal was a nice idea but we get user2 already so we cant use
ir without fps always toggling



SVN revision: 57156
2011-02-19 09:52:27 +00:00
Massimo Maiurana 308534cc44 updating russian translations
SVN revision: 57124
2011-02-17 12:15:59 +00:00
Christopher Michael a368649dfc Comp Module: Cleanup
NB: No 'functional' changes, just cleanup.
  Remove Unused variable.
  Whitespace removal.



SVN revision: 56928
2011-02-10 17:26:40 +00:00
Carsten Haitzler d8309aeb84 and force fps objs to be on max layer.
SVN revision: 56266
2011-01-22 16:32:26 +00:00
Carsten Haitzler ef8fd4ab06 fix geometry up a bit and limit ranges more.
SVN revision: 56263
2011-01-22 11:00:11 +00:00
Carsten Haitzler 3a0ff0519a fix frametimes array.
SVN revision: 56262
2011-01-22 10:44:40 +00:00
Carsten Haitzler 720f53b264 add fps debug display to comp...
to toggle interactively:
  killall -USR2 enlightenment 
or
  ctrl+alt+shift+F
or just change it in the config panel - the longer the average
interval is, the more accurate it will be, but the less often you get
updates. you can choose the screen corner here too. :) also note that
if comp doesnt get a stream of input (frames to render) then it's also
not going to tel you much interesting about its "best possible
framerate" as its likely got lots of spare time to do more, but it
just never got any to do. so this is useful if:

1. there is a continual strem of input (video playback, animated gui,
continual user input).
2. the longer the rolling average framecount is, the more accurate it
will be.



SVN revision: 56260
2011-01-22 09:52:48 +00:00
Massimo Maiurana f13cdcbd02 updating german translations
SVN revision: 55935
2011-01-06 17:49:35 +00:00
Mike Blumenkrantz 15468f69f6 fix include paths for all these makefiles to add $top_builddir/src/bin instead of $top_srcdir/src/lib
SVN revision: 55884
2011-01-05 17:50:05 +00:00
Carsten Haitzler 1583fac1a1 and we didnt actually use the engine vsync support in comp.
SVN revision: 55756
2010-12-26 10:17:54 +00:00
Mike Blumenkrantz b7b7e11f32 add some explicit null checks
SVN revision: 55716
2010-12-22 23:08:25 +00:00
Mike Blumenkrantz 2aa8241d9e fix possible segv
SVN revision: 55706
2010-12-22 22:47:46 +00:00
Carsten Haitzler 07ff0c319b change native api to allow for other types of native data like texture
id's, fbo's etc. too - at least it's versioned now.



SVN revision: 55315
2010-12-06 07:09:51 +00:00
Massimo Maiurana 9a47758a74 updating portuguese translations
SVN revision: 54864
2010-11-23 11:43:54 +00:00
Christopher Michael bd0c639991 Remove unused variables (also removed 'moved' variable as it wasn't
used other than setting to 1; never checked after that).



SVN revision: 54115
2010-11-03 04:53:17 +00:00
Massimo Maiurana 80ffd6a549 updating french and italian translations
SVN revision: 53902
2010-10-26 18:40:54 +00:00
Miculcy Brian dd641e9259 New categories for modules.
To be continued soon...


SVN revision: 53514
2010-10-17 17:33:44 +00:00