gfx/layers/CompositionRecorder.cpp and gfx/layers/wr/WebRenderCompositionRecorder.cpp are untested
Categories
(Core :: Graphics, defect, P3)
Tracking
()
People
(Reporter: beth, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Comment 1•6 years ago
|
||
The priority flag is not set for this bug.
:ekyle, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•6 years ago
|
Comment 2•6 years ago
|
||
CompositionRecorder.cpp and WebRenderCompositionRecorder.cpp are worked by :barret recently.
:barret, can you take a bug?
Updated•6 years ago
|
| Reporter | ||
Comment 3•6 years ago
|
||
I can that this but it is low on my priority list for the rest of the quarter.
Comment 4•6 years ago
|
||
Improve the test coverage for gfx/layers/CompositionRecorder.cpp
Comment 5•6 years ago
|
||
I'd like to work on this, if that's ok with you. Is https://phabricator.services.mozilla.com/D43475 going in the direction you want?
| Reporter | ||
Comment 6•6 years ago
|
||
I think this approach is fine for the plain CompositionRecorder, but it doesn't test the WebRenderCompositionRecorder. However, that requires WebRender to be running which I don't know that we can do in gtests.
:mstange, is this is a sufficient test for non-webrender CompositionRecorder? Can we even test the WebRenderCompositionRecorder from gtests?
:singuliere, ideally I'd also like a mochitest that tests the entire pipeline:
- Sets the
layers.windowrecording.pathpref to a new temp directory - Starts the composition recorder (via
windowUtils.setCompositionRecording(true)) - Navigates to a new page (e.g. from about:blank to a page with content)
- Stops the composition recorder (via
windowUtils.setCompositionRecording(false)) - Checks that the temp directory contains a
windowrecording-*directory with at least one image.
There may need to be a delay between 4 and 5 to wait for the frames to be written to disk.
Comment 7•3 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months, so the assignee is being reset.
Updated•3 years ago
|
Comment 8•2 years ago
|
||
Can we even test the WebRenderCompositionRecorder from gtests?
I don't think we can.
Updated•1 year ago
|
Description
•