[haiku-3rdparty-dev] Re: Double-Buffering in View::Draw

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-3rdparty-dev@xxxxxxxxxxxxx
  • Date: Thu, 30 Dec 2010 22:49:34 +0100

On 2010-12-30 at 22:12:12 [+0100], Stephan Assmus <superstippi@xxxxxx> wrote:
> All these tips apply to BeOS. On Haiku, drawing is usually double
> bufferd. IIRC, even letting the app_server draw the background would not
> normally result in flicker, except if the draw request was caused by an
> expose event (i.e. one window moving or disappearing which results in
> another window to be exposed).

Interesting. I knew about the double buffering, but I didn't think it was 
that aggressive. Am I assuming correctly that the back buffer regions are 
only marked clean (and copied to the front buffer) after the respective 
view's Draw() returned? That would also explain #5469, I guess.

CU, Ingo

Other related posts: