72 .make(
reinterpret_cast<const char*
>(
fData->
data()),
91 .make(
reinterpret_cast<const char*
>(
fData->
data()),
95 anim->render(recorder.
beginRecording(anim->size().width(), anim->size().height()));
106 "skottie/skottie-text-scale-to-fit-minmax.json"));
108 "skottie/skottie-sphere-effect.json"));
110 "skottie/skottie_sample_multiframe.json"));
113 "skottie/skottie-phonehub-connecting.json"));
115 "skottie/skottie-phonehub-generic-error.json"));
117 "skottie/skottie-phonehub-onboard.json"));
121 "skottie/skottie-phonehub-svgo-connecting.json"));
123 "skottie/skottie-phonehub-svgo-generic-error.json"));
125 "skottie/skottie-phonehub-svgo-onboard.json"));
132 "skottie/skottie-phonehub-svgo-no-masks-connecting.json"));
134 "skottie/skottie-phonehub-svgo-no-masks-onboard.json"));
141 "skottie/skottie-phonehub-svgo-no-frills-connecting.json"));
143 "skottie_phonehub_svgo_no_frills_generic_error.json",
144 "skottie/skottie-phonehub-svgo-no-frills-generic-error.json"));
146 "skottie/skottie-phonehub-svgo-no-frills-onboard.json"));
149 "skottie/skottie-phonehub-connecting_min.json"));
151 "skottie/skottie-phonehub-generic-error_min.json"));
153 "skottie/skottie-phonehub-onboard_min.json"));
155 "skottie/skottie-phonehub-svgo-connecting_min.json"));
157 "skottie/skottie-phonehub-svgo-generic-error_min.json"));
159 "skottie/skottie-phonehub-svgo-onboard_min.json"));
161 "skottie_phonehub_svgo_no_masks_connecting_min.json",
162 "skottie/skottie-phonehub-svgo-no-masks-connecting_min.json"));
164 "skottie/skottie-phonehub-svgo-no-masks-onboard_min.json"));
166 "skottie_phonehub_svgo_no_frills_connecting_min.json",
167 "skottie/skottie-phonehub-svgo-no-frills-connecting_min.json"));
169 "skottie_phonehub_svgo_no_frills_generic_error_min.json",
170 "skottie/skottie-phonehub-svgo-no-frills-generic-error_min.json"));
173 "skottie/skottie-phonehub-svgo-no-frills-onboard_min.json"));
176 "skottie/skottie-text-scale-to-fit-minmax.json"));
178 "skottie/skottie-sphere-effect.json"));
180 "skottie/skottie_sample_multiframe.json"));
182 "skottie/skottie-phonehub-connecting.json"));
184 "skottie/skottie-phonehub-generic-error.json"));
186 "skottie/skottie-phonehub-onboard.json"));
188 "skottie/skottie-phonehub-svgo-connecting.json"));
190 "skottie/skottie-phonehub-svgo-generic-error.json"));
192 "skottie/skottie-phonehub-svgo-onboard.json"));
194 "skottiepic_phonehub_svgo_no_masks_connecting.json",
195 "skottie/skottie-phonehub-svgo-no-masks-connecting.json"));
197 "skottiepic_phonehub_svgo_no_masks_onboard.json",
198 "skottie/skottie-phonehub-svgo-no-masks-onboard.json"));
200 "skottiepic_phonehub_svgo_no_frills_connecting.json",
201 "skottie/skottie-phonehub-svgo-no-frills-connecting.json"));
203 "skottiepic_phonehub_svgo_no_frills_generic_error.json",
204 "skottie/skottie-phonehub-svgo-no-frills-generic-error.json"));
206 "skottiepic_phonehub_svgo_no_frills_onboard.json",
207 "skottie/skottie-phonehub-svgo-no-frills-onboard.json"));
209 "skottie/skottie-phonehub-connecting_min.json"));
211 "skottie/skottie-phonehub-generic-error_min.json"));
213 "skottie/skottie-phonehub-onboard_min.json"));
216 "skottie/skottie-phonehub-svgo-connecting_min.json"));
218 "skottiepic_phonehub_svgo_generic_error_min.json",
219 "skottie/skottie-phonehub-svgo-generic-error_min.json"));
221 "skottie/skottie-phonehub-svgo-onboard_min.json"));
223 "skottiepic_phonehub_svgo_no_masks_connecting_min.json",
224 "skottie/skottie-phonehub-svgo-no-masks-connecting_min.json"));
226 "skottiepic_phonehub_svgo_no_masks_onboard_min.json",
227 "skottie/skottie-phonehub-svgo-no-masks-onboard_min.json"));
229 "skottiepic_phonehub_svgo_no_frills_connecting_min.json",
230 "skottie/skottie-phonehub-svgo-no-frills-connecting_min.json"));
232 "skottiepic_phonehub_svgo_no_frills_generic_error_min.json",
233 "skottie/skottie-phonehub-svgo-no-frills-generic-error_min.json"));
235 "skottiepic_phonehub_svgo_no_frills_onboard_min.json",
236 "skottie/skottie-phonehub-svgo-no-frills-onboard_min.json"));
DEF_BENCH(return new SkottieDecodeBench("skottie_large", "skottie/skottie-text-scale-to-fit-minmax.json"))
SkAssertResult(font.textToGlyphs("Hello", 5, SkTextEncoding::kUTF8, glyphs, std::size(glyphs))==count)
sk_sp< SkData > GetResourceAsData(const char *resource)
SK_API SkString SkStringPrintf(const char *format,...) SK_PRINTF_LIKE(1
Creates a new string and writes into it using a printf()-style format.
BitmapDecodeBench(const char *name, const char *source)
void onDraw(int loops, SkCanvas *) override
const char * onGetName() final
DecodeBench(const char *name, const char *source)
void onDelayedSetup() override
bool isSuitableFor(Backend backend) final
const void * data() const
SkCanvas * beginRecording(const SkRect &bounds, sk_sp< SkBBoxHierarchy > bbh)
sk_sp< SkPicture > finishRecordingAsPicture()
const char * c_str() const
SkottieDecodeBench(const char *name, const char *source)
void onDraw(int loops, SkCanvas *) override
SkottiePictureDecodeBench(const char *name, const char *source)
void onDraw(int loops, SkCanvas *) override
DlVertices::Builder Builder
DEF_SWITCHES_START aot vmservice shared library name