Closed Bug 589983 Opened 14 years ago Closed 12 years ago

Avoid using svg-mask in the back button in the windows theme

Categories

(Firefox :: Theme, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 752918

People

(Reporter: jrmuizel, Unassigned)

Details

The use of mask in the back button is currently costly to implement with the D2D backend. I don't have any actual numbers but the cost is unfortunately proportional to the size of the entire window and any work to improve this has not been scoped for Firefox 4.

I'm wondering how painful it would be to avoid using mask and just use images instead.
(In reply to comment #0)
> The use of mask in the back button is currently costly to implement with the
> D2D backend. I don't have any actual numbers but the cost is unfortunately
> proportional to the size of the entire window and any work to improve this has
> not been scoped for Firefox 4.

What's the problem, specifically?
(In reply to comment #1)
> (In reply to comment #0)
> > The use of mask in the back button is currently costly to implement with the
> > D2D backend. I don't have any actual numbers but the cost is unfortunately
> > proportional to the size of the entire window and any work to improve this has
> > not been scoped for Firefox 4.
> 
> What's the problem, specifically?

acquire_source_image doesn't know how much of the source will be needed so it gets the whole source.
(In reply to comment #0)
> I don't have any actual numbers but the cost is unfortunately
> proportional to the size of the entire window and any work to improve this has
> not been scoped for Firefox 4.

I just realized something doesn't make sense here. I'll double check tomorrow.
There are no more svg-masks in any Firefox theme (since bug 752918).
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Resolution: WORKSFORME → DUPLICATE
You need to log in before you can comment on or make changes to this bug.