Closed Bug 1618367 Opened 5 years ago Closed 5 years ago

[Wayland] Make nsWaylandDisplay usable on child processes

Categories

(Core :: Widget: Gtk, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: stransky, Assigned: stransky)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

We need to use nsWaylandDisplay from child (content) process which means:

  • stop posting events to message loop when it's deleted
  • use all preferences as static ones
  • Increment MAX_DISPLAY_CONNECTIONS to 5 (main, compositor, renderer, and two media threads).
  • Stop posting events to message loop when it's deleted. Use message loop shutdown observer for it.
  • Shutdown nsWaylandDisplay event queue on both chrome and content processes.
Attachment #9129320 - Attachment description: Bug 1618367 [Wayland] Make nsWaylandDisplay usable on child processes, r?jhorak → Bug 1618367 [Wayland] Make nsWaylandDisplay usable on child processes, rename dmabuf preferences, r?jhorak
Pushed by nerli@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5859680e3d70 [Wayland] Make nsWaylandDisplay usable on child processes, rename dmabuf preferences, r=jhorak
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: