Skip to content

Consider mipmapping ui.Image's generated by the engine. #26443

@chinmaygarde

Description

@chinmaygarde

Currently, the engine does not enable mipmapping on any images generated for the framework. Skia does support building mipmaps. Using mipmaps will lead to better quality in rendering of scaled images and better per frame performance because of fewer texel fetches from texture memory at non-base mipmap levels. This is at the cost of ~1.3x per texture memory usage.

We should consider either enabling mipmapping for all images or provide a flag to the framework for images it intends to render at a scaled size.

Mipmapping should always be disabled for images in the raster cache because rendering at resolution is the entire point for images generated by the cache.

Metadata

Metadata

Assignees

No one assigned

    Labels

    engineflutter/engine related. See also e: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions