Monday, May 13, 2013

[android-developers] setEGLConfigChooser

Let's say you're setting up a GLSurfaceView.

You want it to look good, so you do this:

this.setEGLConfigChooser(8, 8, 8, 8, 16, 0);

That's probably fine if the user can support that video mode.

But what about, if for some reason, the user's device can't support that mode?

Is there a graceful way to detect this condition and fall back to a less desirable video mode?

Thanks.

--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
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 android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate