Exactly. That's what we do already in CanvasVectorLayerRenderer.