Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrTest.cpp161 SkMatrix textureMat; in drawTexture() local
162 textureMat.reset(); in drawTexture()
163 textureMat[SkMatrix::kMScaleX] = 1.0f/dst.width(); in drawTexture()
164 textureMat[SkMatrix::kMScaleY] = 1.0f/dst.height(); in drawTexture()
165 textureMat[SkMatrix::kMTransX] = -dst.fLeft/dst.width(); in drawTexture()
166 textureMat[SkMatrix::kMTransY] = -dst.fTop/dst.height(); in drawTexture()
168 grPaint.addColorTextureProcessor(tex, textureMat); in drawTexture()