Closed Bug 1406494 Opened 2 years ago Closed 2 years ago
Allow specifying a resource override path
Bug 1406494 - Add a WR_RESOURCE_PATH environment variable that lets you set a resource override path for webrender.
59 bytes, text/x-review-board-request
If you want to test changes to webrender shaders, at the moment you have to rebuild Firefox in order for the shader changes to become effective. However, webrender supports a resource_override_path setting which lets you test shader changes simply by changing the shader files and restarting the process, if the setting is set to the correct resource directory. In this bug I'd like to add support for an environment variable WR_RESOURCE_DIR to Firefox which gets forwarded to the resource_override_path setting.
I'm open to calling it WR_RESOURCE_PATH instead, in order to match the name of the webrender setting more closely.
Comment on attachment 8916092 [details] Bug 1406494 - Add a WR_RESOURCE_PATH environment variable that lets you set a resource override path for webrender. https://reviewboard.mozilla.org/r/187328/#review192394
Attachment #8916092 - Flags: review?(bugmail) → review+
2 years ago
I'm calling it WR_RESOURCE_PATH.
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/b67a58f0f804 Add a WR_RESOURCE_PATH environment variable that lets you set a resource override path for webrender. r=kats
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
Priority: P3 → P1
Whiteboard: [gfx-noted] → [wr-mvp] [gfx-noted]
Pushed by email@example.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/c68838a2ad09 Fix spelling of the environment variable.
You need to log in before you can comment on or make changes to this bug.