Flutter Engine
The Flutter Engine
Namespaces | Functions
image_encoding.cc File Reference
#include "flutter/lib/ui/painting/image_encoding.h"
#include "flutter/lib/ui/painting/image_encoding_impl.h"
#include <memory>
#include <utility>
#include "flutter/common/task_runners.h"
#include "flutter/fml/build_config.h"
#include "flutter/fml/make_copyable.h"
#include "flutter/fml/status_or.h"
#include "flutter/fml/trace_event.h"
#include "flutter/lib/ui/painting/image.h"
#include "fml/status.h"
#include "flutter/lib/ui/painting/image_encoding_skia.h"
#include "third_party/skia/include/core/SkImage.h"
#include "third_party/skia/include/core/SkSurface.h"
#include "third_party/skia/include/encode/SkPngEncoder.h"
#include "third_party/tonic/dart_persistent_value.h"
#include "third_party/tonic/logging/dart_invoke.h"
#include "third_party/tonic/typed_data/typed_list.h"

Go to the source code of this file.

Namespaces

namespace  impeller
 
namespace  flutter
 

Functions

Dart_Handle flutter::EncodeImage (CanvasImage *canvas_image, int format, Dart_Handle callback_handle)
 
fml::StatusOr< sk_sp< SkData > > flutter::EncodeImage (const sk_sp< SkImage > &raster_image, ImageByteFormat format)