improve error checking to find error on my machine

Change-Id: I24c0954342a66ba7d71d868ef8f04ed0cf7396a5
make sure it is really the glGenTextures call

that one is actually not allowed to create a GL_INVALID_OPERATION in
OpenGL 3.3+

Change-Id: I853c63cfd7a30d4f61e562082cc24959c0fe6c07
disable the logging of properties

Change-Id: I55709b7907af22883e9562ff1c846271743266ca
log the render calls

Change-Id: Ic502f5d7d8036b60364b32434ad95de1eb8879c8
add a lot more debugging lines

Change-Id: I9b79845f5171c19c2b6f5214c9c307e0cfeaeec5
I already know where the error is but want to be sure

Change-Id: Ibe90e99320243aadec2e2d8ab3740567e83f7f56
use std::vector instead of manual memory management

Change-Id: I17da6947caffde0ba10717475da36dd265069ce5
use std::vector instead of manual memory management

Change-Id: I021068716b0c3f4bc858eeb76da684dce316ba60
small fix for missed code

Change-Id: Ida611464603a8a6229b771380ce5c6b20aa268ef
use std::min and std::max

Change-Id: I5b8901606af2699a7d32978c897af73901fbc230
more clean-up

Change-Id: Ie774afc8ab2c881c5f82be286c84fb3eb37821c1
more formatting and TODO comments

for GL_QUADS see for example
http://stackoverflow.com/questions/6644099/what-is-so-bad-about-gl-quads

Change-Id: Ife53f1ac09125bc7e42c8aa91c53d7e7991ac0bf
try to fix line rendering

The line rendering was not associated with a OpenGL program. This
resulted in runtime errros.

Change-Id: If0d0f015c3505eda908156743ce8bd6a43f644e4
fix code for writting png files

Change-Id: I96244b99b2f5a9f22ca09c133687661b06229359
ahh, think error

Change-Id: I400115ad802c1d00ec5f99e4f5fc952938de450a
one more error

Change-Id: I7a40d5583a76d0b553a828bd2657c77fdca0f59a
next step

Change-Id: I4307175107bc5ead4e74ee9fa9acfc6375e8260e
we are rendering to FBO so no need for two objects

Change-Id: I6a900244160c974feefb45ecb41d581050e955e2
remove unused variable

Change-Id: Ia563d4628e322bfde82ccca02b107c5e954a0205
formatting

Change-Id: I3806d3b74e850812ccb24dea0580759529c154cc