tips for good rendering needed
Page 1 of 1

Author:  Anes [ Tue Sep 19, 2006 11:01 pm ]
Post subject:  tips for good rendering needed

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).

Author:  blargg [ Tue Sep 19, 2006 11:33 pm ]
Post subject: 

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?

Page 1 of 1 All times are UTC - 7 hours
Powered by phpBB® Forum Software © phpBB Group