fengb / fundude

Gameboy emulator: Zig -> wasm
https://fengb.github.io/fundude/
MIT License
181 stars 8 forks source link

PPU: basic cache #19

Closed fengb closed 5 years ago

fengb commented 5 years ago

Depends on https://github.com/fengb/fundude/issues/18

fengb commented 5 years ago

Patterns are a lot bigger than I had remembered (128-bits). I think it deserves the same tile-based-cache as background/window/spritesheet. Thus this is only rudimentary "cache all"

fengb commented 5 years ago

Closed by https://github.com/fengb/fundude/commit/d259b7e2e9ddcb20523475cddfdad6a67a735787

Super simple dirty checks actually improved render time by a lot. Marking this resolved and moving the hard stuff to other issues.