• Home
  • Raw
  • Download

Lines Matching refs:SkMatrix

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