Searched defs:bitmapShader (Results 1 - 2 of 2) sorted by relevance
/external/skia/tests/ |
H A D | BitmapHeapTest.cpp | 53 SkShader* bitmapShader = SkShader::CreateBitmapShader(bm, SkShader::kRepeat_TileMode, local 55 SkAutoTUnref<SkShader> aur(bitmapShader); 68 int index = dictionary.find(*bitmapShader); 89 index = dictionary.find(*bitmapShader);
|
/external/skia/src/core/ |
H A D | SkPictureShader.cpp | 233 SkAutoTUnref<SkShader> bitmapShader(this->refBitmapShader(*rec.fMatrix, rec.fLocalMatrix)); 234 if (NULL == bitmapShader.get()) { 237 return PictureShaderContext::Create(storage, *this, rec, bitmapShader); 243 const SkPictureShader& shader, const ContextRec& rec, SkShader* bitmapShader) { 245 (shader, rec, bitmapShader)); 254 const SkPictureShader& shader, const ContextRec& rec, SkShader* bitmapShader) 256 , fBitmapShader(SkRef(bitmapShader)) 258 fBitmapShaderContextStorage = sk_malloc_throw(bitmapShader->contextSize()); 259 fBitmapShaderContext = bitmapShader->createContext(rec, fBitmapShaderContextStorage); 317 SkAutoTUnref<SkShader> bitmapShader(thi 242 Create(void* storage, const SkPictureShader& shader, const ContextRec& rec, SkShader* bitmapShader) argument 253 PictureShaderContext( const SkPictureShader& shader, const ContextRec& rec, SkShader* bitmapShader) argument [all...] |
Completed in 107 milliseconds