Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#3332 Fix buffers not accounting for dynamic cache values #3532

Merged
merged 1 commit into from
Feb 11, 2025

Conversation

akleshchev
Copy link
Contributor

  1. Fix previous lapse of judgement with GLYPH_BATCH_SIZE
  2. We record width/height once per string rendering, but values are actually dynamic and additing new symbols invalidates them. Added mLastFontGlyphCount to track addition of new symbols. Likely not the best way to handle the issue, but we can fix rendering later, mLastFontGlyphCount should be safe in scope of foreverFPS.

And fix previous lapse of judgement with GLYPH_BATCH_SIZE
@akleshchev akleshchev merged commit e708d69 into release/2024.12-ForeverFPS Feb 11, 2025
5 of 6 checks passed
@akleshchev akleshchev deleted the andreyk/viewer_3332 branch February 11, 2025 21:59
@github-actions github-actions bot locked and limited conversation to collaborators Feb 11, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants