Closed Bug 1500821 Opened 6 years ago Closed 6 years ago

Call RecordFrame() only for non-empty frame at NotifyDidRender()

Categories

(Core :: Graphics: WebRender, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: sotaro, Assigned: sotaro)

References

Details

Attachments

(1 file)

Since Bug 1461239 fix, FrameRecorder::RecordFrame() is also called during non-empty frame(skip frame rendering) at NotifyDidRender().
 https://dxr.mozilla.org/mozilla-central/source/gfx/webrender_bindings/RenderThread.cpp#345

But the RecordFrame() should not be called for non-empty frame for not to change what Talos measures like LayerManagerComposite.

 https://dxr.mozilla.org/mozilla-central/source/gfx/layers/mlgpu/LayerManagerMLGPU.cpp#328
 https://dxr.mozilla.org/mozilla-central/source/gfx/layers/composite/LayerManagerComposite.cpp#1012
Blocks: 1461239
Assignee: nobody → sotaro.ikeda.g
Attachment #9018940 - Flags: review?(matt.woodrow)
Attachment #9018940 - Flags: review?(matt.woodrow) → review+
Pushed by sikeda@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/bd15c0cbc18a
Call RecordFrame() only for non-empty frame at NotifyDidRender() r=mattwoodrow
https://hg.mozilla.org/mozilla-central/rev/bd15c0cbc18a
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
Depends on: 1501606
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: