[Rendering] Allow compositor context to share resources with worker context