<?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>277484</bug_id>
          
          <creation_ts>2024-08-01 06:32:05 -0700</creation_ts>
          <short_desc>[TexMap] Incorrect damage information produced for animations with blur</short_desc>
          <delta_ts>2025-01-20 10:50:56 -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>Compositing</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=275806</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=284808</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Pawel Lampe">plampe</reporter>
          <assigned_to name="Pawel Lampe">plampe</assigned_to>
          <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2050072</commentid>
    <comment_count>0</comment_count>
      <attachid>472031</attachid>
    <who name="Pawel Lampe">plampe</who>
    <bug_when>2024-08-01 06:32:05 -0700</bug_when>
    <thetext>Created attachment 472031
animation-blur-slow.html

When running animation-blur-slow.html demo using GTK port with some log instrumentation, one can see the damage information is constantly empty after few frames:
LayerTreeHost::didRenderFrame(): damage - isEmpty():1, isInvalid():0, rects#:0, bounds:(0,0,0,0)
LayerTreeHost::didRenderFrame(): damage - isEmpty():0, isInvalid():0, rects#:1, bounds:(0,0,2560,1357)
LayerTreeHost::didRenderFrame(): damage - isEmpty():0, isInvalid():0, rects#:1, bounds:(0,0,2560,1357)
LayerTreeHost::didRenderFrame(): damage - isEmpty():1, isInvalid():0, rects#:0, bounds:(0,0,0,0)
LayerTreeHost::didRenderFrame(): damage - isEmpty():1, isInvalid():0, rects#:0, bounds:(0,0,0,0)
LayerTreeHost::didRenderFrame(): damage - isEmpty():1, isInvalid():0, rects#:0, bounds:(0,0,0,0)
LayerTreeHost::didRenderFrame(): damage - isEmpty():1, isInvalid():0, rects#:0, bounds:(0,0,0,0)
LayerTreeHost::didRenderFrame(): damage - isEmpty():1, isInvalid():0, rects#:0, bounds:(0,0,0,0)
LayerTreeHost::didRenderFrame(): damage - isEmpty():1, isInvalid():0, rects#:0, bounds:(0,0,0,0)

Moreover, when running animation-blur-fast.html demo the same way, one can observe the damage information that is too small (should be larger than 100x100):
LayerTreeHost::didRenderFrame(): damage - isEmpty():1, isInvalid():0, rects#:0, bounds:(0,0,0,0)
LayerTreeHost::didRenderFrame(): damage - isEmpty():0, isInvalid():0, rects#:1, bounds:(0,0,2560,1357)
LayerTreeHost::didRenderFrame(): damage - isEmpty():0, isInvalid():0, rects#:1, bounds:(0,0,2560,1357)
LayerTreeHost::didRenderFrame(): damage - isEmpty():0, isInvalid():0, rects#:1, bounds:(1230,100,100,100)
LayerTreeHost::didRenderFrame(): damage - isEmpty():0, isInvalid():0, rects#:1, bounds:(1230,100,100,100)
LayerTreeHost::didRenderFrame(): damage - isEmpty():0, isInvalid():0, rects#:1, bounds:(1230,100,100,100)
LayerTreeHost::didRenderFrame(): damage - isEmpty():0, isInvalid():0, rects#:1, bounds:(1230,100,100,100)
LayerTreeHost::didRenderFrame(): damage - isEmpty():0, isInvalid():0, rects#:1, bounds:(1230,100,100,100)
LayerTreeHost::didRenderFrame(): damage - isEmpty():0, isInvalid():0, rects#:1, bounds:(1230,100,100,100)
LayerTreeHost::didRenderFrame(): damage - isEmpty():0, isInvalid():0, rects#:1, bounds:(1230,100,100,100)
LayerTreeHost::didRenderFrame(): damage - isEmpty():0, isInvalid():0, rects#:1, bounds:(1230,100,100,100)
LayerTreeHost::didRenderFrame(): damage - isEmpty():0, isInvalid():0, rects#:1, bounds:(1230,100,100,100)
LayerTreeHost::didRenderFrame(): damage - isEmpty():0, isInvalid():0, rects#:1, bounds:(1230,100,100,100)
LayerTreeHost::didRenderFrame(): damage - isEmpty():0, isInvalid():0, rects#:1, bounds:(1230,100,100,100)
LayerTreeHost::didRenderFrame(): damage - isEmpty():0, isInvalid():0, rects#:1, bounds:(1230,100,100,100)
LayerTreeHost::didRenderFrame(): damage - isEmpty():0, isInvalid():0, rects#:1, bounds:(1230,100,100,100)
LayerTreeHost::didRenderFrame(): damage - isEmpty():0, isInvalid():0, rects#:1, bounds:(1230,100,100,100)
LayerTreeHost::didRenderFrame(): damage - isEmpty():0, isInvalid():0, rects#:1, bounds:(1230,100,100,100)
LayerTreeHost::didRenderFrame(): damage - isEmpty():0, isInvalid():0, rects#:1, bounds:(1230,100,100,100)
LayerTreeHost::didRenderFrame(): damage - isEmpty():0, isInvalid():0, rects#:1, bounds:(1230,100,100,100)
LayerTreeHost::didRenderFrame(): damage - isEmpty():0, isInvalid():0, rects#:1, bounds:(1230,100,100,100)
LayerTreeHost::didRenderFrame(): damage - isEmpty():0, isInvalid():0, rects#:1, bounds:(1230,100,100,100)
LayerTreeHost::didRenderFrame(): damage - isEmpty():0, isInvalid():0, rects#:1, bounds:(1230,100,100,100)
LayerTreeHost::didRenderFrame(): damage - isEmpty():0, isInvalid():0, rects#:1, bounds:(1230,100,100,100)
LayerTreeHost::didRenderFrame(): damage - isEmpty():0, isInvalid():0, rects#:1, bounds:(1230,100,100,100)
LayerTreeHost::didRenderFrame(): damage - isEmpty():0, isInvalid():0, rects#:1, bounds:(1230,100,100,100)
LayerTreeHost::didRenderFrame(): damage - isEmpty():0, isInvalid():0, rects#:1, bounds:(1230,100,100,100)
LayerTreeHost::didRenderFrame(): damage - isEmpty():0, isInvalid():0, rects#:1, bounds:(1230,100,100,100)
LayerTreeHost::didRenderFrame(): damage - isEmpty():0, isInvalid():0, rects#:1, bounds:(1230,100,100,100)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2050075</commentid>
    <comment_count>1</comment_count>
      <attachid>472033</attachid>
    <who name="Pawel Lampe">plampe</who>
    <bug_when>2024-08-01 06:32:40 -0700</bug_when>
    <thetext>Created attachment 472033
animation-blur-fast.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2051390</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-08-08 06:33:29 -0700</bug_when>
    <thetext>&lt;rdar://problem/133457603&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2088548</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-01-20 10:50:54 -0800</bug_when>
    <thetext>Committed 289158@main (ab86837116be): &lt;https://commits.webkit.org/289158@main&gt;

Reviewed commits have been landed. Closing PR #37707 and removing active labels.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>472031</attachid>
            <date>2024-08-01 06:32:05 -0700</date>
            <delta_ts>2024-08-01 06:32:05 -0700</delta_ts>
            <desc>animation-blur-slow.html</desc>
            <filename>animation-blur-slow.html</filename>
            <type>text/html</type>
            <size>565</size>
            <attacher name="Pawel Lampe">plampe</attacher>
            
              <data encoding="base64">PGh0bWw+CiAgPGhlYWQ+CiAgICA8c3R5bGU+CiAgICAgIC5yZWN0IHsKICAgICAgICAgIHdpZHRo
OiAxMDBweDsKICAgICAgICAgIGhlaWdodDogMTAwcHg7CiAgICAgICAgICBtYXJnaW46IDEwMHB4
IGF1dG87CiAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjZjAwOwogICAgICAgICAgYW5pbWF0
aW9uLW5hbWU6IHByb2dyZXNzOwogICAgICAgICAgYW5pbWF0aW9uLWR1cmF0aW9uOiA0czsKICAg
ICAgICAgIGFuaW1hdGlvbi1pdGVyYXRpb24tY291bnQ6IGluZmluaXRlOwogICAgICAgICAgYW5p
bWF0aW9uLXRpbWluZy1mdW5jdGlvbjogc3RlcHMoNCwgZW5kKTsKICAgICAgfQogICAgICBAa2V5
ZnJhbWVzIHByb2dyZXNzIHsKICAgICAgICAgIGZyb20gewogICAgICAgICAgICAgIGZpbHRlcjog
Ymx1cigwcHgpOwogICAgICAgICAgfQogICAgICAgICAgdG8gewogICAgICAgICAgICAgIGZpbHRl
cjogYmx1cig0MHB4KTsKICAgICAgICAgIH0KICAgICAgfQogICAgPC9zdHlsZT4KICA8L2hlYWQ+
CiAgPGJvZHk+CiAgICA8ZGl2IGNsYXNzPSJyZWN0Ii8+CiAgPC9ib2R5Pgo8L2h0bWw+Cg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>472033</attachid>
            <date>2024-08-01 06:32:40 -0700</date>
            <delta_ts>2024-08-01 06:32:40 -0700</delta_ts>
            <desc>animation-blur-fast.html</desc>
            <filename>animation-blur-fast.html</filename>
            <type>text/html</type>
            <size>558</size>
            <attacher name="Pawel Lampe">plampe</attacher>
            
              <data encoding="base64">PGh0bWw+CiAgPGhlYWQ+CiAgICA8c3R5bGU+CiAgICAgIC5yZWN0IHsKICAgICAgICAgIHdpZHRo
OiAxMDBweDsKICAgICAgICAgIGhlaWdodDogMTAwcHg7CiAgICAgICAgICBtYXJnaW46IDEwMHB4
IGF1dG87CiAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjZjAwOwogICAgICAgICAgYW5pbWF0
aW9uLW5hbWU6IHByb2dyZXNzOwogICAgICAgICAgYW5pbWF0aW9uLWR1cmF0aW9uOiA0czsKICAg
ICAgICAgIGFuaW1hdGlvbi1pdGVyYXRpb24tY291bnQ6IGluZmluaXRlOwogICAgICAgICAgYW5p
bWF0aW9uLXRpbWluZy1mdW5jdGlvbjogbGluZWFyOwogICAgICB9CiAgICAgIEBrZXlmcmFtZXMg
cHJvZ3Jlc3MgewogICAgICAgICAgZnJvbSB7CiAgICAgICAgICAgICAgZmlsdGVyOiBibHVyKDBw
eCk7CiAgICAgICAgICB9CiAgICAgICAgICB0byB7CiAgICAgICAgICAgICAgZmlsdGVyOiBibHVy
KDQwcHgpOwogICAgICAgICAgfQogICAgICB9CiAgICA8L3N0eWxlPgogIDwvaGVhZD4KICA8Ym9k
eT4KICAgIDxkaXYgY2xhc3M9InJlY3QiLz4KICA8L2JvZHk+CjwvaHRtbD4K
</data>

          </attachment>
      

    </bug>

</bugzilla>