Closed Bug 1597861 Opened 1 year ago Closed 1 year ago

Pause compositor during hiding Wayland window

Categories

(Core :: Graphics: WebRender, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla73
Tracking Status
firefox73 --- fixed

People

(Reporter: sotaro, Assigned: sotaro)

References

Details

Attachments

(1 file)

nsWindow::HideWaylandWindow() destroys LayerManager when egl_window is allocated. But it causes Bug 1584511. We do not want to destroy LayerManager. We could avoid it by pausing compositor and destroying EGLSurface.

Assignee: nobody → sotaro.ikeda.g
Blocks: 1584511
Depends on: 1596709

On latest nightly, toggling titlebar does not work by Bug 1596709.

Bug 1542808 obsoleted the patch. With it, initial_draw_cbs() is called only once. We could not know when moz_container becomes ready_to_draw again.

Pushed by sikeda.birchill@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f0d5103d83e9
Pause compositor during hiding Wayland window r=stransky
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
Blocks: 1584503
Regressions: 1603835
Depends on: 1603927
Regressions: 1605893
Regressions: 1605906
Blocks: 1572911
You need to log in before you can comment on or make changes to this bug.