Home
last modified time | relevance | path

Searched refs:tileScale (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/shaders/
DSkPictureShader.cpp171 SkSize tileScale; member
218 const SkSize tileScale = { in Make() local
226 if (tileScale.width() != 1 || tileScale.height() != 1) { in Make()
227 localMatrix->writable()->preScale(1 / tileScale.width(), 1 / tileScale.height()); in Make()
232 tileScale, in Make()
265 fPicture->uniqueID(), fTile, info.tileScale); in rasterShader()
398 memcpy(&builder[8], &info.tileScale, sizeof(info.tileScale)); // 8,9 in asFragmentProcessor()
/external/skqp/src/shaders/
DSkPictureShader.cpp212 const SkSize tileScale = SkSize::Make(SkIntToScalar(tileSize.width()) / fTile.width(), in refBitmapShader() local
230 BitmapShaderKey key(imgCS.get(), bitDepth, fUniqueID, tileScale); in refBitmapShader()
250 if (tileScale.width() != 1 || tileScale.height() != 1) { in refBitmapShader()
251 localMatrix->writable()->preScale(1 / tileScale.width(), 1 / tileScale.height()); in refBitmapShader()