Home | History | Annotate | Download | only in batches

Lines Matching full:viewmatrix

48                                        const SkMatrix& viewMatrix,
65 // We assume the caller has inverted the viewmatrix
72 return CreateForDeviceSpace(color, coverage, localCoords, viewMatrix);
79 const SkMatrix& viewMatrix,
90 if (viewMatrix.rectStaysRect()) {
96 { viewMatrix[SkMatrix::kMScaleX], viewMatrix[SkMatrix::kMSkewY] },
97 { viewMatrix[SkMatrix::kMSkewX], viewMatrix[SkMatrix::kMScaleY] }
108 viewMatrix.mapPointsWithStride(fan0Pos, vertexStride, 4);
133 if (!viewMatrix.invert(&invViewMatrix)) {
231 // We apply the viewmatrix to the rect points on the cpu. However, if the pipeline uses
232 // local coords then we won't be able to batch. We could actually upload the viewmatrix
310 const SkMatrix& viewMatrix, const SkRect& rect,
314 geo.fViewMatrix = viewMatrix;
320 const SkMatrix& viewMatrix, const SkMatrix& localMatrix,
324 geo.fViewMatrix = viewMatrix;
333 const SkMatrix& viewMatrix,
337 append_to_batch(batch, color, viewMatrix, rect, devRect);
343 const SkMatrix& viewMatrix,
348 append_to_batch(batch, color, viewMatrix, localMatrix, rect, devRect);
354 const SkMatrix& viewMatrix,
358 viewMatrix.mapRect(&devRect, rect);
359 return Create(color, viewMatrix, localMatrix, rect, devRect);
363 const SkMatrix& viewMatrix,
367 viewMatrix.mapRect(&devRect, rect);
372 return Create(color, viewMatrix, localMatrix, rect, devRect);
377 const SkMatrix& viewMatrix,
381 append_to_batch(batch, color, viewMatrix, rect, devRect);
387 const SkMatrix& viewMatrix,
392 append_to_batch(batch, color, viewMatrix, localMatrix, rect, devRect);
406 SkMatrix viewMatrix = GrTest::TestMatrixInvertible(random);
409 return GrAAFillRectBatch::Create(color, viewMatrix, rect, devRect);
414 SkMatrix viewMatrix = GrTest::TestMatrixInvertible(random);
418 return GrAAFillRectBatch::Create(color, viewMatrix, localMatrix, rect, devRect);