Skip to content
New issue

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

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

Already on GitHub? # to your account

Perfomance: Font cache, color cache, increase MAX_LINE_LEN #60

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

osv
Copy link

@osv osv commented Sep 8, 2024

  • add cache of xft font
  • add cache of color (XAllocNamedColor)
  • increase size of MAX_LINE_LEN from 8k to 256k. 8k is too small for my case.

With font caching I can have 60FPS without huge CPU impact

perfomance

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant