I would just redraw the whole screen every time.
I doubt you are saving much processing power by not updating your HUD fully. On Monday, February 4, 2013 2:25:21 AM UTC-6, muleskinner wrote: > > Well (and this is a bit of a hangover from porting JavaME code) I > frequently have areas of the display (e.g. a HUD) that I don't bother > updating unless there has been a change. > > With the original switch from JavaME to Android this caused issues in that > only one buffer was updated so the screen appeared to flicker between two > different states. I changed this so for Android everything gets redrawn > twice post-change and hence both buffers are updated. > > Now I have to switch so that on 4.1 and up any updates are drawn three > times. This is a pretty easy fix most of the time but still requires > testing all my apps to make sure there are no other strange knock-on > effects. I have already encountered one app which required a fair bit of > fine-tuning in order to work correctly and it would be much easier if I > could just turn triple-buffering off and relax in the knowledge that > everything was working like it used to. > > Still, if that's not possible I guess I just have to grit my teeth and go > back rebuilding and re-testing my old apps... > > cheers > > No it cannot be disabled. What issue is it causing? >> On Feb 1, 2013 1:16 AM, "muleskinner" <[email protected]> wrote: >> >>> Hi, >>> >>> Is there any way to disable Jelly Bean triple buffering from within my >>> app? It's causing me issues and the easiest way to fix would be to disable >>> it... >>> >>> Help much appreciated! >>> >>> cheers >>> >>> >>> -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

