Jump to content
  • Advertisement
Sign in to follow this  
Michael Wojcik

Setting surface format on android

This topic is 2538 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


According to the android developers website

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?


Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!