VOOZH about

URL: https://phabricator.services.mozilla.com/D300497

⇱ ⚙ D300497 Bug 2037689 - Fallback to shader for HLG to PQ video conversion if VideoProcessorBlt fails


Bug 2037689 - Fallback to shader for HLG to PQ video conversion if VideoProcessorBlt fails
Changes PlannedPublicDraft

Authored by ahale on May 14 2026, 2:05 AM.
Referenced Files
Unknown Object (File)
Wed, Jun 3, 2:57 AM
Unknown Object (File)
Wed, Jun 3, 2:16 AM
Unknown Object (File)
Wed, Jun 3, 12:01 AM
Unknown Object (File)
Tue, Jun 2, 11:00 PM
Unknown Object (File)
Tue, Jun 2, 7:40 PM
Unknown Object (File)
Tue, Jun 2, 7:25 PM
Unknown Object (File)
Mon, Jun 1, 4:13 AM
Unknown Object (File)
Sun, May 31, 1:10 AM
Subscribers
None

Details

Reviewers
None
Bugzilla Bug ID
2037689
Summary

When VideoProcessorBlt fails for a YUV HLG to RGB PQ conversion we have to do the right thing and convert it using a shader as fallback.

Test Plan

Manual testing will be performed. We have no relevant reftests for HDR video yet, that is on the HDR roadmap.

Diff Detail

Repository
rFIREFOXAUTOLAND firefox-autoland
Branch
HEAD

Event Timeline

ahale created this revision.
phab-bot changed the visibility from "Custom Policy" to "Public (No Login Required)".May 14 2026, 2:05 AM
phab-bot changed the edit policy from "Custom Policy" to "Restricted Project (Project)".
phab-bot removed a project: secure-revision.
ahale updated this revision to Diff 1296048.
ahale updated this revision to Diff 1297317.
ahale updated this revision to Diff 1301572.
ahale updated this revision to Diff 1302048.
ahale updated this revision to Diff 1302059.
ahale retitled this revision from WIP: Bug 2037689 - Fallback to shader for HLG to PQ video conversion if VideoProcessorBlt fails to Bug 2037689 - Fallback to shader for HLG to PQ video conversion if VideoProcessorBlt fails.Wed, Jun 17, 8:55 AM
ahale edited the summary of this revision. (Show Details)
ahale edited the test plan for this revision. (Show Details)
Comment Actions

Nearly working now, need to handle studio range vs full range HLG, rotation, and should have a YUV PQ to RGB PQ conversion shader for that fallback case while we're at it for Windows 10 drivers that lack that conversion (Windows 11 mandates that conversion be supported).

Revision Contents

PathSize
gfx/
webrender_bindings/
28 lines
485 lines
modules/
libpref/
init/
12 lines
CommitTreeParentsAuthorSummaryDate
1ce68e2f5a1fa032109bd7b9357c433d0365Ashley Hale
WIP: Bug 2037689 - Fallback to shader for HLG to PQ video conversion if… (Show More…)
May 14 2026, 2:05 AM

Diff 1302059

gfx/webrender_bindings/DCLayerTree.h

Loading...

gfx/webrender_bindings/DCLayerTree.cpp

Loading...

modules/libpref/init/StaticPrefList.yaml

Loading...