nanogui: Flicker over the screen
Subject:
Re: [nanogui] Flicker over the screen
From:
"Greg Haerr" ####@####.####
Date:
14 Aug 2008 17:06:45 -0000
Message-Id: <413c01c8fe2f$f70f9250$0300a8c0@RDP>
> I see there is flicker due to this "Clear Operation" and
: "Redraw operation". Looks like there is some unknown delay which is
getting
: reflected this way. But my code sequence I very straight forward.. and
: simple.
A basic mechanism to stop flickering is to double buffer all output,
which means drawing into an offscreen pixmap and then copyarea
that to the screen once.
Your code sequence may be straight forward and simple,
but if it over draws the same area twice (especially including
automated background clearing) then you're apt to see flicker
except for very fast systems.
Regards,
Greg