Lines Matching full:picture
96 SkPictureShader::SkPictureShader(const SkPicture* picture, TileMode tmx, TileMode tmy, in SkPictureShader() argument
99 , fPicture(SkRef(picture)) in SkPictureShader()
100 , fTile(tile ? *tile : picture->cullRect()) in SkPictureShader()
105 SkShader* SkPictureShader::Create(const SkPicture* picture, TileMode tmx, TileMode tmy, in Create() argument
107 if (!picture || picture->cullRect().isEmpty() || (tile && tile->isEmpty())) { in Create()
110 return new SkPictureShader(picture, tmx, tmy, localMatrix, tile); in Create()
121 SkAutoTUnref<SkPicture> picture; in CreateProc() local
129 // Newer code won't serialize pictures in disallow-cross-process-picture mode. in CreateProc()
133 // Old code always serialized the picture. New code writes a 'true' first if it did. in CreateProc()
136 picture.reset(SkPicture::CreateFromBuffer(buffer)); in CreateProc()
139 return SkPictureShader::Create(picture, mx, my, &lm, &tile); in CreateProc()
148 // The deserialization code won't trust that our serialized picture is safe to deserialize. in flatten()
149 // So write a 'false' telling it that we're not serializing a picture. in flatten()