How can i isolate Opengl code from my view class?

Printable View