/external/skqp/src/core/ |
D | SkClipStack.h | 74 Element(const SkRect& rect, const SkMatrix& m, SkClipOp op, bool doAA) { in Element() argument 75 this->initRect(0, rect, m, op, doAA); in Element() 78 Element(const SkRRect& rrect, const SkMatrix& m, SkClipOp op, bool doAA) { in Element() argument 79 this->initRRect(0, rrect, m, op, doAA); in Element() 82 Element(const SkPath& path, const SkMatrix& m, SkClipOp op, bool doAA) { in Element() argument 83 this->initPath(0, path, m, op, doAA); in Element() 230 Element(int saveCount, const SkRRect& rrect, const SkMatrix& m, SkClipOp op, bool doAA) { in Element() argument 231 this->initRRect(saveCount, rrect, m, op, doAA); in Element() 234 Element(int saveCount, const SkRect& rect, const SkMatrix& m, SkClipOp op, bool doAA) { in Element() argument 235 this->initRect(saveCount, rect, m, op, doAA); in Element() [all …]
|
D | SkRasterClip.cpp | 65 const SkIRect& devBounds, SkRegion::Op op, bool doAA) { in opRect() argument 76 ir = doAA ? devRect.roundOut() : devRect.round(); in opRect() 83 const SkIRect& devBounds, SkRegion::Op op, bool doAA) { in opRRect() argument 84 this->opRect(rrect.getBounds(), ctm, devBounds, op, doAA); in opRRect() 88 SkRegion::Op op, bool doAA) { in opPath() argument 228 bool SkRasterClip::setPath(const SkPath& path, const SkRegion& clip, bool doAA) { in setPath() argument 231 if (this->isBW() && !doAA) { in setPath() 239 (void)fAA.setPath(path, &clip, doAA); in setPath() 245 SkRegion::Op op, bool doAA) { in op() argument 252 return this->op(path, matrix, bounds, op, doAA); in op() [all …]
|
D | SkClipStack.cpp | 150 void SkClipStack::Element::initCommon(int saveCount, SkClipOp op, bool doAA) { in initCommon() argument 153 fDoAA = doAA; in initCommon() 163 SkClipOp op, bool doAA) { in initRect() argument 169 this->initCommon(saveCount, op, doAA); in initRect() 175 this->initAsPath(saveCount, path, m, op, doAA); in initRect() 179 SkClipOp op, bool doAA) { in initRRect() argument 187 this->initCommon(saveCount, op, doAA); in initRRect() 193 this->initAsPath(saveCount, path, m, op, doAA); in initRRect() 197 SkClipOp op, bool doAA) { in initPath() argument 201 this->initRect(saveCount, r, m, op, doAA); in initPath() [all …]
|
D | SkRasterClip.h | 97 bool op(const SkRect&, const SkMatrix& matrix, const SkIRect&, SkRegion::Op, bool doAA); 98 bool op(const SkRRect&, const SkMatrix& matrix, const SkIRect&, SkRegion::Op, bool doAA); 99 bool op(const SkPath&, const SkMatrix& matrix, const SkIRect&, SkRegion::Op, bool doAA); 166 bool setPath(const SkPath& path, const SkRegion& clip, bool doAA); 167 bool setPath(const SkPath& path, const SkIRect& clip, bool doAA);
|
D | SkAAClip.h | 38 bool setRect(const SkRect&, bool doAA = true); 39 bool setPath(const SkPath&, const SkRegion* clip = nullptr, bool doAA = true); 47 bool op(const SkRect&, SkRegion::Op, bool doAA);
|
/external/skia/src/core/ |
D | SkClipStack.h | 74 Element(const SkRect& rect, const SkMatrix& m, SkClipOp op, bool doAA) { in Element() argument 75 this->initRect(0, rect, m, op, doAA); in Element() 78 Element(const SkRRect& rrect, const SkMatrix& m, SkClipOp op, bool doAA) { in Element() argument 79 this->initRRect(0, rrect, m, op, doAA); in Element() 82 Element(const SkPath& path, const SkMatrix& m, SkClipOp op, bool doAA) { in Element() argument 83 this->initPath(0, path, m, op, doAA); in Element() 230 Element(int saveCount, const SkRRect& rrect, const SkMatrix& m, SkClipOp op, bool doAA) { in Element() argument 231 this->initRRect(saveCount, rrect, m, op, doAA); in Element() 234 Element(int saveCount, const SkRect& rect, const SkMatrix& m, SkClipOp op, bool doAA) { in Element() argument 235 this->initRect(saveCount, rect, m, op, doAA); in Element() [all …]
|
D | SkRasterClip.cpp | 65 const SkIRect& devBounds, SkRegion::Op op, bool doAA) { in opRect() argument 76 ir = doAA ? devRect.roundOut() : devRect.round(); in opRect() 83 const SkIRect& devBounds, SkRegion::Op op, bool doAA) { in opRRect() argument 84 this->opRect(rrect.getBounds(), ctm, devBounds, op, doAA); in opRRect() 88 SkRegion::Op op, bool doAA) { in opPath() argument 228 bool SkRasterClip::setPath(const SkPath& path, const SkRegion& clip, bool doAA) { in setPath() argument 231 if (this->isBW() && !doAA) { in setPath() 239 (void)fAA.setPath(path, &clip, doAA); in setPath() 245 SkRegion::Op op, bool doAA) { in op() argument 252 return this->op(path, matrix, bounds, op, doAA); in op() [all …]
|
D | SkClipStack.cpp | 150 void SkClipStack::Element::initCommon(int saveCount, SkClipOp op, bool doAA) { in initCommon() argument 153 fDoAA = doAA; in initCommon() 163 SkClipOp op, bool doAA) { in initRect() argument 169 this->initCommon(saveCount, op, doAA); in initRect() 175 this->initAsPath(saveCount, path, m, op, doAA); in initRect() 179 SkClipOp op, bool doAA) { in initRRect() argument 187 this->initCommon(saveCount, op, doAA); in initRRect() 193 this->initAsPath(saveCount, path, m, op, doAA); in initRRect() 197 SkClipOp op, bool doAA) { in initPath() argument 201 this->initRect(saveCount, r, m, op, doAA); in initPath() [all …]
|
D | SkRasterClip.h | 97 bool op(const SkRect&, const SkMatrix& matrix, const SkIRect&, SkRegion::Op, bool doAA); 98 bool op(const SkRRect&, const SkMatrix& matrix, const SkIRect&, SkRegion::Op, bool doAA); 99 bool op(const SkPath&, const SkMatrix& matrix, const SkIRect&, SkRegion::Op, bool doAA); 166 bool setPath(const SkPath& path, const SkRegion& clip, bool doAA); 167 bool setPath(const SkPath& path, const SkIRect& clip, bool doAA);
|
D | SkAAClip.h | 38 bool setRect(const SkRect&, bool doAA = true); 39 bool setPath(const SkPath&, const SkRegion* clip = nullptr, bool doAA = true); 47 bool op(const SkRect&, SkRegion::Op, bool doAA);
|
D | SkPictureFlat.h | 144 static inline uint32_t ClipParams_pack(SkClipOp op, bool doAA) { in ClipParams_pack() argument 145 unsigned doAABit = doAA ? 1 : 0; in ClipParams_pack()
|
/external/skia/samplecode/ |
D | SampleClip.cpp | 21 static void show_text(SkCanvas* canvas, bool doAA) { in show_text() argument 25 font.setEdging(doAA ? SkFont::Edging::kSubpixelAntiAlias : SkFont::Edging::kAlias); in show_text() 34 static void show_fill(SkCanvas* canvas, bool doAA) { in show_fill() argument 37 paint.setAntiAlias(doAA); in show_fill() 61 static void show_stroke(SkCanvas* canvas, bool doAA, SkScalar strokeWidth, int n) { in show_stroke() argument 64 paint.setAntiAlias(doAA); in show_stroke() 94 static void show_hair(SkCanvas* canvas, bool doAA) { in show_hair() argument 95 show_stroke(canvas, doAA, 0, 150); in show_hair() 98 static void show_thick(SkCanvas* canvas, bool doAA) { in show_thick() argument 99 show_stroke(canvas, doAA, SkIntToScalar(5), 50); in show_thick()
|
/external/skqp/samplecode/ |
D | SampleClip.cpp | 21 static void show_text(SkCanvas* canvas, bool doAA) { in show_text() argument 25 font.setEdging(doAA ? SkFont::Edging::kSubpixelAntiAlias : SkFont::Edging::kAlias); in show_text() 34 static void show_fill(SkCanvas* canvas, bool doAA) { in show_fill() argument 37 paint.setAntiAlias(doAA); in show_fill() 61 static void show_stroke(SkCanvas* canvas, bool doAA, SkScalar strokeWidth, int n) { in show_stroke() argument 64 paint.setAntiAlias(doAA); in show_stroke() 94 static void show_hair(SkCanvas* canvas, bool doAA) { in show_hair() argument 95 show_stroke(canvas, doAA, 0, 150); in show_hair() 98 static void show_thick(SkCanvas* canvas, bool doAA) { in show_thick() argument 99 show_stroke(canvas, doAA, SkIntToScalar(5), 50); in show_thick()
|
/external/skqp/bench/ |
D | AAClipBench.cpp | 28 AAClipBench(bool doPath, bool doAA) in AAClipBench() argument 30 , fDoAA(doAA) { in AAClipBench() 34 doAA ? "AA" : "BW"); in AAClipBench() 101 NestedAAClipBench(bool doAA) : fDoAA(doAA) { in NestedAAClipBench() argument 102 fName.printf("nested_aaclip_%s", doAA ? "AA" : "BW"); in NestedAAClipBench() 183 AAClipBuilderBench(bool doPath, bool doAA) { in AAClipBuilderBench() argument 185 fDoAA = doAA; in AAClipBuilderBench() 188 doAA ? "AA" : "BW"); in AAClipBuilderBench()
|
D | LineBench.cpp | 29 LineBench(SkScalar width, bool doAA) { in LineBench() argument 31 fDoAA = doAA; in LineBench() 32 fName.printf("lines_%g_%s", width, doAA ? "AA" : "BW"); in LineBench()
|
D | DrawBitmapAABench.cpp | 21 DrawBitmapAABench(bool doAA, const SkMatrix& matrix, const char name[]) in DrawBitmapAABench() argument 25 fPaint.setAntiAlias(doAA); in DrawBitmapAABench() 28 fName.appendf("%s_%s", doAA ? "aa" : "noaa", name); in DrawBitmapAABench()
|
D | DashBench.cpp | 257 DrawPointsDashingBench(int dashLength, int strokeWidth, bool doAA) in DrawPointsDashingBench() argument 259 fName.printf("drawpointsdash_%d_%d%s", dashLength, strokeWidth, doAA ? "_aa" : "_bw"); in DrawPointsDashingBench() 261 fDoAA = doAA; in DrawPointsDashingBench() 383 DashGridBench(int dashLength, int strokeWidth, bool doAA) { in DashGridBench() argument 384 fName.printf("dashgrid_%d_%d%s", dashLength, strokeWidth, doAA ? "_aa" : "_bw"); in DashGridBench() 386 fDoAA = doAA; in DashGridBench()
|
/external/skia/bench/ |
D | AAClipBench.cpp | 28 AAClipBench(bool doPath, bool doAA) in AAClipBench() argument 30 , fDoAA(doAA) { in AAClipBench() 34 doAA ? "AA" : "BW"); in AAClipBench() 101 NestedAAClipBench(bool doAA) : fDoAA(doAA) { in NestedAAClipBench() argument 102 fName.printf("nested_aaclip_%s", doAA ? "AA" : "BW"); in NestedAAClipBench() 183 AAClipBuilderBench(bool doPath, bool doAA) { in AAClipBuilderBench() argument 185 fDoAA = doAA; in AAClipBuilderBench() 188 doAA ? "AA" : "BW"); in AAClipBuilderBench()
|
D | LineBench.cpp | 29 LineBench(SkScalar width, bool doAA) { in LineBench() argument 31 fDoAA = doAA; in LineBench() 32 fName.printf("lines_%g_%s", width, doAA ? "AA" : "BW"); in LineBench()
|
D | DrawBitmapAABench.cpp | 21 DrawBitmapAABench(bool doAA, const SkMatrix& matrix, const char name[]) in DrawBitmapAABench() argument 25 fPaint.setAntiAlias(doAA); in DrawBitmapAABench() 28 fName.appendf("%s_%s", doAA ? "aa" : "noaa", name); in DrawBitmapAABench()
|
D | DashBench.cpp | 257 DrawPointsDashingBench(int dashLength, int strokeWidth, bool doAA) in DrawPointsDashingBench() argument 259 fName.printf("drawpointsdash_%d_%d%s", dashLength, strokeWidth, doAA ? "_aa" : "_bw"); in DrawPointsDashingBench() 261 fDoAA = doAA; in DrawPointsDashingBench() 383 DashGridBench(int dashLength, int strokeWidth, bool doAA) { in DashGridBench() argument 384 fName.printf("dashgrid_%d_%d%s", dashLength, strokeWidth, doAA ? "_aa" : "_bw"); in DashGridBench() 386 fDoAA = doAA; in DashGridBench()
|
/external/skqp/tests/ |
D | ClipStackTest.cpp | 50 bool doAA = false; in test_assign_and_comparison() local 63 s.clipPath(p, SkMatrix::I(), kIntersect_SkClipOp, doAA); in test_assign_and_comparison() 69 s.clipRect(r, SkMatrix::I(), kIntersect_SkClipOp, doAA); in test_assign_and_comparison() 71 s.clipRect(r, SkMatrix::I(), kIntersect_SkClipOp, doAA); in test_assign_and_comparison() 77 s.clipRect(r, SkMatrix::I(), kUnion_SkClipOp, doAA); in test_assign_and_comparison() 92 s.clipRect(r, SkMatrix::I(), kUnion_SkClipOp, doAA); in test_assign_and_comparison() 101 s.clipRect(r, SkMatrix::I(), kIntersect_SkClipOp, doAA); in test_assign_and_comparison() 109 s.clipPath(rp, SkMatrix::I(), kUnion_SkClipOp, doAA); in test_assign_and_comparison() 119 s.clipRect(r, SkMatrix::I(), kUnion_SkClipOp, doAA); in test_assign_and_comparison() 142 s.clipPath(p, SkMatrix::I(), kIntersect_SkClipOp, doAA); in test_assign_and_comparison() [all …]
|
/external/skia/tests/ |
D | ClipStackTest.cpp | 50 bool doAA = false; in test_assign_and_comparison() local 63 s.clipPath(p, SkMatrix::I(), kIntersect_SkClipOp, doAA); in test_assign_and_comparison() 69 s.clipRect(r, SkMatrix::I(), kIntersect_SkClipOp, doAA); in test_assign_and_comparison() 71 s.clipRect(r, SkMatrix::I(), kIntersect_SkClipOp, doAA); in test_assign_and_comparison() 77 s.clipRect(r, SkMatrix::I(), kUnion_SkClipOp, doAA); in test_assign_and_comparison() 92 s.clipRect(r, SkMatrix::I(), kUnion_SkClipOp, doAA); in test_assign_and_comparison() 101 s.clipRect(r, SkMatrix::I(), kIntersect_SkClipOp, doAA); in test_assign_and_comparison() 109 s.clipPath(rp, SkMatrix::I(), kUnion_SkClipOp, doAA); in test_assign_and_comparison() 119 s.clipRect(r, SkMatrix::I(), kUnion_SkClipOp, doAA); in test_assign_and_comparison() 142 s.clipPath(p, SkMatrix::I(), kIntersect_SkClipOp, doAA); in test_assign_and_comparison() [all …]
|
/external/skqp/gm/ |
D | nested.cpp | 18 NestedGM(bool doAA, bool flipped) : fDoAA(doAA), fFlipped(flipped) { in NestedGM() argument
|
/external/skia/gm/ |
D | nested.cpp | 18 NestedGM(bool doAA, bool flipped) : fDoAA(doAA), fFlipped(flipped) { in NestedGM() argument
|