Searched defs:ImageFromPictureRec (Results 1 – 1 of 1) sorted by relevance
86 struct ImageFromPictureRec : public SkResourceCache::Rec { struct87 ImageFromPictureRec(const ImageFromPictureKey& key, sk_sp<SkImage> image) in ImageFromPictureRec() argument91 ImageFromPictureKey fKey;92 sk_sp<SkImage> fImage;94 const Key& getKey() const override { return fKey; } in getKey()95 size_t bytesUsed() const override { in bytesUsed()99 const char* getCategory() const override { return "bitmap-shader"; } in getCategory()100 SkDiscardableMemory* diagnostic_only_getDiscardable() const override { return nullptr; } in diagnostic_only_getDiscardable()102 static bool Visitor(const SkResourceCache::Rec& baseRec, void* contextShader) { in Visitor()