Closed
Bug 1290681
Opened 3 years ago
Closed 3 years ago
Remove the single color optimization from imgFrame
Categories
(Core :: ImageLib, defect)
Core
ImageLib
Not set
Tracking
()
RESOLVED
FIXED
mozilla51
Tracking | Status | |
---|---|---|
firefox51 | --- | fixed |
People
(Reporter: seth, Assigned: seth)
References
Details
Attachments
(3 files)
2.05 KB,
patch
|
eflores
:
review+
|
Details | Diff | Splinter Review |
9.43 KB,
patch
|
eflores
:
review+
|
Details | Diff | Splinter Review |
5.01 KB,
patch
|
eflores
:
review+
|
Details | Diff | Splinter Review |
The results for bug 1281680 show that imgFrame's single color optimization is not useful. It's downright harmful to keep it around, since it complicates the code and it no test coverage (we disable it for reftests because of its tendency to cause intermittent oranges). Let's remove it.
Assignee | ||
Comment 1•3 years ago
|
||
This yanks out the telemetry that was added in bug 1281680 for the single color optimization, since it has served its purpose at this point.
Attachment #8776315 -
Flags: review?(edwin)
Assignee | ||
Comment 2•3 years ago
|
||
This rips out the code that implements the single color optimization.
Attachment #8776316 -
Flags: review?(edwin)
Assignee | ||
Comment 3•3 years ago
|
||
This removes the pref that we used to control whether the single color optimization got applied.
Attachment #8776317 -
Flags: review?(edwin)
Assignee | ||
Comment 4•3 years ago
|
||
Try job here: https://treeherder.mozilla.org/#/jobs?repo=try&revision=2a8d45e5f86d
Attachment #8776315 -
Flags: review?(edwin) → review+
Attachment #8776316 -
Flags: review?(edwin) → review+
Attachment #8776317 -
Flags: review?(edwin) → review+
Assignee | ||
Comment 5•3 years ago
|
||
Thanks for the quick reviews, Edwin!
Pushed by seth.bugzilla@blackhail.net: https://hg.mozilla.org/integration/mozilla-inbound/rev/2597f37b8acc (Part 1) - Remove telemetry for the single color optimization. r=edwin https://hg.mozilla.org/integration/mozilla-inbound/rev/078d914cde9a (Part 2) - Remove the single color optimization from imgFrame. r=edwin https://hg.mozilla.org/integration/mozilla-inbound/rev/37767b4aa169 (Part 3) - Remove the single color optimization pref. r=edwin
Comment 7•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2597f37b8acc https://hg.mozilla.org/mozilla-central/rev/078d914cde9a https://hg.mozilla.org/mozilla-central/rev/37767b4aa169
Status: NEW → RESOLVED
Closed: 3 years ago
status-firefox51:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
You need to log in
before you can comment on or make changes to this bug.
Description
•