Searched defs:BitmapShaderRec (Results 1 – 1 of 1) sorted by relevance
65 struct BitmapShaderRec : public SkResourceCache::Rec { struct66 BitmapShaderRec(const BitmapShaderKey& key, SkShader* tileShader, size_t bitmapBytes) in BitmapShaderRec() argument71 BitmapShaderKey fKey;72 SkAutoTUnref<SkShader> fShader;73 size_t fBitmapBytes;75 const Key& getKey() const override { return fKey; } in getKey()76 size_t bytesUsed() const override { in bytesUsed()79 const char* getCategory() const override { return "bitmap-shader"; } in getCategory()80 SkDiscardableMemory* diagnostic_only_getDiscardable() const override { return nullptr; } in diagnostic_only_getDiscardable()82 static bool Visitor(const SkResourceCache::Rec& baseRec, void* contextShader) { in Visitor()