Skip to content

UI: Improve Memory View performance on Linux#85

Open
Vrabbers wants to merge 2 commits into
SourMesen:masterfrom
Vrabbers:master
Open

UI: Improve Memory View performance on Linux#85
Vrabbers wants to merge 2 commits into
SourMesen:masterfrom
Vrabbers:master

Conversation

@Vrabbers
Copy link
Copy Markdown

On Linux, opening the Memory View window while a game was running would result in significant slowdown of the entire interface. This was due to a lot of time spent in FontConfig from creating SKTypeface objects from family names. This pull request fixes this by caching the last typeface object along with its name and reusing that object in HexEditor::HexViewDrawOperation and HexEditor::HexViewDrawRowHeaderOperation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant