8#ifndef SkWebpCodec_DEFINED
9#define SkWebpCodec_DEFINED
39 static bool IsWebp(
const void*,
size_t);
68 , fReportedAlpha(alpha)
73 return fReportedAlpha;
84 ~FrameHolder()
override {}
85 void setScreenSize(
int w,
int h) {
89 Frame* appendNewFrame(
bool hasAlpha);
90 const Frame*
frame(
int i)
const;
92 return static_cast<int>(fFrames.size());
94 void reserve(
int size) {
95 fFrames.reserve(
size);
99 const SkFrame* onGetFrame(
int i)
const override;
102 std::vector<Frame> fFrames;
105 FrameHolder fFrameHolder;
#define INHERITED(method,...)
void WebPDemuxDelete(WebPDemuxer *dmux)
SkScalingCodec(SkEncodedInfo &&info, XformFormat srcFormat, std::unique_ptr< SkStream > stream, SkEncodedOrigin origin=kTopLeft_SkEncodedOrigin)
bool onGetFrameInfo(int, FrameInfo *) const override
SkEncodedImageFormat onGetEncodedFormat() const override
int onGetFrameCount() override
static bool IsWebp(const void *, size_t)
static std::unique_ptr< SkCodec > MakeFromStream(std::unique_ptr< SkStream >, Result *)
bool onGetValidSubset(SkIRect *) const override
int onGetRepetitionCount() override
const SkFrameHolder * getFrameHolder() const override
Result onGetPixels(const SkImageInfo &, void *, size_t, const Options &, int *) override
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size