Closed Bug 1520877 Opened 5 years ago Closed 5 years ago

Use FillRoundedRectangle function for D2D

Categories

(Core :: Graphics, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: bas.schouten, Assigned: bas.schouten)

References

Details

Attachments

(4 files)

We currently don't, that's rather silly and we can see it costs us in profiles.

Attachment #9037359 - Attachment description: Bug 1520877 - Part 4: Make nsDisplayBackgroundColor use FillRoundedRect. r=mattwoodrow → Bug 1520877 - Part 4: Make nsDisplayBackgroundColor use FillRoundedRect and mark some tests fuzzier. r=mattwoodrow
Pushed by bschouten@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/5ab4532b7850
Part 1: Add an API for filling rounded rects. r=mattwoodrow
https://hg.mozilla.org/integration/mozilla-inbound/rev/1d614d0ffdc1
Part 2: Implement FillRoundedRect for D2D. r=mattwoodrow
https://hg.mozilla.org/integration/mozilla-inbound/rev/e3ef1e27eb92
Part 3: Implement FillRoundedRect for DrawTargetCapture. r=mattwoodrow
https://hg.mozilla.org/integration/mozilla-inbound/rev/a346775c25b3
Part 4: Make nsDisplayBackgroundColor use FillRoundedRect and mark some tests fuzzier. r=mattwoodrow
Depends on: 1521368
Depends on: 1526045
You need to log in before you can comment on or make changes to this bug.