Flutter Engine
image_decoder.cc File Reference
#include "flutter/lib/ui/painting/image_decoder.h"
#include <algorithm>
#include "flutter/fml/make_copyable.h"
#include "third_party/skia/include/codec/SkCodec.h"

Go to the source code of this file.

Namespaces

 flutter
 

Functions

static sk_sp< SkImage > flutter::ResizeRasterImage (sk_sp< SkImage > image, const SkISize &resized_dimensions, const fml::tracing::TraceFlow &flow)
 
static sk_sp< SkImage > flutter::ImageFromDecompressedData (fml::RefPtr< ImageDescriptor > descriptor, uint32_t target_width, uint32_t target_height, const fml::tracing::TraceFlow &flow)
 
sk_sp< SkImage > flutter::ImageFromCompressedData (fml::RefPtr< ImageDescriptor > descriptor, uint32_t target_width, uint32_t target_height, const fml::tracing::TraceFlow &flow)
 
static SkiaGPUObject< SkImage > flutter::UploadRasterImage (sk_sp< SkImage > image, fml::WeakPtr< IOManager > io_manager, const fml::tracing::TraceFlow &flow)