Commit graph

99 commits

Author SHA1 Message Date
Rivo Laks
4359cb3513 This is being worked on
svn path=/trunk/KDE/kdebase/workspace/; revision=690676
2007-07-21 19:36:26 +00:00
Rivo Laks
9c05342745 Updates
svn path=/trunk/KDE/kdebase/workspace/; revision=690000
2007-07-19 19:50:05 +00:00
Luboš Luňák
6de4afe39b There should be probably also some window-specific settings for compositing.
svn path=/trunk/KDE/kdebase/workspace/; revision=689953
2007-07-19 16:33:26 +00:00
Luboš Luňák
ac42ba0b4f A simple solution for alpha channel hacks - ignore them :).
The 'ignore ARGB visuals' option from Kompmgr probably doesn't make
much sense, those (usually old) apps can be run with XLIB_SKIP_ARGB_VISUALS=1 set.
Also remove the alpha clear hack used for decorations - I think decorations
instead should be fixed not to "unintentionally" have alpha set.


svn path=/trunk/KDE/kdebase/workspace/; revision=689916
2007-07-19 14:23:11 +00:00
Luboš Luňák
1d0a35fce7 It should be possible to have window rules for unmanaged windows as well.
svn path=/trunk/KDE/kdebase/workspace/; revision=689902
2007-07-19 12:51:15 +00:00
Luboš Luňák
e1c5f18414 Separate rendering for decoration and window contents, they can have
different opacity (opacity only for decoration option).


svn path=/trunk/KDE/kdebase/workspace/; revision=689855
2007-07-19 10:07:49 +00:00
Luboš Luňák
5faa397849 Vertex redesign - redo the way windows are split into smaller parts
for use in effects (and not only). Now a list of window quads (=window areas)
is created at the beginning of the paint pass, prepaint calls can modify
the split itself (i.e. divide it into more parts). The actual paint calls
can then modify these quads (i.e. transform their geometry). This will allow
better control of how the split is done and also allow painting e.g. only
the decoration differently. Still work in progress, but it works.
Also pass data to prepaint functions in a struct, as there is
already quite a number of them.


svn path=/trunk/KDE/kdebase/workspace/; revision=684893
2007-07-07 14:01:32 +00:00
Luboš Luňák
d265b34760 We'll need something to check versions with changing API.
svn path=/trunk/KDE/kdebase/workspace/; revision=684887
2007-07-07 13:52:17 +00:00
Rivo Laks
a73793bda9 That's done
svn path=/trunk/KDE/kdebase/workspace/; revision=683211
2007-07-04 11:41:44 +00:00
Luboš Luňák
a6e600b5c3 Listen to Aaron's wisdom :).
svn path=/trunk/KDE/kdebase/workspace/; revision=683195
2007-07-04 11:07:50 +00:00
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