Open Bug 2036712 Opened 6 months ago Updated 6 months ago

[HDR] Figure out a cleaner way to handle gfxPlatform::UseHDR()

Categories

(Core :: Graphics: Color Management, task)

task

Tracking

()

People

(Reporter: ahale, Unassigned)

References

(Blocks 1 open bug)

Details

Per aosmond's comment on the patch for https://bugzilla.mozilla.org/show_bug.cgi?id=2030165 we should find a cleaner way to represent the HDR video enable logic than gfxPlaform::UseHDR() which answers based on two prefs and a gfxVars value, we want this decision to be captured in the decision log, but the decision is very dynamic (monitor reconfiguration or moving a document to a different monitor can change the decision), the logic is even duplicated in two places because knowing what monitor the document is on is only known in some parts of the code.

You need to log in before you can comment on or make changes to this bug.