Closed Bug 612171 Opened 9 years ago Closed 9 years ago
Regression: severe scrolling glitches with GL layers
Since a few days, with GL layers, scrolling often results in large parts of the content being hidden behind a large black rectangle, changing position and appearing/disappearing everytime I scroll again. The problem only exists with layers.accelerate-all=true Regression window: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=0f17e5f1eb01&tochange=35dfd6a0ace7 CC'ing people who made possibly relevant commits in this window.
...and the winner is: http://hg.mozilla.org/mozilla-central/rev/331f67eda6de
Based on Joe's idea. When APPLE_client_storage is absent, mBackingSurface is always null, so the condition forcing to repaint everything was always true. Not sure how it resulted in these glitches, but this patch restores the former logic when that extension is absent, fixing the glitches.
Attachment #490703 - Flags: review?(joe)
Comment on attachment 490703 [details] [diff] [review] fix bug I'd prefer an if (APPLE_client_storage) instead of the ternary operator.
Attachment #490703 - Flags: review?(joe) → review-
Here you go! Please proof-read the logic, I confirm it works here (extension absent), haven't tried with the extension present, but I have carefully reread it.
Attachment #490714 - Flags: review?(joe) → review+
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.