Closed
Bug 719447
Opened 14 years ago
Closed 11 years ago
Gradients render slow and make checkerboarding happen while panning
Categories
(Firefox for Android Graveyard :: General, defect, P1)
Tracking
(blocking-fennec1.0 -, fennec+)
RESOLVED
INVALID
People
(Reporter: wlach, Unassigned)
References
(Depends on 1 open bug)
Details
(Whiteboard: [gfx])
This is probably covered by other bugs, but it can't hurt to file something for this explicitly since it's a very noticeable regression from XUL fennec.
Steps to reproduce:
1. Load taskjs.org
2. Make two swipes down
The difference between XUL and native is pretty stark on the LG G2X: XUL checkerboards for only a fraction of a second, while you see the checkerboard for a good few seconds on native.
Here's some demonstration videos:
http://people.mozilla.com/~wlachance/taskjs_xul.webm
http://people.mozilla.com/~wlachance/taskjs_native.webm
I've got an eideticker test to automatically do this. I can post updated videos as things are fixed.
| Reporter | ||
Comment 1•14 years ago
|
||
(CCing folks on the eideticker thread, as well as mobile devs responsible for this stuff who might be interested)
Updated•14 years ago
|
Assignee: nobody → chrislord.net
tracking-fennec: --- → 11+
Priority: -- → P1
Updated•14 years ago
|
Keywords: fennecnative-betablocker
Updated•14 years ago
|
Keywords: fennecnative-releaseblocker
Updated•14 years ago
|
Keywords: fennecnative-releaseblocker
Comment 3•14 years ago
|
||
This is still rather ugly on a Maple tinderbox build. Though there are still a number of checkerboarding improvements that the gfx team have in the works. Leaving qawanted so that we can re-check after those land.
Updated•14 years ago
|
blocking-fennec1.0: --- → beta+
Updated•14 years ago
|
Status: NEW → ASSIGNED
Updated•14 years ago
|
Whiteboard: [gfx]
Comment 4•13 years ago
|
||
Still able to reproduce on the recently merged Maple builds on Nightly (03/19).
--
Tested via Galaxy Nexus (Android 4.0.2)
Nightly (03/19)
Mozilla/5.0 (Android; Mobile; rv:14.0) Gecko/14.0 Firefox/14.0a1
Keywords: qawanted
| Reporter | ||
Comment 5•13 years ago
|
||
Chris Lord mentioned on irc that it was speculated that the issue is with radial gradients on this page. I can confirm this. I was able to reduce the checkerboarding to almost nothing by changing this:
body {
margin: 0;
border-top: solid 2px #707070;
padding: 80px 0;
background-image: url("noise.png"), -webkit-gradient(radial, 50% 0%, 0, 50% 0%, 750, color-stop(0%, #fff), color-stop(100%, #d0e0ff));
background-image: url("noise.png"), -webkit-radial-gradient(top center, #fff, #d0e0ff 750px);
background-image: url("noise.png"), -moz-radial-gradient(top center, #fff, #d0e0ff 750px);
background-image: url("noise.png"), -o-radial-gradient(top center, #fff, #d0e0ff 750px);
background-image: url("noise.png"), radial-gradient(top center, #fff, #d0e0ff 750px);
}
To this:
body {
margin: 0;
border-top: solid 2px #707070;
padding: 80px 0;
background-image: url("white.png");
}
I guess most likely this means that we're checkerboarding because radial gradients are really slow to draw. I notice almost no checkerboarding on this page on my iPhone or with the stock browser.
| Reporter | ||
Comment 6•13 years ago
|
||
(of course this doesn't explain why native performs so much worse on this metric than xul fennec, when they both use ~ the same drawing code)
Comment 7•13 years ago
|
||
(In reply to William Lachance (:wlach) from comment #6)
> (of course this doesn't explain why native performs so much worse on this
> metric than xul fennec, when they both use ~ the same drawing code)
I expect that the default cache viewport size in xul-fennec actually means the entire page fits into the display-port, and so you would never see checker-boarding.
Updated•13 years ago
|
blocking-fennec1.0: beta+ → ?
Updated•13 years ago
|
blocking-fennec1.0: ? → +
Updated•13 years ago
|
blocking-fennec1.0: + → ?
Updated•13 years ago
|
blocking-fennec1.0: ? → +
Updated•13 years ago
|
tracking-fennec: 11+ → 15+
blocking-fennec1.0: + → -
Updated•13 years ago
|
Summary: Scrolling taskjs.org produces quite a bit of checkerboarding vs. XUL Fennec → Gradients render slow and make checkerboarding happen while panning
Comment 9•13 years ago
|
||
Snorp, Blassey said you are working on something about handling gradients GPU.
Assignee: chrislord.net → snorp
tracking-fennec: 15+ → +
Comment 10•13 years ago
|
||
(In reply to Kevin Brosnan [:kbrosnan] from comment #9)
> Snorp, Blassey said you are working on something about handling gradients
> GPU.
Definitely not me. Maybe Cwiiis? Bug 795247
Comment 11•11 years ago
|
||
I'm not sure that this is even still the case now, but checkerboarding is not a huge concern anymore (because of Gecko improvements and better commodity hardware).
Assignee: chrislord.net → nobody
Status: ASSIGNED → UNCONFIRMED
Ever confirmed: false
| Reporter | ||
Comment 12•11 years ago
|
||
Yeah, I don't think this bug really has anything actionable in it anymore.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
| Assignee | ||
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•