Commit graph

3356 commits

Author SHA1 Message Date
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
Luboš Luňák
bf0256bf1b Fix compile.
svn path=/branches/work/kwin_composite/; revision=600688
2006-10-31 13:20:51 +00:00
Luboš Luňák
7301c306b8 I hate it when I forget to commit some changes and then wipe them out
thinking they are already committed.


svn path=/branches/work/kwin_composite/; revision=600557
2006-10-30 23:10:49 +00:00
Luboš Luňák
85bc4b5ac7 Disable the howto effect.
svn path=/branches/work/kwin_composite/; revision=600554
2006-10-30 22:54:51 +00:00
Luboš Luňák
0f03921271 Add a commented howto effect.
svn path=/branches/work/kwin_composite/; revision=600553
2006-10-30 22:49:59 +00:00
Luboš Luňák
bed1c3c6b9 Fix a crash.
svn path=/branches/work/kwin_composite/; revision=600512
2006-10-30 20:33:06 +00:00
Luboš Luňák
532449c852 svn merge r568236,r568494,r568780,r599652,r599655 from trunk
(global shortcuts fixes)


svn path=/branches/work/kwin_composite/; revision=600169
2006-10-29 19:40:24 +00:00
Luboš Luňák
d92d3a8165 Document the compositing framework and the scene backends,
describe the design, add links to external docs.
Restructure COMPOSITE_TODO into sections and add sort of priorities.


svn path=/branches/work/kwin_composite/; revision=600163
2006-10-29 19:23:45 +00:00
Luboš Luňák
5f03c77514 Move effects to their own directory.
svn path=/branches/work/kwin_composite/; revision=600157
2006-10-29 19:08:09 +00:00
Luboš Luňák
3f9b754ee7 Add post-painting pass to be used for triggering
repaints with animations.


svn path=/branches/work/kwin_composite/; revision=600156
2006-10-29 19:07:10 +00:00
Luboš Luňák
6b41c062c8 Remove the WrapperEffect hack, it's ugly.
svn path=/branches/work/kwin_composite/; revision=600155
2006-10-29 19:06:32 +00:00
Scott Wheeler
d4be8267d5 I think the rest of the shortcut() calls are ok since they seem to be calls to
Client::shortcut() or things that deal with KShortcutDialog.  So, here's a little
1-liner that I stumbled across in the process.

svn path=/trunk/KDE/kdebase/workspace/; revision=599659
2006-10-28 02:20:47 +00:00
Scott Wheeler
bc4375ca2a These I'm also sure should be globalShortcuts(). Last up are the client actions.
svn path=/trunk/KDE/kdebase/workspace/; revision=599655
2006-10-28 02:01:19 +00:00
Scott Wheeler
2ec9782f26 These are all global shortcuts, not shortcuts. I suspect this is probably true
for many of the shortcut() calls spread out through this class, but I'll check those
later.

This makes alt-tab and friends almost work.

svn path=/trunk/KDE/kdebase/workspace/; revision=599652
2006-10-28 01:40:01 +00:00
Luboš Luňák
3f46d36bb9 Add convenience functions for damaging full area.
svn path=/branches/work/kwin_composite/; revision=598834
2006-10-24 19:28:17 +00:00
Luboš Luňák
10b31e7222 Support for animations, still some todo's pending.
svn path=/branches/work/kwin_composite/; revision=598831
2006-10-24 19:17:48 +00:00
Luboš Luňák
23b30bb2fa Throttle composite repaints in order not to starve everything else.
svn path=/branches/work/kwin_composite/; revision=598820
2006-10-24 18:31:33 +00:00
Luboš Luňák
05021ecedb Fix crash with unmanaged windows.
svn path=/branches/work/kwin_composite/; revision=598783
2006-10-24 15:54:52 +00:00
Luboš Luňák
548eb09a74 Move shared code to base class.
svn path=/branches/work/kwin_composite/; revision=598752
2006-10-24 13:38:31 +00:00
Luboš Luňák
189ca6c3a2 Fix window scaling (apply scale before translating).
svn path=/branches/work/kwin_composite/; revision=598743
2006-10-24 12:50:22 +00:00
Laurent Montel
a654e519e1 Clean up
Remove not necessary files

svn path=/trunk/KDE/kdebase/workspace/; revision=598354
2006-10-23 11:35:02 +00:00
Laurent Montel
b1ce3b0b9e 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=598290
2006-10-23 06:53:27 +00:00