1 // Copyright 2013 The Flutter Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "flutter/lib/ui/painting/image_encoding.h" 6 7 #include <memory> 8 #include <utility> 9 10 #include "flutter/common/task_runners.h" 11 #include "flutter/fml/build_config.h" 12 #include "flutter/fml/make_copyable.h" 13 #include "flutter/fml/trace_event.h" 14 #include "flutter/lib/ui/painting/image.h" 15 #include "flutter/lib/ui/ui_dart_state.h" 16 #include "third_party/skia/include/core/SkCanvas.h" 17 #include "third_party/skia/include/core/SkEncodedImageFormat.h" 18 #include "third_party/skia/include/core/SkImage.h" 19 #include "third_party/skia/include/core/SkSurface.h" 20 21 namespace flutter { 22 EncodeImage(CanvasImage * canvas_image,int format,Dart_Handle callback_handle)23Dart_Handle EncodeImage(CanvasImage* canvas_image, 24 int format, 25 Dart_Handle callback_handle) { 26 return nullptr; 27 } 28 29 } // namespace flutter 30