Bring hw context support to gl1 driver