Flutter Engine Uber Docs
Docs for the entire Flutter Engine repo.
 
Loading...
Searching...
No Matches
animated_image_stub.cc File Reference
#include <emscripten/console.h>
#include "flutter/skwasm/export.h"
#include "flutter/skwasm/skwasm_support.h"
#include "third_party/skia/include/core/SkData.h"

Go to the source code of this file.

Functions

SKWASM_EXPORT void * animatedImage_create (SkData *data, int target_width, int target_height)
 
SKWASM_EXPORT void animatedImage_dispose (void *image)
 
SKWASM_EXPORT int animatedImage_getFrameCount (void *image)
 
SKWASM_EXPORT int animatedImage_getRepetitionCount (void *image)
 
SKWASM_EXPORT int animatedImage_getCurrentFrameDurationMilliseconds (void *image)
 
SKWASM_EXPORT void animatedImage_decodeNextFrame (void *image)
 
SKWASM_EXPORT void * animatedImage_getCurrentFrame (void *image)
 

Function Documentation

◆ animatedImage_create()

SKWASM_EXPORT void * animatedImage_create ( SkData *  data,
int  target_width,
int  target_height 
)

Definition at line 11 of file animated_image_stub.cc.

13 {
14 emscripten_console_warn(
15 "Animated image not implemented in non-heavy skwasm build.");
16 return nullptr;
17}

◆ animatedImage_decodeNextFrame()

SKWASM_EXPORT void animatedImage_decodeNextFrame ( void *  image)

Definition at line 43 of file animated_image_stub.cc.

43 {
44 emscripten_console_warn(
45 "Animated image not implemented in non-heavy skwasm build.");
46}

◆ animatedImage_dispose()

SKWASM_EXPORT void animatedImage_dispose ( void *  image)

Definition at line 19 of file animated_image_stub.cc.

19 {
20 emscripten_console_warn(
21 "Animated image not implemented in non-heavy skwasm build.");
22}

◆ animatedImage_getCurrentFrame()

SKWASM_EXPORT void * animatedImage_getCurrentFrame ( void *  image)

Definition at line 48 of file animated_image_stub.cc.

48 {
49 emscripten_console_warn(
50 "Animated image not implemented in non-heavy skwasm build.");
51 return nullptr;
52}

◆ animatedImage_getCurrentFrameDurationMilliseconds()

SKWASM_EXPORT int animatedImage_getCurrentFrameDurationMilliseconds ( void *  image)

Definition at line 36 of file animated_image_stub.cc.

37 {
38 emscripten_console_warn(
39 "Animated image not implemented in non-heavy skwasm build.");
40 return 0;
41}

◆ animatedImage_getFrameCount()

SKWASM_EXPORT int animatedImage_getFrameCount ( void *  image)

Definition at line 24 of file animated_image_stub.cc.

24 {
25 emscripten_console_warn(
26 "Animated image not implemented in non-heavy skwasm build.");
27 return 0;
28}

◆ animatedImage_getRepetitionCount()

SKWASM_EXPORT int animatedImage_getRepetitionCount ( void *  image)

Definition at line 30 of file animated_image_stub.cc.

30 {
31 emscripten_console_warn(
32 "Animated image not implemented in non-heavy skwasm build.");
33 return 0;
34}