<?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>102617</bug_id>
          
          <creation_ts>2012-11-18 12:00:33 -0800</creation_ts>
          <short_desc>Add a &apos;has flipped blocks&apos; bit somewhere to optimize stuff</short_desc>
          <delta_ts>2015-05-06 12:37:22 -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>Layout and Rendering</component>
          <version>528+ (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></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon Fraser (smfr)">simon.fraser</reporter>
          <assigned_to name="alan">zalan</assigned_to>
          <cc>dbates</cc>
    
    <cc>hyatt</cc>
    
    <cc>kling</cc>
    
    <cc>koivisto</cc>
    
    <cc>leviw</cc>
    
    <cc>nduca</cc>
    
    <cc>ojan</cc>
    
    <cc>psolanki</cc>
    
    <cc>sabouhallawa</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>770165</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2012-11-18 12:00:33 -0800</bug_when>
    <thetext>canMapBetweenRenderers() has to walk renderers looking for flipped blocks, which is unfortunate because this slows down the layer-&gt;layer mapping optimization there.

A bit on RenderLayer that says &quot;hasFlippedBlocks contents&quot; would help.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>780630</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2012-11-30 20:53:27 -0800</bug_when>
    <thetext>I also note that RenderBox::topLeftLocationOffset() is expensive, about 2% of the total time when scrolling a layer-heavy page. If we could do a quick check for flipped blocks, we could probably avoid the containingBlock() call and make it much faster.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1092288</commentid>
    <comment_count>2</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2015-05-06 12:37:22 -0700</bug_when>
    <thetext>I added this, so this bug can be closed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>