Changeset 97386 in webkit


Ignore:
Timestamp:
Oct 13, 2011, 12:37:57 PM (14 years ago)
Author:
commit-queue@webkit.org
Message:

Revert border radius clips (r95239) for Chromium due to performance issues. Update test expectations to skip border radius clip layout tests.
https://bugs.webkit.org/show_bug.cgi?id=69844

Patch by Tom Hudson <tomhudson@google.com> on 2011-10-13
Reviewed by Simon Fraser.

  • rendering/RenderLayer.cpp:

(WebCore::RenderLayer::clipToRect): Only process border radius clips #if !PLATFORM(CHROMIUM)

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/platform/chromium/test_expectations.txt

    r97373 r97386  
    34993499BUGWK65862 MAC DEBUG SLOW : storage/indexeddb/index-cursor.html = PASS
    35003500
     3501// Performance issues with border radius clipping on Chromium not yet resolved
     3502BUGCR97716 : fast/clip/overflow-border-radius-composited.html = IMAGE
     3503BUGCR97716 : fast/clip/overflow-border-radius-fixed-position.html = IMAGE
     3504BUGCR97716 : fast/clip/overflow-border-radius-transformed.html = IMAGE
     3505BUGCR97716 : fast/clip/overflow-border-radius-combinations.html = IMAGE
     3506
    35013507// Caused by r92618
    35023508BUGWK65874 : fast/js/preventExtensions.html = TEXT
  • trunk/Source/WebCore/ChangeLog

    r97380 r97386  
     12011-10-13  Tom Hudson  <tomhudson@google.com>
     2
     3        Revert border radius clips (r95239) for Chromium due to performance issues. Update test expectations to skip border radius clip layout tests.
     4        https://bugs.webkit.org/show_bug.cgi?id=69844
     5
     6        Reviewed by Simon Fraser.
     7
     8        * rendering/RenderLayer.cpp:
     9        (WebCore::RenderLayer::clipToRect): Only process border radius clips #if !PLATFORM(CHROMIUM)
     10
    1112011-10-13  Julien Chaffraix  <jchaffraix@webkit.org>
    212
  • trunk/Source/WebCore/rendering/RenderLayer.cpp

    r97227 r97386  
    9999#endif
    100100
     101#if PLATFORM(CHROMIUM)
     102// FIXME: border radius clipping triggers too-slow path on Chromium
     103// https://bugs.webkit.org/show_bug.cgi?id=69866
     104#define DISABLE_ROUNDED_CORNER_CLIPPING
     105#endif
     106
    101107#define MIN_INTERSECT_FOR_REVEAL 32
    102108
     
    25562562}
    25572563
     2564#ifndef DISABLE_ROUNDED_CORNER_CLIPPING
    25582565static bool inContainingBlockChain(RenderLayer* startLayer, RenderLayer* endLayer)
    25592566{
     
    25692576    return false;
    25702577}
     2578#endif
    25712579
    25722580void RenderLayer::clipToRect(RenderLayer* rootLayer, GraphicsContext* context, const LayoutRect& paintDirtyRect, const ClipRect& clipRect,
     
    25812589        return;
    25822590
     2591#ifndef DISABLE_ROUNDED_CORNER_CLIPPING
    25832592    // If the clip rect has been tainted by a border radius, then we have to walk up our layer chain applying the clips from
    25842593    // any layers with overflow. The condition for being able to apply these clips is that the overflow object be in our
     
    25942603            break;
    25952604    }
     2605#endif
    25962606}
    25972607
Note: See TracChangeset for help on using the changeset viewer.