Summary: | WebGL premultiplied: false is composited as premultiplied | ||
---|---|---|---|
Product: | WebKit | Reporter: | Kimmo Kinnunen <kkinnunen> |
Component: | WebGL | Assignee: | Kimmo Kinnunen <kkinnunen> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | dino, gman, kbr, kkinnunen, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Local Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=230613 | ||
Bug Depends on: | |||
Bug Blocks: | 230620 |
Description
Kimmo Kinnunen
2021-09-22 06:14:52 PDT
In Chromium it was necessary to maintain a separate texture for the WebGL rendering results in {premultipliedAlpha:false} mode, and perform a blit at the end to get them into premultiplied mode for compositing. In case it's useful, please search for "premultiplied_alpha_false_texture_" in: https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/platform/graphics/gpu/drawing_buffer.cc same as this issue? https://bugs.webkit.org/show_bug.cgi?id=200026 *** This bug has been marked as a duplicate of bug 200026 *** |