gecko-dev/gfx/config
Nicolas Silva 0752cfb5cb Bug 1731610 - Add new prefs in WebRender with less boilerplate. r=gfx-reviewers,jrmuizel
Right now adding a dynamic pref for webrender involves plumbing in gfxPlatform, gfxVars, CompositBridgeParent, WebRenderBridgeParent, WebRenderAPI, the bindings, and then messaging the pref change to the right thread in WebRender.

That's quite a bit time consuming for something we tend to do for multiple things.

We already have a pretty good system for boolean debug prefs where the pref only needs to be listed in gfxPlatform and in the DebugPref enum of webrender_api/lib.rs, which has led us to use it for non-debug purposes.

This patch adds a system similar to the DebugFlags with values passed in a bitfield to be able to use gfxVars. In WebRender the parameters are key-value pairs which flow through the pipeline so that any component can react to them. A followup will add integer parameters.

The patch also moves a few prefs to this system and adds a pref to use PBO uploads.

Differential Revision: https://phabricator.services.mozilla.com/D126100
2021-09-23 15:17:46 +00:00
..
gfxConfig.cpp Bug 1541472 - Remove Advanced Layers, since it's disabled everywhere now. r=jrmuizel 2021-02-10 02:04:41 +00:00
gfxConfig.h Bug 1595994 - PD: Allow WMF decoding inside RDD process. r=mattwoodrow 2020-10-20 23:26:52 +00:00
gfxConfigManager.cpp Bug 1725388 - Remove pref/envvars that can disable WebRender. r=jrmuizel 2021-08-12 20:28:53 +00:00
gfxConfigManager.h Bug 1725388 - Remove pref/envvars that can disable WebRender. r=jrmuizel 2021-08-12 20:28:53 +00:00
gfxFallback.h
gfxFeature.cpp Bug 1687312 - Expose gfx.feature.webrender probe to geckoview_streaming telemetry. r=jrmuizel,aosmond 2021-01-18 22:39:24 +00:00
gfxFeature.h Bug 1615574 - Disable webrender shader cache on Adreno 3xx. r=aosmond 2021-04-12 15:14:12 +00:00
gfxVarReceiver.h
gfxVars.cpp Bug 1626570 - Improve handling of copying arrays in gfx/. r=jrmuizel 2020-05-05 12:55:27 +00:00
gfxVars.h Bug 1731610 - Add new prefs in WebRender with less boilerplate. r=gfx-reviewers,jrmuizel 2021-09-23 15:17:46 +00:00
moz.build Bug 1676925 - Remove code supporting the defunct WebRender experiments. r=jrmuizel,marionette-reviewers 2020-11-13 05:40:10 +00:00