Closed
Bug 815591
Opened 11 years ago
Closed 10 years ago
Avoid building unnecessary nsDisplayBackgroundColors
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
FIXED
mozilla21
Tracking | Status | |
---|---|---|
b2g18 | --- | fixed |
People
(Reporter: roc, Assigned: roc)
References
Details
Attachments
(2 files)
1.74 KB,
patch
|
mattwoodrow
:
review+
akeybl
:
approval-mozilla-b2g18+
|
Details | Diff | Splinter Review |
1.77 KB,
patch
|
bajaj
:
approval-mozilla-b2g18+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #685584 -
Flags: review?(matt.woodrow)
Comment 2•11 years ago
|
||
Comment on attachment 685584 [details] [diff] [review] fix Review of attachment 685584 [details] [diff] [review]: ----------------------------------------------------------------- Weird, I have the exact same patch in my b2g tree. I think we can also skip building the nsDisplayBackgroundImage if bg->mLayers[i].mImage.IsEmpty().
Attachment #685584 -
Flags: review?(matt.woodrow) → review+
Assignee | ||
Comment 3•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/7aceff7124d9
Assignee | ||
Comment 4•11 years ago
|
||
Bizarrely, this caused a test failure on Mac, so I backed it out. https://tbpl.mozilla.org/php/getParsedLog.php?id=17443909&tree=Mozilla-Inbound&full=1 https://hg.mozilla.org/integration/mozilla-inbound/rev/66eaee2d8885
Comment 5•11 years ago
|
||
The backout also fixed Windows mochitest-4 failures of the form: https://tbpl.mozilla.org/php/getParsedLog.php?id=17441404&tree=Mozilla-Inbound { 16615 ERROR TEST-UNEXPECTED-FAIL | /tests/layout/base/tests/test_bug450930.xhtml | Didn't get subdoc invalidation while we were privileged (iframe2) }
Assignee | ||
Comment 6•11 years ago
|
||
The backout also seemed to have fixed Talos regressions: http://mzl.la/VfEIP2 http://mzl.la/VfI84c I don't understand it at all!
Comment 7•11 years ago
|
||
Well, the fact that you're branching on an uninitialized |color| isn't great -- you should probably put drawBackgroundColor ? color : NS_RGBA(0, 0, 0, 0) in a variable and test that. It doesn't explain failures/regressions, though.
Assignee | ||
Comment 8•11 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=3e12d89fce5b
Assignee | ||
Comment 9•11 years ago
|
||
This Mac reftest failure is still happening.
Assignee | ||
Comment 10•11 years ago
|
||
Mac reftest failure looks like a gradient rasterization issue. This patch has reduced the bounds of some display items and maybe some temporary surfaces causing the gradient to get rendered slightly differently after invalidation. I'll fuzz it.
Assignee | ||
Comment 11•11 years ago
|
||
Checking Windows mochitest: https://tbpl.mozilla.org/?tree=Try&rev=e8445173b79d
Assignee | ||
Comment 12•11 years ago
|
||
Oops, lets run Tp as well: https://tbpl.mozilla.org/?tree=Try&rev=d846074d72d2
Assignee | ||
Comment 13•10 years ago
|
||
The Tp results look OK now.
Assignee | ||
Comment 14•10 years ago
|
||
Since I just fuzzed the test, I'll reland.
Assignee | ||
Comment 15•10 years ago
|
||
Er, scratch that. Let me wait for the extra mochitest-4 runs that I triggered to come back.
Assignee | ||
Comment 16•10 years ago
|
||
Those try results still look good. I'll reland this when the tree isn't burning.
Assignee | ||
Comment 17•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/394bbaa548e3
Comment 18•10 years ago
|
||
Apparently you didn't fuzz the OSX reftests enough, because they're still failing. Backed out. https://hg.mozilla.org/integration/mozilla-inbound/rev/9d8f5013110e
Assignee | ||
Comment 19•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/e941e0df729c
Comment 20•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/e941e0df729c
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
Assignee | ||
Comment 21•10 years ago
|
||
Comment on attachment 685584 [details] [diff] [review] fix NOTE: Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings. [Approval Request Comment] Bug caused by (feature/regressing bug #): none User impact if declined: failure to get tiny improvement in scrolling/rendering performance (see bug 846901) Testing completed: been on trunk for a while Risk to taking this patch (and alternatives if risky): pretty low risk given trunk landing. Will need to uplift regression fix in bug 846144 as well. String or UUID changes made by this patch: none.
Attachment #685584 -
Flags: approval-mozilla-b2g18?
Comment 22•10 years ago
|
||
Comment on attachment 685584 [details] [diff] [review] fix Approving for scrolling perf win.
Attachment #685584 -
Flags: approval-mozilla-b2g18? → approval-mozilla-b2g18+
Assignee | ||
Comment 23•10 years ago
|
||
https://hg.mozilla.org/releases/mozilla-b2g18/rev/f0a3010971c5
status-b2g18:
--- → fixed
Comment 24•10 years ago
|
||
Backed out for reftest failures. And a reminder, the tree rules still state that people who push to release branches are expected to watch and star their pushes... https://hg.mozilla.org/releases/mozilla-b2g18/rev/7508c5a1026b
Assignee | ||
Comment 25•10 years ago
|
||
Landing this patch on b2g18 causes a couple of reftest failures because of bug 828146, which is not fixed on b2g18.
Assignee | ||
Comment 26•10 years ago
|
||
Landing bug 828146 on the b2g18 branch causes some new test failures. So I think the best solution is to just disable the failing tests on the b2g18 branch: gfx/tests/reftest/709477-1.html layout/reftests/scrolling/opacity-mixed-scrolling-2.html (Note that bug 828146 only affects elements using -moz-appearance which we don't actually use on B2G.)
Assignee | ||
Comment 27•10 years ago
|
||
Assignee | ||
Comment 28•10 years ago
|
||
Comment on attachment 728808 [details] [diff] [review] Disable failing reftests NOTE: Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings. [Approval Request Comment] Bug caused by (feature/regressing bug #): existing bug revealed by patch for bug 815591 User impact if declined: won't be able to fix bug 815591 on b2g18 Testing completed: none Risk to taking this patch (and alternatives if risky): No risk, just disabling tests String or UUID changes made by this patch: none
Attachment #728808 -
Flags: approval-mozilla-b2g18?
Updated•10 years ago
|
Attachment #728808 -
Flags: approval-mozilla-b2g18? → approval-mozilla-b2g18+
Assignee | ||
Comment 29•10 years ago
|
||
https://hg.mozilla.org/releases/mozilla-b2g18/rev/b59ee495fa92 https://hg.mozilla.org/releases/mozilla-b2g18/rev/68c8a883cfc0
You need to log in
before you can comment on or make changes to this bug.
Description
•