Skip to content

Glide transformation drop gainmap and colorspace #5333

@falhassen

Description

@falhassen

This is because LruBitmapPool can recycle Bitmaps with no gainmaps and a different colorspace.

Since gainmaps can't be reused between bitmaps, and must be set manually, either we have to do a BitmapPool API change to handle that, or all callers of BitmapPool have to handle it explicitly, or we start migrating from BitmapPool, since it is arguably not needed in Android M+ since the Android framework takes care of Bitmap reuse anyway.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions