Luboš Luňák
d547cf8cd4
Move duplicated functionality to the base class.
...
svn path=/branches/work/kwin_composite/; revision=595639
2006-10-15 08:58:38 +00:00
Luboš Luňák
a3538cd80a
Use QRegion as much as possible to get even closer to the opengl code.
...
svn path=/branches/work/kwin_composite/; revision=595627
2006-10-15 07:41:19 +00:00
Luboš Luňák
c7584b3bf8
Change xrender code to match the opengl code.
...
Also dump the support for the current effect code, as that will
have to go anyway.
svn path=/branches/work/kwin_composite/; revision=595579
2006-10-14 22:08:51 +00:00
Luboš Luňák
fef8c89b93
Don't bind the texture if not necessary.
...
svn path=/branches/work/kwin_composite/; revision=595561
2006-10-14 20:50:24 +00:00
Luboš Luňák
17e46e32fb
Separate more generic and simple screen paint.
...
svn path=/branches/work/kwin_composite/; revision=595559
2006-10-14 20:46:47 +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
b60b847e25
Dump usage of depth buffer, Compiz manages to do just with
...
clipping.
svn path=/branches/work/kwin_composite/; revision=595349
2006-10-14 06:33:38 +00:00
Laurent Montel
01f2a3a9f2
Necessary to change KDE4_AUTOMOC macro to support
...
enable-final argument
(there was not a dependancy between <name>_final.cpp file and
moc generated files => moc files were never created)
Not necessary to rebuild all kdelibs just cp kdelibs/cmake/modules/KDE4Macros.cmake <path_kde4>/share/apps/cmake/modules
I ported and tested all kde module (without enable-final argument, it compiles fines (test and program))
Don't try to use enable-final argument for the moment it doesn't compile (but dependancy works)
Regards
svn path=/trunk/KDE/kdebase/workspace/; revision=595039
2006-10-13 07:55:37 +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
392acfb28c
A really nice trick from Compiz. OpenGL coordinates have Y upside
...
down ( [0,0] is bottomleft, unlike topleft with X ), so simply
flip the whole scene upside down and move it up -> the coordinates
match, except for when mapping pixmap to textures.
svn path=/branches/work/kwin_composite/; revision=594942
2006-10-12 21:12:51 +00:00
Luboš Luňák
5de53a53e6
A new way of adjusting opacity of non-alpha windows from glcompmgr,
...
the alpha way doesn't work with TFP for some reason.
svn path=/branches/work/kwin_composite/; revision=594941
2006-10-12 21:12:13 +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
Luboš Luňák
825a9235d6
Build the input shape on a helper window instead of directly,
...
this avoids having a hole in the shape temporarily. This seems
to break non-click-to-focus mouse policies on some systems
(works fine here though).
svn path=/trunk/KDE/kdebase/workspace/; revision=594160
2006-10-10 10:28:32 +00:00
Luboš Luňák
259cf5e401
Use glXGetProcAddress().
...
svn path=/branches/work/kwin_composite/; revision=594141
2006-10-10 09:16:57 +00:00
Luboš Luňák
d50c63e451
Missing part of the don't-cache-window-pixmap commit.
...
svn path=/branches/work/kwin_composite/; revision=593732
2006-10-08 21:17:38 +00:00
Luboš Luňák
dac02f69c6
Support for double-buffered output, can't really test it here though.
...
svn path=/branches/work/kwin_composite/; revision=593722
2006-10-08 20:31:00 +00:00
Luboš Luňák
4cbf58f8ea
Small fixes.
...
svn path=/branches/work/kwin_composite/; revision=593721
2006-10-08 20:30:02 +00:00
Dirk Mueller
d181233072
fix empty if body warning
...
svn path=/branches/work/kwin_composite/; revision=593671
2006-10-08 17:07:48 +00:00
Luboš Luňák
0858d34ed1
GLX_EXT_texture_from_pixmap working.
...
svn path=/branches/work/kwin_composite/; revision=593460
2006-10-07 21:23:46 +00:00
Luboš Luňák
71b0978628
Separate function for finding right GLXFBConfig.
...
svn path=/branches/work/kwin_composite/; revision=593458
2006-10-07 21:22:59 +00:00
Luboš Luňák
4a18e30518
Use the X way of handling ARGB windows with decorations
...
here as well.
svn path=/branches/work/kwin_composite/; revision=593457
2006-10-07 21:22:24 +00:00
Luboš Luňák
9941ae2cea
Windows with only shaped decorations are also shaped
...
from the compositing point of view.
svn path=/branches/work/kwin_composite/; revision=593455
2006-10-07 21:21:45 +00:00
Luboš Luňák
d44a4a3676
Fix ARGB windows with decorations for XRender as well.
...
svn path=/branches/work/kwin_composite/; revision=593454
2006-10-07 21:21:02 +00:00
Luboš Luňák
b168c35384
Don't cache window pixmap, it's used only after it
...
changes.
svn path=/branches/work/kwin_composite/; revision=593453
2006-10-07 21:20:23 +00:00
Luboš Luňák
4d7a859bf3
No need to create special alpha mask when there's no opacity,
...
it defaults to the right mask.
svn path=/branches/work/kwin_composite/; revision=593452
2006-10-07 21:19:23 +00:00
Luboš Luňák
06203d0652
Don't bother with trying to transform window damage,
...
when there are any transformations, it should simply
repaint everything (todo).
svn path=/branches/work/kwin_composite/; revision=593450
2006-10-07 21:18:36 +00:00
Luboš Luňák
e194246f73
$KWIN_COMPOSE for overriding which compositing system to use
...
svn path=/branches/work/kwin_composite/; revision=593447
2006-10-07 21:17:30 +00:00
Luboš Luňák
db41dd99cd
Finally found some way how to handle together ARGB windows
...
and RGB decorations, although there's probably a better
way than this.
svn path=/branches/work/kwin_composite/; revision=593446
2006-10-07 21:16:38 +00:00
Luboš Luňák
b1a526960f
Don't cache the window pixmap, it doesn't make any difference.
...
svn path=/branches/work/kwin_composite/; revision=593445
2006-10-07 21:14:57 +00:00
Luboš Luňák
fb73a2070a
Fix compile.
...
svn path=/branches/work/kwin_composite/; revision=591156
2006-10-01 21:45:46 +00:00
Luboš Luňák
f14000b7fb
Implement all missing Scene virtuals.
...
svn path=/branches/work/kwin_composite/; revision=591145
2006-10-01 21:14:53 +00:00
Luboš Luňák
b59701f608
Nicer handling of second phase painting.
...
svn path=/branches/work/kwin_composite/; revision=591144
2006-10-01 21:12:58 +00:00
Luboš Luňák
a283f9f9c0
Replace the opacity hack from glcompmgr with code from compiz.
...
svn path=/branches/work/kwin_composite/; revision=591143
2006-10-01 21:11:45 +00:00
Jaison Lee
e4d66a5a4d
KTempFile->KTemporaryFile
...
svn path=/trunk/KDE/kdebase/workspace/; revision=591082
2006-10-01 17:24:38 +00:00
Luboš Luňák
d65ebbcb5f
Opengl transparency.
...
svn path=/branches/work/kwin_composite/; revision=590751
2006-09-30 18:09:41 +00:00
Luboš Luňák
ace6b4ad8a
Opengl support for shaped windows.
...
svn path=/branches/work/kwin_composite/; revision=590728
2006-09-30 17:28:27 +00:00
Luboš Luňák
fba72ecdfe
Update only damaged areas.
...
svn path=/branches/work/kwin_composite/; revision=590678
2006-09-30 16:17:54 +00:00
Luboš Luňák
b09713532a
Debug about which backend is enabled.
...
svn path=/branches/work/kwin_composite/; revision=590658
2006-09-30 15:48:31 +00:00
Luboš Luňák
9cfa570153
merge in r568494 from trunk
...
svn path=/branches/work/kwin_composite/; revision=590656
2006-09-30 15:47:41 +00:00
Luboš Luňák
649887d6c2
Looks like using XserverRegion for keeping damage regions
...
wasn't that good idea. Changed to QRegion.
svn path=/branches/work/kwin_composite/; revision=590648
2006-09-30 15:40:03 +00:00
Luboš Luňák
f3119d2550
Some opengl error checking.
...
svn path=/branches/work/kwin_composite/; revision=590566
2006-09-30 13:37:28 +00:00
Luboš Luňák
1c7e7bb2b7
Keeping scene-related data in opengl scene.
...
svn path=/branches/work/kwin_composite/; revision=590319
2006-09-29 19:05:36 +00:00
Luboš Luňák
efff218441
A very crude OpenGL-based compositing code.
...
svn path=/branches/work/kwin_composite/; revision=590265
2006-09-29 16:49:34 +00:00
Luboš Luňák
93d4b9ff9f
Some links to X docs.
...
svn path=/trunk/KDE/kdebase/workspace/; revision=588719
2006-09-26 17:30:21 +00:00
Tobias Koenig
175b6677e5
deprecated--
...
svn path=/trunk/KDE/kdebase/workspace/; revision=587952
2006-09-24 14:51:14 +00:00
Luboš Luňák
5d2d733519
Seach me why there needs to be another config.h file.
...
svn path=/branches/work/kwin_composite/; revision=586384
2006-09-19 12:24:51 +00:00
Luboš Luňák
626d2700c1
Merge compile fixes from trunk to work with current SVN.
...
svn path=/branches/work/kwin_composite/; revision=586383
2006-09-19 12:20:19 +00:00
Laurent Montel
0f0f8e5116
Fix signal/slot
...
svn path=/trunk/KDE/kdebase/workspace/; revision=583878
2006-09-13 18:09:22 +00:00