Home
last modified time | relevance | path

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

/third_party/skia/src/core/
DSkVMBlitter.cpp61 struct SpriteShader : public SkShaderBase { struct
62 explicit SpriteShader(SkPixmap sprite) : fSprite(sprite) {} in SpriteShader() argument
64 SkPixmap fSprite;
67 Factory getFactory() const override { return nullptr; } in getFactory()
68 const char* getTypeName() const override { return "SpriteShader"; } in getTypeName()
70 bool isOpaque() const override { return fSprite.isOpaque(); } in isOpaque()
72 skvm::Color onProgram(skvm::Builder* p, in onProgram()