mirror of https://github.com/stella-emu/stella.git
abcf56bd05
when drawing characters in software mode. The old code was calling SDL_FillRect for every pixel in the character! Preliminary testing shows at least 2-3 times faster rendering, but I suspect it might be higher for those systems where SDL_FillRect was slower than in Linux. SDL_FillRect isn't meant to be used for 1-pixel calls. Incidentally, this is the reason why dirty-rect merging with a lot of onscreen movement could be slow; it degenerated into calling SDL_FillRect for every pixel. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1206 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba |
||
---|---|---|
CVSROOT | ||
stella |