Home
last modified time | relevance | path

Searched refs:tileModes (Results 1 – 10 of 10) sorted by relevance

/external/skia/src/gpu/effects/
DGrBicubicEffect.h52 const SkShader::TileMode tileModes[2]) { in Create()
53 return Create(tex, gMitchellCoefficients, matrix, tileModes); in Create()
62 const SkShader::TileMode tileModes[2]) { in Create()
63 return new GrBicubicEffect(tex, coefficients, matrix, tileModes); in Create()
86 const SkShader::TileMode tileModes[2]);
DGrSimpleTextureEffect.cpp57 SkShader::TileMode tileModes[] = { in TestCreate() local
61 GrTextureParams params(tileModes, d->fRandom->nextBool() ? GrTextureParams::kBilerp_FilterMode : in TestCreate()
DGrDistanceFieldGeoProc.cpp250 SkShader::TileMode tileModes[] = { in TestCreate() local
254 GrTextureParams params(tileModes, d->fRandom->nextBool() ? GrTextureParams::kBilerp_FilterMode : in TestCreate()
460 SkShader::TileMode tileModes[] = { in TestCreate() local
464 GrTextureParams params(tileModes, d->fRandom->nextBool() ? GrTextureParams::kBilerp_FilterMode in TestCreate()
732 SkShader::TileMode tileModes[] = { in TestCreate() local
736 GrTextureParams params(tileModes, d->fRandom->nextBool() ? GrTextureParams::kBilerp_FilterMode : in TestCreate()
DGrBitmapTextGeoProc.cpp175 SkShader::TileMode tileModes[] = { in TestCreate() local
179 GrTextureParams params(tileModes, d->fRandom->nextBool() ? GrTextureParams::kBilerp_FilterMode : in TestCreate()
DGrBicubicEffect.cpp139 const SkShader::TileMode tileModes[2]) in GrBicubicEffect()
140 : INHERITED(texture, matrix, GrTextureParams(tileModes, GrTextureParams::kNone_FilterMode)) in GrBicubicEffect()
/external/skia/include/gpu/
DGrTextureParams.h42 GrTextureParams(const SkShader::TileMode tileModes[2], FilterMode filterMode) { in GrTextureParams()
43 this->reset(tileModes, filterMode); in GrTextureParams()
66 void reset(const SkShader::TileMode tileModes[2], FilterMode filterMode) { in reset()
67 fTileModes[0] = tileModes[0]; in reset()
68 fTileModes[1] = tileModes[1]; in reset()
/external/skia/gm/
Dshadertext.cpp116 SkShader::TileMode tileModes[] = { in onDraw() local
124 static const int bmpCount = SK_ARRAY_COUNT(tileModes) * in onDraw()
125 SK_ARRAY_COUNT(tileModes); in onDraw()
139 for (size_t tx = 0; tx < SK_ARRAY_COUNT(tileModes); ++tx) { in onDraw()
140 for (size_t ty = 0; ty < SK_ARRAY_COUNT(tileModes); ++ty) { in onDraw()
141 shaders[shdIdx++] = SkShader::CreateBitmapShader(bm, tileModes[tx], tileModes[ty]); in onDraw()
/external/skia/samplecode/
DSampleShaderText.cpp126 SkShader::TileMode tileModes[] = { in onDrawContent() local
134 static const int bmpCount = SK_ARRAY_COUNT(tileModes) * in onDrawContent()
135 SK_ARRAY_COUNT(tileModes); in onDrawContent()
146 for (size_t tx = 0; tx < SK_ARRAY_COUNT(tileModes); ++tx) { in onDrawContent()
147 for (size_t ty = 0; ty < SK_ARRAY_COUNT(tileModes); ++ty) { in onDrawContent()
148 shaders[shdIdx++] = MakeBitmapShader(tileModes[tx], in onDrawContent()
149 tileModes[ty], in onDrawContent()
/external/skia/src/pdf/
DSkPDFShader.cpp852 SkShader::TileMode tileModes[2]; in Create() local
853 tileModes[0] = state.fImageTileModes[0]; in Create()
854 tileModes[1] = state.fImageTileModes[1]; in Create()
855 if (tileModes[0] != SkShader::kClamp_TileMode || in Create()
856 tileModes[1] != SkShader::kClamp_TileMode) { in Create()
884 if (tileModes[0] == SkShader::kMirror_TileMode) { in Create()
891 if (tileModes[1] == SkShader::kMirror_TileMode) { in Create()
898 if (tileModes[0] == SkShader::kMirror_TileMode && in Create()
899 tileModes[1] == SkShader::kMirror_TileMode) { in Create()
911 if (tileModes[0] == SkShader::kClamp_TileMode && in Create()
[all …]
/external/skia/src/gpu/
DSkGpuDevice.cpp1160 SkShader::TileMode tileModes[2] = { params.getTileModeX(), params.getTileModeY() }; in internalDrawBitmap() local
1161 fp.reset(GrBicubicEffect::Create(texture, texMatrix, tileModes)); in internalDrawBitmap()