Bug 258104 - [ANGLE] Support BGRA_SRBGB_ANGLE for framebuffer blits
Summary: [ANGLE] Support BGRA_SRBGB_ANGLE for framebuffer blits
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: ANGLE (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Dan Glastonbury
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-06-14 18:38 PDT by Dan Glastonbury
Modified: 2023-06-15 17:38 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.