mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Cleanup Skia includes in image_generator/descriptor (flutter/engine#38775)
* Cleanup skia includes in image_generator/descriptor * format
This commit is contained in:
parent
9d751fe63a
commit
60b92fe438
@ -13,10 +13,11 @@
|
||||
#include "flutter/lib/ui/dart_wrapper.h"
|
||||
#include "flutter/lib/ui/painting/image_generator_registry.h"
|
||||
#include "flutter/lib/ui/painting/immutable_buffer.h"
|
||||
#include "third_party/skia/include/codec/SkCodec.h"
|
||||
#include "third_party/skia/include/core/SkImageGenerator.h"
|
||||
#include "third_party/skia/include/core/SkData.h"
|
||||
#include "third_party/skia/include/core/SkImage.h"
|
||||
#include "third_party/skia/include/core/SkImageInfo.h"
|
||||
#include "third_party/skia/src/codec/SkCodecImageGenerator.h"
|
||||
#include "third_party/skia/include/core/SkPixmap.h"
|
||||
#include "third_party/skia/include/core/SkSize.h"
|
||||
#include "third_party/tonic/dart_library_natives.h"
|
||||
|
||||
namespace flutter {
|
||||
@ -38,7 +39,7 @@ class ImageDescriptor : public RefCountedDartWrappable<ImageDescriptor> {
|
||||
kBGRA8888,
|
||||
};
|
||||
|
||||
/// @brief Asynchronously initlializes an ImageDescriptor for an encoded
|
||||
/// @brief Asynchronously initializes an ImageDescriptor for an encoded
|
||||
/// image, as long as the format is recognized by an encoder installed
|
||||
/// in the `ImageGeneratorRegistry`. Calling this method will create
|
||||
/// an `ImageGenerator` and read EXIF corrected dimensions from the
|
||||
|
||||
@ -7,6 +7,7 @@
|
||||
#include <utility>
|
||||
|
||||
#include "flutter/fml/logging.h"
|
||||
#include "third_party/skia/include/core/SkBitmap.h"
|
||||
|
||||
namespace flutter {
|
||||
|
||||
|
||||
@ -7,9 +7,13 @@
|
||||
|
||||
#include <optional>
|
||||
#include "flutter/fml/macros.h"
|
||||
#include "third_party/skia/include/codec/SkCodec.h"
|
||||
#include "third_party/skia/include/codec/SkCodecAnimation.h"
|
||||
#include "third_party/skia/include/core/SkData.h"
|
||||
#include "third_party/skia/include/core/SkImage.h"
|
||||
#include "third_party/skia/include/core/SkImageInfo.h"
|
||||
#include "third_party/skia/src/codec/SkCodecImageGenerator.h"
|
||||
#include "third_party/skia/include/core/SkSize.h"
|
||||
#include "third_party/skia/src/codec/SkCodecImageGenerator.h" // nogncheck
|
||||
|
||||
namespace flutter {
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user