Closed Bug 1532024 Opened 1 year ago Closed 1 year ago

[Wayland] Wayland sometimes displays an empty window with WebRender with GDK_BACKEND=wayland

Categories

(Core :: Graphics: WebRender, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: sotaro, Assigned: sotaro)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

There is a case that main window becomes empty window with "GDK_BACKEND=wayland ./mach run". It happened often when PC was very busy.

Assignee: nobody → sotaro.ikeda.g

When it happened, GetRemoteRenderer() returned nullptr in nsWindow::WaylandEGLSurfaceForceRedraw().

In this case, it seems better to call RequestsUpdatingEGLSurface() in nsWindow::OnExposeEvent() like before.

(In reply to Sotaro Ikeda [:sotaro] from comment #1)

In this case, it seems better to call RequestsUpdatingEGLSurface() in nsWindow::OnExposeEvent() like before.

nsWindow::SetCompositorWidgetDelegate() seems more reliable than nsWindow::OnExposeEvent().

Pushed by sikeda@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/acbeb5adfef5
Handle a case that GetRemoteRenderer() returned nullptr r=stransky
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.