Closed
Bug 1419939
Opened 7 years ago
Closed 6 years ago
Add an environment variable to force pre-caching shaders.
Categories
(Core :: Graphics: WebRender, enhancement, P3)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
mozilla63
Tracking | Status | |
---|---|---|
firefox63 | --- | fixed |
People
(Reporter: gw, Assigned: emilio)
References
Details
(Whiteboard: [wr-reserve])
Attachments
(1 file)
When initializing WR, setting precache_shaders in the RendererOptions forces all shaders to be pre-compiled on startup. This is useful until we have proper shader caching when benchmarking. For instance, the MotionMark test runner gets confused when there is an initial stall while the shaders are compiled on first use.
Updated•7 years ago
|
Whiteboard: [wr-mvp] [triage]
Updated•7 years ago
|
Blocks: stage-wr-trains
Priority: -- → P3
Whiteboard: [wr-mvp] [triage] → [wr-mvp] [triage][wr-reserve-candidate]
Updated•7 years ago
|
Whiteboard: [wr-mvp] [triage][wr-reserve-candidate] → [wr-reserve]
Updated•6 years ago
|
Assignee: nobody → emilio
Assignee | ||
Comment 1•6 years ago
|
||
I made the variable name up, since I didn't see another similar thing. Let me know if I should change it.
Comment 2•6 years ago
|
||
Comment on attachment 9003840 [details]
Add an env var to precache shaders.
Dzmitry Malyshau [:kvark] has approved the revision.
Attachment #9003840 -
Flags: review+
Pushed by emilio@crisal.io: https://hg.mozilla.org/integration/autoland/rev/48905d7f2d9d Add an env var to precache shaders. r=kvark
Comment 4•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/48905d7f2d9d
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in
before you can comment on or make changes to this bug.
Description
•