The system can detect when a ARGB_8888 bitmap is opaque (see Bitmap.hasAlpha()).
On Mon, Jan 24, 2011 at 8:26 AM, webmonkey <webmonke...@gmail.com> wrote: > Now that Gingerbread has moved to 32-bit windows is there a way to > create a 32-bit bitmap without alpha to improve drawing performance of > opaque bitmaps? > > Something like Bitmap.createBitmap( 512, 512, > Bitmap.Config.XRGB_8888 ) > > Or does the system somehow detect that the bitmap is opaque? > > -- > 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+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en