Last Comment Bug 776413 - Async scrolling: initial displayport is going through the wrong codepath
: Async scrolling: initial displayport is going through the wrong codepath
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: Graphics: Layers (show other bugs)
: unspecified
: All All
: -- normal (vote)
: mozilla17
Assigned To: Doug Sherk (:drs) (inactive)
:
Mentors:
Depends on:
Blocks: 745136
  Show dependency treegraph
 
Reported: 2012-07-22 17:00 PDT by Doug Sherk (:drs) (inactive)
Modified: 2012-07-23 06:41 PDT (History)
3 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
Temporary hack, we will need to revisit this (1.56 KB, patch)
2012-07-22 17:21 PDT, Doug Sherk (:drs) (inactive)
gal: review+
Details | Diff | Review

Description Doug Sherk (:drs) (inactive) 2012-07-22 17:00:19 PDT
Initial displayport seems to be set to the viewport somewhere using a different code path. It is not oversized for the first paint. This causes the unpleasant delay as soon as I pan around during page load. We have to oversize that first displayport too.
Comment 1 Doug Sherk (:drs) (inactive) 2012-07-22 17:21:13 PDT
Created attachment 644803 [details] [diff] [review]
Temporary hack, we will need to revisit this

This needs to be fixed properly by setting the displayport to a larger area than just the viewport but before the page has already been loaded. This patch will mask it to look decent once the page has finished loading and before panning.
Comment 2 Doug Sherk (:drs) (inactive) 2012-07-22 18:53:07 PDT
https://hg.mozilla.org/integration/mozilla-inbound/rev/3a2db8b1c057
Comment 3 Ed Morley [:emorley] 2012-07-23 06:41:03 PDT
https://hg.mozilla.org/mozilla-central/rev/3a2db8b1c057

Note You need to log in before you can comment on or make changes to this bug.