Closed Bug 1511011 Opened 6 years ago Closed 5 years ago

[Wayland] MozContainer cleanup

Categories

(Core :: Widget: Gtk, enhancement)

Desktop
Linux
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: stransky, Assigned: stransky)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Clean up of MozContainer code.
OS: FreeBSD → Linux
- Don't create wl_subsurface in map event but rather when it's requested by compositor.
- Don't create wl_surface at nsWindow::OnExposeEvent but check ready_to_draw instead.
- Rename parent_surface_committed_handler to frame_clock_after_paint_handler.
- Rename parent_surface_committed to ready_to_draw.
- Rename needs_clear to surface_needs_clear.

Depends on D13404
Martin, the patches failed to land.

Details: We're sorry, Autoland could not rebase your commits for you automatically. Please manually rebase your commits and try again. (255, 'applying /tmp/tmpcGU_L3\npatching file widget/gtk/mozcontainer.h\nHunk #1 FAILED at 87\n1 out of 1 hunks FAILED -- saving rejects to file widget/gtk/mozcontainer.h.rej\npatching file widget/gtk/mozcontainer.cpp\nHunk #1 FAILED at 127\n1 out of 1 hunks FAILED -- saving rejects to file widget/gtk/mozcontainer.cpp.rej\nabort: patch failed to apply', ''
Flags: needinfo?(stransky)
Okay, Thanks.
Flags: needinfo?(stransky)
Patch re-based to latest trunk.
Keywords: checkin-needed
Pushed by nbeleuzu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/819a462d5dd0
Removed moz_container_move as it's not used, r=jhorak
https://hg.mozilla.org/integration/autoland/rev/f349e5a7d515
Clean up wayland subsurface creation/management, r=jhorak
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/819a462d5dd0
https://hg.mozilla.org/mozilla-central/rev/f349e5a7d515
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: