Home
last modified time | relevance | path

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

/external/skia/gm/
Dshadertext.cpp138 SkShader::TileMode tileModes[] = { in onDraw() local
146 static const int bmpCount = SK_ARRAY_COUNT(tileModes) * in onDraw()
147 SK_ARRAY_COUNT(tileModes); in onDraw()
159 for (size_t tx = 0; tx < SK_ARRAY_COUNT(tileModes); ++tx) { in onDraw()
160 for (size_t ty = 0; ty < SK_ARRAY_COUNT(tileModes); ++ty) { in onDraw()
161 shaders[shdIdx++] = MakeBitmapShader(tileModes[tx], in onDraw()
162 tileModes[ty], in onDraw()
/external/skia/samplecode/
DSampleShaderText.cpp139 SkShader::TileMode tileModes[] = { in onDrawContent() local
147 static const int bmpCount = SK_ARRAY_COUNT(tileModes) * in onDrawContent()
148 SK_ARRAY_COUNT(tileModes); in onDrawContent()
160 for (size_t tx = 0; tx < SK_ARRAY_COUNT(tileModes); ++tx) { in onDrawContent()
161 for (size_t ty = 0; ty < SK_ARRAY_COUNT(tileModes); ++ty) { in onDrawContent()
162 shaders[shdIdx++] = MakeBitmapShader(tileModes[tx], in onDrawContent()
163 tileModes[ty], in onDrawContent()
/external/skia/src/pdf/
DSkPDFShader.cpp540 SkShader::TileMode tileModes[2]; in SkPDFImageShader() local
541 tileModes[0] = fState.get()->fImageTileModes[0]; in SkPDFImageShader()
542 tileModes[1] = fState.get()->fImageTileModes[1]; in SkPDFImageShader()
549 if (tileModes[0] == SkShader::kMirror_TileMode) { in SkPDFImageShader()
556 if (tileModes[1] == SkShader::kMirror_TileMode) { in SkPDFImageShader()
563 if (tileModes[0] == SkShader::kMirror_TileMode && in SkPDFImageShader()
564 tileModes[1] == SkShader::kMirror_TileMode) { in SkPDFImageShader()
576 if (tileModes[0] == SkShader::kClamp_TileMode && in SkPDFImageShader()
577 tileModes[1] == SkShader::kClamp_TileMode) { in SkPDFImageShader()
608 if (tileModes[0] == SkShader::kClamp_TileMode) { in SkPDFImageShader()
[all …]
/external/skia/src/gpu/
DSkGpuDevice.cpp496 SkShader::TileMode tileModes[2]; in skPaint2GrPaintShader() local
499 tileModes, twoPointParams); in skPaint2GrPaintShader()
529 sampler->setWrapX(sk_tile_mode_to_grwrap(tileModes[0])); in skPaint2GrPaintShader()
530 sampler->setWrapY(sk_tile_mode_to_grwrap(tileModes[1])); in skPaint2GrPaintShader()