Home
last modified time | relevance | path

Searched refs:MakeBitmapShader (Results 1 – 25 of 124) sorted by relevance

12345

/external/skqp/gm/
Dgamma.cpp107 p.setShader(SkShader::MakeBitmapShader(ditherBmp, rpt, rpt));
116 p.setShader(SkShader::MakeBitmapShader(ditherBmp, rpt, rpt, &offsetMatrix));
122 p.setShader(SkShader::MakeBitmapShader(ditherBmp, rpt, rpt, &scaleMatrix));
128 p.setShader(SkShader::MakeBitmapShader(mipmapBmp, rpt, rpt, &scaleMatrix));
195 p.setShader(SkShader::MakeBitmapShader(linearGreyBmp, rpt, rpt));
200 p.setShader(SkShader::MakeBitmapShader(srgbGreyBmp, rpt, rpt));
Dbitmapshader.cpp68 paint.setShader(SkShader::MakeBitmapShader(fBitmap, SkShader::kClamp_TileMode, in onDraw()
90 paint.setShader(SkShader::MakeBitmapShader(fMask, SkShader::kRepeat_TileMode, in onDraw()
129 paint.setShader(SkShader::MakeBitmapShader(bitmap,
Dsubsetshader.cpp32 paint.setShader(SkShader::MakeBitmapShader(leftBitmap, tm, tm, &matrix));
34 paint.setShader(SkShader::MakeBitmapShader(rightBitmap, tm, tm, &matrix));
Dbadpaint.cpp35 fPaints.back().setShader(SkShader::MakeBitmapShader(emptyBmp, SkShader::kClamp_TileMode, in onOnceBeforeDraw()
40 fPaints.back().setShader(SkShader::MakeBitmapShader(blueBmp, SkShader::kClamp_TileMode, in onOnceBeforeDraw()
Dxfermodes2.cpp100 fBG = SkShader::MakeBitmapShader(bg, SkShader::kRepeat_TileMode, SkShader::kRepeat_TileMode, in onOnceBeforeDraw()
114 fSrc = SkShader::MakeBitmapShader(srcBmp, SkShader::kClamp_TileMode, in onOnceBeforeDraw()
127 fDst = SkShader::MakeBitmapShader(dstBmp, SkShader::kClamp_TileMode, in onOnceBeforeDraw()
Dtinybitmap.cpp40 paint.setShader(SkShader::MakeBitmapShader(bm, SkShader::kRepeat_TileMode, in onDraw()
Dxfermodes3.cpp188 fBGShader = SkShader::MakeBitmapShader(bg, SkShader::kRepeat_TileMode, in onOnceBeforeDraw()
209 fBmpShader = SkShader::MakeBitmapShader(bmp, SkShader::kClamp_TileMode, in onOnceBeforeDraw()
Dtiledscaledbitmap.cpp65 paint.setShader(SkShader::MakeBitmapShader(fBitmap, SkShader::kRepeat_TileMode, in onDraw()
Dcomposeshader.cpp162 fColorBitmapShader = SkShader::MakeBitmapShader(fColorBitmap, SkShader::kRepeat_TileMode, in onOnceBeforeDraw()
164 fAlpha8BitmapShader = SkShader::MakeBitmapShader(fAlpha8Bitmap, SkShader::kRepeat_TileMode, in onOnceBeforeDraw()
Dtilemodes.cpp39 paint->setShader(SkShader::MakeBitmapShader(bm, tmx, tmy)); in setup()
164 return SkShader::MakeBitmapShader(bm, tx, ty); in make_bm()
/external/skia/gm/
Dgamma.cpp107 p.setShader(SkShader::MakeBitmapShader(ditherBmp, rpt, rpt));
116 p.setShader(SkShader::MakeBitmapShader(ditherBmp, rpt, rpt, &offsetMatrix));
122 p.setShader(SkShader::MakeBitmapShader(ditherBmp, rpt, rpt, &scaleMatrix));
128 p.setShader(SkShader::MakeBitmapShader(mipmapBmp, rpt, rpt, &scaleMatrix));
195 p.setShader(SkShader::MakeBitmapShader(linearGreyBmp, rpt, rpt));
200 p.setShader(SkShader::MakeBitmapShader(srgbGreyBmp, rpt, rpt));
Dbitmapshader.cpp68 paint.setShader(SkShader::MakeBitmapShader(fBitmap, SkShader::kClamp_TileMode, in onDraw()
90 paint.setShader(SkShader::MakeBitmapShader(fMask, SkShader::kRepeat_TileMode, in onDraw()
129 paint.setShader(SkShader::MakeBitmapShader(bitmap,
Dsubsetshader.cpp32 paint.setShader(SkShader::MakeBitmapShader(leftBitmap, tm, tm, &matrix));
34 paint.setShader(SkShader::MakeBitmapShader(rightBitmap, tm, tm, &matrix));
Dbadpaint.cpp35 fPaints.back().setShader(SkShader::MakeBitmapShader(emptyBmp, SkShader::kClamp_TileMode, in onOnceBeforeDraw()
40 fPaints.back().setShader(SkShader::MakeBitmapShader(blueBmp, SkShader::kClamp_TileMode, in onOnceBeforeDraw()
Dxfermodes2.cpp100 fBG = SkShader::MakeBitmapShader(bg, SkShader::kRepeat_TileMode, SkShader::kRepeat_TileMode, in onOnceBeforeDraw()
114 fSrc = SkShader::MakeBitmapShader(srcBmp, SkShader::kClamp_TileMode, in onOnceBeforeDraw()
127 fDst = SkShader::MakeBitmapShader(dstBmp, SkShader::kClamp_TileMode, in onOnceBeforeDraw()
Dtinybitmap.cpp40 paint.setShader(SkShader::MakeBitmapShader(bm, SkShader::kRepeat_TileMode, in onDraw()
Dxfermodes3.cpp188 fBGShader = SkShader::MakeBitmapShader(bg, SkShader::kRepeat_TileMode, in onOnceBeforeDraw()
209 fBmpShader = SkShader::MakeBitmapShader(bmp, SkShader::kClamp_TileMode, in onOnceBeforeDraw()
Dtiledscaledbitmap.cpp65 paint.setShader(SkShader::MakeBitmapShader(fBitmap, SkShader::kRepeat_TileMode, in onDraw()
Dtilemodes_scaled.cpp38 paint->setShader(SkShader::MakeBitmapShader(bm, tmx, tmy)); in setup()
167 return SkShader::MakeBitmapShader(bm, tx, ty); in make_bm()
/external/skia/tests/
DShaderOpacityTest.cpp21 auto shader = SkShader::MakeBitmapShader(bmp, in test_bitmap()
30 shader = SkShader::MakeBitmapShader(bmp, in test_bitmap()
37 shader = SkShader::MakeBitmapShader(bmp, in test_bitmap()
44 shader = SkShader::MakeBitmapShader(bmp, in test_bitmap()
/external/skqp/tests/
DShaderOpacityTest.cpp21 auto shader = SkShader::MakeBitmapShader(bmp, in test_bitmap()
30 shader = SkShader::MakeBitmapShader(bmp, in test_bitmap()
37 shader = SkShader::MakeBitmapShader(bmp, in test_bitmap()
44 shader = SkShader::MakeBitmapShader(bmp, in test_bitmap()
/external/skqp/samplecode/
DSampleShaderText.cpp32 static sk_sp<SkShader> MakeBitmapShader(SkShader::TileMode tx, SkShader::TileMode ty, in MakeBitmapShader() function
38 return SkShader::MakeBitmapShader(bmp, tx, ty); in MakeBitmapShader()
149 shaders[shdIdx++] = MakeBitmapShader(tileModes[tx], in onDrawContent()
DSampleRepeatTile.cpp39 paint->setShader(SkShader::MakeBitmapShader(bm, tm, tm)); in make_paint()
/external/skia/samplecode/
DSampleShaderText.cpp32 static sk_sp<SkShader> MakeBitmapShader(SkShader::TileMode tx, SkShader::TileMode ty, in MakeBitmapShader() function
38 return SkShader::MakeBitmapShader(bmp, tx, ty); in MakeBitmapShader()
149 shaders[shdIdx++] = MakeBitmapShader(tileModes[tx], in onDrawContent()
DSampleRepeatTile.cpp39 paint->setShader(SkShader::MakeBitmapShader(bm, tm, tm)); in make_paint()

12345