Update layers, opengles to use the new glx bindings.