• hyatt's avatar
    Add support for specifying whether repaint should be immediate or · 7d5a4793
    hyatt authored
    	not.  Default to async for now to maintain current behavior.
    
    	For clipped object repainting (e.g., livepage.apple.com and mrskin)
    	switch to immediate repainting, since this makes the marquees
    	faster, stops dropping updates, and keeps the hover effects and
    	painting on the rest of the page fast (since the marquee rect doesn't
    	get unioned with links or images that you roll over).
    
            * khtml/rendering/render_box.cpp:
            (RenderBox::repaint):
            (RenderBox::repaintRectangle):
            * khtml/rendering/render_box.h:
            * khtml/rendering/render_html.cpp:
            (RenderHtml::repaint):
            * khtml/rendering/render_html.h:
            * khtml/rendering/render_object.cpp:
            (RenderObject::setLayouted):
            (RenderObject::repaintRectangle):
            * khtml/rendering/render_object.h:
            * khtml/rendering/render_root.cpp:
            (RenderRoot::repaintRectangle):
            (RenderRoot::repaint):
            * khtml/rendering/render_root.h:
            * khtml/rendering/render_table.cpp:
            (RenderTableRow::repaint):
            (RenderTableCell::repaintRectangle):
            (RenderTableCell::repaint):
            * khtml/rendering/render_table.h:
            * khtml/rendering/render_text.cpp:
            (RenderText::repaint):
            * khtml/rendering/render_text.h:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2719 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    7d5a4793
render_text.cpp 36.3 KB