Open Bug 703159 Opened 13 years ago Updated 2 years ago

Switch SVG to use Moz2D

Categories

(Core :: SVG, enhancement)

enhancement

Tracking

()

People

(Reporter: dholbert, Unassigned)

References

(Blocks 4 open bugs)

Details

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.
OS: Linux → All
Hardware: x86_64 → All
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
Blocks: 609361
Blocks: 311534
Blocks: 776197
Summary: Switch SVG Drawing to use Azure API → Switch SVG to use Moz2D
No longer depends on: 929691
Blocks: 676001
Depends on: 932091, 931769, 930516
Depends on: 932198, 931996, 931915
Depends on: 932761
Blocks: 932762
Depends on: 932771
Blocks: 933707
Depends on: 934183
Blocks: 934276
Depends on: 934305
Depends on: 938388
Depends on: 937994
Depends on: 939534
Depends on: 950368
Depends on: 950371
Depends on: 950372
Depends on: 950647
Depends on: 971758
Depends on: 979853
Depends on: 979883
Depends on: 979905
Depends on: 987193
Depends on: 987194
Depends on: 988808
Depends on: 988818
Depends on: 988820
Depends on: 988824
Depends on: 987190
No longer depends on: 988824
Depends on: 1072339
Depends on: 1073012
No longer depends on: 1072339
Depends on: 1074294
Can we declare victory here?
(In reply to Florian Bender from comment #4) > Can we declare victory here?
Flags: needinfo?(dholbert)
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.
Flags: needinfo?(dholbert)
Severity: normal → S3

The severity field for this bug is relatively low, S3. However, the bug has 15 votes.
:jwatt, could you consider increasing the bug severity?

For more information, please visit auto_nag documentation.

Flags: needinfo?(jwatt)
Severity: S3 → --
Type: defect → enhancement
Flags: needinfo?(jwatt)
You need to log in before you can comment on or make changes to this bug.