Commit graph

139 commits

Author SHA1 Message Date
Rivo Laks
c5a06667e0 One less
svn path=/trunk/KDE/kdebase/workspace/; revision=683167
2007-07-04 10:03:21 +00:00
Luboš Luňák
9052116e4f Support for having previews even for unmapped windows - they're
actually kept mapped, so that they still have the backing pixmap.
Plus some small tricks to prevent such windows from interfering.
Only two basic modes are implemented right now.


svn path=/trunk/KDE/kdebase/workspace/; revision=683156
2007-07-04 09:51:10 +00:00
Rivo Laks
f711ea836e Add names to some of the items
svn path=/trunk/KDE/kdebase/workspace/; revision=682895
2007-07-03 16:29:38 +00:00
Rivo Laks
e57fb0db54 Add more TODOs for 4.0
svn path=/trunk/KDE/kdebase/workspace/; revision=682887
2007-07-03 16:18:13 +00:00
Luboš Luňák
937052d9ac Things to do for 4.0.
svn path=/trunk/KDE/kdebase/workspace/; revision=682852
2007-07-03 14:58:28 +00:00
Luboš Luňák
08baac8fa4 Updates.
svn path=/trunk/KDE/kdebase/workspace/; revision=677561
2007-06-19 11:43:09 +00:00
Luboš Luňák
cdb2d046c3 Always rebinding should not make sense anymore.
svn path=/trunk/KDE/kdebase/workspace/; revision=677309
2007-06-18 21:24:01 +00:00
Luboš Luňák
4040e9be58 Add a hack to make it work with XGL.
svn path=/trunk/KDE/kdebase/workspace/; revision=677300
2007-06-18 21:14:18 +00:00
Luboš Luňák
955b989cfc Updates.
svn path=/trunk/KDE/kdebase/workspace/; revision=673884
2007-06-11 09:44:58 +00:00
Luboš Luňák
2312220686 Update.
svn path=/trunk/KDE/kdebase/workspace/; revision=669829
2007-05-30 14:25:22 +00:00
Luboš Luňák
8d9f931cfd Build properly without OpenGL/XRender.
svn path=/trunk/KDE/kdebase/workspace/; revision=662052
2007-05-07 11:46:01 +00:00
Luboš Luňák
6fee47fd89 Mention __GL_YIELD.
svn path=/trunk/KDE/kdebase/workspace/; revision=661047
2007-05-04 13:16:32 +00:00
Philip Falkner
630f5793dc Update SHM mode.
For 16bpp pixmaps, we use GL_RGB and GL_UNSIGNED_SHORT_5_6_5 with
glTex(Sub)Image2D, which means that SHM mode works with 16bpp X
servers.

Also, only create one XShmPixmap per damaged pixmap, instead of one
per (optimised) damage rectangle.  Now we can use GL_RGB textures for
24bpp pixmaps, just like fallback mode does and tfp mode can.


svn path=/trunk/KDE/kdebase/workspace/; revision=659274
2007-04-29 21:22:49 +00:00
Luboš Luňák
f52b8e48cd branches/work/kwin_composite becomes new trunk kwin.
svn path=/trunk/KDE/kdebase/workspace/; revision=659202
2007-04-29 17:35:43 +00:00
Luboš Luňák
2b7e1f4993 Remove kwin, kwin_composite will become new trunk kwin, missing merges
from trunk will be merged in.


svn path=/trunk/KDE/kdebase/workspace/; revision=659200
2007-04-29 17:34:49 +00:00
Luboš Luňák
b52cf90c6a Post calls may not be necessary anymore.
svn path=/branches/work/kwin_composite/; revision=659195
2007-04-29 17:17:26 +00:00
Luboš Luňák
bf29f2c3e1 Effect which can temporarily mark places on the screen.
svn path=/branches/work/kwin_composite/; revision=656547
2007-04-21 17:12:17 +00:00
Luboš Luňák
0040bb699b Better painting of moved window.
svn path=/branches/work/kwin_composite/; revision=656410
2007-04-21 10:26:02 +00:00
Luboš Luňák
67fdfa03e7 Add effect that highlights the mouse when one
presses left and right mouse button. There needs to be
found a better way of activating this though :-/.


svn path=/branches/work/kwin_composite/; revision=654750
2007-04-16 21:15:15 +00:00
Luboš Luňák
10bfb82e8c Make PresentWindows effect work properly even with idle paint passes
(i.e. trigger next repaint properly and react on mouse events).


svn path=/branches/work/kwin_composite/; revision=653921
2007-04-14 15:33:12 +00:00
Luboš Luňák
5fc1d4c480 Tabbox effect also converted to plugins.
svn path=/branches/work/kwin_composite/; revision=653014
2007-04-12 14:12:34 +00:00
Luboš Luňák
d2dbc77323 Add support for dimming of inactive windows (accessibility).
FEATURE: 46226


svn path=/branches/work/kwin_composite/; revision=652255
2007-04-10 14:48:55 +00:00
Luboš Luňák
8b5b40e4e8 Shadows. Right not it's only flat black rectangle, but otherwise
everything should work.


svn path=/branches/work/kwin_composite/; revision=646315
2007-03-25 10:48:07 +00:00
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
Luboš Luňák
3407524b74 Logout effect will be needed as well.
svn path=/branches/work/kwin_composite/; revision=600965
2006-11-01 14:46:24 +00:00
Luboš Luňák
1c6cc39dfb Instructions how to build kwin_composite.
svn path=/branches/work/kwin_composite/; revision=600914
2006-11-01 10:37:17 +00:00
Luboš Luňák
12731982bb Does compositing/opengl work with gfx cards other than nvidia?
svn path=/branches/work/kwin_composite/; revision=600732
2006-10-31 15:28:38 +00:00
Luboš Luňák
d92d3a8165 Document the compositing framework and the scene backends,
describe the design, add links to external docs.
Restructure COMPOSITE_TODO into sections and add sort of priorities.


svn path=/branches/work/kwin_composite/; revision=600163
2006-10-29 19:23:45 +00:00
Luboš Luňák
3f9b754ee7 Add post-painting pass to be used for triggering
repaints with animations.


svn path=/branches/work/kwin_composite/; revision=600156
2006-10-29 19:07:10 +00:00
Luboš Luňák
10b31e7222 Support for animations, still some todo's pending.
svn path=/branches/work/kwin_composite/; revision=598831
2006-10-24 19:17:48 +00:00
Luboš Luňák
1d7b94acfc Basic window transformations.
svn path=/branches/work/kwin_composite/; revision=597997
2006-10-22 10:15:19 +00:00
Luboš Luňák
4f3ba33e72 Few more todo's.
svn path=/branches/work/kwin_composite/; revision=597803
2006-10-21 16:50:13 +00:00
Luboš Luňák
fef4dec6e6 Add COPY_BUFFER workaround from glcompmgr that makes this work
even with stable 8776 nvidia drivers (the beta ones lock up on me
from time to time with multiple X running).


svn path=/branches/work/kwin_composite/; revision=597767
2006-10-21 15:23:01 +00:00
Luboš Luňák
b5590c87db Note about rebinding textures.
svn path=/branches/work/kwin_composite/; revision=597726
2006-10-21 13:11:23 +00:00
Luboš Luňák
62231f5b4e Links to opengl docs.
svn path=/branches/work/kwin_composite/; revision=596074
2006-10-16 17:35:37 +00:00
Luboš Luňák
1069654076 Update.
svn path=/branches/work/kwin_composite/; revision=595550
2006-10-14 19:51:44 +00:00
Luboš Luňák
004d781e32 For simple paint, clip by above windows. A missing todo is to still
update only changed areas instead of doing full glXSwapBuffers()
when possible.


svn path=/branches/work/kwin_composite/; revision=595357
2006-10-14 07:15:23 +00:00
Luboš Luňák
e8e16726c1 Prepare for optimized painting cases.
svn path=/branches/work/kwin_composite/; revision=594955
2006-10-12 21:49:54 +00:00
Luboš Luňák
085b06a1b3 Add one more glcompmgr url.
svn path=/branches/work/kwin_composite/; revision=594294
2006-10-10 20:45:49 +00:00
Luboš Luňák
ffb77f559f TODO
svn path=/branches/work/kwin_composite/; revision=594293
2006-10-10 20:43:04 +00:00