Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

Optimize rendering #4

Merged
merged 2 commits into from Feb 21, 2023
Merged

Optimize rendering #4

merged 2 commits into from Feb 21, 2023

Conversation

eigenraven
Copy link
Member

On a superflat world in the malisisdoors environement with ~100 doors with these changes I go from 100 to 220 FPS, and allocation rate reduces from ~1.2GB/s to 800MB/s. Any more changes would require more significant refactoring of the code, but this should make door rendering less of a bottleneck.

I change a protected field type from a List to an array, but it looks like none of the malisis mods use it or even subclass RenderParameters, so it shouldn't cause ABI breaks.

@eigenraven eigenraven requested review from a team February 18, 2023 15:21
@Connor-Colenso Connor-Colenso merged commit aff8883 into master Feb 21, 2023
@Connor-Colenso Connor-Colenso deleted the optimize-rendering branch February 21, 2023 15:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants