<?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>253655</bug_id>
          
          <creation_ts>2023-03-09 09:39:30 -0800</creation_ts>
          <short_desc>[GPU Process] Have one copy of NativeImage when it is shared between WebProcess and GPUProcess</short_desc>
          <delta_ts>2023-03-15 18:59:13 -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>Images</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Said Abou-Hallawa">sabouhallawa</reporter>
          <assigned_to name="Diego Pino">dpino</assigned_to>
          <cc>dpino</cc>
    
    <cc>sabouhallawa</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1940102</commentid>
    <comment_count>0</comment_count>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2023-03-09 09:39:30 -0800</bug_when>
    <thetext>Since WebProcess has to share the local PlatformImage with GPUProcess through ShareableBitmap, we can get rid of the local PlatformImage and have both processes use the ShareableBitmap. Also for GPUProcess, we can ensure we decode the PlatformImage for sizeForDrawing instead of decoding it for the full size.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1940111</commentid>
    <comment_count>1</comment_count>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2023-03-09 10:28:00 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/11311</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1940112</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-03-09 10:28:12 -0800</bug_when>
    <thetext>&lt;rdar://problem/106508715&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1941609</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-03-15 11:48:52 -0700</bug_when>
    <thetext>Committed 261700@main (00ca303e3374): &lt;https://commits.webkit.org/261700@main&gt;

Reviewed commits have been landed. Closing PR #11311 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1941728</commentid>
    <comment_count>4</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2023-03-15 18:11:07 -0700</bug_when>
    <thetext>WebKitGTK and WPE Ubuntu 20.04 post-commit build bots are failing after this patch:

https://build.webkit.org/#/builders/595/builds/8429/steps/9/logs/stdio

```
/home/buildbot/worker/GTK-Linux-64-bit-Release-Ubuntu-2004-Build/build/Source/WebCore/platform/graphics/DecodingOptions.h:48:53: error: ‘bool WebCore::DecodingOptions::operator==(const WebCore::DecodingOptions&amp;) const’ cannot be defaulted
   48 |     bool operator==(const DecodingOptions&amp;) const = default;
``` 

Default comparisons by value (P1946R0) is only available since GCC10.
  - https://en.cppreference.com/w/cpp/compiler_support/20

These bots use GCC9.4, which we need to support until 20th April 2023.
  - https://trac.webkit.org/wiki/WebKitGTK/GCCRequirement</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1941729</commentid>
    <comment_count>5</comment_count>
    <who name="Diego Pino">dpino</who>
    <bug_when>2023-03-15 18:12:09 -0700</bug_when>
    <thetext>Re-opening for pull request https://github.com/webkit/webkit/pull/11586</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1941742</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-03-15 18:59:10 -0700</bug_when>
    <thetext>Committed 261725@main (caaf11e8a339): &lt;https://commits.webkit.org/261725@main&gt;

Reviewed commits have been landed. Closing PR #11586 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>