nanogui: Flicker over the screen
Subject:
Flicker over the screen
From:
"Tapan Roy" ####@####.####
Date:
13 Aug 2008 11:46:03 -0000
Message-Id:
Hello,
I am facing one issue, when I draw a menu UI using nano-X lib... as follows:
1. Drawn a rectangle(Menu Box) and then Three Square Buttons (e.g.
Brightness, Sharpness, Hue Control).
2. Waiting for a key event as Up/Down.
3. The present user selected button becomes active (e.g. Red fill color).
The previous button becomes inactive (e.g. Grey Fill Color).
4. During this above process, I clear the entire Menu Box and buttons and
need to redraw the UI boxes with current active button box.
---> So This simple draw when I port it on my Cirrus target platform
(EDB9307A)....... 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.
PLEASE SUGGEST ME ... HOW CAN I OVER COME THIS ISSUE.