Closed Bug 1828255 Opened 2 years ago Closed 2 years ago

[Wayland] Rework wayland display connection to be more effective

Categories

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

enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: stransky, Assigned: stransky)

References

(Blocks 1 open bug)

Details

We should improve our Wayland display related code to be more effective and memory efficient. That should also improve startup speed as we don't need to create wayland display roundtrips for each wl_registry lookup.

We should:

  • use only one wl_registry lookup and share obtained global objects. We should not lookup wl_registry for various components (screensaver, screen helper, dmabuf...)
  • get global objects for main thread only and use wl_proxy for different threads. Right now we create global objects for every thread
Type: defect → enhancement
Depends on: 1828067
Depends on: 1828070
Depends on: 1828071
Depends on: 1828756
Depends on: 1828907
Depends on: 1828618
Depends on: 1829303
Depends on: 1830162
Depends on: 1825181
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.