Closed Bug 759643 Opened 9 years ago Closed 9 years ago

Properly always create a DXGI 1.1 device

Categories

(Core :: Graphics, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla15

People

(Reporter: bas.schouten, Assigned: bas.schouten)

References

Details

Attachments

(1 file, 1 obsolete file)

In order to properly create textures that can do synchronization we need a DXGI 1.1 adapter to be used for device creation. This can be done on all updated Windows 7 and Vista, and we currently try this. However if the device does not support D3D 10.1 we wrongly toss out the adapter and create the device with a NULL adapter. This is wrong and prevents DXGI async drawing from working on DX10 machines.
Attachment #628213 - Flags: review?(roc)
Updated: It's probably a better idea to fail D2D acceleration all together if this weird situation should occur where we can somehow get a D3D10.0 device without DXGI 1.1 support.
Attachment #628213 - Attachment is obsolete: true
Attachment #628213 - Flags: review?(roc)
Attachment #628214 - Flags: review?(roc)
Please can you set the milestone when landing. Thanks :-)

https://hg.mozilla.org/mozilla-central/rev/3187b6d743db
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla15
You need to log in before you can comment on or make changes to this bug.