Closed Bug 1244735 Opened 8 years ago Closed 8 years ago

Preference to control partial present

Categories

(Core :: Graphics, defect)

Unspecified
Windows
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla47
Tracking Status
firefox47 --- fixed

People

(Reporter: milan, Assigned: milan)

References

Details

(Keywords: feature, Whiteboard: [gfx-noted])

Attachments

(1 file, 1 obsolete file)

Create gfx.partialupdates.force preference; the default is 0, which leaves us with the automatic behaviour - disabled on Nvidia, enabled elsewhere.  Value > 0 forces partial updates everywhere.  Value of < 0 disables partial updates everywhere.
Assignee: nobody → milan
Whiteboard: [gfx-noted]
Summary: Preference to control partial updates → Preference to control partial present
Comment on attachment 8714341 [details]
MozReview Request: Bug 1244735: Preference to override the default behaviour for partial present. r?jrmuizel

https://reviewboard.mozilla.org/r/33031/#review29821

::: gfx/layers/d3d11/CompositorD3D11.cpp:1136
(Diff revision 1)
> +                                partialPresentPref < 0 ? false :

The parenthesis around (partialPresentPref > 0) is inconsistent with this line.

It might also be easier to read this if it wasn't a single expression.

i.e.

allowPartialPresent = true;
if (partialPresentPref > 0)
    allowPartialPresent = true;
else if (partialPresentPref < 0)
    allowPartialPresent = false;
else if (vendorID.EqualsLiteral("0x10de") && !WARP())
    allowPartialPresent = fale;
Attachment #8714341 - Flags: review?(jmuizelaar) → review+
Attachment #8714341 - Attachment is obsolete: true
https://hg.mozilla.org/mozilla-central/rev/8982ed90d8e6
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
Flags: qe-verify-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: