Class SizeConfigStrategy
java.lang.Object
com.bumptech.glide.load.engine.bitmap_recycle.SizeConfigStrategy
Keys
Bitmaps using both Bitmap.getAllocationByteCount() and the Bitmap.Config
returned from Bitmap.getConfig().
Using both the config and the byte size allows us to safely re-use a greater variety of Bitmaps, which increases the hit rate of the pool and therefore the
performance of applications. This class works around #301 by only allowing re-use of Bitmaps with a matching number of bytes per pixel.
-
Constructor Summary
Constructors -
Method Summary