Searched refs:clipAA (Results 1 – 3 of 3) sorted by relevance
/third_party/flutter/skia/tests/ |
D | GrQuadCropTest.cpp | 24 static void run_crop_axis_aligned_test(skiatest::Reporter* r, const SkRect& clipRect, GrAA clipAA, in run_crop_axis_aligned_test() argument 32 GrQuadAAFlags edgeFlags = clipAA == GrAA::kYes ? GrQuadAAFlags::kNone : GrQuadAAFlags::kAll; in run_crop_axis_aligned_test() 34 bool exact = GrQuadUtils::CropToRect(clipRect, clipAA, &edgeFlags, &drawQuad, localQuadPtr); in run_crop_axis_aligned_test() 70 if (clipAA == GrAA::kYes) { in run_crop_axis_aligned_test() 77 if (clipAA == GrAA::kYes) { in run_crop_axis_aligned_test() 84 if (clipAA == GrAA::kYes) { in run_crop_axis_aligned_test() 91 if (clipAA == GrAA::kYes) { in run_crop_axis_aligned_test() 99 static void run_crop_fully_covered_test(skiatest::Reporter* r, GrAA clipAA, in run_crop_fully_covered_test() argument 114 GrQuadAAFlags edgeFlags = clipAA == GrAA::kYes ? GrQuadAAFlags::kNone : GrQuadAAFlags::kAll; in run_crop_fully_covered_test() 123 bool exact = GrQuadUtils::CropToRect(kDrawRect, clipAA, &edgeFlags, &drawQuad, &localQuad); in run_crop_fully_covered_test() [all …]
|
/third_party/skia/tests/ |
D | GrQuadCropTest.cpp | 24 static void run_crop_axis_aligned_test(skiatest::Reporter* r, const SkRect& clipRect, GrAA clipAA, in run_crop_axis_aligned_test() argument 31 clipAA == GrAA::kYes ? GrQuadAAFlags::kNone : GrQuadAAFlags::kAll}; in run_crop_axis_aligned_test() 33 bool exact = GrQuadUtils::CropToRect(clipRect, clipAA, &quad, /* calc. locals */ !!localMatrix); in run_crop_axis_aligned_test() 69 if (clipAA == GrAA::kYes) { in run_crop_axis_aligned_test() 76 if (clipAA == GrAA::kYes) { in run_crop_axis_aligned_test() 83 if (clipAA == GrAA::kYes) { in run_crop_axis_aligned_test() 90 if (clipAA == GrAA::kYes) { in run_crop_axis_aligned_test() 98 static void run_crop_fully_covered_test(skiatest::Reporter* r, GrAA clipAA, in run_crop_fully_covered_test() argument 114 clipAA == GrAA::kYes ? GrQuadAAFlags::kNone : GrQuadAAFlags::kAll}; in run_crop_fully_covered_test() 119 bool exact = GrQuadUtils::CropToRect(kDrawRect, clipAA, &quad); in run_crop_fully_covered_test() [all …]
|
/third_party/flutter/skia/src/gpu/ |
D | GrRenderTargetContext.cpp | 533 GrAA clipAA = stencilSettings ? *aa : GrAA::kNo; in attemptQuadOptimization() local 536 if (!clip.isRRect(rtRect, &clipRRect, &clipAA)) { in attemptQuadOptimization() 543 if (axisAlignedClip && (!stencilSettings || clipAA == *aa)) { in attemptQuadOptimization() 553 if (GrQuadUtils::CropToRect(clipBounds, clipAA, &newFlags, deviceQuad, localQuad)) { in attemptQuadOptimization() 573 if (*aa == GrAA::kNo && clipAA == GrAA::kYes && in attemptQuadOptimization() 594 if (GrQuadUtils::CropToRect(clipBounds, clipAA, &newFlags, deviceQuad, localQuad) && in attemptQuadOptimization() 601 this->drawRRect(GrFixedClip::Disabled(), std::move(paint), clipAA, SkMatrix::I(), in attemptQuadOptimization() 623 GrQuadUtils::CropToRect(clipBounds, clipAA, &newFlags, deviceQuad, localQuad); in attemptQuadOptimization()
|