Searched defs:BitmapShaderRec (Results 1 – 1 of 1) sorted by relevance
81 struct BitmapShaderRec : public SkResourceCache::Rec { struct82 BitmapShaderRec(const BitmapShaderKey& key, SkShader* tileShader) in BitmapShaderRec() function86 BitmapShaderKey fKey;87 sk_sp<SkShader> fShader;89 const Key& getKey() const override { return fKey; } in getKey()90 size_t bytesUsed() const override { in bytesUsed()94 const char* getCategory() const override { return "bitmap-shader"; } in getCategory()95 SkDiscardableMemory* diagnostic_only_getDiscardable() const override { return nullptr; } in diagnostic_only_getDiscardable()97 static bool Visitor(const SkResourceCache::Rec& baseRec, void* contextShader) { in Visitor()