The default bug view has changed. See this FAQ.

Properly always create a DXGI 1.1 device

RESOLVED FIXED in mozilla15

Status

()

Core
Graphics
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: bas, Assigned: bas)

Tracking

unspecified
mozilla15
x86_64
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 1 obsolete attachment)

(Assignee)

Description

5 years ago
Created attachment 628213 [details] [diff] [review]
Only check for D3D 10.0 support when selecting a DXGI 1.1 adapter

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)
(Assignee)

Comment 1

5 years ago
Created attachment 628214 [details] [diff] [review]
Only check for D3D 10.0 support when selecting a DXGI 1.1 adapter v2

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)
Attachment #628214 - Flags: review?(roc) → review+
(Assignee)

Comment 2

5 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/3187b6d743db
Please can you set the milestone when landing. Thanks :-)

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