Home
last modified time | relevance | path

Searched defs:BitmapShaderRec (Results 1 – 1 of 1) sorted by relevance

/external/skia/src/shaders/
DSkPictureShader.cpp87 struct BitmapShaderRec : public SkResourceCache::Rec { struct
88 BitmapShaderRec(const BitmapShaderKey& key, SkShader* tileShader) in BitmapShaderRec() function
92 BitmapShaderKey fKey;
93 sk_sp<SkShader> fShader;
94 size_t fBitmapBytes;
96 const Key& getKey() const override { return fKey; } in getKey()
97 size_t bytesUsed() const override { in bytesUsed()
101 const char* getCategory() const override { return "bitmap-shader"; } in getCategory()
102 SkDiscardableMemory* diagnostic_only_getDiscardable() const override { return nullptr; } in diagnostic_only_getDiscardable()
104 static bool Visitor(const SkResourceCache::Rec& baseRec, void* contextShader) { in Visitor()