Home
last modified time | relevance | path

Searched refs:bitmapShader (Results 1 – 5 of 5) sorted by relevance

/external/skia/src/core/
DSkPictureShader.cpp233 SkAutoTUnref<SkShader> bitmapShader(this->refBitmapShader(*rec.fMatrix, rec.fLocalMatrix)); in onCreateContext() local
234 if (NULL == bitmapShader.get()) { in onCreateContext()
237 return PictureShaderContext::Create(storage, *this, rec, bitmapShader); in onCreateContext()
243 const SkPictureShader& shader, const ContextRec& rec, SkShader* bitmapShader) { in Create() argument
245 (shader, rec, bitmapShader)); in Create()
254 const SkPictureShader& shader, const ContextRec& rec, SkShader* bitmapShader) in PictureShaderContext() argument
256 , fBitmapShader(SkRef(bitmapShader)) in PictureShaderContext()
258 fBitmapShaderContextStorage = sk_malloc_throw(bitmapShader->contextSize()); in PictureShaderContext()
259 fBitmapShaderContext = bitmapShader->createContext(rec, fBitmapShaderContextStorage); in PictureShaderContext()
317 SkAutoTUnref<SkShader> bitmapShader(this->refBitmapShader(viewM, localMatrix, maxTextureSize)); in asFragmentProcessor() local
[all …]
DSkPictureShader.h53 SkShader* bitmapShader);
64 PictureShaderContext(const SkPictureShader&, const ContextRec&, SkShader* bitmapShader);
/external/skia/tests/
DBitmapHeapTest.cpp53 SkShader* bitmapShader = SkShader::CreateBitmapShader(bm, SkShader::kRepeat_TileMode, in DEF_TEST() local
55 SkAutoTUnref<SkShader> aur(bitmapShader); in DEF_TEST()
68 int index = dictionary.find(*bitmapShader); in DEF_TEST()
89 index = dictionary.find(*bitmapShader); in DEF_TEST()
/external/skia/gm/
Dpictureshader.cpp164 SkAutoTUnref<SkShader> bitmapShader(SkShader::CreateBitmapShader( in drawScene() local
169 paint.setShader(bitmapShader.get()); in drawScene()
/external/skia/src/animator/
DSkAnimateSchema.xsd1115 <!-- /** bitmapShader
1118 <xs:element name="bitmapShader">
1927 <!-- @element bitmapShader Sets or cancels an image to draw as the color. -->
1928 <xs:element ref="Sk:bitmapShader"/>