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