Closed Bug 1225283 Opened 4 years ago Closed 4 years ago

Search for a matching DXGI adapter in content processes

Categories

(Core :: Graphics, defect)

40 Branch
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla45
Tracking Status
firefox45 --- fixed

People

(Reporter: dvander, Assigned: dvander)

References

Details

Attachments

(2 files)

Currently we assume both the parent process and content processes will get the same DXGI adapter - and if they're not (such as on dual GPU systems), we detect this and won't accelerate. Instead, we can just loop through the available DXGI adapters and find one that matches.

I did a little testing with this on my laptop and it appears to work with a standalone application, though I can't seem to force plugin-container onto the discrete GPU.
This is from bug 1217665, carrying r+ from mattwoodrow.
Attachment #8688086 - Flags: review+
Search for a matching adapter based on AdapterLuid, and don't use one if none is found. ContentAdapterIsParentAdapter is now an assert.
Attachment #8688088 - Flags: review?(jmuizelaar)
Attachment #8688086 - Attachment description: part 9, marshal DXGI_ADAPTER_DESC → part 1, marshal DXGI_ADAPTER_DESC
Attachment #8688088 - Flags: review?(jmuizelaar) → review+
https://hg.mozilla.org/mozilla-central/rev/5c477ebac699
https://hg.mozilla.org/mozilla-central/rev/eae27f0714e4
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
Flags: needinfo?(dvander)
You need to log in before you can comment on or make changes to this bug.