Bug 273603

Summary: [WebXR] Override compositor textures sRGB transfer function
Product: WebKit Reporter: Dan Glastonbury <djg>
Component: WebXRAssignee: Dan Glastonbury <djg>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Dan Glastonbury
Reported 2024-05-01 19:05:20 PDT
CompositorServices provides textures with pixel format MTLPixelFormatBGRA8Unorm_sRGB. Since glBlitFramebuffer is implemented as a draw in ANGLE, when blitting shared to layered layout an unwanted gamma conversion is being applied. Override the format with MTLPixelFormatBGRA8Unorm to avoid this conversion.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-05-01 19:05:31 PDT
Dan Glastonbury
Comment 2 2024-05-01 20:55:34 PDT
EWS
Comment 3 2024-05-02 06:12:41 PDT
Committed 278252@main (a4251036b8d0): <https://commits.webkit.org/278252@main> Reviewed commits have been landed. Closing PR #28032 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.