Closed
Bug 948802
Opened 11 years ago
Closed 8 years ago
Scrolling layer causes buffer re-allocation
Categories
(Core :: Graphics: Layers, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: BenWa, Assigned: BenWa)
References
Details
Attachments
(2 files)
8.05 KB,
text/html
|
Details | |
2.14 KB,
patch
|
Details | Diff | Splinter Review |
With this testcase and some logging on buffer re-allocation we see a lot of buffer reallocation for what should be a well performing scroll.
Assignee | ||
Comment 1•11 years ago
|
||
This patch fixes the problem for me.
If we wanted we could instead add a way to force bounds on the buffer rather then increase the content bounds which causes over painting.
Comment 2•11 years ago
|
||
Comment on attachment 8345697 [details] [diff] [review]
patch
Review of attachment 8345697 [details] [diff] [review]:
-----------------------------------------------------------------
I think roc should look at this, since I discussed it with you.
I think we at least need to limit the area to the part of the scroll frame that is visible. Intersecting with the viewport might be the easiest way to do this.
Attachment #8345697 -
Flags: review?(matt.woodrow) → review?(roc)
Comment on attachment 8345697 [details] [diff] [review]
patch
Review of attachment 8345697 [details] [diff] [review]:
-----------------------------------------------------------------
Yes, we do need to do something here. Intersect the rect with the scrollframe's cliprect maybe?
Assignee | ||
Updated•11 years ago
|
Status: ASSIGNED → NEW
Assignee | ||
Updated•11 years ago
|
Attachment #8345697 -
Flags: review?(roc)
Assignee | ||
Comment 4•11 years ago
|
||
This is still important but may be solved by tiling everywhere.
Assignee | ||
Comment 5•8 years ago
|
||
This bug is obsolete.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•