Searched defs:ImageFromPictureRec (Results 1 – 1 of 1) sorted by relevance
82 struct ImageFromPictureRec : public SkResourceCache::Rec { struct83 ImageFromPictureRec(const ImageFromPictureKey& key, sk_sp<SkImage> image) in ImageFromPictureRec() function87 ImageFromPictureKey fKey;88 sk_sp<SkImage> fImage;90 const Key& getKey() const override { return fKey; } in getKey()91 size_t bytesUsed() const override { in bytesUsed()95 const char* getCategory() const override { return "bitmap-shader"; } in getCategory()96 SkDiscardableMemory* diagnostic_only_getDiscardable() const override { return nullptr; } in diagnostic_only_getDiscardable()98 static bool Visitor(const SkResourceCache::Rec& baseRec, void* contextShader) { in Visitor()