Commit Graph

163 Commits

Author SHA1 Message Date
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
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 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
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 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
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
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
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 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 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
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
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
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
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
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