refactor gfxOpenGL towards a common ancestor
fix culling