[webkit-changes] [WebKit/WebKit] e05b9c: [ANGLE] Support BGRA_SRBGB_ANGLE for framebuffer b...
Dan Glastonbury
noreply at github.com
Thu Jun 15 17:38:33 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e05b9c978c96e378382231758e0f708cb93ea1de
https://github.com/WebKit/WebKit/commit/e05b9c978c96e378382231758e0f708cb93ea1de
Author: Dan Glastonbury <djg at apple.com>
Date: 2023-06-15 (Thu, 15 Jun 2023)
Changed paths:
M Source/ThirdParty/ANGLE/changes.diff
M Source/ThirdParty/ANGLE/src/libANGLE/formatutils.cpp
Log Message:
-----------
[ANGLE] Support BGRA_SRBGB_ANGLE for framebuffer blits
https://bugs.webkit.org/show_bug.cgi?id=258104
rdar://110811770
Reviewed by Dean Jackson.
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.
This is a cherry-pick of ANGLE issue
8208 (https://bugs.chromium.org/p/angleproject/issues/detail?id=8208)
* Source/ThirdParty/ANGLE/src/libANGLE/formatutils.cpp:
(gl::EquivalentBlitInternalFormat):
Canonical link: https://commits.webkit.org/265219@main
More information about the webkit-changes
mailing list