Skip to content

fix(client): font cache and filtering parity (NEW-193..196)#62

Open
ximaks00-hue wants to merge 1 commit into
akki697222:dev-MC1.20from
ximaks00-hue:fix/new-193-196-font-render-cache
Open

fix(client): font cache and filtering parity (NEW-193..196)#62
ximaks00-hue wants to merge 1 commit into
akki697222:dev-MC1.20from
ximaks00-hue:fix/new-193-196-font-render-cache

Conversation

@ximaks00-hue

Copy link
Copy Markdown
Contributor

Summary

  • NEW-193: wire textLinearFiltering to createFontTex
  • NEW-194: Guava removal listener closes VertexBuffers
  • NEW-195: depthMask(false) while drawing cached text
  • NEW-196: isCompiled flag stops empty-buffer recompile loop

Test plan

  • Monitor text renders without depth artifacts
  • No VBO leak after screen cache eviction

…..196)

- Pass Settings.textLinearFiltering into createFontTex instead of textAntiAlias (NEW-193).

- Close evicted RenderCache VertexBuffers via Guava removalListener (NEW-194).

- Disable depth writes while drawing cached text buffers, matching Original TextureFontRenderer (NEW-195).

- Track compiled state separately so blank/space-only buffers are not recompiled every frame (NEW-196).
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