Closed
Bug 1464737
Opened 7 years ago
Closed 7 years ago
Simplify nsDisplayPerspective
Categories
(Core :: Web Painting, enhancement, P3)
Core
Web Painting
Tracking
()
RESOLVED
FIXED
mozilla62
Tracking | Status | |
---|---|---|
firefox62 | --- | fixed |
People
(Reporter: mattwoodrow, Assigned: mattwoodrow)
References
Details
Attachments
(1 file)
Current we set mFrame to the perspective frame, and hold the transform frame as an extra pointer.
We have to track an extra index to use in GetPerFrameKey, since we can have multiple transformed frames for each perspective. This index counting increments for each item built, so we can't support partial display list builds.
We also have to add extra tracking for the transformed frame, since it can be deleted without invalidating the perspective frame.
It would be simpler to just use the transform frame as mFrame, and manually setup the AGR to be what we want.
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → matt.woodrow
Priority: -- → P3
Comment hidden (mozreview-request) |
Comment 3•7 years ago
|
||
mozreview-review |
Comment on attachment 8981040 [details]
Bug 1464737 - Make nsDisplayPerspective simpler by using the transform frame as mFrame.
https://reviewboard.mozilla.org/r/247156/#review254550
LGTM.
Attachment #8981040 -
Flags: review?(mikokm) → review+
Comment 4•7 years ago
|
||
We're sorry, Autoland could not rebase your commits for you automatically. Please manually rebase your commits and try again.
hg error in cmd: hg rebase -s 24482d98b73f1e14f7da3ddacb45f1b4a62831d5 -d 996ab33915e7: rebasing 466380:24482d98b73f "Bug 1464737 - Make nsDisplayPerspective simpler by using the transform frame as mFrame. r=miko" (tip)
merging layout/generic/nsFrame.cpp
merging layout/painting/FrameLayerBuilder.cpp
merging layout/painting/nsDisplayList.cpp
merging layout/painting/nsDisplayList.h
warning: conflicts while merging layout/painting/nsDisplayList.cpp! (edit, then use 'hg resolve --mark')
unresolved conflicts (see hg resolve, then hg rebase --continue)
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Pushed by mwoodrow@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7b1bd397ecad
Make nsDisplayPerspective simpler by using the transform frame as mFrame. r=miko
Comment 8•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
You need to log in
before you can comment on or make changes to this bug.
Description
•