<?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>57484</bug_id>
          
          <creation_ts>2011-03-30 11:33:21 -0700</creation_ts>
          <short_desc>[chromium] Clean up compositor layer dirty state</short_desc>
          <delta_ts>2013-04-08 11:16:12 -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>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</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>
          <dependson>57113</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Adrienne Walker">enne</reporter>
          <assigned_to name="Adrienne Walker">enne</assigned_to>
          <cc>enne</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>376514</commentid>
    <comment_count>0</comment_count>
    <who name="Adrienne Walker">enne</who>
    <bug_when>2011-03-30 11:33:21 -0700</bug_when>
    <thetext>Here&apos;s the state of things: there are currently a number of different ways to track dirtiness on LayerChromium (m_dirtyRect and m_contentsDirty).  There&apos;s also setNeedsDisplay(FloatRect), setNeedsDisplay(), invalidateRect(FloatRect), and resetNeedsDisplay().  A bunch of layers also skip these functions and touch m_dirtyRect directly, but don&apos;t touch m_contentsDirty.

On top of that, the tiler that content and image layers will own (a</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>376517</commentid>
    <comment_count>1</comment_count>
    <who name="Adrienne Walker">enne</who>
    <bug_when>2011-03-30 11:35:05 -0700</bug_when>
    <thetext>(Oops.  Clicked on something that sent a half-finished bug-report.)

Here&apos;s the state of things: there are currently a number of different ways to track dirtiness on LayerChromium (m_dirtyRect and m_contentsDirty).  There&apos;s also setNeedsDisplay(FloatRect), setNeedsDisplay(), invalidateRect(FloatRect), and resetNeedsDisplay().  A bunch of layers also skip these functions and touch m_dirtyRect directly, but don&apos;t touch m_contentsDirty.  It also looks like resetNeedsDisplay is never called (but probably should be) and invalidateRect is a no-op virtual that nothing ever overrides.

On top of that, the tiler that content and image layers will own (see bug 57113) track their own separate dirty rect.

This should get cleaned up and sorted out.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>