Skip to content

Conversation

@xiaomings
Copy link
Contributor

@xiaomings xiaomings commented Feb 10, 2026

Introduce a caching mechanism for Skia font file data.
When enabled via a RefDefault parameter, Skia's file stream
creation uses a global cache, mapping font file paths to their
memory-mapped SkData. This reduces redundant I/O and mapping for
frequently accessed font files.

Bug: 479948202

@github-actions
Copy link

🤖 Gemini Suggested Commit Message


starboard: Add Skia font file data cache

Introduce a caching mechanism for Skia font file data.
When enabled via a RefDefault parameter, Skia's file stream
creation uses a global cache, mapping font file paths to their
memory-mapped SkData. This reduces redundant I/O and mapping for
frequently accessed font files. This feature is specific to the
Starboard platform implementation.

Bug: 479948202

💡 Pro Tips for a Better Commit Message:

  1. Influence the Result: Want to change the output? You can write custom prompts or instructions directly in the Pull Request description. The model uses that text to generate the message.
  2. Re-run the Generator: Post a comment with: /generate-commit-message

@xiaomings xiaomings changed the title (WIP) FontMgr cache starboard: Add Skia font file data cache Feb 10, 2026
@xiaomings xiaomings changed the title starboard: Add Skia font file data cache skia: Add Skia font file data cache Feb 10, 2026
@xiaomings xiaomings force-pushed the 26.android branch 3 times, most recently from de6ac63 to 439a88b Compare February 11, 2026 00:14
b/479948202
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