Skip to content

fix(perf): 字体系统单次解析+有界缓存,消除启动OOM与周期性掉帧 - #178

Merged
gaoyu06 merged 3 commits into
FPSMasterTeam:mainfrom
Serendisand:main
Aug 7, 2026
Merged

fix(perf): 字体系统单次解析+有界缓存,消除启动OOM与周期性掉帧#178
gaoyu06 merged 3 commits into
FPSMasterTeam:mainfrom
Serendisand:main

Conversation

@Serendisand

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread src/main/java/top/fpsmaster/font/TextRenderer.java
Comment thread src/main/java/top/fpsmaster/forge/mixin/MixinMinecraft.java
@Serendisand

Copy link
Copy Markdown
Contributor Author

额,不小心把dev提交上来了

@Serendisand
Serendisand requested a review from gaoyu06 August 6, 2026 04:26
@Serendisand

Copy link
Copy Markdown
Contributor Author

@gaoyu06

Pin base sizes outside the LRU and release GPU textures when derived
renderers are dropped or FontManager.load() clears caches, so HUD scale
churn cannot leak VRAM.

Co-authored-by: Cursor <cursoragent@cursor.com>
@gaoyu06
gaoyu06 merged commit 7f944e6 into FPSMasterTeam:main Aug 7, 2026
1 check passed
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.

2 participants