mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Revert "Add rects to accumulator rather than bounds (#37435)" (flutter/engine#37444)
This reverts commit 10da0743a513f0ae3ae5afb5a6bd99350b881989.
This commit is contained in:
parent
8fed30cc77
commit
2155c6ce00
@ -672,12 +672,7 @@ void DisplayListBoundsCalculator::drawPicture(const sk_sp<SkPicture> picture,
|
||||
}
|
||||
void DisplayListBoundsCalculator::drawDisplayList(
|
||||
const sk_sp<DisplayList> display_list) {
|
||||
const SkRect bounds = display_list->bounds();
|
||||
std::list<SkRect> rects =
|
||||
display_list->rtree()->searchNonOverlappingDrawnRects(bounds);
|
||||
for (const SkRect& rect : rects) {
|
||||
AccumulateOpBounds(rect, kDrawDisplayListFlags);
|
||||
}
|
||||
AccumulateOpBounds(display_list->bounds(), kDrawDisplayListFlags);
|
||||
}
|
||||
void DisplayListBoundsCalculator::drawTextBlob(const sk_sp<SkTextBlob> blob,
|
||||
SkScalar x,
|
||||
|
||||
@ -52,10 +52,12 @@ echo "Running simulator tests with Impeller"
|
||||
echo ""
|
||||
|
||||
# Skip testFontRenderingWhenSuppliedWithBogusFont: https://github.com/flutter/flutter/issues/113250
|
||||
# Skip testOneOverlayAndTwoIntersectingOverlays: https://github.com/flutter/flutter/issues/113251
|
||||
set -o pipefail && xcodebuild -sdk iphonesimulator \
|
||||
-scheme Scenarios \
|
||||
-destination 'platform=iOS Simulator,OS=13.0,name=iPhone 8' \
|
||||
clean test \
|
||||
FLUTTER_ENGINE="$FLUTTER_ENGINE" \
|
||||
-skip-testing "ScenariosUITests/BogusFontTextTest/testFontRenderingWhenSuppliedWithBogusFont" \
|
||||
-skip-testing "ScenariosUITests/UnobstructedPlatformViewTests/testOneOverlayAndTwoIntersectingOverlays" \
|
||||
INFOPLIST_FILE="Scenarios/Info_Impeller.plist" # Plist with FLTEnableImpeller=YES
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user