Commit Graph

263 Commits

Author SHA1 Message Date
Carsten Haitzler 33eb15abc8 be like other compositors. work around the unmap thing and never unmap
if we have a compositor. just "mark" as unmapped and leave there.
pretend we are unmapped. disable events and stuff on the border to get
the behaviro right too so stacking or positioning is never affected.



SVN revision: 50761
2010-08-03 09:03:58 +00:00
Carsten Haitzler cc4135e5fb and comp now supports the new mirror object system - u can make things
like expose with it etc... even in other modules.



SVN revision: 50759
2010-08-03 06:10:33 +00:00
Carsten Haitzler 4edb627ea6 extending comp to allow "expose" and other such things - other modules
that can trivially get objects inside the compositor canvas as well as
get the compositor canvas and events when it comes and goes, changes,
when client sources are added, removed etc. etc.



SVN revision: 50727
2010-08-01 14:29:19 +00:00
Christopher Michael cddf54d137 This header already handled by e.h
SVN revision: 50343
2010-07-18 17:35:25 +00:00
Christopher Michael a0cca73f48 This header already handled by e.h
SVN revision: 50342
2010-07-18 17:35:09 +00:00
Christopher Michael 2a4e4a50fd This header already handled by e.h
SVN revision: 50341
2010-07-18 17:34:50 +00:00
Carsten Haitzler 0b58ebf063 use new pixmap setter - handy. apps can trivially just find the pixmap
id being used for compositing at any time (and listen to changes too)



SVN revision: 50239
2010-07-13 23:36:32 +00:00
Christopher Michael 5cd823d6ee Rename declared definition OVERFLOW to OVER_FLOW.
(conflicted w/ OVERFLOW which is defined in math.h).



SVN revision: 50237
2010-07-13 22:46:17 +00:00
Carsten Haitzler 83d649c897 make overflow a defiine
SVN revision: 50006
2010-07-03 01:50:29 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Carsten Haitzler 2b68e5c337 bring back deferred until first damage show.
SVN revision: 49589
2010-06-09 13:27:39 +00:00
Carsten Haitzler 2c937afdec fix comp + evry.
SVN revision: 49572
2010-06-08 14:58:08 +00:00
Carsten Haitzler 71df71f4c8 oops - typo typo typo
SVN revision: 49235
2010-05-27 16:00:28 +00:00
Christopher Michael 1142455822 Set config dialog for match (was missing and causing segfaults in the
Over section of Styles).



SVN revision: 49169
2010-05-23 23:17:26 +00:00
Carsten Haitzler d416ece384 oooh fix segv on initial run with no prior config
SVN revision: 49141
2010-05-22 16:21:17 +00:00
Carsten Haitzler 4a4e7dce6e comp module gets icon that ... doesnt suck.
SVN revision: 49105
2010-05-21 15:23:54 +00:00
Carsten Haitzler 746680ce13 set use_composite when comp module enabled
SVN revision: 49102
2010-05-21 15:00:22 +00:00
Carsten Haitzler 1b12a9ec2c oops - that'll caus segvs. fix.
SVN revision: 49101
2010-05-21 14:22:29 +00:00
Carsten Haitzler 50e0cc1db0 also make comp config reset to default on ctrl+alt+shift+home
SVN revision: 49092
2010-05-21 10:04:54 +00:00
Carsten Haitzler 9554af6ed0 ctrl+alt+shift+home unloaads comp module, saves config and restarts e -
emergency escape valve in case comp fucks your display up



SVN revision: 49090
2010-05-21 09:34:58 +00:00
Carsten Haitzler e41b1d92f1 printf--
SVN revision: 49069
2010-05-20 16:42:19 +00:00
Carsten Haitzler 882d353a97 wow. that took some time. comp now have full gui config for matches.
SVN revision: 49068
2010-05-20 16:38:08 +00:00
Carsten Haitzler c53e008da4 oooh baby.. lets make use of these matching doobies.
SVN revision: 48889
2010-05-15 13:12:14 +00:00
Carsten Haitzler 0ffa8b00a5 oooh lookie here. a way to match comp "shadow" objects with window types,
properties etc. etc. - yes it works.. no there is no sample config yet. and
there is no gui config to change this (yet). need first initial sample config.



SVN revision: 48886
2010-05-15 09:14:31 +00:00
Gustavo Sverzut Barbieri 5d8b697156 attempt to make composite effects suck less.
Introducing the styles:

 * fast: does not have focus-in/out effect, similar to "slow", but runs in
   0.1 second, so quite fast.

 * focus-out-colored: the focus-out has a color applied to it, the
   color is gray by now, but can be changed with conf_colors (last
   item), one can go crazy and make the focused out yellow or make
   them semi-transparent;

The "comp" configure dialog now the focus in/out effects as well, to
make user know what is happening a boring label is overlaid in the
preview.



SVN revision: 48491
2010-04-30 20:23:28 +00:00
Hannes Janetzek 5ef6f8bf5b fix some more warnings
SVN revision: 48345
2010-04-26 18:26:49 +00:00
Carsten Haitzler 7849591dc6 oops - didnt turn shadow off properly. done now.
SVN revision: 47959
2010-04-12 14:55:25 +00:00
Carsten Haitzler 48fbad5d6b comp module... oh so much has been done... whhere do i begin? - fully fledges
edje obj swallowing windows, selection mechanism to have myltiple styles (2
examples), signals for focus, urgent, comp stuff now in core theme.... dump
and flush supported now (sends messages).



SVN revision: 47950
2010-04-12 08:28:51 +00:00
Christopher Michael d770a853e4 Don't show OpenGL Options if OpenGL is not an available engine.
SVN revision: 47940
2010-04-11 21:46:09 +00:00
Carsten Haitzler 83f8580fe1 fixx shadow - more correct. no overlap for argb bordered windows.
SVN revision: 47831
2010-04-08 13:02:55 +00:00
Carsten Haitzler 0c3b9e3100 oops segv
SVN revision: 47827
2010-04-08 06:23:23 +00:00
Carsten Haitzler 362b87516e comp -> EFFECTS! (yes.. using edje!)
SVN revision: 47826
2010-04-08 06:01:40 +00:00
Carsten Haitzler 3492c8fd13 more options - ui fits better on small screens
SVN revision: 47575
2010-03-30 03:10:03 +00:00
Carsten Haitzler 116a275b8a fix some sync send issues - missed cases.
SVN revision: 47411
2010-03-24 08:08:46 +00:00
Carsten Haitzler f85d9326b8 fix missed expose in comp
SVN revision: 47282
2010-03-16 08:54:57 +00:00
Carsten Haitzler 4bafaa704d reparent initwin to compositor win so init win doesnt hang while e gets up
and going.



SVN revision: 47153
2010-03-12 08:47:13 +00:00
Miculcy Brian b80eca5ad3 remove the now useless title
SVN revision: 47002
2010-03-08 16:09:21 +00:00
Carsten Haitzler 33e98b7b15 dont delay comp load - and sync on init too to make sure.
SVN revision: 46998
2010-03-08 14:50:00 +00:00
Carsten Haitzler f1408f12e9 aaaaah typo! :) thts what made redir subwindows fail!
SVN revision: 46938
2010-03-07 11:48:36 +00:00
Carsten Haitzler 1e258f35d4 hmmm seeming a few more redirects than needed
SVN revision: 46936
2010-03-07 11:40:49 +00:00
Carsten Haitzler 92458decea and actuually send sync cancel too. (and inc counter to avoid race)
SVN revision: 46913
2010-03-06 17:15:10 +00:00
Carsten Haitzler 6716e77d14 hmm some sort of lockup? safety++
SVN revision: 46910
2010-03-06 16:38:59 +00:00
Carsten Haitzler 4e3fb35b8a texfrompixmap fix for "nocomp" mode
SVN revision: 46887
2010-03-05 03:21:42 +00:00
Carsten Haitzler 130112fb31 handle sync properly if enabled.
SVN revision: 46866
2010-03-04 13:42:19 +00:00
Carsten Haitzler 8aa21dc2a6 option to not composite if fullscreen windows are detected. go in and out of
compositor



SVN revision: 46865
2010-03-04 13:33:33 +00:00
Carsten Haitzler fd7e0c09df hmmm something screwed with init done events.. remove 1 undone.
SVN revision: 46784
2010-03-02 12:31:20 +00:00
Carsten Haitzler cde353aa9b printf--
SVN revision: 46462
2010-02-25 13:09:09 +00:00
Carsten Haitzler 5ffdd6a06a make frameinfo work on env var. export DFI=1
SVN revision: 46461
2010-02-25 12:37:28 +00:00
Carsten Haitzler 4513a24797 no more round trips! bad bad bad!
SVN revision: 46459
2010-02-25 12:26:10 +00:00
Carsten Haitzler 395e679706 fix sync issue.
SVN revision: 46452
2010-02-25 05:12:49 +00:00
Carsten Haitzler 1a705408c8 oooh and free rects before getting!
SVN revision: 46346
2010-02-21 16:15:59 +00:00
Carsten Haitzler 0d9e03416b fix/clean up shape handling in gl engine... with texture from pixmap...
SVN revision: 46345
2010-02-21 15:52:19 +00:00
Christopher Michael cdf7c14d90 Oops, that should not have been comitted.
SVN revision: 46294
2010-02-19 03:31:03 +00:00
Christopher Michael 581ada3a3f Remove old illume2 code.
SVN revision: 46285
2010-02-19 02:30:01 +00:00
Gustavo Sverzut Barbieri 61531ed0d3 special case: we don't care for shape of argb windows, don't fetch it.
SVN revision: 46272
2010-02-18 11:56:37 +00:00
Carsten Haitzler e6746ce456 fill un alpha pixels when shape is removed.
SVN revision: 46271
2010-02-18 11:46:15 +00:00
Gustavo Sverzut Barbieri 59a5bdf853 Fix segv with shaped windows on GL composite manager.
When we have shaped windows, we must force it to be converted to
non-native so we can modify it later, setting the alpha byte of the
pixels based on the mask.

This fix segv that was happening with Chromium and other shaped
windows as the evas_object_image_data_get() would return NULL for
native surfaces.



SVN revision: 46264
2010-02-18 02:48:39 +00:00
Carsten Haitzler db323e87f9 work on better shape handling for gl comp
SVN revision: 46231
2010-02-17 03:38:57 +00:00
Carsten Haitzler a0874fb2b3 add support for indirect option for gl.
SVN revision: 46179
2010-02-15 05:27:36 +00:00
Carsten Haitzler 60b35967de gl vsync smoother tear-free rendering on desktop (nvidia though only - i am
in no mood to figure out the convoluted vsync stuff for every linux gl drvier
out there!)



SVN revision: 46158
2010-02-14 03:57:43 +00:00
Carsten Haitzler 11ddc952af less overhead... maybe.
SVN revision: 46076
2010-02-11 13:33:20 +00:00
Carsten Haitzler 2c22b1f6c1 more overhead. screw u composite! screw you!. i now know what is needed...
and  whats there now is not pretty.



SVN revision: 46074
2010-02-11 11:09:18 +00:00
Carsten Haitzler b98aa59ac4 defer showing a composited window until first render.
SVN revision: 46072
2010-02-11 08:05:19 +00:00
Carsten Haitzler e14a685399 debug. off.
SVN revision: 46071
2010-02-11 07:41:02 +00:00
Carsten Haitzler 4fbe140b50 fade ... OFF!
SVN revision: 46070
2010-02-11 07:40:44 +00:00
Carsten Haitzler 64758733a6 fix some bugs i added to compositing in making gl more solid - software
compositing that is.



SVN revision: 46069
2010-02-11 07:07:58 +00:00
Carsten Haitzler eed1782f5f and some more compositor work - now its looking mroe solid.
SVN revision: 46045
2010-02-10 14:13:29 +00:00
Carsten Haitzler 8296dcf1a2 debug++ and fix small no-re-render case.
SVN revision: 46038
2010-02-10 09:40:44 +00:00
Carsten Haitzler a8a37957c3 some mroe fixes and improvements.
SVN revision: 46037
2010-02-10 08:09:03 +00:00
Carsten Haitzler 218c418dc9 compositing work - make it solid and work in more places. hopefully this
fixes some other issues if u turn on "keep hidden windows".. but that seems
to creat others atm.



SVN revision: 46036
2010-02-10 07:47:59 +00:00
Carsten Haitzler 814260e35b fix native surface oopsie!
SVN revision: 45931
2010-02-06 10:52:09 +00:00
Carsten Haitzler c14491ffd0 some infra for doing effects later
SVN revision: 45926
2010-02-06 07:04:17 +00:00
Carsten Haitzler 204cf10765 more opts.
SVN revision: 45899
2010-02-05 13:12:24 +00:00
Carsten Haitzler 1895436210 and set default values for new configs
SVN revision: 45898
2010-02-05 12:28:46 +00:00
Carsten Haitzler 5a6a818195 manh more compositor options... in pareparation for more. use toolbook.
SVN revision: 45897
2010-02-05 12:25:23 +00:00
Carsten Haitzler a67d3b8484 loose syncing option. in reality it will work fine. but not clean.
SVN revision: 45776
2010-02-01 14:38:00 +00:00
Carsten Haitzler 0534d66424 and now actually do the sync thing! awesomeness. this should mean (for
borderless apps for now - using efl (ecore-evas/elm) tear-free rendeirng in
compositor.



SVN revision: 45773
2010-02-01 14:15:14 +00:00
Carsten Haitzler fd3c1e4f2a allow the "limit compositor framerate to fixed e framerate" to be optional
SVN revision: 45754
2010-01-31 13:05:56 +00:00
Massimo Maiurana 75f18e5c48 updating french and italian translations
SVN revision: 45751
2010-01-31 09:51:05 +00:00
Carsten Haitzler 5182864be4 fix animator usage - now silky smooth!
SVN revision: 45629
2010-01-27 15:29:51 +00:00
Carsten Haitzler 1fa9578da2 update config with new fields/versions, add texture form pixmap option to gl
compositor



SVN revision: 45549
2010-01-25 12:53:43 +00:00
Carsten Haitzler 428c571bfb use grabbed flag and pre-post swap callbacks.
SVN revision: 45517
2010-01-24 11:05:18 +00:00
Carsten Haitzler 5837af54c0 remove testing shape stuff
SVN revision: 45486
2010-01-23 13:51:39 +00:00
Carsten Haitzler 7559d1f642 well.. compoaitor - with gl... seeems to work.. but on fglrx... its slow as
all hell! smells like i hit a software path. hooray!



SVN revision: 45485
2010-01-23 13:50:26 +00:00
Carsten Haitzler 62b8ceb7c7 fix for gl mode - update rects
SVN revision: 45435
2010-01-22 09:30:16 +00:00
Carsten Haitzler fb6d5c6ef6 rememebr to free up memory for uncomposited windows
SVN revision: 45387
2010-01-21 12:42:33 +00:00
Carsten Haitzler 2c43ebaf2a optin to use gl for compositing... uses native surface stuff froom evas.
SVN revision: 45384
2010-01-21 08:44:41 +00:00
Carsten Haitzler 99fc74f7c5 fix shadow on/off config
SVN revision: 45351
2010-01-20 04:45:47 +00:00
Carsten Haitzler 89d6be54fc add gl engine option - still slow way to update tho.
SVN revision: 45329
2010-01-19 14:28:56 +00:00
Carsten Haitzler 84955de029 handle screen randr.
SVN revision: 45166
2010-01-15 05:54:14 +00:00
Carsten Haitzler 79dcd015f8 lots of work on compositor stuff. looking slick and nice internally too.
SVN revision: 45159
2010-01-15 04:41:20 +00:00
Carsten Haitzler 9c7c664034 knock off some todo's
SVN revision: 45041
2010-01-11 08:43:24 +00:00
Carsten Haitzler 6895ea9b23 oops - fogot to fix symbols used. fix.
SVN revision: 45033
2010-01-11 03:31:59 +00:00
Carsten Haitzler 4fa952a6a0 move update off to its own file - its pretty much stand-alone. need to fix
the optimisation for sw engine there though.



SVN revision: 45032
2010-01-11 03:28:20 +00:00
Carsten Haitzler aa7d521571 more todo
SVN revision: 45031
2010-01-11 03:03:08 +00:00
Carsten Haitzler cd7014fc4c todo's
SVN revision: 45030
2010-01-11 02:59:32 +00:00
Carsten Haitzler 6c55b5eb39 handle shaped windows on compositing. not pretty - but needed.
SVN revision: 45028
2010-01-11 02:47:59 +00:00
Carsten Haitzler 74022ed457 fix random white/black box thing.
SVN revision: 45000
2010-01-09 02:45:50 +00:00
Carsten Haitzler 6890952e31 handle border!
SVN revision: 44998
2010-01-09 00:35:21 +00:00
Carsten Haitzler 2ade583930 fix issue introduced with shader fixes.
SVN revision: 44997
2010-01-09 00:06:53 +00:00
Carsten Haitzler 0df20ebd86 printf--
SVN revision: 44975
2010-01-08 11:30:24 +00:00
Carsten Haitzler ab4cdbc2fd fix shading of windows
SVN revision: 44974
2010-01-08 11:29:32 +00:00
Carsten Haitzler 47258b4023 unload cleanly - del animator!
SVN revision: 44972
2010-01-08 10:01:13 +00:00
Carsten Haitzler 87b3e0e62a use new selection compositor set call!
SVN revision: 44970
2010-01-08 08:24:46 +00:00
Carsten Haitzler b2e8f4cd5a fix segv.
SVN revision: 44948
2010-01-07 14:01:35 +00:00
Carsten Haitzler 77fda764ed fixme--
SVN revision: 44947
2010-01-07 13:47:54 +00:00
Carsten Haitzler 5e891880f1 lots of fixes. looking solid now. bugs gone. argb windows handled. proper
update queue with tile updates etc.



SVN revision: 44946
2010-01-07 13:45:51 +00:00
Carsten Haitzler 7f91199f2a defeereed on-frame updates only now (need to be more sophisitcated as this
has a 1 frame delaye or wors on e's own renderings)

fix stacking issues.



SVN revision: 44939
2010-01-07 06:29:53 +00:00
Carsten Haitzler eb7781dabd fix uninit val read
SVN revision: 44926
2010-01-06 15:21:16 +00:00
Carsten Haitzler dfd5f13aee make alerts work with composite managers in modules.. so if we segv... we can
see it and recover etc. - requires module compmgr to "do the right thing" and
advertise the composite window.



SVN revision: 44924
2010-01-06 15:04:33 +00:00
Carsten Haitzler f23dea49bc unload and leave screen usable...
SVN revision: 44922
2010-01-06 14:26:49 +00:00
Carsten Haitzler 703a3f4dba compositing... well... it gets pixels and draws... and have image objects.
alpha and shaped windows not handled currently. using evas as renderer.



SVN revision: 44921
2010-01-06 14:18:47 +00:00
Carsten Haitzler 5ebb87d158 1. compositor module skeletion. have more code elsehwere currently
2. lutin patch for path_max



SVN revision: 44874
2010-01-04 12:27:15 +00:00