Closed
Bug 1026756
Opened 10 years ago
Closed 10 years ago
Parts of the screen can get left painted in low-res even in a stable state
Categories
(Core :: Graphics: Layers, defect)
Tracking
()
People
(Reporter: kats, Assigned: kats)
References
()
Details
Attachments
(1 file)
(deleted),
patch
|
cwiiis
:
review+
|
Details | Diff | Splinter Review |
While investigating bug 1021248 I found this bug where things can get left on the screen in low-res. This happens if the content does a scrollTo to somewhere else, and the new scroll offset has not yet reached the APZC at the time that AboutToCheckerboard is called as part of the progressive paint code. Because the new scroll offset has not yet reached the APZC, but it has reached the client tiling code, AboutToCheckerboard will return true, and so the high-res paint will be aborted. However there is nothing after this point that will trigger a new paint so unless the user does something to trigger a paint it gets left in low-res.
Assignee | ||
Comment 1•10 years ago
|
||
The test case at the URL reproduces it for me on latest master on a Flame device.
Assignee | ||
Comment 2•10 years ago
|
||
(Inserting a 200ms sleep at the top of APZCTM::UPZCT will make this trigger more reliably if needed).
Assignee | ||
Comment 3•10 years ago
|
||
This fix makes sense to me and does the job. I'll test it with bug 1021248 before flagging for review.
Updated•10 years ago
|
blocking-b2g: --- → 2.0?
Assignee | ||
Updated•10 years ago
|
Attachment #8442042 -
Flags: review?(chrislord.net)
Assignee | ||
Comment 4•10 years ago
|
||
Try push at https://tbpl.mozilla.org/?tree=Try&rev=0fdf3b2a8552 for reference.
Comment 5•10 years ago
|
||
Comment on attachment 8442042 [details] [diff] [review] Patch Review of attachment 8442042 [details] [diff] [review]: ----------------------------------------------------------------- r+, but read and consider the comment :) ::: gfx/layers/client/TiledContentClient.cpp @@ +238,5 @@ > } > > bool > SharedFrameMetricsHelper::AboutToCheckerboard(const FrameMetrics& aContentMetrics, > const FrameMetrics& aCompositorMetrics) This is fine, but I wonder if AboutToCheckerboard is the right place to put this check, as opposed to the call-site? Your call.
Attachment #8442042 -
Flags: review?(chrislord.net) → review+
Comment 6•10 years ago
|
||
Based on the current documentation of AboutToCheckerboard() function, it feels like it should be at the call site. The function described is really "BoundsOutsideDisplayPort()", but it so happens that we're using it for checkerboarding. With this change, the function becomes "NotSafeFromCheckerboarding()" or something like that, so it's worth updating the documentation to match, or renaming it, or using the extra logic at the call site, or...
Assignee | ||
Comment 7•10 years ago
|
||
I'll move it to the call site, that makes sense. Bug 1024126 is on file for enhancing AboutToCheckerboard so it does what it claims.
Assignee | ||
Comment 8•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/b776a7d35ba3
Updated•10 years ago
|
blocking-b2g: 2.0? → 2.0+
https://hg.mozilla.org/mozilla-central/rev/b776a7d35ba3
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
Comment 10•10 years ago
|
||
Flagging NO_UPLIFT for being suspected for causing the smoketest regression in bug 1028271.
Whiteboard: [NO_UPLIFT]
Assignee | ||
Comment 11•10 years ago
|
||
I backed out bug 1021248 for the smoketest regression but I'll leave NO_UPLIFT on this for the time being until we are sure this one doesn't need backing out as well.
Updated•10 years ago
|
status-b2g-v2.0:
--- → affected
status-b2g-v2.1:
--- → fixed
Comment 13•10 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/3a93fc4f0265
Updated•10 years ago
|
Assignee | ||
Updated•7 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•