I'm considering to implement caching algorithm under OpenVG environment but I realized it's not easy.

I'm thinking that my SVG application can store object's span data so that it can use span data when the object is needed to be redraw.

However, OpenVG hides all pipeline stages.

Path Data -> Stroked Path Data -> Transformed Stroked Path Data -> Span data -> Screen Buffer

The application only deals path data and can not deal any of temporary data in pipeline.

If I can do, I will store span data and I will use it to update screen.

Is there any way to implement caching algorithm?