HomeSort by relevance Sort by last modified time
    Searched full:texturemat (Results 1 - 1 of 1) sorted by null

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

Completed in 47 milliseconds