Definition at line 795 of file MotionMarkSlide.cpp.
◆ BouncingTaggedImagesStage()
BouncingTaggedImagesStage::BouncingTaggedImagesStage |
( |
SkSize |
size | ) |
|
|
inline |
Definition at line 797 of file MotionMarkSlide.cpp.
798
800 }
BouncingParticlesStage(SkSize size)
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
◆ ~BouncingTaggedImagesStage()
BouncingTaggedImagesStage::~BouncingTaggedImagesStage |
( |
| ) |
|
|
overridedefault |
◆ createObject()
std::unique_ptr< MMObject > BouncingTaggedImagesStage::createObject |
( |
| ) |
|
|
inlineoverridevirtual |
◆ draw()
void BouncingTaggedImagesStage::draw |
( |
SkCanvas * |
canvas | ) |
|
|
inlineoverridevirtual |
Reimplemented from Stage.
Definition at line 835 of file MotionMarkSlide.cpp.
835 {
836 if (fNeedToInitImages) {
838 fNeedToInitImages = false;
839 }
840
842
848
852
854 }
855 }
constexpr SkColor SK_ColorWHITE
const SkMatrix & transform()
void initImages(SkCanvas *canvas)
void clear(SkColor color)
void drawImageRect(const SkImage *, const SkRect &src, const SkRect &dst, const SkSamplingOptions &, const SkPaint *, SrcRectConstraint)
void concat(const SkMatrix &matrix)
std::vector< std::unique_ptr< MMObject > > fObjects
SkSamplingOptions sampling
◆ initImages()
void BouncingTaggedImagesStage::initImages |
( |
SkCanvas * |
canvas | ) |
|
|
inline |
Definition at line 804 of file MotionMarkSlide.cpp.
804 {
805 const char* kImageSrcs[kImageCount] = {
806 "images/ducky.jpg",
807 "images/dog.jpg",
808 "images/color_wheel.jpg",
809 "images/mandrill_512_q075.jpg",
810 "images/gainmap_iso21496_1.jpg",
811 };
812
814#if defined(SK_GRAPHITE)
817#endif
818 for (
int i = 0;
i < kImageCount; ++
i) {
822#if defined(SK_GRAPHITE)
823 if (recorder) {
824 fImages[
i] = lazyYUV->refImage(recorder,
826 } else
827#endif
828 {
829 fImages[
i] = lazyYUV->refImage(rContext,
831 }
832 }
833 }
sk_sp< SkData > GetResourceAsData(const char *resource)
virtual GrRecordingContext * recordingContext() const
virtual skgpu::graphite::Recorder * recorder() const
static std::unique_ptr< LazyYUVImage > Make(sk_sp< SkData > data, skgpu::Mipmapped=skgpu::Mipmapped::kNo, sk_sp< SkColorSpace >=nullptr)
◆ reset()
void BouncingTaggedImagesStage::reset |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: