notorious_beeg
notorious_beeg copied to clipboard
optimise ppu rendering
in emerald, without rendering: 1k fps
with rendering: 450-460 fps
thats just over half of my fps gone just because of rendering 160 times a frame.
- only calculate window tables on window values changing
- template rendering to skip blending / windowing checks if disabled
- cache decoded screen entries (likely not worth it)
- cache decoded oam entries
1: this should give a decent speed up, but still not by much.
2: while this will speed up scenes that dont use windowing and blending, this still isn't ideal because many scenes do use both windowing and blending. so those scenes will still be super slow.
3: decoding is very fast already.
4: this will be a decent speed up.