Move expression out of GL thread