Lines Matching full:viewmatrix
54 static const GrGeometryProcessor* create_gp(const SkMatrix& viewMatrix,
62 // If we have perspective on the viewMatrix then we won't map on the CPU, nor will we map
66 if (viewMatrix.hasPerspective()) {
70 return GrDefaultGeoProcFactory::Create(color, coverage, localCoords, viewMatrix);
77 viewMatrix);
84 const SkMatrix& viewMatrix,
92 if (!viewMatrix.hasPerspective()) {
93 viewMatrix.mapPointsWithStride(positions, vertexStride,
157 // We handle perspective in the local matrix or viewmatrix with special batches
217 const SkMatrix& viewMatrix, const SkRect& rect,
219 SkASSERT(!viewMatrix.hasPerspective() && (!localMatrix || !localMatrix->hasPerspective()));
223 geo.fViewMatrix = viewMatrix;
238 const SkMatrix& viewMatrix, const SkRect& rect,
240 SkASSERT(viewMatrix.hasPerspective() || (localMatrix && localMatrix->hasPerspective()));
244 geo.fViewMatrix = viewMatrix;
260 const SkMatrix& viewMatrix,
265 append_to_batch(batch, color, viewMatrix, rect, localRect, localMatrix);
271 const SkMatrix& viewMatrix,
276 append_to_batch(batch, color, viewMatrix, rect, localRect, localMatrix);
283 const SkMatrix& viewMatrix,
287 bool usePerspective = viewMatrix.hasPerspective() ||
296 append_to_batch(batch, color, viewMatrix, rect, localRect, localMatrix);
302 if (!geo.fViewMatrix.cheapEqualTo(viewMatrix) ||
309 append_to_batch(batch, color, viewMatrix, rect, localRect, localMatrix);
328 SkMatrix viewMatrix = GrTest::TestMatrixInvertible(random);
333 return GrNonAAFillRectBatch::Create(color, viewMatrix, rect,