36 Commits (45f5f00f9f36c98681d34dfa4f4fd15401b21f2a)

Author SHA1 Message Date
Lucas Murray 3db33763cf Shader optimizations. Patch provided by Robin Burchell. 17 years ago
Martin Gräßlin d7665af4f0 Texture width and height is stored in GLShader and the uniform value is set during prepareShaderRenderStates in scene_opengl. So the effects do not have to set the uniform manually. This is useful as other effects can still set this uniform if something different is rendered with a different texture width/height (e.g. shadows or thumbnails). When the window is finally rendered the original value set by the effect is definatelly used. 17 years ago
Lucas Murray d69942d215 Reverted the text part of the previous commit, seems the bug is in Qt 17 years ago
Luboš Luňák 31e4e950b6 Handle Y inverting properly with normalized coordinates. 17 years ago
Lucas Murray 6d41a1320e Moved all debug, warning and error messages into the KWin 1212 area. 18 years ago
Luboš Luňák 8e5f95a9d6 Make a more explicit distinction between using normalized and non-normalized 18 years ago
Luboš Luňák f77561ce65 Don't discard window texture when only the shape changes but the window 18 years ago
Luboš Luňák cff2b0e6cd Abstract paint clipping into PaintClipper helper class that allows 18 years ago
Luboš Luňák 110f76ecd8 Change some of the debug messages to warnings, so compositing setup failures 18 years ago
Luboš Luňák bb433ac40e No longer include config*.h files in installed headers. 19 years ago
Luboš Luňák 01bf6cbb4c License cleanup - add headers where missing, be explicit about GPL 19 years ago
Rivo Laks 85e31c0010 Reserve 80 items instead of creating them. 19 years ago
Rivo Laks e0c50df7e3 Preallocate those vectors as well, just like mattr did with the ones in the shadow effect. 19 years ago
Rivo Laks cc2600100c Add a method to render round box with a dark edge and use it for alt-tab's frame. 19 years ago
Thiago Macieira d2aee14a35 Remove use of k_funcinfo 19 years ago
Laurent Montel 994c800d79 Adapt to new KWarning/kFatal/kDebug api 19 years ago
Rivo Laks 42a4d364c2 Add a generic function to render a box with rounded corners. 19 years ago
Rivo Laks 65bc41c518 Argh.. fix typo 19 years ago
Rivo Laks 424f906ab2 - Add optional color argument to renderGLGeometry() functions. If specified, it's used as vertex colors 19 years ago
Pino Toscano 38267e8ac6 less qt3support 19 years ago
Luboš Luňák eb4fb38657 Have a separate list for glx extensions, to avoid mistakes - now initGL() 19 years ago
Luboš Luňák 6e8ca14379 Svnrevertlast, the file as a whole should be opengl-only. 19 years ago
Aaron J. Seigo da80cba35c compile fixes; and now to find out why it thinks i don't have gl installed ;) 19 years ago
David Faure 38099ef7e5 Major config.h cleanup, moved much stuff to config-X11.h and to config-fish.h 19 years ago
Luboš Luňák f52b8e48cd branches/work/kwin_composite becomes new trunk kwin. 19 years ago
Luboš Luňák 2b7e1f4993 Remove kwin, kwin_composite will become new trunk kwin, missing merges 19 years ago
Rivo Laks a94aa904b0 Well, actually GLRenderTarget doesn't require NPOT textures (it works with rectangle textures as well). 19 years ago
Rivo Laks f00d1745ed Add static GLRenderTarget::supported() and make effects use it instead of checking for FBO extension 19 years ago
Rivo Laks 24c8663923 Add GLShader dtor (fixes memory leak). 19 years ago
Rivo Laks 6e62dcb922 Add GLTexture::setWrapMode() call to set texture's OpenGL wrap mode. 19 years ago
Laurent Montel 67f6750ab3 Remove not necessary include 19 years ago
Luboš Luňák ffc75a2214 GLTexture::render(), to render to a given QRect 19 years ago
Luboš Luňák cd98bc12d5 Shared implementation of rendering gl geometry. 19 years ago
Rivo Laks ec29f33832 Make enable/disableUnnormalizedTexCoords() work with custom textures (e.g. rendertarget ones). 19 years ago
Rivo Laks cc1a7a9eca Add GLRenderTarget class. 19 years ago
Rivo Laks 0353f3376e Make effects actual plugins, so it's possible to load them on runtime. 19 years ago
Luboš Luňák e3b865cd5f namespace KWinInternal -> KWin - shorter typing of names in gdb, yay 19 years ago
Luboš Luňák 35bbf89aed Add support for activating features using window borders/corners. 19 years ago
Philip Falkner aa6d8eabc5 Add GLTexture class. This is a convenient wrapper around managing an OpenGL texture, as well as loading an image into it. Includes support for loading from QImage, QPixmap, and a file. Defaults to a GL_TEXTURE_2D target, and will scale image if necessary. 19 years ago
Rivo Laks d72a9239b4 Add static bool fragmentShaderSupported() and vertexShaderSupported() methods to GLShader. 19 years ago
Philip Falkner 8299541652 Add build checks for XComposite, XDamage, XRender, OpenGL, and XShm. 19 years ago
Rivo Laks 1cdcd8956f Move OpenGL defines, function prototypes and function resolving to a separate file. 19 years ago
Rivo Laks 66d8c5030b Add GLSL shader support and GLShader class. 19 years ago
Philip Falkner 1e2d811cea Add support for GL_EXT_framebuffer_object, needed for mipmaps. 19 years ago
Rivo Laks 26e907c210 Merge MAKE_*_VERSION macros into MAKE_GL_VERSION and move it to .cpp file 19 years ago
Philip Falkner 0341a3e8b5 Add support for GL_ARB_texture_non_power_of_two. Use GL_TEXTURE_2D wherever possible, even when that extension isn't available. 19 years ago
Luboš Luňák 9c4218d4bf Sync to vblank, patch by Philip Falkner. 20 years ago
Luboš Luňák 277683c4f0 Fix name of glXGetProcAddress(ARB). 20 years ago
Luboš Luňák 376fd954c3 Check whether extensions are available before using them. 20 years ago
Luboš Luňák 930a9248c9 Repainting of only changed areas, now also for OpenGL. 20 years ago