Closed
Bug 1368109
Opened 7 years ago
Closed 7 years ago
No need to sync set gfx.direct2d.disabled to layers.acceleration.disabled
Categories
(Core :: Graphics, enhancement)
Tracking
()
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: milan, Assigned: milan)
References
Details
(Whiteboard: gfx-noted)
Attachments
(1 file)
We have complications in the UI code that sets gfx.direct2d.disabled preference to the same value as layers.acceleration.disabled. This is not necessary anymore, and we should simplify that code, especially now that the UI for preferences is changing.
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → milan
Comment hidden (mozreview-request) |
Updated•7 years ago
|
Whiteboard: gfx-noted
Comment 2•7 years ago
|
||
So we can have D2D with layers.acceleration enabled? Why is this not necessary anymore?
Flags: needinfo?(milan)
Assignee | ||
Comment 3•7 years ago
|
||
Good question. Just disabling the layers acceleration (using the pref) will stop us from using D2D (which requires D3D11 compositor.) Used to be that D2D preference was "stronger" than the layers acceleration, and would force the accelerated compositor. So, we're never going to end up with unaccelerated compositor and D2D, because unaccelerated compositor forces non-D2D content. This patches doesn't change that - just removes the complication in the code where we synchronize the values of two preferences - not necessary anymore.
Flags: needinfo?(milan)
Assignee | ||
Updated•7 years ago
|
OS: Unspecified → Windows
Comment 4•7 years ago
|
||
mozreview-review |
Comment on attachment 8871835 [details] Bug 1368109: No need to sync layers.acceleration.disabled and gfx.direct2d.disabled on Windows. https://reviewboard.mozilla.org/r/143336/#review147074 Thanks for the explanation!
Attachment #8871835 -
Flags: review?(mchang) → review+
Pushed by msreckovic@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/740d674779eb No need to sync layers.acceleration.disabled and gfx.direct2d.disabled on Windows. r=mchang
Comment 6•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/740d674779eb
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in
before you can comment on or make changes to this bug.
Description
•