Closed Bug 1579849 Opened 5 years ago Closed 5 years ago

[Wayland] Optimize cached rendering to wl_buffer for widget.wayland_cache_mode=1

Categories

(Core :: Widget: Gtk, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox70 --- fixed
firefox71 --- fixed

People

(Reporter: stransky, Assigned: stransky)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Optimize and fix direct rendering to wl_buffer when partional buffering is enabled (widget.wayland_cache_mode = 1) which makes this mode usable in most of the cases.

  • When widget.wayland_cache_mode=1 use direct rendering to wl_buffer only when there isn't any
    cached rendering pending and we're updating one big piece of screen (video playback/scrolling etc..)

  • Disable frame callback commits between WindowSurfaceWayland::Lock and WindowSurfaceWayland::Commit
    as the buffer can be updated by gecko compositor

Pushed by nbeleuzu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c31093a3a757
[Wayland] Optimize cached rendering to wl_buffer for widget.wayland_cache_mode=1, r=jhorak

Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
Depends on: 1579823, 1579794

Comment on attachment 9091426 [details]
Bug 1579849 - [Wayland] Optimize cached rendering to wl_buffer for widget.wayland_cache_mode=1, r=jhorak

Beta/Release Uplift Approval Request

  • User impact if declined: Fixes part of rendering artifacts on Wayland.
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: Bug 1579823
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Wayland/Linux only.
  • String changes made/needed: none
Attachment #9091426 - Flags: approval-mozilla-beta?

Comment on attachment 9091426 [details]
Bug 1579849 - [Wayland] Optimize cached rendering to wl_buffer for widget.wayland_cache_mode=1, r=jhorak

Wayland fix, approved for 70.0b8.

Attachment #9091426 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: