<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>230619</bug_id>
          
          <creation_ts>2021-09-22 06:14:52 -0700</creation_ts>
          <short_desc>WebGL premultiplied: false is composited as premultiplied</short_desc>
          <delta_ts>2022-04-22 00:23:55 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebGL</component>
          <version>WebKit Local Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>200026</dup_id>
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=230613</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>230620</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Kimmo Kinnunen">kkinnunen</reporter>
          <assigned_to name="Kimmo Kinnunen">kkinnunen</assigned_to>
          <cc>dino</cc>
    
    <cc>gman</cc>
    
    <cc>kbr</cc>
    
    <cc>kkinnunen</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1796033</commentid>
    <comment_count>0</comment_count>
    <who name="Kimmo Kinnunen">kkinnunen</who>
    <bug_when>2021-09-22 06:14:52 -0700</bug_when>
    <thetext>WebGL premultiplied: false is composited as premultiplied

Colors seem to be wrong</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1796265</commentid>
    <comment_count>1</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2021-09-22 16:31:21 -0700</bug_when>
    <thetext>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&apos;s useful, please search for &quot;premultiplied_alpha_false_texture_&quot; in:
https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/platform/graphics/gpu/drawing_buffer.cc</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1798283</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-09-29 06:15:14 -0700</bug_when>
    <thetext>&lt;rdar://problem/83668315&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1862099</commentid>
    <comment_count>3</comment_count>
    <who name="Gregg Tavares">gman</who>
    <bug_when>2022-04-16 19:41:56 -0700</bug_when>
    <thetext>same as this issue?

https://bugs.webkit.org/show_bug.cgi?id=200026</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1863564</commentid>
    <comment_count>4</comment_count>
    <who name="Kimmo Kinnunen">kkinnunen</who>
    <bug_when>2022-04-22 00:23:55 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 200026 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>