phy1um / ps2-homebrew-livestreams

Repo for code written during my Playstation 2 Homebrew livestreams
MIT License
47 stars 6 forks source link

Double Buffering #12

Closed phy1um closed 2 years ago

phy1um commented 2 years ago

Resolves #10

Framebuffers are now double-buffered. At the cost of more VRAM draw calls split over many buffers/DMA submits no longer flicker.

Existing tests (min.lua, stress.lua, texture.lua) are updated and functional.

rect.lua no longer runs, stalling after the first draw and never completing the "flip" of the framebuffers.

Thanks to aap on Discord for pushing me to implement this :D