[Wayland] Enable experimental wayland backend modes by widget.wayland_cache_mode pref
Categories
(Core :: Widget: Gtk, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox70 | --- | fixed |
People
(Reporter: stransky, Assigned: stransky)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Enable partial and non-cached Wayand backend rendering. May be suitable for fullscreen video playback and/or battery saving and so on. It's controled by widget.wayland_cache_mode.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
btw. the non-cached mode may be set automatically when Firefox comes to fullscreen and/or whole content window update is detected (like during scrolling). While fullscreen transition may be easy to detect I wonder how I can detect the scrolling.
Assignee | ||
Comment 2•5 years ago
|
||
Image cache mode can be set by widget.wayland_cache_mode.
-
widget.wayland_cache_mode = 0 (or missing):
Cache and clip all drawings, default. It's slowest
but also without any rendered artifacts. -
widget.wayland_cache_mode = 1:
Cache drawing only when back buffer is missing. May produce
some rendering artifacts and flickering when partial screen update
is rendered. -
widget.wayland_cache_mode = 2:
Don't cache anything, draw only when back buffer is available.
Suitable for fullscreen content only like fullscreen video playback and
may work well with dmabuf backend.
Comment 3•5 years ago
|
||
(In reply to Martin Stránský [:stransky] from comment #1)
btw. the non-cached mode may be set automatically when Firefox comes to fullscreen and/or whole content window update is detected (like during scrolling). While fullscreen transition may be easy to detect I wonder how I can detect the scrolling.
that sounds interesting, in case you want to test some patch on intel (regular or gallium iris driver)+ HD / 4K, feel free to send it and I'll do testing :) (best if I'll be able change behaviour with something like widget.wayland_cache_mode ).
Assignee | ||
Updated•5 years ago
|
Pushed by malexandru@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/893a4487b586
[Wayland] Enable experimental wayland backend modes by widget.wayland_cache_mode pref, r=jhorak
Comment 5•5 years ago
|
||
bugherder |
Comment 6•5 years ago
|
||
bugherder uplift |
Description
•