Commit graph

3177 commits

Author SHA1 Message Date
Luboš Luňák
53422c734c Add one more fallback #define.
svn path=/branches/work/kwin_composite/; revision=604568
2006-11-13 10:19:25 +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
9a706bea89 Remove one more part of direct OpenGL drawing to the root window.
svn path=/branches/work/kwin_composite/; revision=604021
2006-11-11 09:14:38 +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
a222c2a675 Gee, map also the child X window. Qt makes some things way too simple.
svn path=/branches/work/kwin_composite/; revision=604018
2006-11-11 09:05:45 +00:00
Luboš Luňák
60d343f1d7 A great idea from Cedric Borgese: Instead of transforming
the OpenGL scene to match X coordinate system, adjust it
directly using glOrtho().


svn path=/branches/work/kwin_composite/; revision=603929
2006-11-10 20:27:44 +00:00
Luboš Luňák
001ddfacbd Remove requiring GLX_DRAWABLE_TYPE to include GLX_PIXMAP_BIT,
ATI seems to be buggy and it doesn't seem to be really necessary.


svn path=/branches/work/kwin_composite/; revision=603922
2006-11-10 20:01:24 +00:00
Luboš Luňák
3e282558e2 Add docs on some of the paint attributes.
svn path=/branches/work/kwin_composite/; revision=603720
2006-11-09 21:27:27 +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
1cc603cf75 Abort if there are problems with setting up OpenGL context.
svn path=/branches/work/kwin_composite/; revision=603712
2006-11-09 20:38:14 +00:00
Luboš Luňák
91872885ff Explicitly link against libdl, the build breaks for some people without it
for some reason.


svn path=/branches/work/kwin_composite/; revision=603677
2006-11-09 18:01:45 +00:00
Luboš Luňák
8036be5f52 Fix dialog<->parent handling to also work with group transient dialogs.
svn path=/branches/work/kwin_composite/; revision=603396
2006-11-08 19:29:29 +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
154d8a588b Use the compositing manager _NET_WM_CM_S<n> manager selection.
svn path=/branches/work/kwin_composite/; revision=603322
2006-11-08 15:08:20 +00:00
Luboš Luňák
5040859ee3 Force re-creating of the Alt+F3 popup (opacity option).
svn path=/branches/work/kwin_composite/; revision=603312
2006-11-08 14:45:30 +00:00
Luboš Luňák
3f0d6b97c1 One change that was supposed to go with r603295.
svn path=/trunk/KDE/kdebase/workspace/; revision=603296
2006-11-08 14:09:06 +00:00
Luboš Luňák
3a0e22ebe3 Ok, with a compositing manager running, VisibilityNotify no longer
considers windows not visible just because a window is above them,
so the code from r198017 no longer works.
(#128648)


svn path=/trunk/KDE/kdebase/workspace/; revision=603295
2006-11-08 13:59:27 +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
368c97ac96 Debug about visuals used.
svn path=/branches/work/kwin_composite/; revision=603143
2006-11-07 23:21:08 +00:00
Luboš Luňák
8d777cb1f7 Double-buffering using OpenGL doesn't work and I have no idea why.
svn path=/branches/work/kwin_composite/; revision=603138
2006-11-07 22:45:56 +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
f631e57a01 Bind the texture also in the global context and some opengl<->x
synchronizing.


svn path=/branches/work/kwin_composite/; revision=603127
2006-11-07 22:11:53 +00:00
Luboš Luňák
5245ef9e10 In non-tfp mode, a different context must be used when doing opengl
operations with the window drawable. Patch by Philip Falkner.


svn path=/branches/work/kwin_composite/; revision=603122
2006-11-07 22:04:57 +00:00
Luboš Luňák
2150cae758 svn revert r603055, it's nonsense
svn path=/branches/work/kwin_composite/; revision=603098
2006-11-07 20:33:52 +00:00
Luboš Luňák
e99a883a81 Require configs with no caveats. Manual replacement for glXChooseFBConfig()
is really needed :-/.


svn path=/branches/work/kwin_composite/; revision=603064
2006-11-07 17:51:15 +00:00
Luboš Luňák
f63e9e2b5b Fix last commit.
svn path=/branches/work/kwin_composite/; revision=603058
2006-11-07 17:33:53 +00:00
Luboš Luňák
6e3f0f7bbe Blah, destination drawable doesn't need alpha channel.
svn path=/branches/work/kwin_composite/; revision=603056
2006-11-07 17:31:34 +00:00
Luboš Luňák
5b7ef47746 Check root visual also when trying to find non-db config.
svn path=/branches/work/kwin_composite/; revision=603055
2006-11-07 17:27:58 +00:00
Luboš Luňák
e17138c20b Fix stacking order and focus chain when opening links in background
in Konqueror.


svn path=/trunk/KDE/kdebase/workspace/; revision=603050
2006-11-07 17:07:24 +00:00
Luboš Luňák
0a829c4ece Keep stacking order and focus chain order e.g. after doing "kwin --replace".
svn path=/trunk/KDE/kdebase/workspace/; revision=603033
2006-11-07 16:19:39 +00:00
Luboš Luňák
585678f309 Don't eat events for unmanaged windows, they may be kwin's
own widgets. Makes popups work.


svn path=/branches/work/kwin_composite/; revision=602429
2006-11-05 23:34:10 +00:00
Luboš Luňák
a97c347fa2 svn merge r578276 from trunk
svn path=/branches/work/kwin_composite/; revision=602423
2006-11-05 23:11:03 +00:00
Luciano Montanaro
33fca586c5 - Indentation cleanup
- Use largest size for VeryHuge and Oversize cases

svn path=/trunk/KDE/kdebase/workspace/; revision=602387
2006-11-05 21:19:05 +00:00
Alexander Neundorf
cd5d04d060 -remove kde4_install_libtool_file(), not necessary anymore since we switched away from libltdl
Alex


svn path=/trunk/KDE/kdebase/workspace/; revision=602118
2006-11-05 12:24:44 +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
2cd4ab9034 Fix Beryl SVN URL.
svn path=/branches/work/kwin_composite/; revision=601726
2006-11-04 08:11:01 +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
Laurent Montel
c0e49fc3ed Port to uic4
svn path=/trunk/KDE/kdebase/workspace/; revision=601570
2006-11-03 16:58:18 +00:00
Laurent Montel
cb0aca57ad Port to uic4
svn path=/trunk/KDE/kdebase/workspace/; revision=601561
2006-11-03 16:35:38 +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
8188d48bea Include urls for the opengl docs.
svn path=/branches/work/kwin_composite/; revision=601302
2006-11-02 20:21:34 +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
245df12129 But that doesn't compile here. According to http://www.opengl.org/registry/ABI/
the right header for GLX extensions is GL/glxext.h . If it still doesn't
compile somewhere, it probably needs conditional compilation.


svn path=/branches/work/kwin_composite/; revision=601182
2006-11-02 12:57:10 +00:00
Tim Beaulen
4e34c8f0b3 Build
The errors I got:

[ 28%] Building CXX object workspace/kwin/CMakeFiles/kdeinit_kwin.dir/scene_opengl.o
/home/kde4dev/kde/src/kdebase/workspace/kwin/scene_opengl.cpp:162: error: 'GLX_BIND_TO_TEXTURE_RGBA_EXT' was not declared in this scope
/home/kde4dev/kde/src/kdebase/workspace/kwin/scene_opengl.cpp: In member function 'void KWinInternal::SceneOpenGL::Window::bindTexture()':
/home/kde4dev/kde/src/kdebase/workspace/kwin/scene_opengl.cpp:500: error: 'GLX_FRONT_LEFT_EXT' was not declared in this scope
/home/kde4dev/kde/src/kdebase/workspace/kwin/scene_opengl.cpp:506: error: 'GLX_TEXTURE_FORMAT_EXT' was not declared in this scope
/home/kde4dev/kde/src/kdebase/workspace/kwin/scene_opengl.cpp:506: error: 'GLX_TEXTURE_FORMAT_RGBA_EXT' was not declared in this scope
/home/kde4dev/kde/src/kdebase/workspace/kwin/scene_opengl.cpp:512: error: 'GLX_Y_INVERTED_EXT' was not declared in this scope
/home/kde4dev/kde/src/kdebase/workspace/kwin/scene_opengl.cpp:515: error: 'GLX_FRONT_LEFT_EXT' was not declared in this scope
/home/kde4dev/kde/src/kdebase/workspace/kwin/scene_opengl.cpp: In member function 'void KWinInternal::SceneOpenGL::Window::discardTexture()':
/home/kde4dev/kde/src/kdebase/workspace/kwin/scene_opengl.cpp:568: error: 'GLX_FRONT_LEFT_EXT' was not declared in this scope
make[2]: *** [workspace/kwin/CMakeFiles/kdeinit_kwin.dir/scene_opengl.o] Error 1
make[1]: *** [workspace/kwin/CMakeFiles/kdeinit_kwin.dir/all] Error 2
make: *** [all] Error 2
kde4dev@localhost ~/kde/src/k


svn path=/branches/work/kwin_composite/; revision=601177
2006-11-02 12:06:47 +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
5b04644edd Add a note how to configure X.
svn path=/branches/work/kwin_composite/; revision=600916
2006-11-01 10:48:46 +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