Closed Bug 1711094 Opened 3 years ago Closed 3 years ago

[wayland] Split out WindowBackBuffer

Categories

(Core :: Widget: Gtk, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
90 Branch
Tracking Status
firefox90 --- fixed

People

(Reporter: rmader, Assigned: rmader)

References

Details

Attachments

(1 file)

In order to make it more easy to reuse with the multi-buffer backend.

In preperation to reuse it for a second WindowSurface backend as well
as NativeLayerWayland.

There should be no fundamental changes, just some restructuring:

  • Make WaylandShmBuffer as generic as possible so it can be easily
    reused
  • Remove resizing of buffers and create new ones instead. This is in
    order to reduce complexety at a likely low cost.
  • Make more use of refcounting, in order to make it easier to ensure
    things don't vanish beneath our feet.
  • Make some parts of the code more Mozillian/C++y, as opposed to
    Gnome-/C-ish, in order to make it easier to read for other FF-devs.
  • Fix some complains of static analysis
Blocks: 1711214
Blocks: 1711224
Pushed by robert.mader@posteo.de:
https://hg.mozilla.org/integration/autoland/rev/d1eb6d79fa48
Move WindowBackBuffer into own file and rename it to WaylandShmBuffer, r=stransky
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: