Lines Matching defs:SkImageShader
11 #include "SkImageShader.h"
15 SkImageShader::SkImageShader(const SkImage* img, TileMode tmx, TileMode tmy, const SkMatrix* matrix)
22 SkFlattenable* SkImageShader::CreateProc(SkReadBuffer& buffer) {
31 return new SkImageShader(img, tx, ty, &matrix);
34 void SkImageShader::flatten(SkWriteBuffer& buffer) const {
41 bool SkImageShader::isOpaque() const {
45 size_t SkImageShader::contextSize(const ContextRec&) const {
49 SkShader::Context* SkImageShader::onCreateContext(const ContextRec& rec, void* storage) const {
54 SkShader* SkImageShader::Create(const SkImage* image, TileMode tx, TileMode ty,
59 return new SkImageShader(image, tx, ty, localMatrix);
63 void SkImageShader::toString(SkString* str) const {
86 const GrFragmentProcessor* SkImageShader::asFragmentProcessor(GrContext* context,