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

Bugfix 0.1.8 #205

Merged
merged 45 commits into from
Feb 23, 2024
Merged

Bugfix 0.1.8 #205

merged 45 commits into from
Feb 23, 2024

Conversation

Cidan
Copy link
Owner

@Cidan Cidan commented Feb 23, 2024

Closes #125 #136 #173 #186 #179 #78 #146

This CL additionally completely rewrites the rendering engine in a few ways:

  1. Rendering is now done in two phases, with a data sweep phase happening on one frame, and a draw phase happening on the frame immediately following the sweep phase.
  2. The data sweep phase now only scans for changed items instead of sweeping all items.
  3. The data render phase now correctly renders partial dirty items after the first full render.

All of this leads to an improvement of anywhere from 10x to 1000x in render times, as the bags now render linearly with the number of items that changed, instead of the number of items in your bag.

Cidan added 30 commits February 20, 2024 15:53
All bag refresh paths now lead to a bucketed event.
…dering and fix a few bugs in all render views.
Moved pawn support to integrations via events.
added fix for free slots being 0
moved some profile messages to debug mode

wip debugging dirty item updates
only log messages when debug mode is enabled.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment