Hack reading opengl using pbo
Move pdo code to separate class