I've added a new option in minimize plugin, called "Disable Fading". To prevent tearing, damageScreen is used minDonePaintScreen (only if the option is used). The patch is attached. -------------- next part -------------- A non-text attachment was scrubbed... Name: minimize-fading.patch Type: text/x-patch Size: 1855 bytes Desc: not available Url : http://lists.freedesktop.org/archives/compiz/attachments/20070128/78de7a8b/minimize-fading.bin
On Sun, 2007-01-28 at 17:31 +0100, Stjepan Glavina wrote:> I've added a new option in minimize plugin, called "Disable Fading". > To prevent tearing, damageScreen is used minDonePaintScreen (only if the > option is used).minimize plugin modifying opacity attribute like that is wrong. fade plugin should be modified if you want to disable fading when windows are minimized. Adding a call to damageScreen like that is also wrong. That it prevents tearing for you doesn't justify it. I assume that it prevents tearing because your driver doesn't support GLX_SGI_video_sync, which allow compiz to synchronize partial buffer swaps to the vblank. You can't replace efficient redrawing of part of the screen with fullscreen redrawing to workaround missing features a specific OpenGL implementation. - David
On Wednesday 07 February 2007 02:02:26 David Reveman wrote:> minimize plugin modifying opacity attribute like that is wrong. fade > plugin should be modified if you want to disable fading when windows are > minimized.It should be cool if you work on this Stjepan ;) Currently, i have to disable Normal windows in fade configuration if i want minimize effect to be draw correctly... Cedric
On 2/7/07, Bellegarde Cedric <gnumdk@puffy.homelinux.org> wrote:> On Wednesday 07 February 2007 02:02:26 David Reveman wrote: > > minimize plugin modifying opacity attribute like that is wrong. fade > > plugin should be modified if you want to disable fading when windows are > > minimized. > > It should be cool if you work on this Stjepan ;) > > Currently, i have to disable Normal windows in fade configuration if i want > minimize effect to be draw correctly...At some point I had the issue in previous compiz version (now using latest git version) and for me it was solved by loading plugins in a certain order. I now have the ordering as follows: gconf, png, decoration, move, resize, dbus, fade, minimize, cube, switcher, place, scale, screenshot, rotate, zoom. Also, this is on Xorg 7.2/AIGLX/Intel 945GMA. Cheers,