Oops, looks like the problem had been there previously due to redundant state change.  The proper checks are in place now, and double-buffering does indeed provide a noticeable benefit (sprite-stress-demo ~4000 single-buffered vs. ~6000 double-buffered).  I think I need some real benchmarking code, though...
Oops, looks like the problem had been there previously due to redundant state change.  The proper checks are in place now, and double-buffering does indeed provide a noticeable benefit (sprite-stress-demo ~4000 single-buffered vs. ~6000 double-buffered).  I think I need some real benchmarking code, though...
DataFighter/sdl-gpu,weimingtom/sdl-gpu,neozero497/sdl-gpu,neozero497/sdl-gpu,weimingtom/sdl-gpu,neozero497/sdl-gpu,DataFighter/sdl-gpu,weimingtom/sdl-gpu,DataFighter/sdl-gpu