<?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>216574</bug_id>
          
          <creation_ts>2020-09-15 11:48:34 -0700</creation_ts>
          <short_desc>ANGLE EAGL EGL_ANGLE_iosurface_client_buffer implementation is incorrect for simulator</short_desc>
          <delta_ts>2022-08-11 00:00:18 -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>ANGLE</component>
          <version>WebKit Local Build</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 13</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          
          <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>215908</dependson>
          <blocked>198948</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>1688783</commentid>
    <comment_count>0</comment_count>
    <who name="Kimmo Kinnunen">kkinnunen</who>
    <bug_when>2020-09-15 11:48:34 -0700</bug_when>
    <thetext>ANGLE EAGL EGL_ANGLE_iosurface_client_buffer implementation is incorrect for simulator

- the buffer unpack state probably should be always set when calling glTexImage2D. Now it&apos;s only called if textureData != nullptr
- the unpack buffer should be set to nullptr
- the texture data base address should be obtained based on the plane of the texture 
https://developer.apple.com/documentation/iosurface/1419379-iosurfacegetbaseaddressofplane?language=objc</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1688852</commentid>
    <comment_count>1</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2020-09-15 14:27:44 -0700</bug_when>
    <thetext>Thanks for uncovering these issues Kimmo.

Do you plan to take this? I see I left a few TODOs in ANGLE&apos;s src/libANGLE/renderer/gl/eagl/IOSurfaceSurfaceEAGL.mm .</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1690801</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-09-22 12:00:28 -0700</bug_when>
    <thetext>&lt;rdar://problem/69384081&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1890508</commentid>
    <comment_count>3</comment_count>
    <who name="Kimmo Kinnunen">kkinnunen</who>
    <bug_when>2022-08-11 00:00:18 -0700</bug_when>
    <thetext>EAGL is not supported anymore, closing</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>