Flutter Engine Uber Docs
Docs for the entire Flutter Engine repo.
 
Loading...
Searching...
No Matches
animated_image_stub.cc
Go to the documentation of this file.
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 <emscripten/console.h>
6
9#include "third_party/skia/include/core/SkData.h"
10
12 int target_width,
13 int target_height) {
14 emscripten_console_warn(
15 "Animated image not implemented in non-heavy skwasm build.");
16 return nullptr;
17}
18
20 emscripten_console_warn(
21 "Animated image not implemented in non-heavy skwasm build.");
22}
23
25 emscripten_console_warn(
26 "Animated image not implemented in non-heavy skwasm build.");
27 return 0;
28}
29
31 emscripten_console_warn(
32 "Animated image not implemented in non-heavy skwasm build.");
33 return 0;
34}
35
37 void* image) {
38 emscripten_console_warn(
39 "Animated image not implemented in non-heavy skwasm build.");
40 return 0;
41}
42
44 emscripten_console_warn(
45 "Animated image not implemented in non-heavy skwasm build.");
46}
47
49 emscripten_console_warn(
50 "Animated image not implemented in non-heavy skwasm build.");
51 return nullptr;
52}
SKWASM_EXPORT void animatedImage_decodeNextFrame(void *image)
SKWASM_EXPORT int animatedImage_getCurrentFrameDurationMilliseconds(void *image)
SKWASM_EXPORT void * animatedImage_getCurrentFrame(void *image)
SKWASM_EXPORT void animatedImage_dispose(void *image)
SKWASM_EXPORT int animatedImage_getFrameCount(void *image)
SKWASM_EXPORT void * animatedImage_create(SkData *data, int target_width, int target_height)
SKWASM_EXPORT int animatedImage_getRepetitionCount(void *image)
FlutterVulkanImage * image
#define SKWASM_EXPORT
Definition export.h:10
std::shared_ptr< const fml::Mapping > data