Commit graph

66 commits

Author SHA1 Message Date
Luboš Luňák
ff643184cf cursorPos() needs fixing
svn path=/branches/work/kwin_composite/; revision=645024
2007-03-21 15:06:31 +00:00
Luboš Luňák
1300c934e8 Note about vertices list currently breaking drawWindow().
svn path=/branches/work/kwin_composite/; revision=640346
2007-03-07 17:55:06 +00:00
Luboš Luňák
3da3488448 Fadein/Fadeout have already been merged.
svn path=/branches/work/kwin_composite/; revision=640343
2007-03-07 17:49:08 +00:00
Luboš Luňák
e81db7c1b5 Updates.
svn path=/branches/work/kwin_composite/; revision=637704
2007-02-27 13:46:22 +00:00
Luboš Luňák
a5e508590a I have a strange feeling nobody will be bothered enough to spend
time with non-composited minimize/shade animations.


svn path=/branches/work/kwin_composite/; revision=633222
2007-02-13 15:11:59 +00:00
Luboš Luňák
5e8b2465b4 Still some kompmgr code removal.
svn path=/branches/work/kwin_composite/; revision=632900
2007-02-12 16:45:16 +00:00
Luboš Luňák
4019dff500 Distinguish between damage and repaints - damage is when windows contents
change, repaint just triggers repaint of the area (without e.g. the texture
updating for OpenGL).
addDamage() -> addRepaint()
CCMAIL: kwin@kde.org


svn path=/branches/work/kwin_composite/; revision=632866
2007-02-12 15:22:43 +00:00
Philip Falkner
c16656d66d Rework how window painting is disabled; now effects can indicate reasons they want particular windows painted or not.
This solves a few problems, but may need revisiting in the future.

svn path=/branches/work/kwin_composite/; revision=632581
2007-02-11 17:36:32 +00:00
Luboš Luňák
5f3dd60aa1 Updates.
svn path=/branches/work/kwin_composite/; revision=631899
2007-02-09 12:47:06 +00:00
Luboš Luňák
daa52d1b79 Updates.
svn path=/branches/work/kwin_composite/; revision=630421
2007-02-05 11:35:54 +00:00
Luboš Luňák
880158c473 Updates.
svn path=/branches/work/kwin_composite/; revision=630412
2007-02-05 11:19:22 +00:00
Luboš Luňák
2dce2b7f26 Updates.
svn path=/branches/work/kwin_composite/; revision=629384
2007-02-02 15:31:57 +00:00
Philip Falkner
8fe5ec7709 Use glXGetFBConfigs instead of glXChooseFBConfig.
This makes texture_from_pixmap mode work in more places.

svn path=/branches/work/kwin_composite/; revision=628804
2007-01-31 14:32:52 +00:00
Luboš Luňák
409ceae7ff SHM does not support all color depths.
svn path=/branches/work/kwin_composite/; revision=628226
2007-01-29 15:22:29 +00:00
Luboš Luňák
2324e92b4e The workaround with explicitly asking for texture target with tfp
doesn't seem to be necessary.


svn path=/branches/work/kwin_composite/; revision=628209
2007-01-29 14:32:20 +00:00
Luboš Luňák
65d5eaf9b8 FadeIn and FadeOut should be somewhen merged.
svn path=/branches/work/kwin_composite/; revision=627079
2007-01-25 16:39:42 +00:00
Philip Falkner
0341a3e8b5 Add support for GL_ARB_texture_non_power_of_two. Use GL_TEXTURE_2D wherever possible, even when that extension isn't available.
svn path=/branches/work/kwin_composite/; revision=626897
2007-01-24 21:35:58 +00:00
Luboš Luňák
0ae5a772e7 Add EffectWindow as a window representation for effects,
to hide the change from Client/Unmanaged and eventually also
act as the only API available to effects.


svn path=/branches/work/kwin_composite/; revision=626360
2007-01-22 22:57:22 +00:00
Luboš Luňák
77f803a563 Instead of the somewhat fragile way of trying to clean up Client/Unmanaged
instances and keeping them around after the window is closed, create
class Deleted as a representation of a closed window.


svn path=/branches/work/kwin_composite/; revision=626356
2007-01-22 22:51:30 +00:00
Luboš Luňák
9ee1526898 Comment about deleted windows.
svn path=/branches/work/kwin_composite/; revision=623898
2007-01-15 21:52:41 +00:00
Luboš Luňák
ff6f889ffc Add support for showing effects for windows which have already been deleted.
Add a fade-out effect.


svn path=/branches/work/kwin_composite/; revision=623872
2007-01-15 18:03:04 +00:00
Luboš Luňák
44e0b1dca2 More.
svn path=/branches/work/kwin_composite/; revision=623815
2007-01-15 15:20:59 +00:00
Luboš Luňák
737ee38cb7 More.
svn path=/branches/work/kwin_composite/; revision=622553
2007-01-12 09:45:02 +00:00
Luboš Luňák
fa2d3956a9 New items.
svn path=/branches/work/kwin_composite/; revision=622552
2007-01-12 09:44:22 +00:00
Luboš Luňák
dc540f80ea Clipping opengl won't be that simple after all.
svn path=/branches/work/kwin_composite/; revision=612701
2006-12-12 10:56:06 +00:00
Luboš Luňák
95d717177d Update the clipping item.
svn path=/branches/work/kwin_composite/; revision=612469
2006-12-11 14:38:40 +00:00
Luboš Luňák
2a151f24bf Note about indirect rendering.
svn path=/branches/work/kwin_composite/; revision=611279
2006-12-07 14:01:21 +00:00
Luboš Luňák
fb95cbf6ce Updates.
svn path=/branches/work/kwin_composite/; revision=610614
2006-12-04 18:31:01 +00:00
Luboš Luňák
6001aabfa5 Note that AIGLX needs indirect rendering.
svn path=/branches/work/kwin_composite/; revision=607520
2006-11-24 22:46:59 +00:00
Luboš Luňák
b0c7bc98a2 Special file for howto on setting up kwin_composite.
svn path=/branches/work/kwin_composite/; revision=607516
2006-11-24 22:20:14 +00:00
Luboš Luňák
049460fa2e Reset window damage after updating the damaged areas of the OpenGL texture
or Xrender picture, not after every repaint.
This also allows removing the confusing initPaint()/postPaint() calls in Scene.


svn path=/branches/work/kwin_composite/; revision=607500
2006-11-24 21:28:00 +00:00
Luboš Luňák
38f4f76b31 Detect screen refresh rate for finding out optimal compositing
redraw speed. Patch by Philip Falkner.


svn path=/branches/work/kwin_composite/; revision=607253
2006-11-23 21:16:49 +00:00
Luboš Luňák
9c4218d4bf Sync to vblank, patch by Philip Falkner.
svn path=/branches/work/kwin_composite/; revision=606795
2006-11-21 20:59:59 +00:00
Luboš Luňák
107472c747 Remove already done things.
svn path=/branches/work/kwin_composite/; revision=606429
2006-11-20 12:57:27 +00:00
Luboš Luňák
04072fa089 Fix the opacity submenu in Alt+F3.
svn path=/branches/work/kwin_composite/; revision=606428
2006-11-20 12:55:06 +00:00
Luboš Luňák
0283b97a62 When no transformations are needed simple screen painting can be used
even for painting the whole screen, not just a region.


svn path=/branches/work/kwin_composite/; revision=605563
2006-11-17 08:43:24 +00:00
Luboš Luňák
4efa523375 A simple attempt at a showfps effect. OpenGL-only, only lame graphs,
still many TODO's.


svn path=/branches/work/kwin_composite/; revision=605497
2006-11-16 22:46:14 +00:00
Luboš Luňák
9bfae71d45 Support for strict binding for AIGLX, although currently not needed.
svn path=/branches/work/kwin_composite/; revision=605274
2006-11-16 07:46:39 +00:00
Luboš Luňák
961bb253d1 frames per second, not file transfer protocol :)
svn path=/branches/work/kwin_composite/; revision=604103
2006-11-11 15:32:43 +00:00
Luboš Luňák
f21de17553 More todos.
svn path=/branches/work/kwin_composite/; revision=604043
2006-11-11 11:38:59 +00:00
Luboš Luňák
340e64ab51 With the overlay fix double-buffering now works too.
Also dump drawing directly into the root window, OpenGL normally
clips the root window, so nothing is drawn. NVidia has "DisableGLXRootClipping",
but there's no way to detect that and there's still the non-db mode.


svn path=/branches/work/kwin_composite/; revision=604019
2006-11-11 09:11:51 +00:00
Luboš Luňák
bcfc36c695 Work around ATI crashes.
svn path=/branches/work/kwin_composite/; revision=603713
2006-11-09 20:48:12 +00:00
Luboš Luňák
aeafa63a94 Move some OpenGL code to glutils.* .
Add support for changing window brightness.
Add DialogParent effect that makes windows that are unaccessible because
of modal dialogs darker.
Patch by Rivo Laks.


svn path=/branches/work/kwin_composite/; revision=603384
2006-11-08 19:10:07 +00:00
Luboš Luňák
71f68f91fd todo updates
svn path=/branches/work/kwin_composite/; revision=603376
2006-11-08 18:38:10 +00:00
Luboš Luňák
d3fc0bbc09 Add support for changing saturation. Patch by Rivo Laks.
svn path=/branches/work/kwin_composite/; revision=603145
2006-11-07 23:33:23 +00:00
Luboš Luňák
4110fc1c3a Support for XComposite overlay window.
svn path=/branches/work/kwin_composite/; revision=603137
2006-11-07 22:44:39 +00:00
Luboš Luňák
c3ac9d79ac kwin_composite currently doesn't build without libs for compositing.
svn path=/branches/work/kwin_composite/; revision=601780
2006-11-04 12:26:59 +00:00
Luboš Luňák
932f96d8b6 Ideas for debugging effects.
svn path=/branches/work/kwin_composite/; revision=601722
2006-11-04 07:29:20 +00:00
Luboš Luňák
1685b6112c Effects to replace the fake ones in Qt.
svn path=/branches/work/kwin_composite/; revision=601432
2006-11-03 10:05:53 +00:00
Luboš Luňák
25f558ad9a Add notes on choosing GLXFBConfig's.
svn path=/branches/work/kwin_composite/; revision=601277
2006-11-02 18:21:27 +00:00