Lines Matching refs:SkMatrix
25 const SkMatrix& viewMatrix, const SkMatrix* localMatrix) {
30 GrQuad::MakeFromRect(kDrawRect, localMatrix ? *localMatrix : SkMatrix::I()),
49 SkMatrix invViewMatrix;
53 SkMatrix toLocal = SkMatrix::Concat(*localMatrix, invViewMatrix);
99 const SkMatrix& viewMatrix, const SkMatrix* localMatrix) {
105 SkMatrix invViewMatrix;
113 GrQuad::MakeFromRect(drawRect, localMatrix ? *localMatrix : SkMatrix::I()),
177 static void test_axis_aligned_all_clips(skiatest::Reporter* r, const SkMatrix& viewMatrix,
178 const SkMatrix* localMatrix) {
207 static void test_axis_aligned(skiatest::Reporter* r, const SkMatrix& viewMatrix) {
210 SkMatrix normalized = SkMatrix::RectToRect(kDrawRect, SkRect::MakeWH(1.f, 1.f));
213 SkMatrix rotated;
217 SkMatrix perspective;
223 static void test_crop_fully_covered(skiatest::Reporter* r, const SkMatrix& viewMatrix) {
227 SkMatrix normalized = SkMatrix::RectToRect(kDrawRect, SkRect::MakeWH(1.f, 1.f));
231 SkMatrix rotated;
236 SkMatrix perspective;
244 test_axis_aligned(r, SkMatrix::I());
245 test_axis_aligned(r, SkMatrix::Scale(-1.f, 1.f));
246 test_axis_aligned(r, SkMatrix::Scale(1.f, -1.f));
248 SkMatrix rotation;
258 SkMatrix rotation;
262 SkMatrix skew;
267 SkMatrix perspective;