add mirego bitmap reuse support