Sign in to follow this  

Setting surface format on android

This topic is 2323 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello.

According to the android developers website

[quote]By default, GLSurfaceView tries to find a surface that's as close as possible to a 16-bit RGB frame buffer with a 16-bit depth buffer. [/quote]

I want to use a 32 bit RGBA frame buffer format, but be able to fall back to 16 bit frame buffer format if the 32 bit option is not supported on a players Android device. I've been looking on google and the android developers website, but can't quite understand how to accomplish what I want.

Can someone post code or explain how this can be done?

Thanks!

Share this post


Link to post
Share on other sites

This topic is 2323 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this