Considering VGA resolutions (like 1280x1024, 1024x768, 800x600, etc.) wolud you please look at source posted on Raspbery Pi forum http://darcelf.free....c3.chip.tar.bz2 (file raspbgfx). Upscaling to this resolutions is done used using dispmanx.
To quote the statement with which I agree...