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
Philip Falkner
949aa1a778
Add PAINT_SCREEN_WITH_TRANSFORMED_WINDOWS flag, to be called by effects in prePaintScreen(). Indicates that some window(s) may have transformed geometry, so the whole screen should be repainted.
...
svn path=/branches/work/kwin_composite/; revision=632580
2007-02-11 17:35:10 +00:00
Luboš Luňák
24eacc4908
Move NETWinInfo and few more things from Client to the base class.
...
svn path=/branches/work/kwin_composite/; revision=632380
2007-02-10 21:56:24 +00:00
Luboš Luňák
0a9e366038
Just use findModal().
...
svn path=/branches/work/kwin_composite/; revision=632379
2007-02-10 21:55:31 +00:00
Luboš Luňák
6c9d910d7f
Avoid decoration redraw delays. On resize Qt sets WA_WStateConfigPending
...
which delays all painting until a matching ConfigureNotify event comes.
But this process itself is the window manager, so it's not needed
to wait for that event, the geometry is known.
CCBUG: 134739
svn path=/branches/work/kwin_composite/; revision=632378
2007-02-10 21:55:00 +00:00
Luboš Luňák
1397ebb5eb
No double-buffering for decorations, the memory taken
...
by such backing pixmaps would be quite noticeable.
svn path=/branches/work/kwin_composite/; revision=632377
2007-02-10 21:50:43 +00:00
Luboš Luňák
bb5f7a9519
Compress damage events.
...
svn path=/branches/work/kwin_composite/; revision=632376
2007-02-10 21:49:57 +00:00
Philip Falkner
ca856c28e1
Fix compositing repaint bug where moving a window would not draw properly (especially noticeable when snapping to a border).
...
svn path=/branches/work/kwin_composite/; revision=632339
2007-02-10 18:28:04 +00:00
Dirk Mueller
6c224134db
porting simplifications regarding KConfig::readEntry
...
svn path=/branches/work/kwin_composite/; revision=632199
2007-02-10 09:12:35 +00:00
Luboš Luňák
5f3dd60aa1
Updates.
...
svn path=/branches/work/kwin_composite/; revision=631899
2007-02-09 12:47:06 +00:00
Dirk Mueller
21fdff0045
pedantic--
...
svn path=/branches/work/kwin_composite/; revision=631658
2007-02-08 17:44:10 +00:00
Philip Falkner
bcfa67e91a
Fix DesktopChangeSlide effect creation.
...
svn path=/branches/work/kwin_composite/; revision=631344
2007-02-07 19:21:33 +00:00
Luboš Luňák
12478151a2
Don't accidentally set _NET_ACTIVE_WINDOW to 0 when there is an active window.
...
And r612728 from 3.5 branch.
svn path=/trunk/KDE/kdebase/workspace/; revision=630817
2007-02-06 13:55:12 +00:00
Rivo Laks
1cdcd8956f
Move OpenGL defines, function prototypes and function resolving to a separate file.
...
Update copyright years.
svn path=/branches/work/kwin_composite/; revision=630583
2007-02-05 19:57:05 +00:00
Rivo Laks
66d8c5030b
Add GLSL shader support and GLShader class.
...
Add two preprocessor macros to simplify resolving of OpenGL functions.
svn path=/branches/work/kwin_composite/; revision=630553
2007-02-05 18:11:15 +00:00
Rivo Laks
de2c5223ee
Split window rendering into multiple methods
...
svn path=/branches/work/kwin_composite/; revision=630472
2007-02-05 14:01:09 +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
00136f014f
Configurable effects loading by Cedric Borgese.
...
svn path=/branches/work/kwin_composite/; revision=630276
2007-02-04 22:19:17 +00:00
Luboš Luňák
35206efd25
Managed clients may be also in the 'desktop's list.
...
svn path=/branches/work/kwin_composite/; revision=629751
2007-02-03 17:14:13 +00:00
Luboš Luňák
6f8de578b4
From trunk: desktopResized() is called only after the desktop is resized.
...
svn path=/branches/work/kwin_composite/; revision=629749
2007-02-03 17:09:10 +00:00
Philip Falkner
f060c3bfbb
Improved filtering algorithm. Now fast filtering is used by default, while (depending on SmoothScale in kwinrc) bilinear filtering is used on transformed windows and screens.
...
Optionally, if SmoothScale is set to 2, trilinear filtering will be attempted instead of bilinear. This requires GL_ARB_texture_non_power_of_two, GL_EXT_framebuffer_object, and valid mipmaps.
svn path=/branches/work/kwin_composite/; revision=629453
2007-02-02 19:58:35 +00:00
Philip Falkner
66d796002f
Add basic mipmapping support for OpenGL; by itself this doesn't do much, but allows further capabilities.
...
svn path=/branches/work/kwin_composite/; revision=629452
2007-02-02 19:56:18 +00:00
Philip Falkner
1e2d811cea
Add support for GL_EXT_framebuffer_object, needed for mipmaps.
...
svn path=/branches/work/kwin_composite/; revision=629450
2007-02-02 19:55:17 +00:00
Luboš Luňák
2dce2b7f26
Updates.
...
svn path=/branches/work/kwin_composite/; revision=629384
2007-02-02 15:31:57 +00:00
Luboš Luňák
4e20ef71e4
r629143 was supposed to go to trunk, kwin_composite is only for compositing work.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=629362
2007-02-02 14:24:00 +00:00
Luboš Luňák
63a97b7d3d
Add DesktopChangeSlideEffect, an effect that on virtual desktop
...
change slides the old desktop out and the new one in. Should not
be really technically different from the cube.
svn path=/branches/work/kwin_composite/; revision=629163
2007-02-01 17:20:48 +00:00
Luboš Luňák
904fd1e3d0
Match handling of PAINT_WINDOW_DISABLED.
...
svn path=/branches/work/kwin_composite/; revision=629154
2007-02-01 16:23:44 +00:00
Dirk Mueller
b34d4ac7c4
xrandr support (hopefully this compiles, can't test here)
...
svn path=/branches/work/kwin_composite/; revision=629143
2007-02-01 15:39:44 +00:00
Simon Hausmann
992f2ee6b9
Don't crash due to a missing Q_OBJECT macro
...
svn path=/trunk/KDE/kdebase/workspace/; revision=629104
2007-02-01 11:40:13 +00:00
Philip Falkner
949c71490b
Add some missing texture_from_pixmap defines.
...
svn path=/branches/work/kwin_composite/; revision=628843
2007-01-31 17:56:08 +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
Philip Falkner
45aeae3273
Merge from trunk (now it should build)
...
r581402:
Not used.
r628276:
merge the kinstance-redesign branch
r628350:
This directory doesn't exist on my computer :)
svn path=/branches/work/kwin_composite/; revision=628706
2007-01-30 23:57:40 +00:00
Philip Falkner
eff415afbd
Merge from trunk
...
r560630:
ported to new snapshot
r564554:
- make the KCMs services
- use KGenericFactory (the construction code could be cleaned up some more)
r564565:
- KGenericFactory
- make 'em services
svn path=/branches/work/kwin_composite/; revision=628704
2007-01-30 23:51:42 +00:00
Luboš Luňák
77719858b0
Damage also the old area on geometry changes.
...
svn path=/branches/work/kwin_composite/; revision=628608
2007-01-30 16:52:05 +00:00
Luboš Luňák
7cb649edcb
Tell scene about size changes.
...
svn path=/branches/work/kwin_composite/; revision=628606
2007-01-30 16:49:08 +00:00
Luboš Luňák
908ec070a9
Discard vertices on size change.
...
svn path=/branches/work/kwin_composite/; revision=628605
2007-01-30 16:42:03 +00:00
Luboš Luňák
43d393429d
A window can be trasformed also by transforming the whole screen.
...
svn path=/branches/work/kwin_composite/; revision=628601
2007-01-30 16:36:53 +00:00
Rivo Laks
26e907c210
Merge MAKE_*_VERSION macros into MAKE_GL_VERSION and move it to .cpp file
...
svn path=/branches/work/kwin_composite/; revision=628353
2007-01-29 21:06:56 +00:00
Laurent Montel
8d01ae32ea
This directory doesn't exist on my computer :)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=628350
2007-01-29 20:55:50 +00:00
Rivo Laks
cc93b859e3
Make Client::iconGeometry() recursively use it's mainwindow's icongeometry if it
...
doesn't have one itself.
svn path=/branches/work/kwin_composite/; revision=628327
2007-01-29 19:28:53 +00:00
Matthias Kretz
3003c4ecf8
merge the kinstance-redesign branch back to trunk.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=628276
2007-01-29 17:14:20 +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
e0ed5d5f3f
Move raster position relatively using glBitmap() rather
...
than using glRasterPos2f() - the latter causes drawing
artefacts at the bottom screen edge with some gfx cards
svn path=/branches/work/kwin_composite/; revision=627525
2007-01-26 22:50:31 +00:00
Rivo Laks
8669b298be
Minimize e.g. dialogs onto taskbar entries of their mainwindows.
...
If everything else fails, minimize to the center of the screen.
svn path=/branches/work/kwin_composite/; revision=627172
2007-01-25 21:23:27 +00:00
Luboš Luňák
29b8d42e55
Damage screen when stacking order changes.
...
svn path=/branches/work/kwin_composite/; revision=627103
2007-01-25 17:42:53 +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
Rivo Laks
445ab8ca7a
Add MinimizeAnimation effect which makes the window move onto/from its taskbar
...
entry when minimized/restored
svn path=/branches/work/kwin_composite/; revision=627003
2007-01-25 11:48:07 +00:00
Luboš Luňák
93de3d41d0
Add WavyWindowsEffect.
...
svn path=/branches/work/kwin_composite/; revision=626899
2007-01-24 21:46:43 +00:00