<?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>216915</bug_id>
          
          <creation_ts>2020-09-23 23:40:41 -0700</creation_ts>
          <short_desc>Test WebGL draw video to canvas software path on iOS</short_desc>
          <delta_ts>2020-11-17 11:31:03 -0800</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>Other</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 13</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=205734</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>
          <dependson>218970</dependson>
    
    <dependson>215908</dependson>
    
    <dependson>218637</dependson>
          <blocked>198948</blocked>
    
    <blocked>218971</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Kimmo Kinnunen">kkinnunen</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>dino</cc>
    
    <cc>kbr</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1691399</commentid>
    <comment_count>0</comment_count>
    <who name="Kimmo Kinnunen">kkinnunen</who>
    <bug_when>2020-09-23 23:40:41 -0700</bug_when>
    <thetext>Test WebGL draw video to canvas software path on iOS

In bug 215908 we had a regression where webgl texImage2D with video did not produce output.
The problem was that GPU YUV-&gt;RGB codepath had a bug.
However, the software conversion codepath should have taken effect, but in fact just produced transparent texture.
Interestingly normal &quot;MP4&quot; file worked, where as a HLS stream did not. It&apos;s unsure if this is a factor.

The problem should have been caught with simulator testing and/or real hardware testing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1693655</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-09-30 23:41:17 -0700</bug_when>
    <thetext>&lt;rdar://problem/69824545&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1707707</commentid>
    <comment_count>2</comment_count>
    <who name="Kimmo Kinnunen">kkinnunen</who>
    <bug_when>2020-11-16 00:36:50 -0800</bug_when>
    <thetext>In bug 218637 we had a regression where texImage2D with video did not produce output.
The problem was that the video decoder produced a frame in a format that was unexpected by yuv-&gt;rgb conversion codepath. However, the software conversion codepath should have taken effect, but in fact just produced transparent texture.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1708310</commentid>
    <comment_count>3</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2020-11-17 11:31:03 -0800</bug_when>
    <thetext>On Bug 218971 I just suggested to see also Bug 205734. A couple of the existing layout tests seem to have videos that (maybe accidentally) go down the software decoding path at least on macOS. It would be great to add some internal method to the WebKitTestRunner to force the software decoded path for testing purposes.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>