<?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>275806</bug_id>
          
          <creation_ts>2024-06-24 02:45:45 -0700</creation_ts>
          <short_desc>[TexMap] Produce damage for layers repainted after animation</short_desc>
          <delta_ts>2025-05-23 03:29:20 -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>Compositing</component>
          <version>WebKit Local 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=277484</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>
          <dependson>265777</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Adrian Perez">aperez</reporter>
          <assigned_to name="Pawel Lampe">plampe</assigned_to>
          <cc>plampe</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2042734</commentid>
    <comment_count>0</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2024-06-24 02:45:45 -0700</bug_when>
    <thetext>Transformed animated layers are painted with lower resolution while an
animation is ongoing, and re-painted after the animation has ended to
make sure they look their best at their resting position.

When using damage tracking with an output that uses device scaling != 1x
(e.g. with 2x scaling on a HiDPI screen) it is quite obvious that the
repaint at the resting position after the animation is *not* producing
damage rectangles because when damage is enabled the previous painted
contents (with less resolution) are left in place because the location
and properties of the layers have not changed. Likely we are missing
some check like “if there was a paint with different resolution then
damage the area” or similar.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2043914</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-07-01 02:46:13 -0700</bug_when>
    <thetext>&lt;rdar://problem/130882523&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2119240</commentid>
    <comment_count>2</comment_count>
    <who name="Pawel Lampe">plampe</who>
    <bug_when>2025-05-23 03:29:20 -0700</bug_when>
    <thetext>Looks like this is not reproducible anymore after the improvements that were done to the damaging throughout previous months.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>