Closed
Bug 1013780
Opened 10 years ago
Closed 10 years ago
should only create displayports during display list building if the display list is for painting to the screen
Categories
(Core :: Panning and Zooming, defect)
Tracking
()
RESOLVED
FIXED
mozilla32
People
(Reporter: tnikkel, Assigned: tnikkel)
References
Details
Attachments
(1 file)
1.35 KB,
patch
|
botond
:
review+
|
Details | Diff | Splinter Review |
Bug 982141 creates a displayport if one is not set on b2g. We shouldn't create display ports if the display list we are building is for something other than painting to the screen.
Assignee | ||
Comment 1•10 years ago
|
||
We set the IsPaintingToWindow flag only in nsLayoutUtils::PaintFrame with the right flags.
Attachment #8426048 -
Flags: review?(botond)
Comment 2•10 years ago
|
||
Comment on attachment 8426048 [details] [diff] [review] patch Review of attachment 8426048 [details] [diff] [review]: ----------------------------------------------------------------- Out of curiosity, for what other purposes than painting to the screen do we build display lists?
Attachment #8426048 -
Flags: review?(botond) → review+
Assignee | ||
Comment 3•10 years ago
|
||
http://mxr.mozilla.org/mozilla-central/source/layout/base/nsDisplayList.h?rev=75b4665ce6b0#131 Painting (besides painting to the screen we also have potential drawWindow calls), event delivery (to determine what is at a given point to deliver events (mouse clicks, touches) to it), plugin geometry (to set the clip on the native widgets for plugins, but I think we re-use the painting display list for this now), image visibility (determining which images are nearly visible), and then other which looks like it's just used in one place to get the transform for a transformed element by using a nsDisplayTransform item for async transforms.
Assignee | ||
Comment 4•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/f4b90f52ada2 And silly bustage fixup because I fixed it locally but the change got into the wrong patch in my queue https://hg.mozilla.org/integration/mozilla-inbound/rev/c1135a801e39
Comment 5•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/f4b90f52ada2 https://hg.mozilla.org/mozilla-central/rev/c1135a801e39
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
You need to log in
before you can comment on or make changes to this bug.
Description
•