Closed Bug 1544572 Opened 6 years ago Closed 6 years ago

Support compositor recording for LayerManagerComposite

Categories

(Core :: Graphics: Layers, defect)

55 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: beth, Assigned: beth)

References

Details

Attachments

(2 files, 1 obsolete file)

The infrastructure in bug 1536174 presently only works with the LayerManagerMLGPU. It would be great it if it could also support the OpenGL compositor and we could get more platform coverage.

Attachment #9058790 - Attachment is obsolete: true

New try build that supports all compositors.

The LayerManagerComposite can now request its compositor to record frames
(i.e., ensure there is a window render target). For all compositors except
BasicCompositor, this is a no-op since they already always have one.

Now the BasicCompositor keeps track of whether or not should be recording
frames based on this request from the LayerManagerComposite and information
about the profiler. This also has the benefit of cleaning up some of the code
that was conditionally compiled only on platforms that support the profiler.

Depends on D27820

Summary: Support compositor recording for the OpenGL compositor → Support compositor recording for LayerManagerComposite
Pushed by brennie@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/22b1b841ad35 Support composition recording for LayerManagerComposite r=mstange https://hg.mozilla.org/integration/autoland/rev/cff5f2d11f52 Support composition recording for BasicCompositor r=mstange
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: