Closed Bug 1623254 Opened 5 years ago Closed 5 years ago

Re-create DrawTarget of CanvasRenderingContext2D when the DrawTarget becomes invalid

Categories

(Core :: Graphics, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

(Reporter: sotaro, Assigned: sotaro)

References

Details

Attachments

(1 file)

Created by Bug 1620041 Comment 18.

When driver reset happens, DrawTargetD2D1 becomes invalid, since ID2D1Device and ID3D11Device become invalid and the are replaced by new ones. Therefore, DrawTargetD2D1 also needs to be replaced. It could mitigate the problem.

Assignee: nobody → sotaro.ikeda.g
Blocks: 1620041
Pushed by sikeda.birchill@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/46a8443df0f2 Re-create DrawTarget of CanvasRenderingContext2D when the DrawTarget becomes invalid r=nical
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76

Hi, I was still able to reproduce this issue in Firefox Nightly build id: 20200319035334 using the steps :

Direct3D 11 (Advanced Layers), Windows10
Open Google Sheets spreadsheets
Open about:support in new tab
Click [Trigger Device Reset] button
Switch tab to the spreadsheets
Actual Results:
The sheet is black.

I'm not sure if this is the issue fixed by this enhancement.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: