Closed
Bug 773100
Opened 12 years ago
Closed 12 years ago
bubblemark redraws the entire page on invalidation on mobile
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
FIXED
mozilla17
People
(Reporter: jrmuizel, Assigned: mattwoodrow)
References
(Blocks 1 open bug, )
Details
(Keywords: perf)
Attachments
(1 file)
1.16 KB,
patch
|
roc
:
review+
akeybl
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
:(
Reporter | ||
Updated•12 years ago
|
Keywords: perf
Does DLBI help here? (Is it better on one of the nightlies that had DLBI landed?)
Reporter | ||
Comment 2•12 years ago
|
||
So here's a rough idea of what's going on.
PresShell::Paint is being called with a sane region of about 56x54. However, by the time we get down to BasicTiledThebesLayer::InvalidateRegion this has expanded to 480x690.
This happens because CreateOrRecycleThebesLayer() is calling layer->InvalidateRegion(Bounds())
because mInvalidateAllThebesContent is true.
mInvalidateAllThebesContent is set by ContainerSet::SetInvalidateAllThebesContent()
Which is caused by InternalInvalidateThebesLayersInSubtree(nsImageFrame*) deleting the ThebesLayerInvalidRegionProperty()
Reporter | ||
Comment 3•12 years ago
|
||
This was debugged on my single ball bubblemark: http://people.mozilla.org/~jmuizelaar/tests/bubble.html
Assignee | ||
Comment 4•12 years ago
|
||
Reporter | ||
Comment 5•12 years ago
|
||
(In reply to Matt Woodrow (:mattwoodrow) from comment #4)
> Created attachment 642838 [details] [diff] [review]
> Invalidate the frame bounds instead of deleting the frame property
This fixes the problem.
Attachment #642838 -
Flags: review+
Comment 6•12 years ago
|
||
Comment 7•12 years ago
|
||
Swift and indiscriminate back-out by ehsan for build failures:
http://hg.mozilla.org/integration/mozilla-inbound/rev/cdef000532ce
tree/layout/base/FrameLayerBuilder.cpp:2253: error: 'InvalidateThebesLayerContents' was not declared in this scope
Comment 9•12 years ago
|
||
This would hopefully fix bug 767070.
tracking-firefox15:
--- → ?
tracking-firefox16:
--- → ?
Assignee | ||
Comment 10•12 years ago
|
||
tracking-firefox15:
? → ---
tracking-firefox16:
? → ---
Assignee | ||
Updated•12 years ago
|
tracking-firefox15:
--- → ?
tracking-firefox16:
--- → ?
Comment 11•12 years ago
|
||
Let's see if this fixes bug 767070 before tracking.
Comment 12•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
Comment 13•12 years ago
|
||
bug 767070, comment 24 says this did fix the issue so we'll track this for branches. Please nominate for uplift.
status-firefox15:
--- → affected
status-firefox16:
--- → affected
How risky is this?
Pretty low I think.
Comment on attachment 642838 [details] [diff] [review]
Invalidate the frame bounds instead of deleting the frame property
Review of attachment 642838 [details] [diff] [review]:
-----------------------------------------------------------------
I think this is suitable for Aurora but not Beta.
Attachment #642838 -
Flags: approval-mozilla-aurora?
Comment 17•12 years ago
|
||
Comment on attachment 642838 [details] [diff] [review]
Invalidate the frame bounds instead of deleting the frame property
[Triage Comment]
Approving for Aurora 16. Do you think we can gain confidence in this patch in time to uplift to Beta, or are you suggesting we wontfix already at this point in the cycle? Thanks!
Attachment #642838 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
If mobile really has to have it for beta, I think that's OK. Otherwise I wouldn't push for it.
Comment 20•12 years ago
|
||
Brad, Mark, what do you think of this for 15?
Comment 21•12 years ago
|
||
I'm still seeing full page invalidating with a recent changset:
https://hg.mozilla.org/mozilla-central/rev/cb0b3e605cf1
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 22•12 years ago
|
||
(In reply to JP Rosevear [:jpr] from comment #20)
> Brad, Mark, what do you think of this for 15?
It's a seemingly simple change, but I think we should not uplift for 15. Let it ride.
Comment 23•12 years ago
|
||
(In reply to Mark Finkle (:mfinkle) from comment #22)
> (In reply to JP Rosevear [:jpr] from comment #20)
> > Brad, Mark, what do you think of this for 15?
>
> It's a seemingly simple change, but I think we should not uplift for 15. Let
> it ride.
Given mfinkle and roc's risk evaluation, wontfixing for 15.
Assignee: nobody → matt.woodrow
Assignee | ||
Comment 24•12 years ago
|
||
This looks fine on recent nightlies, probably fixed by DLBI.
Status: REOPENED → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•