Began on adding pipeline for direct rendering in OpenGL