Closed
Bug 1269387
Opened 10 years ago
Closed 10 years ago
Port D3D11 ANGLE config to gfxConfig
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
RESOLVED
FIXED
mozilla49
| Tracking | Status | |
|---|---|---|
| firefox49 | --- | fixed |
People
(Reporter: jrmuizel, Assigned: jrmuizel)
References
Details
(Whiteboard: [gfx-noted])
Attachments
(3 files)
|
8.26 KB,
patch
|
Details | Diff | Splinter Review | |
|
9.00 KB,
patch
|
Details | Diff | Splinter Review | |
|
9.02 KB,
patch
|
dvander
:
review+
|
Details | Diff | Splinter Review |
No description provided.
| Assignee | ||
Updated•10 years ago
|
Whiteboard: [gfx-noted]
| Assignee | ||
Updated•10 years ago
|
Attachment #8747755 -
Attachment is patch: true
Attachment #8747755 -
Attachment mime type: text/x-patch → text/plain
| Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8749829 -
Flags: review?(dvander)
| Assignee | ||
Comment 2•10 years ago
|
||
This includes a build fix that I forgot to include in the last patch.
Attachment #8749879 -
Flags: review?(dvander)
Updated•10 years ago
|
Attachment #8749879 -
Attachment is patch: true
Comment on attachment 8749879 [details] [diff] [review]
Port D3D11 ANGLE to gfxConfig
Review of attachment 8749879 [details] [diff] [review]:
-----------------------------------------------------------------
::: gfx/gl/GLLibraryEGL.cpp
@@ +172,5 @@
>
> + FeatureState& d3d11ANGLE = gfxConfig::GetFeature(Feature::D3D11_ANGLE);
> +
> + if (!gfxPrefs::WebGLANGLETryD3D11())
> + d3d11ANGLE.UserDisable("User disabled D3D11 ANGLE by pref");
Just noting, this is the first thing to tie gfxConfig to a live pref, which is probably why you didn't move it to gfxWindowsPlatform? Looks like it should work though, multiple changes to the User state will just overwrite the old one.
::: gfx/thebes/gfxWindowsPlatform.cpp
@@ +2340,5 @@
> InitializeD2D();
>
> + FeatureStatus compositing = gfxConfig::GetValue(Feature::D3D11_COMPOSITING);
> + if (IsFeatureStatusFailure(compositing)) {
> + gfxConfig::DisableByDefault(Feature::D3D11_ANGLE, compositing, "D3D11 compositing is disabled");
I'd just use gfxConfig::IsEnabled and pass FeatureStatus::Disabled (or something) instead. I changed the other instances of this pattern in the D3D9 patch already.
Attachment #8749879 -
Flags: review?(dvander) → review+
Comment 5•10 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox49:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
Updated•10 years ago
|
Assignee: nobody → jmuizelaar
Updated•10 years ago
|
Attachment #8749829 -
Flags: review?(dvander)
You need to log in
before you can comment on or make changes to this bug.
Description
•