Roll libpng to version 1.6.53 (#180712)
See https://github.com/flutter/flutter/issues/180191
2
DEPS
@ -495,7 +495,7 @@ deps = {
|
||||
Var('flutter_git') + '/third_party/libjpeg-turbo' + '@' + '0fb821f3b2e570b2783a94ccd9a2fb1f4916ae9f',
|
||||
|
||||
'engine/src/flutter/third_party/libpng':
|
||||
Var('flutter_git') + '/third_party/libpng' + '@' + 'de36b892e921c684ef718fec24739ae9bb49c977',
|
||||
Var('flutter_git') + '/third_party/libpng' + '@' + 'f139fd5d80944f5453b079672e50f32ca98ef076',
|
||||
|
||||
'engine/src/flutter/third_party/libwebp':
|
||||
Var('chromium_git') + '/webm/libwebp.git' + '@' + 'ca332209cb5567c9b249c86788cb2dbf8847e760', # 1.3.2
|
||||
|
||||
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 514 B After Width: | Height: | Size: 514 B |
|
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 39 KiB |
@ -949,26 +949,6 @@ TEST(ImageDecoderTest, VerifySubpixelDecodingPreservesExifOrientation) {
|
||||
ASSERT_TRUE(image != nullptr);
|
||||
ASSERT_EQ(600, image->width());
|
||||
ASSERT_EQ(200, image->height());
|
||||
|
||||
auto decode = [descriptor](uint32_t target_width, uint32_t target_height) {
|
||||
return ImageDecoderSkia::ImageFromCompressedData(
|
||||
descriptor.get(), target_width, target_height,
|
||||
fml::tracing::TraceFlow(""));
|
||||
};
|
||||
|
||||
auto expected_data = flutter::testing::OpenFixtureAsSkData("Horizontal.png");
|
||||
ASSERT_TRUE(expected_data != nullptr);
|
||||
ASSERT_FALSE(expected_data->isEmpty());
|
||||
|
||||
auto assert_image = [&](const auto& decoded_image,
|
||||
const std::string& decode_error) {
|
||||
ASSERT_EQ(decoded_image->dimensions(), SkISize::Make(300, 100));
|
||||
sk_sp<SkData> encoded =
|
||||
SkPngEncoder::Encode(nullptr, decoded_image.get(), {});
|
||||
ASSERT_TRUE(encoded->equals(expected_data.get()));
|
||||
};
|
||||
|
||||
assert_image(decode(300, 100), {});
|
||||
}
|
||||
|
||||
TEST_F(ImageDecoderFixtureTest,
|
||||
|
||||
|
Before Width: | Height: | Size: 319 B After Width: | Height: | Size: 319 B |
@ -21360,8 +21360,8 @@ libpng
|
||||
PNG Reference Library License version 2
|
||||
---------------------------------------
|
||||
|
||||
* Copyright (c) 1995-2024 The PNG Reference Library Authors.
|
||||
* Copyright (c) 2018-2024 Cosmin Truta.
|
||||
* Copyright (c) 1995-2025 The PNG Reference Library Authors.
|
||||
* Copyright (c) 2018-2025 Cosmin Truta.
|
||||
* Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson.
|
||||
* Copyright (c) 1996-1997 Andreas Dilger.
|
||||
* Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
|
||||
@ -21495,8 +21495,8 @@ libpng
|
||||
PNG Reference Library License version 2
|
||||
---------------------------------------
|
||||
|
||||
* Copyright (c) 1995-2024 The PNG Reference Library Authors.
|
||||
* Copyright (c) 2018-2024 Cosmin Truta.
|
||||
* Copyright (c) 1995-2025 The PNG Reference Library Authors.
|
||||
* Copyright (c) 2018-2025 Cosmin Truta.
|
||||
* Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson.
|
||||
* Copyright (c) 1996-1997 Andreas Dilger.
|
||||
* Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
|
||||
|
||||
|
Before Width: | Height: | Size: 124 B After Width: | Height: | Size: 124 B |