libretro / gambatte-libretro

Hard fork of Gambatte to the libretro API.
http://sourceforge.net/projects/gambatte/
GNU General Public License v2.0
104 stars 78 forks source link

Optimise 'simple' frame mixing #160

Closed jdgleaver closed 3 years ago

jdgleaver commented 3 years ago

This PR uses blargg's packed pixel mixing method (http://blargg.8bitalley.com/info/rgb_mixing.html) to optimise the Simple Interframe Blending code. This reduces the performance impact of Simple frame blending by a staggering 76% - corresponding to an overall reduction in total core overheads of ~33% (when Simple frame blending is enabled)