B_BITMAPS_SUPPORT_OVERLAY
&& (supportFlags & B_BITMAPS_SUPPORT_OVERLAY))
uint32 flags = overlay ? B_BITMAPS_SUPPORT_OVERLAY : 0;