Files
sousa-gecko/dom/webgpu
Brad Werth 5c3ccfe280 Bug 2038047: Make MacIOSurface derive alpha from pixel format, update callsites. r=media-playback-reviewers,gfx-reviewers,padenot,jrmuizel
This is intended to mostly be a no-op, which prevents mismatch between
mHasAlpha and whatever the surface format actually is. It changes method
signatures to make clear that callers are not determining whether or not
a surface *has* alpha, but rather whether it is allowed or ignored.
Currently, only MacIOSurface::SurfaceFormatForPixelFormat() has
differing behavior based on this parameter.

Differential Revision: https://phabricator.services.mozilla.com/D299572
2026-05-20 16:57:32 +00:00
..