Skip to content

(D2D) Figure out how to cache gradient brushes? #308

Open
@smmalis37

Description

@smmalis37

Caching solid color brushes gave large and visible speedups when testing with https://github.com/smmalis37/sudoku_rust. Given that, it's probably worthwhile to cache gradient brushes too. However, gradients are more complicated than a single color, and figuring out a good key for a cache for them may be tricky.

Metadata

Metadata

Assignees

No one assigned

    Labels

    perfperformance related issuepiet-direct2dissue in the direct2d backend

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions