Coin / src / rendering / CoinOffscreenGLCanvas.cpp

Author Commit Message Labels Comments Date
Marius Kintel
Updated license headers to BSD
Tarjei Kvamme
COINSUPPORT-1284: Avoid allocating render-to-texture capable pbuffers from SoOffscreenRenderer, due to driver bug.
updated copyright headers
This fixes COIN-313. Offset was fixed by using an offseted viewport. use of pbuffers with windows DC was fixed by making a DIBSection and do glreadpixels into that, GL_BGR was introduced to support windows style pixel format. The extra functions are ugle (suggestions for cleaner approache appriciated), but probably neccessary to make getDC useful.
Peder Blekken
Convert to grayscale when user asks for LUMINANCE or LUMINANCE_ALPHA.
Tom Fredrik Blenning Klaussen
Make a separate rendering module from misc.