I investigated further:
  1) I wasn't calling the view's onPause and onResume.  Oops!  these
are necessary.
  2) The problem still persists if you use RENDERMODE_WHEN_DIRTY.  If
you use continuous render mode the problem is not present if you
properly call onPause and onResume.

I opened a bug report:
http://code.google.com/p/android/issues/detail?can=2&q=6604&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars&id=6604

On Feb 10, 9:39 am, Tim Newsham <[email protected]> wrote:
> My OpenGL app behaves very oddly after the screen saver kicks in.  If
> in continuous render mode, the rendering function keeps getting called
> during the screen saver. After the user clicks menu twice to
> get out of the screen saver, the acivity shows the last screen that
> was rendered, but never updates
> the display.  I still see the onDrawFrame function being called.  I
> just don't see any updates making it to the screen.  This happens in
> both continuous and when-dirty rendering modes.
>
> What could I be doing wrong here?  Has anyone else seen something like
> this?
> This is Android1.6 on ADP1.
>
> Tim

-- 
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

Reply via email to