GifBitmapProvider

class GifBitmapProvider

Implements com.bumptech.glide.gifdecoder.GifDecoder.BitmapProvider by wrapping Glide's com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool.

Constructors

Link copied to clipboard
open fun GifBitmapProvider(bitmapPool: BitmapPool)
Constructs an instance without a shared byte array pool.
Link copied to clipboard
open fun GifBitmapProvider(bitmapPool: BitmapPool, arrayPool: ArrayPool)
Constructs an instance with a shared array pool.

Functions

Link copied to clipboard
open fun obtain(    width: Int,     height: Int,     config: Config): Bitmap
Link copied to clipboard
open fun obtainByteArray(size: Int): Array<Byte>
Link copied to clipboard
open fun obtainIntArray(size: Int): Array<Int>
Link copied to clipboard
open fun release(bitmap: Bitmap)
open fun release(bytes: Array<Byte>)
open fun release(array: Array<Int>)