Utilities for glium