Use FillRoundedRectangle function for D2D

RESOLVED FIXED in Firefox 66

Status

()

enhancement
RESOLVED FIXED
5 months ago
4 months ago

People

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

Tracking

unspecified
mozilla66
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox66 fixed)

Details

Attachments

(4 attachments)

Assignee

Description

5 months ago

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

Comment 5

5 months ago
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

Updated

4 months ago
Depends on: 1526045
You need to log in before you can comment on or make changes to this bug.