Filing this bug to cover changing to use the Azure APIs in SVG. Note: the old Thebes/cairo APIs were stateful, but the Azure API is basically stateless, so there isn't a trivial mapping from old API to new API. Bas says we should keep the cairo-based code paths around for now (protected by gfxContext->IsAzure() checks), so that we can optionally disable Azure if needed and still get correct output.
A good chunk of the Azure API that we'd be using lives in this file: http://hg.mozilla.org/projects/graphics/annotate/0592d965c922/gfx/2d/2D.h
Setting this issue to depend on Azure, in order to establish a (formal) relationship between the two issues.
Depends on: azure
Summary: Switch SVG Drawing to use Azure API → Switch SVG to use Moz2D
Can we declare victory here?
(In reply to Florian Bender from comment #4) > Can we declare victory here?
We're still using gfxContext::PushGroup and related APIs. Once Moz2D has similar API we can have a last push to get rid of the rest of the gfxContext usage. I believe Bas was going to start work on that Moz2D API around the end of this year.
You need to log in before you can comment on or make changes to this bug.