Page 1 of 1

tips for good rendering needed

Posted: Tue Sep 19, 2006 11:01 pm
by Anes
well im back to nes emulation scene.. :)

I just want some tips to make rendering faster, when i rip off rendering from the emulator, that means not to display anything to screen the emu (cpu, ppu, apu, etc) takes 4%~ of cpu time when i turn it on it takes 35%~ in a Pentium 4 2.8, visual c compiled and optimized at maximum (of course).
Help!!

Posted: Tue Sep 19, 2006 11:33 pm
by blargg
Run a profiler. Once you've done that (which I imagine you won't), try the following:

* Leave rendering in but disable the last step of drawing it to the screen. What is performance now?
* Malloc a memory buffer and (invisibly) render to that. What is the performance now?

How does your renderer work in general?