Closed Bug 1606046 Opened 5 years ago Closed 5 years ago

Enable CreateContextFlags::PREFER_ROBUSTNESS flag for WebRender GLContextEGL on Windows.

Categories

(Core :: Graphics: WebRender, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: sotaro, Assigned: sotaro)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Blocks: 1604006
Assignee: nobody → sotaro.ikeda.g

When EGL_LOSE_CONTEXT_ON_RESET is set by CreateContextFlags::PREFER_ROBUSTNESS flag, ANGLE avoids to release D3D resources when ANGLE detects device reset.

Renderer11::resetDevice() calls Renderer11::initialize() after Renderer11::release() call.

But Renderer11::initialize() did not re-allocate Renderer11::mClear. Since Renderer11::initializeD3DDevice() was failed because Renderer11 held obsoleted D3DDevice.

D3DDevice was provided by gecko int GetAndInitDisplayForWebRender() , then ANGLE could not re-create D3DDevice.

Pushed by sikeda.birchill@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ee75ca9a28cc Enable CreateContextFlags::PREFER_ROBUSTNESS flag for WebRender GLContextEGL on Windows r=gw
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
Depends on: 1608235
No longer depends on: 1608235
Regressions: 1608235
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: