Merge "Move gl calls from PatchCache to MeshState"