Misc Code
If you want your low-resolution software rendering to fill the screen on a
variety of different platforms, some of which don't have direct hardware
framebuffer access APIs, what do you do?
The answer embodied in this C++ class and demo driver is to use OpenGL hardware
to do a screen-filling stretched blit of a software framebuffer.
It works by downloading the framebuffer to a GL texture and then drawing a
quad that fits neatly into the current viewport with it.
Copyright © Andrew H. Cox. All rights reserved.
ahcox@btinternet.com