Bug 230619 - WebGL premultiplied: false is composited as premultiplied
Summary: WebGL premultiplied: false is composited as premultiplied
Status: RESOLVED DUPLICATE of bug 200026
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Kimmo Kinnunen
URL:
Keywords: InRadar
Depends on:
Blocks: 230620
  Show dependency treegraph
 
Reported: 2021-09-22 06:14 PDT by Kimmo Kinnunen
Modified: 2022-04-22 00:23 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kimmo Kinnunen 2021-09-22 06:14:52 PDT
WebGL premultiplied: false is composited as premultiplied

Colors seem to be wrong
Comment 1 Kenneth Russell 2021-09-22 16:31:21 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
Comment 2 Radar WebKit Bug Importer 2021-09-29 06:15:14 PDT
<rdar://problem/83668315>
Comment 3 Gregg Tavares 2022-04-16 19:41:56 PDT
same as this issue?

https://bugs.webkit.org/show_bug.cgi?id=200026
Comment 4 Kimmo Kinnunen 2022-04-22 00:23:55 PDT

*** This bug has been marked as a duplicate of bug 200026 ***