From eb9bac63b9b4bb5740f9f6c7ea8ef4265f920671 Mon Sep 17 00:00:00 2001 From: Chinmay Garde Date: Tue, 16 Aug 2022 19:44:36 -0700 Subject: [PATCH] [Impeller] Update code comments about DL methods that Flutter doesn't expose. (flutter/engine#35447) --- .../impeller/display_list/display_list_dispatcher.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/engine/src/flutter/impeller/display_list/display_list_dispatcher.cc b/engine/src/flutter/impeller/display_list/display_list_dispatcher.cc index cce7ee1f4a..e01b4d5c98 100644 --- a/engine/src/flutter/impeller/display_list/display_list_dispatcher.cc +++ b/engine/src/flutter/impeller/display_list/display_list_dispatcher.cc @@ -737,8 +737,8 @@ static Path ToPath(const SkPath& path) { break; case SkPathFillType::kInverseWinding: case SkPathFillType::kInverseEvenOdd: - // TODO(104848): Support the inverse winding modes. - UNIMPLEMENTED; + // Flutter doesn't expose these path fill types. These are only visible + // via the dispatcher interface. We should never get here. fill_type = FillType::kNonZero; break; } @@ -1003,11 +1003,9 @@ void DisplayListDispatcher::drawImageLattice( const SkRect& dst, flutter::DlFilterMode filter, bool render_with_attributes) { - // Needs https://github.com/flutter/flutter/issues/95434 // Don't implement this one since it is not exposed by flutter, // Skia internally converts calls to drawImageNine into this method, // which is then converted back to drawImageNine by display list. - UNIMPLEMENTED; } // |flutter::Dispatcher|