tests with opengl and render to framebuffer