Closed Bug 1546901 Opened 5 years ago Closed 5 years ago

Call gfxVars::SetProfDirectory() before gfxPlatform::InitLayersIPC()

Categories

(Core :: Graphics: WebRender, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: sotaro, Assigned: sotaro)

References

Details

Attachments

(1 file)

When GPU process does not exist, Render thread is created by gfxPlatform::InitLayersIPC(). Then gfxVars::SetProfDirectory() is called after RenderThread::InitDeviceTask(). Then WebRenderProgramCache could not get correct gfxVars::ProfDirectory() value. It affects to webrender shader disk cache.

When GPU process exists the problem does not happen. On windows, when WebRender is used, GPU process always exists, then the problem did not happen.

Blocks: 1540576
Assignee: nobody → sotaro.ikeda.g
Pushed by sikeda@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1720abb3a1b5
Call gfxVars::SetProfDirectory() before gfxPlatform::InitLayersIPC() r=nical
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
Regressions: 1568136
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: