Saturday, May 22, 2010

[android-developers] How to configure the default bitmap color format of the whole system?

I found in my system the bitmap color format is RGB565. That means,
everything rendered to the framebuffer is in RGB565.

So can I change this and configure it as ARGB8888?

I saw lots of code in the framework (framework/base/graphics/)
handling different formats, including RGB565, RGBA5551, ARGB8888, etc.
But I can't figure out where to configure the default color format.

Thank you all!

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

No comments:

Post a Comment