Home
last modified time | relevance | path

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

123

/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.cpp70 paint.setShader(SkShader::MakeBitmapShader(fBitmap, SkShader::kClamp_TileMode, in onDraw()
92 paint.setShader(SkShader::MakeBitmapShader(fMask, SkShader::kRepeat_TileMode, in onDraw()
131 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.cpp98 fBG = SkShader::MakeBitmapShader(bg, SkShader::kRepeat_TileMode, SkShader::kRepeat_TileMode, in onOnceBeforeDraw()
112 fSrc = SkShader::MakeBitmapShader(srcBmp, SkShader::kClamp_TileMode, in onOnceBeforeDraw()
125 fDst = SkShader::MakeBitmapShader(dstBmp, SkShader::kClamp_TileMode, in onOnceBeforeDraw()
Dlightingshader2.cpp84 fOpaqueDiffuse = SkShader::MakeBitmapShader(opaqueDiffuseMap, SkShader::kClamp_TileMode, in onOnceBeforeDraw()
92 fTranslucentDiffuse = SkShader::MakeBitmapShader(translucentDiffuseMap, in onOnceBeforeDraw()
97 fNormalMapShader = SkShader::MakeBitmapShader(normalMap, SkShader::kClamp_TileMode, in onOnceBeforeDraw()
Dlightingshader.cpp102 sk_sp<SkShader> diffuseShader = SkShader::MakeBitmapShader(fDiffuse, in drawRect()
104 sk_sp<SkShader> normalMap = SkShader::MakeBitmapShader(fNormalMaps[mapType], in drawRect()
Dtinybitmap.cpp40 paint.setShader(SkShader::MakeBitmapShader(bm, SkShader::kRepeat_TileMode, in onDraw()
Dxfermodes3.cpp172 fBGShader = SkShader::MakeBitmapShader(bg, SkShader::kRepeat_TileMode, in onOnceBeforeDraw()
193 fBmpShader = SkShader::MakeBitmapShader(bmp, SkShader::kClamp_TileMode, in onOnceBeforeDraw()
Dtiledscaledbitmap.cpp65 paint.setShader(SkShader::MakeBitmapShader(fBitmap, SkShader::kRepeat_TileMode, in onDraw()
Dtransparency.cpp46 return SkShader::MakeBitmapShader(bm, SkShader::kRepeat_TileMode, SkShader::kRepeat_TileMode); in create_checkerboard_shader()
Dbigmatrix.cpp59 paint.setShader(SkShader::MakeBitmapShader(bmp, SkShader::kRepeat_TileMode,
Dsamplerstress.cpp75 fShader = SkShader::MakeBitmapShader(fTexture, SkShader::kRepeat_TileMode, in createShader()
Dbmpfilterqualityrepeat.cpp77 bmpPaint.setShader(SkShader::MakeBitmapShader(fBmp, kTM, kTM, &lm)); in drawAll()
Dtilemodes_scaled.cpp39 paint->setShader(SkShader::MakeBitmapShader(bm, tmx, tmy)); in setup()
162 return SkShader::MakeBitmapShader(bm, tx, ty); in make_bm()
Dclippedbitmapshaders.cpp86 paint.setShader(SkShader::MakeBitmapShader(bmp, fMode, fMode, &s)); in onDraw()
/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()
DShaderTest.cpp48 auto shader0 = SkShader::MakeBitmapShader(bm, tmx, tmy, &localM); in DEF_TEST()
/external/skqp/samplecode/
DSampleLighting.cpp41 fDiffuseShader = SkShader::MakeBitmapShader(diffuseBitmap, in LightingView()
51 sk_sp<SkShader> normalMap = SkShader::MakeBitmapShader(normalBitmap, in LightingView()
DSampleRepeatTile.cpp38 paint->setShader(SkShader::MakeBitmapShader(bm, tm, tm)); in make_paint()
DSampleCamera.cpp42 fShaders.push_back(SkShader::MakeBitmapShader(bm, in CameraView()
DSampleShaders.cpp32 auto shaderB = SkShader::MakeBitmapShader(bm, in make_bitmapfade()
/external/skqp/bench/
DRepeatTileBench.cpp61 fPaint.setShader(SkShader::MakeBitmapShader(fBitmap, in onDelayedSetup()
DTileBench.cpp54 fPaint.setShader(SkShader::MakeBitmapShader(bm, xTile, yTile)); in ConstXTileBench()
/external/skqp/include/core/
DSkShader.h243 static sk_sp<SkShader> MakeBitmapShader(const SkBitmap& src, TileMode tmx, TileMode tmy,

123