Merge "Don't create hw layers when there's no hw context. Bug #5093805"