Lines Matching refs:localMatrix

40                                                       const SkMatrix* localMatrix) {
41 SkASSERT(viewMatrix.hasPerspective() || (localMatrix && localMatrix->hasPerspective()));
46 // the local rect on the cpu (in case the localMatrix also has perspective).
47 // Otherwise, if we have a local rect, then we apply the localMatrix directly to the localRect
52 localMatrix);
56 LocalCoords localCoords(LocalCoords::kHasExplicit_Type, localMatrix);
60 LocalCoords localCoords(LocalCoords::kUsePosition_Type, localMatrix);
110 const SkMatrix* localMatrix, GrAAType aaType,
114 localMatrix, aaType, stencilSettings);
120 const SkRect& rect, const SkRect* localRect, const SkMatrix* localMatrix,
124 SkASSERT(!viewMatrix.hasPerspective() && (!localMatrix || !localMatrix->hasPerspective()));
129 if (localRect && localMatrix) {
130 info.fLocalQuad.setFromMappedRect(*localRect, *localMatrix);
133 } else if (localMatrix) {
134 info.fLocalQuad.setFromMappedRect(rect, *localMatrix);
234 const SkMatrix* localMatrix, GrAAType aaType,
238 localRect, localMatrix, aaType,
246 const SkRect* localRect, const SkMatrix* localMatrix,
251 SkASSERT(viewMatrix.hasPerspective() || (localMatrix && localMatrix->hasPerspective()));
256 fHasLocalMatrix = SkToBool(localMatrix);
258 fLocalMatrix = *localMatrix;
392 GrPaint&& paint, const SkMatrix& viewMatrix, const SkMatrix& localMatrix,
394 if (viewMatrix.hasPerspective() || localMatrix.hasPerspective()) {
396 &localMatrix, aaType, stencilSettings);
398 return NonAAFillRectOp::Make(std::move(paint), viewMatrix, rect, nullptr, &localMatrix,
425 SkMatrix localMatrix = GrTest::TestMatrix(random);
432 const SkMatrix* lm = random->nextBool() ? &localMatrix : nullptr;