Pino Toscano
d7b200945d
use QtModule/QFoo includes
...
svn path=/trunk/KDE/kdebase/workspace/; revision=687987
2007-07-14 23:26:49 +00:00
Pino Toscano
0b6477e90e
use QtModule/QFoo includes
...
svn path=/trunk/KDE/kdebase/workspace/; revision=687972
2007-07-14 22:40:00 +00:00
Rivo Laks
b027b57233
Shaders can now use cursorX and cursorY uniform variables
...
svn path=/trunk/KDE/kdebase/workspace/; revision=687375
2007-07-13 13:10:31 +00:00
Allen Winter
5c93175949
remove kde4_automoc()
...
svn path=/trunk/KDE/kdebase/workspace/; revision=685984
2007-07-10 09:14:12 +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
Rivo Laks
42a4d364c2
Add a generic function to render a box with rounded corners.
...
Algorithm is basically same as for shadow, perhaps even shadow will use it.
svn path=/trunk/KDE/kdebase/workspace/; revision=683514
2007-07-04 20:33:35 +00:00
Rivo Laks
2632c2ff56
Add ShaderEffect class which provides generic support for fullscreen shader effects
...
svn path=/trunk/KDE/kdebase/workspace/; revision=683160
2007-07-04 09:54:32 +00:00
Luboš Luňák
cc091a7704
Interesting way of checking if a decoration needs a hard reset - as soon
...
as one thing that does not need it has changed, it is not needed, regardless
of the rest. Even more interestingly several styles have exactly the same
copy of this nonsense.
CCMAIL: kwin@kde.org
svn path=/trunk/KDE/kdebase/workspace/; revision=678025
2007-06-20 13:38:17 +00:00
Rivo Laks
65bc41c518
Argh.. fix typo
...
svn path=/trunk/KDE/kdebase/workspace/; revision=675479
2007-06-14 10:36:02 +00:00
Rivo Laks
424f906ab2
- Add optional color argument to renderGLGeometry() functions. If specified, it's used as vertex colors
...
array when rendering.
- Rearrange some renderGLGeometry() parameters.
- Don't use opengl arrays and glDrawArrays() when rendering a small number of vertices since in this
case overhead of enabling/disabling the array is too big. Use immediate mode instead in such case.
svn path=/trunk/KDE/kdebase/workspace/; revision=675467
2007-06-14 10:05:51 +00:00
Laurent Montel
ab2fa82d7c
Fix include
...
svn path=/trunk/KDE/kdebase/workspace/; revision=675269
2007-06-13 21:26:08 +00:00
Luboš Luňák
acf4e9ce8e
Work around gcc-3.3.3's problem with resolving namespaced symbols.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=673984
2007-06-11 14:35:09 +00:00
Pino Toscano
38267e8ac6
less qt3support
...
svn path=/trunk/KDE/kdebase/workspace/; revision=672194
2007-06-06 10:37:37 +00:00
Dirk Mueller
fea3fa920d
can't install those, they include a non-installed config header
...
svn path=/trunk/KDE/kdebase/workspace/; revision=671974
2007-06-05 22:30:08 +00:00
Daniel Molkentin
ce3ac16f97
enable api docs generation for kwin libs
...
svn path=/trunk/KDE/kdebase/workspace/; revision=671831
2007-06-05 15:31:23 +00:00
Laurent Montel
f32b3e8d92
Remove not necessary "class classname;"
...
svn path=/trunk/KDE/kdebase/workspace/; revision=671233
2007-06-04 08:24:29 +00:00
Luboš Luňák
eb4fb38657
Have a separate list for glx extensions, to avoid mistakes - now initGL()
...
is called after initGLX(), so the glx extensions are reset.
svn path=/trunk/KDE/kdebase/workspace/; revision=669818
2007-05-30 13:55:29 +00:00
Rivo Laks
e9cb72087f
Add 2 static helper methods to EffectHandler:
...
One calls reloadEffect() over dbus to reload given effect (to be used in config modules).
The second one returns KConfigGroup for given effect.
svn path=/trunk/KDE/kdebase/workspace/; revision=669435
2007-05-29 11:46:12 +00:00
Rivo Laks
44b293211c
Options now longer provides list of effects to be loaded.
...
Instead, EffectsHandler itself loads the list of enabled effects (saved by the effects selector widget),
also making use of their EnabledByDefault property, so if you haven't touched the config, you'll
automatically get default effects.
svn path=/trunk/KDE/kdebase/workspace/; revision=669036
2007-05-28 11:23:00 +00:00
Rivo Laks
041673bf86
Effect's name in KWIN_EFFECT*() macros must now match effect's internal name in .desktop file,
...
without kwin4_effect_ prefix, so change the name in those macros to lowercase.
Some modifications to the macros themselves as well.
Effect loading via dcop might work again now.
svn path=/trunk/KDE/kdebase/workspace/; revision=669033
2007-05-28 11:16:18 +00:00
Luboš Luňák
278e721494
Support for keeping a window temporarily at the very top,
...
desktop grid effect raises the window being moved this way.
svn path=/trunk/KDE/kdebase/workspace/; revision=667944
2007-05-24 14:41:56 +00:00
Christian Ehrlicher
e34294972a
fix for KLibrary changes
...
svn path=/trunk/KDE/kdebase/workspace/; revision=664745
2007-05-14 19:46:21 +00:00
Thorsten Roeder
0666147473
some krazy fixes
...
svn path=/trunk/KDE/kdebase/workspace/; revision=664331
2007-05-13 17:47:20 +00:00
Harri Porten
f15f97785b
much better. suggested by David.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=663183
2007-05-10 12:49:57 +00:00
Harri Porten
f18bd0b02d
Patch by Frerich to fix linking for poor BSD users.
...
This cries out to a CMake expert for a configure check.
svn path=/trunk/KDE/kdebase/workspace/; revision=663171
2007-05-10 11:35:45 +00:00
Thorsten Roeder
97b328de46
SVN_SILENT: some krazy spelling fixes mainly in comments
...
svn path=/trunk/KDE/kdebase/runtime/solid/control/solid/; revision=662694
2007-05-08 22:05:30 +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
6e8ca14379
Svnrevertlast, the file as a whole should be opengl-only.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=661861
2007-05-06 20:39:09 +00:00
Aaron J. Seigo
da80cba35c
compile fixes; and now to find out why it thinks i don't have gl installed ;)
...
svn path=/trunk/KDE/kdebase/workspace/; revision=661574
2007-05-06 00:17:21 +00:00
David Faure
38099ef7e5
Major config.h cleanup, moved much stuff to config-X11.h and to config-fish.h
...
svn path=/trunk/KDE/kdebase/workspace/; revision=661060
2007-05-04 13:51:35 +00:00
Laurent Montel
97b117f449
Fix add version to lib
...
svn path=/trunk/KDE/kdebase/workspace/; revision=660384
2007-05-02 14:48:49 +00:00
Luboš Luňák
ee040a6681
Merging from old trunk:
...
r644597 | mueller | 2007-03-20 15:21:56 +0100 (Tue, 20 Mar 2007) | 2 lines
pedantic--
svn path=/trunk/KDE/kdebase/workspace/; revision=659566
2007-04-30 12:23:20 +00:00
Luboš Luňák
6081a9f0a8
Merging from old trunk:
...
r637475 | mueller | 2007-02-26 16:46:23 +0100 (Mon, 26 Feb 2007) | 2 lines
header cleanness++
svn path=/trunk/KDE/kdebase/workspace/; revision=659554
2007-04-30 12:08:47 +00:00
Luboš Luňák
c2791ad389
Merging from old trunk:
...
r637366 | mueller | 2007-02-26 08:44:18 +0100 (Mon, 26 Feb 2007) | 2 lines
header cleanness++
svn path=/trunk/KDE/kdebase/workspace/; revision=659553
2007-04-30 12:08:23 +00:00
Luboš Luňák
a46d4c9498
Merging from old trunk:
...
r636679 | mueller | 2007-02-23 21:24:36 +0100 (Fri, 23 Feb 2007) | 2 lines
various kconfig portings
svn path=/trunk/KDE/kdebase/workspace/; revision=659551
2007-04-30 12:07:08 +00:00
Luboš Luňák
2c8505e08a
Merging from old trunk:
...
r635264 | mueller | 2007-02-19 17:56:53 +0100 (Mon, 19 Feb 2007) | 2 lines
fix library versioning
svn path=/trunk/KDE/kdebase/workspace/; revision=659548
2007-04-30 12:01:18 +00:00
Luboš Luňák
0bb63f90e9
Compile.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=659536
2007-04-30 11:50:32 +00:00
Luboš Luňák
79ab08b9e9
Merging from old trunk:
...
r629104 | hausmann | 2007-02-01 12:40:13 +0100 (Thu, 01 Feb 2007) | 2 lines
Don't crash due to a missing Q_OBJECT macro
svn path=/trunk/KDE/kdebase/workspace/; revision=659531
2007-04-30 11:45:52 +00:00
Luboš Luňák
9528129717
Merging from old trunk:
...
r608824 | lunakl | 2006-11-28 15:42:48 +0100 (Tue, 28 Nov 2006) | 4 lines
Match defaults.
(BUG: 137889)
svn path=/trunk/KDE/kdebase/workspace/; revision=659468
2007-04-30 09:40:14 +00:00
Luboš Luňák
1f71d535b5
Merging from old trunk:
...
r604645 | mlaurent | 2006-11-13 16:31:59 +0100 (Mon, 13 Nov 2006) | 2 lines
Fix compile with compilator!=gcc
svn path=/trunk/KDE/kdebase/workspace/; revision=659311
2007-04-29 22:38:19 +00:00
Luboš Luňák
2c539daa5d
Merging from old trunk:
...
r598290 | mlaurent | 2006-10-23 08:53:27 +0200 (Mon, 23 Oct 2006) | 5 lines
Apply Alex patch (now we can use enable-final argument
some module compiles with enable-final now)
As discussed with Alex it's not necessary to have program name
into automoc macro
svn path=/trunk/KDE/kdebase/workspace/; revision=659295
2007-04-29 22:04:13 +00:00
Luboš Luňák
80e6a05440
Merging from old trunk:
...
r595998 | lunakl | 2006-10-16 14:41:38 +0200 (Mon, 16 Oct 2006) | 3 lines
Fix two same argument names.
svn path=/trunk/KDE/kdebase/workspace/; revision=659293
2007-04-29 22:01:59 +00:00
Luboš Luňák
ea07e100b4
Merging from old trunk:
...
r565957 | winterz | 2006-07-25 00:17:55 +0200 (Tue, 25 Jul 2006) | 3 lines
install_files() -> install(FILES..)
also use variables in a few more places
svn path=/trunk/KDE/kdebase/workspace/; revision=659262
2007-04-29 20:56:31 +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
Rivo Laks
a94aa904b0
Well, actually GLRenderTarget doesn't require NPOT textures (it works with rectangle textures as well).
...
That also means that those effects which do require NPOT have to check for it themselves.
svn path=/branches/work/kwin_composite/; revision=659155
2007-04-29 15:39:33 +00:00
Rivo Laks
17ae1620ac
Little clarifying API doc for nearestPowerOfTwo().
...
svn path=/branches/work/kwin_composite/; revision=659150
2007-04-29 15:31:57 +00:00
Rivo Laks
f00d1745ed
Add static GLRenderTarget::supported() and make effects use it instead of checking for FBO extension
...
themselves.
Fix memory leak in Test_FBO effect.
svn path=/branches/work/kwin_composite/; revision=658804
2007-04-28 14:38:06 +00:00
Rivo Laks
24c8663923
Add GLShader dtor (fixes memory leak).
...
Also fix multiple memory leaks in effects.
svn path=/branches/work/kwin_composite/; revision=658761
2007-04-28 13:19:36 +00:00
Rivo Laks
6e62dcb922
Add GLTexture::setWrapMode() call to set texture's OpenGL wrap mode.
...
Liquid demo effect now sets wrap mode to CLAMP to ensure that the texture won't wrap at edges
of the screen, which would make other side of the screen visible there.
svn path=/branches/work/kwin_composite/; revision=658748
2007-04-28 12:25:54 +00:00