-
Notifications
You must be signed in to change notification settings - Fork 6k
Enable WebP #4359
Enable WebP #4359
Conversation
DEPS
Outdated
| 'fuchsia_git': 'https://fuchsia.googlesource.com', | ||
| 'skia_git': 'https://skia.googlesource.com', | ||
| 'github_git': 'https://github.com', | ||
| 'libwebp_git': 'https://chromium.googlesource.com/webm', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://chromium.googlesource.com is already present in the var above. Please just use that var directly below.
DEPS
Outdated
| Var('skia_git') + '/third_party/libjpeg-turbo.git' + '@' + 'debddedc75850bcdeb8a57258572f48b802a4bb3', | ||
|
|
||
| 'src/third_party/libwebp': | ||
| Var('libwebp_git') + '/libwebp.git' + '@' + '0.6.0', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Var('chromium_git') + '/webm/libwebp.git' + '@' + '0.6.0',
lib/ui/painting/codec.cc
Outdated
| if (skCodec->getFrameCount() > 1) { | ||
| if (skCodec->getFrameCount() > 1 | ||
| // Temporarily disable WebP animations due to: | ||
| // https://github.com/flutter/flutter/issues/13017 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a // TODO(amirh) here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I completely removed this as the Skia fix landed
tools/gn
Outdated
| gn_args['skia_use_dng_sdk'] = False # RAW image handling. | ||
| gn_args['skia_use_sfntly'] = False # PDF handling. | ||
| gn_args['skia_use_libwebp'] = False # Needs third_party/libwebp. | ||
| gn_args['skia_use_libwebp'] = True # WebP codec. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I dont think you need this anymore.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
fixes flutter/flutter#9857