• Home
  • Raw
  • Download

Lines Matching refs:SkMatrix

25                                        const SkMatrix& viewMatrix, const SkMatrix* localMatrix) {  in run_crop_axis_aligned_test()
30 GrQuad localQuad = GrQuad::MakeFromRect(kDrawRect, localMatrix ? *localMatrix : SkMatrix::I()); in run_crop_axis_aligned_test()
50 SkMatrix invViewMatrix; in run_crop_axis_aligned_test()
54 SkMatrix toLocal = SkMatrix::Concat(*localMatrix, invViewMatrix); in run_crop_axis_aligned_test()
100 const SkMatrix& viewMatrix, const SkMatrix* localMatrix) { in run_crop_fully_covered_test()
106 SkMatrix invViewMatrix; in run_crop_fully_covered_test()
167 static void test_axis_aligned_all_clips(skiatest::Reporter* r, const SkMatrix& viewMatrix, in test_axis_aligned_all_clips()
168 const SkMatrix* localMatrix) { in test_axis_aligned_all_clips()
197 static void test_axis_aligned(skiatest::Reporter* r, const SkMatrix& viewMatrix) { in test_axis_aligned()
200 SkMatrix normalized = SkMatrix::MakeRectToRect(kDrawRect, SkRect::MakeWH(1.f, 1.f), in test_axis_aligned()
201 SkMatrix::kFill_ScaleToFit); in test_axis_aligned()
204 SkMatrix rotated; in test_axis_aligned()
208 SkMatrix perspective; in test_axis_aligned()
214 static void test_crop_fully_covered(skiatest::Reporter* r, const SkMatrix& viewMatrix) { in test_crop_fully_covered()
218 SkMatrix normalized = SkMatrix::MakeRectToRect(kDrawRect, SkRect::MakeWH(1.f, 1.f), in test_crop_fully_covered()
219 SkMatrix::kFill_ScaleToFit); in test_crop_fully_covered()
223 SkMatrix rotated; in test_crop_fully_covered()
228 SkMatrix perspective; in test_crop_fully_covered()
236 test_axis_aligned(r, SkMatrix::I()); in TEST()
237 test_axis_aligned(r, SkMatrix::MakeScale(-1.f, 1.f)); in TEST()
238 test_axis_aligned(r, SkMatrix::MakeScale(1.f, -1.f)); in TEST()
240 SkMatrix rotation; in TEST()
250 SkMatrix rotation; in TEST()
254 SkMatrix skew; in TEST()
259 SkMatrix perspective; in TEST()