Closed Bug 1225283 Opened 4 years ago Closed 4 years ago
Search for a matching DXGI adapter in content processes
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.
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+
Both backed out in https://hg.mozilla.org/integration/mozilla-inbound/rev/72fd251e770e for Windows build bustage: https://treeherder.mozilla.org/logviewer.html#?job_id=17423015&repo=mozilla-inbound
Depends on: 1228905
You need to log in before you can comment on or make changes to this bug.