Searched refs:patchPtr (Results 1 – 2 of 2) sorted by relevance
/third_party/skia/src/utils/ |
D | SkCamera.cpp | 120 const SkScalar* patchPtr; in patchToMatrix() local 134 patchPtr = (const SkScalar*)&quilt; in patchToMatrix() 135 matrix->set(SkMatrix::kMScaleX, SkScalarDotDiv(3, patchPtr, 1, mapPtr, 1, dot)); in patchToMatrix() 136 matrix->set(SkMatrix::kMSkewY, SkScalarDotDiv(3, patchPtr, 1, mapPtr+3, 1, dot)); in patchToMatrix() 137 matrix->set(SkMatrix::kMPersp0, SkScalarDotDiv(3, patchPtr, 1, mapPtr+6, 1, dot)); in patchToMatrix() 139 patchPtr += 3; in patchToMatrix() 140 matrix->set(SkMatrix::kMSkewX, SkScalarDotDiv(3, patchPtr, 1, mapPtr, 1, dot)); in patchToMatrix() 141 matrix->set(SkMatrix::kMScaleY, SkScalarDotDiv(3, patchPtr, 1, mapPtr+3, 1, dot)); in patchToMatrix() 142 matrix->set(SkMatrix::kMPersp1, SkScalarDotDiv(3, patchPtr, 1, mapPtr+6, 1, dot)); in patchToMatrix() 144 patchPtr = (const SkScalar*)(const void*)&diff; in patchToMatrix() [all …]
|
/third_party/flutter/skia/src/utils/ |
D | SkCamera.cpp | 271 const SkScalar* patchPtr; in patchToMatrix() local 291 patchPtr = (const SkScalar*)&quilt; in patchToMatrix() 292 matrix->set(SkMatrix::kMScaleX, SkScalarDotDiv(3, patchPtr, 1, mapPtr, 1, dot)); in patchToMatrix() 293 matrix->set(SkMatrix::kMSkewY, SkScalarDotDiv(3, patchPtr, 1, mapPtr+3, 1, dot)); in patchToMatrix() 294 matrix->set(SkMatrix::kMPersp0, SkScalarDotDiv(3, patchPtr, 1, mapPtr+6, 1, dot)); in patchToMatrix() 296 patchPtr += 3; in patchToMatrix() 297 matrix->set(SkMatrix::kMSkewX, SkScalarDotDiv(3, patchPtr, 1, mapPtr, 1, dot)); in patchToMatrix() 298 matrix->set(SkMatrix::kMScaleY, SkScalarDotDiv(3, patchPtr, 1, mapPtr+3, 1, dot)); in patchToMatrix() 299 matrix->set(SkMatrix::kMPersp1, SkScalarDotDiv(3, patchPtr, 1, mapPtr+6, 1, dot)); in patchToMatrix() 301 patchPtr = (const SkScalar*)(const void*)&diff; in patchToMatrix() [all …]
|