From o.finnendahl at inm.mh-freiburg.de Wed Mar 21 12:29:00 2012 From: o.finnendahl at inm.mh-freiburg.de (Orm Finnendahl) Date: Wed, 21 Mar 2012 13:29:00 +0100 Subject: [mcclim-devel] double buffering of drawing panes Message-ID: <20120321122900.GB18925@varese> Hi, in a mcclim application with incremental redisplay and lots of objects there is a noticeable irregular flicker when dragging some objects even for parts of the screen, which aren't invalidated by the dragging. I checked the code and verified that my redraw routine is not doing any redraw on these parts. It seems clim's work behind the scenes replaying output records is responsible for that. Is there a more or less straightforward way to implement double buffering on the pane without taking mcclim apart? Yours, Orm From csr21 at cantab.net Wed Mar 21 13:37:00 2012 From: csr21 at cantab.net (Christophe Rhodes) Date: Wed, 21 Mar 2012 13:37:00 +0000 Subject: [mcclim-devel] double buffering of drawing panes In-Reply-To: <20120321122900.GB18925@varese> (Orm Finnendahl's message of "Wed, 21 Mar 2012 13:29:00 +0100") References: <20120321122900.GB18925@varese> Message-ID: <87haxi9itf.fsf@cantab.net> Orm Finnendahl writes: > in a mcclim application with incremental redisplay and lots of > objects there is a noticeable irregular flicker when dragging some > objects even for parts of the screen, which aren't invalidated by the > dragging. I checked the code and verified that my redraw routine is > not doing any redraw on these parts. It seems clim's work behind the > scenes replaying output records is responsible for that. > > Is there a more or less straightforward way to implement double > buffering on the pane without taking mcclim apart? Without checking too closely, there is a :double-buffering t initarg to pane creation, which has in the past worked... Cheers, Christophe From o.finnendahl at inm.mh-freiburg.de Thu Mar 22 08:38:00 2012 From: o.finnendahl at inm.mh-freiburg.de (Orm Finnendahl) Date: Thu, 22 Mar 2012 09:38:00 +0100 Subject: [mcclim-devel] double buffering of drawing panes In-Reply-To: <87haxi9itf.fsf@cantab.net> References: <20120321122900.GB18925@varese> <87haxi9itf.fsf@cantab.net> Message-ID: <20120322083800.GA31510@varese> Hi List, Am Wednesday, den 21. March 2012 um 13:37:00 Uhr (+0000) schrieb Christophe Rhodes: > Without checking too closely, there is a :double-buffering t initarg > to pane creation, which has in the past worked... Cool, that works, thanks Christophe! The backend on my machine seems buggy, however: When I click into the blank area or after releasing mouse buttons the pane gets filled with a couple of scattered rectangular excerpts from the rest of the xscreen. Moving the mouse restores the screen to its correct appearance. Should I report that somewhere or is there anything I could do about it (If it's the backend: I'm by no means an expert on backends)? Yours, Orm