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

[GuiAdvancedScrollText] Performance improvements #2019

Merged

Commits on Oct 10, 2023

  1. Configuration menu
    Copy the full SHA
    e7a0583 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    75e2e01 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f4abf54 View commit details
    Browse the repository at this point in the history
  4. [GuiAdvancedScrollText] Move font prep from onDraw to addEntry

    Prepare fonts for entries only when adding an entry, rather than
    for every entry on every frame.
    oznogon authored and csibbitt committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    4d27db6 View commit details
    Browse the repository at this point in the history
  5. [GuiAdvancedScrollText] Re-prep fonts when window width changes

    Re-prep fonts to reflow and recalculate entry height when the
    window width changes. This causes significant performance impacts
    when resizing the window with a large log.
    oznogon authored and csibbitt committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    f076bda View commit details
    Browse the repository at this point in the history
  6. [GuiAdvancedScrollText] Track max_prefix_width when adding/removing

    * Refactored Entry font prep and max prefix tracking to its own method
    * Added a map for tracking prefix lengths
    * When removing Entries, update max_prefix_width if necesarry
    * Reset max_prefix_width (and tracking map) when resizing or clearing Entries
    csibbitt committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    4abf343 View commit details
    Browse the repository at this point in the history
  7. [GuiAdvancedScrollText] Fix the latest-line view on Relay startup

    * Needs to account for draw_offset alignment kludge
    csibbitt committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    f54292a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    5f2fb49 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9105cc9 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2023

  1. Configuration menu
    Copy the full SHA
    d1b61a5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8af02c8 View commit details
    Browse the repository at this point in the history