Adding first cut at opengl texture support.