Lines Matching defs:matrix
230 sk_sp<SkVertices> find(const AmbientVerticesFactory& ambient, const SkMatrix& matrix,
232 return fAmbientSet.find(ambient, matrix, translate);
236 const SkMatrix& matrix, SkVector* translate,
238 return fAmbientSet.add(devPath, ambient, matrix, translate, isLimitElevation);
241 sk_sp<SkVertices> find(const SpotVerticesFactory& spot, const SkMatrix& matrix,
243 return fSpotSet.find(spot, matrix, translate);
247 const SkMatrix& matrix, SkVector* translate,
249 return fSpotSet.add(devPath, spot, matrix, translate, isLimitElevation);
258 sk_sp<SkVertices> find(const FACTORY& factory, const SkMatrix& matrix,
263 if (matrix.hasPerspective() || m.hasPerspective()) {
264 if (matrix != fEntries[i].fMatrix) {
267 } else if (matrix.getScaleX() != m.getScaleX() ||
268 matrix.getSkewX() != m.getSkewX() ||
269 matrix.getScaleY() != m.getScaleY() ||
270 matrix.getSkewY() != m.getSkewY()) {
279 sk_sp<SkVertices> add(const SkPath& path, const FACTORY& factory, const SkMatrix& matrix,
281 sk_sp<SkVertices> vertices = factory.makeVertices(path, matrix, translate, isLimitElevation);
294 fEntries[i].fMatrix = matrix;
339 sk_sp<SkVertices> find(const FACTORY& factory, const SkMatrix& matrix,
341 return fTessellations->find(factory, matrix, translate);
373 * Function called by SkResourceCache when a matching cache key is found. The FACTORY and matrix of