Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkBitmapDevice.cpp459 SkMatrix maskMatrix, shaderMatrix; in drawSpecial() local
468 shaderMatrix = SkMatrix::Concat(totalInverse, SkMatrix::MakeTrans(x, y)); in drawSpecial()
487 shaderMatrix = SkMatrix::MakeTrans(x - maskBounds.x(), y - maskBounds.y()); in drawSpecial()
491 paint.writable()->setShader(srcImage->makeShader(&shaderMatrix)); in drawSpecial()
/external/skia/src/shaders/
DSkPictureShader.cpp283 SkMatrix shaderMatrix = this->getLocalMatrix(); in refBitmapShader() local
284 shaderMatrix.preScale(1 / tileScale.width(), 1 / tileScale.height()); in refBitmapShader()
285 tileShader = tileImage->makeShader(fTmx, fTmy, &shaderMatrix); in refBitmapShader()