Bug 258104

Summary: [ANGLE] Support BGRA_SRBGB_ANGLE for framebuffer blits
Product: WebKit Reporter: Dan Glastonbury <djg>
Component: ANGLEAssignee: Dan Glastonbury <djg>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, kbr, kkinnunen, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Dan Glastonbury 2023-06-14 18:38:29 PDT
For WebGL content, WebKit needs to perform MSAA resolve on the WebGL
buffer before compositing via a blit. On Apple platforms, this draw
buffer is usually in BGRA8_SRGB_ANGLEX as it is the native format for
the windowing system's compositor, so SRGB8_ALPHA8 needs coercion for
WebGL to work with multisample sRGB content.
Comment 1 Radar WebKit Bug Importer 2023-06-14 18:40:11 PDT
<rdar://problem/110811770>
Comment 2 Dan Glastonbury 2023-06-14 18:46:07 PDT
Pull request: https://github.com/WebKit/WebKit/pull/14984
Comment 3 EWS 2023-06-15 17:38:25 PDT
Committed 265219@main (e05b9c978c96): <https://commits.webkit.org/265219@main>

Reviewed commits have been landed. Closing PR #14984 and removing active labels.