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
7
#include "
flutter/skwasm/export.h
"
8
#include "
flutter/skwasm/skwasm_support.h
"
9
#include "third_party/skia/include/core/SkData.h"
10
11
SKWASM_EXPORT
void
*
animatedImage_create
(SkData*
data
,
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
19
SKWASM_EXPORT
void
animatedImage_dispose
(
void
*
image
) {
20
emscripten_console_warn(
21
"Animated image not implemented in non-heavy skwasm build."
);
22
}
23
24
SKWASM_EXPORT
int
animatedImage_getFrameCount
(
void
*
image
) {
25
emscripten_console_warn(
26
"Animated image not implemented in non-heavy skwasm build."
);
27
return
0;
28
}
29
30
SKWASM_EXPORT
int
animatedImage_getRepetitionCount
(
void
*
image
) {
31
emscripten_console_warn(
32
"Animated image not implemented in non-heavy skwasm build."
);
33
return
0;
34
}
35
36
SKWASM_EXPORT
int
animatedImage_getCurrentFrameDurationMilliseconds
(
37
void
*
image
) {
38
emscripten_console_warn(
39
"Animated image not implemented in non-heavy skwasm build."
);
40
return
0;
41
}
42
43
SKWASM_EXPORT
void
animatedImage_decodeNextFrame
(
void
*
image
) {
44
emscripten_console_warn(
45
"Animated image not implemented in non-heavy skwasm build."
);
46
}
47
48
SKWASM_EXPORT
void
*
animatedImage_getCurrentFrame
(
void
*
image
) {
49
emscripten_console_warn(
50
"Animated image not implemented in non-heavy skwasm build."
);
51
return
nullptr
;
52
}
animatedImage_decodeNextFrame
SKWASM_EXPORT void animatedImage_decodeNextFrame(void *image)
Definition
animated_image_stub.cc:43
animatedImage_getCurrentFrameDurationMilliseconds
SKWASM_EXPORT int animatedImage_getCurrentFrameDurationMilliseconds(void *image)
Definition
animated_image_stub.cc:36
animatedImage_getCurrentFrame
SKWASM_EXPORT void * animatedImage_getCurrentFrame(void *image)
Definition
animated_image_stub.cc:48
animatedImage_dispose
SKWASM_EXPORT void animatedImage_dispose(void *image)
Definition
animated_image_stub.cc:19
animatedImage_getFrameCount
SKWASM_EXPORT int animatedImage_getFrameCount(void *image)
Definition
animated_image_stub.cc:24
animatedImage_create
SKWASM_EXPORT void * animatedImage_create(SkData *data, int target_width, int target_height)
Definition
animated_image_stub.cc:11
animatedImage_getRepetitionCount
SKWASM_EXPORT int animatedImage_getRepetitionCount(void *image)
Definition
animated_image_stub.cc:30
image
FlutterVulkanImage * image
Definition
embedder_test_backingstore_producer_vulkan.cc:19
export.h
SKWASM_EXPORT
#define SKWASM_EXPORT
Definition
export.h:10
skwasm_support.h
data
std::shared_ptr< const fml::Mapping > data
Definition
texture_gles.cc:69
skwasm
animated_image_stub.cc
Generated on Sun Dec 14 2025 04:48:38 for Flutter Engine Uber Docs by
1.9.8