Closed Bug 1056427 Opened 10 years ago Closed 10 years ago

Stop PRenderFrame from managing PLayerTransaction

Categories

(Core :: Graphics: Layers, defect)

29 Branch
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla34

People

(Reporter: mattwoodrow, Assigned: mattwoodrow)

References

Details

Attachments

(1 file, 2 obsolete files)

This is legacy code from before we had a compositor thread. There's a lot of dead code in here, and I think we can get rid of most of it.
Attached patch Remove PLayerTransaction from PRenderFrame (obsolete) (deleted) — Splinter Review
There's probably a lot more we can do, but this is a good start.
Assignee: nobody → matt.woodrow
Fixed the assertion, trying again: https://tbpl.mozilla.org/?tree=Try&rev=69805cf865e4
Attachment #8476383 - Flags: review?(roc)
Comment on attachment 8476383 [details] [diff] [review] Remove PLayerTransaction from PRenderFrame Review of attachment 8476383 [details] [diff] [review]: ----------------------------------------------------------------- Wow! Please file a followup bug (or bugs) for any more stuff you know can be removed.
Attachment #8476383 - Flags: review?(roc) → review+
Attached patch Remove PLayerTransaction from PRenderFrame v2 (obsolete) (deleted) — Splinter Review
Unfortunately the previous version didn't work, the tests just hang. I couldn't really be bothered spending too much time debugging it, so instead I've just made us create the compositor thread unconditionally so we can always take those code paths. This shouldn't be much overhead, and we'll be wanting it everywhere soon enough anyway.
Attachment #8476383 - Attachment is obsolete: true
Attachment #8476552 - Flags: review?(roc)
And removed the pref change that wasn't meant to be there
Attachment #8476552 - Attachment is obsolete: true
Attachment #8476552 - Flags: review?(roc)
Attachment #8476555 - Flags: review?(roc)
Comment on attachment 8476555 [details] [diff] [review] Remove PLayerTransaction from PRenderFrame v3 Review of attachment 8476555 [details] [diff] [review]: ----------------------------------------------------------------- ::: gfx/layers/client/ClientLayerManager.cpp @@ +510,4 @@ > } else if (HasShadowManager()) { > NS_WARNING("failed to forward Layers transaction"); > } > + trailing whitespace
Attachment #8476555 - Flags: review?(roc) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: