Closed Bug 1406494 Opened 7 years ago Closed 7 years ago

Allow specifying a resource override path

Categories

(Core :: Graphics: WebRender, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla58
Tracking Status
firefox57 --- unaffected
firefox58 --- unaffected

People

(Reporter: mstange, Assigned: mstange)

References

Details

(Whiteboard: [wr-mvp] [gfx-noted])

Attachments

(1 file)

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+
I'm calling it WR_RESOURCE_PATH.
Pushed by mstange@themasta.com:
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
https://hg.mozilla.org/mozilla-central/rev/b67a58f0f804
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
Priority: P3 → P1
Whiteboard: [gfx-noted] → [wr-mvp] [gfx-noted]
Pushed by mstange@themasta.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.

Attachment

General

Created:
Updated:
Size: