Bug 230619
| 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 | ||
Kimmo Kinnunen
WebGL premultiplied: false is composited as premultiplied
Colors seem to be wrong
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Kenneth Russell
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
Radar WebKit Bug Importer
<rdar://problem/83668315>
Gregg Tavares
same as this issue?
https://bugs.webkit.org/show_bug.cgi?id=200026
Kimmo Kinnunen
*** This bug has been marked as a duplicate of bug 200026 ***