Home Cavernosa
PyGLUT GAME BOY
ADVANCE
Nintendo DS Java
Misc Code Links
My Site
Intro
Cavernosa
PyGLUT
Game Boy Advance
Nintendo DS
Java
Misc Code
Links
 
Misc Code
Intro
 
Email me
mailto
 
Printer
Friendly

 
  

Misc Code

Contents
OpenGL Back Buffer

OpenGL Back Buffer
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.


Hoogli Gallery: Turn any Web Page Into an Image Gallery With One Click

I now do a lot of web stuff as well as 3D Graphics. Come and see my Node.js and libevent based web app, and if you like it, you can even hire me for web projects that need a bit of backend technology to be built.