Handle D3D10 Device Removal

RESOLVED FIXED

Status

()

Core
Graphics
RESOLVED FIXED
7 years ago
5 years ago

People

(Reporter: bas, Assigned: bas)

Tracking

(Blocks: 1 bug)

unspecified
x86
Windows 7
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(blocking2.0 beta8+)

Details

Attachments

(1 attachment)

(Assignee)

Description

7 years ago
Created attachment 483052 [details] [diff] [review]
Reset layer manager when D3D10 device changes or becomes unavailable

We need to handle device removal with the D3D10 layers backend. I've added a patch which does this in a very clean way. I believe this is the right thing to do. Right now UpdateRenderMode does some work it wouldn't need to do if it was called repetitively but I think we can live with that for now, since it's only called once a frame. A follow-up bug should be filed to make it more efficient.

This patch will also turn off Direct2D -live- if it is disabled. It will not handle enabling live, but I believe this to be less important. (I should add it looks very clean!)
Attachment #483052 - Flags: review?(roc)
(Assignee)

Updated

7 years ago
blocking2.0: --- → ?
Attachment #483052 - Flags: review?(roc) → review+
blocking2.0: ? → beta8+

Updated

7 years ago
Blocks: 593027
(Assignee)

Comment 1

7 years ago
http://hg.mozilla.org/mozilla-central/rev/04e8bcc07449
Status: ASSIGNED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED

Updated

7 years ago
Depends on: 612123
You need to log in before you can comment on or make changes to this bug.