/external/skia/include/core/ |
D | SkClipStack.h | 62 Element(const SkRect& rect, SkRegion::Op op, bool doAA) { in Element() argument 63 this->initRect(0, rect, op, doAA); in Element() 66 Element(const SkRRect& rrect, SkRegion::Op op, bool doAA) { in Element() argument 67 this->initRRect(0, rrect, op, doAA); in Element() 70 Element(const SkPath& path, SkRegion::Op op, bool doAA) { in Element() argument 71 this->initPath(0, path, op, doAA); in Element() 212 Element(int saveCount, const SkRRect& rrect, SkRegion::Op op, bool doAA) { in Element() argument 213 this->initRRect(saveCount, rrect, op, doAA); in Element() 216 Element(int saveCount, const SkRect& rect, SkRegion::Op op, bool doAA) { in Element() argument 217 this->initRect(saveCount, rect, op, doAA); in Element() [all …]
|
/external/skia/src/core/ |
D | SkRasterClip.cpp | 144 bool SkRasterClip::setPath(const SkPath& path, const SkRegion& clip, bool doAA) { in setPath() argument 151 if (this->isBW() && !doAA) { in setPath() 159 (void)fAA.setPath(path, &clip, doAA); in setPath() 164 bool SkRasterClip::op(const SkRRect& rrect, const SkIRect& bounds, SkRegion::Op op, bool doAA) { in op() argument 166 return this->op(rrect.getBounds(), bounds, op, doAA); in op() 172 return this->op(path, bounds, op, doAA); in op() 175 bool SkRasterClip::op(const SkPath& path, const SkIRect& bounds, SkRegion::Op op, bool doAA) { in op() argument 205 return this->setPath(path, this->bwRgn(), doAA); in op() 209 clip.setPath(path, base, doAA); in op() 216 return this->setPath(path, base, doAA); in op() [all …]
|
D | SkRasterClip.h | 48 bool op(const SkRect&, const SkIRect&, SkRegion::Op, bool doAA); 49 bool op(const SkRRect&, const SkIRect&, SkRegion::Op, bool doAA); 50 bool op(const SkPath&, const SkIRect&, SkRegion::Op, bool doAA); 113 bool setPath(const SkPath& path, const SkRegion& clip, bool doAA); 114 bool setPath(const SkPath& path, const SkIRect& clip, bool doAA);
|
D | SkClipStack.cpp | 114 bool doAA) { in initPath() argument 118 this->initRect(saveCount, r, op, doAA); in initPath() 125 this->initRRect(saveCount, rrect, op, doAA); in initPath() 132 this->initCommon(saveCount, op, doAA); in initPath() 721 void SkClipStack::clipDevRRect(const SkRRect& rrect, SkRegion::Op op, bool doAA) { in clipDevRRect() argument 722 Element element(fSaveCount, rrect, op, doAA); in clipDevRRect() 726 void SkClipStack::clipDevRect(const SkRect& rect, SkRegion::Op op, bool doAA) { in clipDevRect() argument 727 Element element(fSaveCount, rect, op, doAA); in clipDevRect() 731 void SkClipStack::clipDevPath(const SkPath& path, SkRegion::Op op, bool doAA) { in clipDevPath() argument 732 Element element(fSaveCount, path, op, doAA); in clipDevPath()
|
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 | SkPictureRecord.h | 216 size_t recordClipRect(const SkRect& rect, SkRegion::Op op, bool doAA); 217 size_t recordClipRRect(const SkRRect& rrect, SkRegion::Op op, bool doAA); 218 size_t recordClipPath(int pathID, SkRegion::Op op, bool doAA);
|
D | SkPicturePlayback.cpp | 125 bool doAA = ClipParams_unpackDoAA(packed); in handleOp() local 128 canvas->clipPath(path, regionOp, doAA); in handleOp() 149 bool doAA = ClipParams_unpackDoAA(packed); in handleOp() local 152 canvas->clipRect(rect, regionOp, doAA); in handleOp() 162 bool doAA = ClipParams_unpackDoAA(packed); in handleOp() local 165 canvas->clipRRect(rrect, regionOp, doAA); in handleOp()
|
D | SkPictureRecord.cpp | 305 size_t SkPictureRecord::recordClipRect(const SkRect& rect, SkRegion::Op op, bool doAA) { in recordClipRect() argument 315 this->addInt(ClipParams_pack(op, doAA)); in recordClipRect() 327 size_t SkPictureRecord::recordClipRRect(const SkRRect& rrect, SkRegion::Op op, bool doAA) { in recordClipRRect() argument 337 this->addInt(ClipParams_pack(op, doAA)); in recordClipRRect() 349 size_t SkPictureRecord::recordClipPath(int pathID, SkRegion::Op op, bool doAA) { in recordClipPath() argument 359 this->addInt(ClipParams_pack(op, doAA)); in recordClipPath()
|
D | SkPictureFlat.h | 110 static inline uint32_t ClipParams_pack(SkRegion::Op op, bool doAA) { in ClipParams_pack() argument 111 unsigned doAABit = doAA ? 1 : 0; in ClipParams_pack()
|
/external/skia/samplecode/ |
D | SampleClip.cpp | 20 static void show_text(SkCanvas* canvas, bool doAA) { in show_text() argument 23 paint.setAntiAlias(doAA); in show_text() 35 static void show_fill(SkCanvas* canvas, bool doAA) { in show_fill() argument 38 paint.setAntiAlias(doAA); in show_fill() 62 static void show_stroke(SkCanvas* canvas, bool doAA, SkScalar strokeWidth, int n) { in show_stroke() argument 65 paint.setAntiAlias(doAA); in show_stroke() 95 static void show_hair(SkCanvas* canvas, bool doAA) { in show_hair() argument 96 show_stroke(canvas, doAA, 0, 150); in show_hair() 99 static void show_thick(SkCanvas* canvas, bool doAA) { in show_thick() argument 100 show_stroke(canvas, doAA, SkIntToScalar(5), 50); in show_thick()
|
/external/skia/bench/ |
D | AAClipBench.cpp | 27 AAClipBench(bool doPath, bool doAA) in AAClipBench() argument 29 , fDoAA(doAA) { in AAClipBench() 33 doAA ? "AA" : "BW"); in AAClipBench() 100 NestedAAClipBench(bool doAA) : fDoAA(doAA) { in NestedAAClipBench() argument 101 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 | 20 DrawBitmapAABench(bool doAA, const SkMatrix& matrix, const char name[]) in DrawBitmapAABench() argument 24 fPaint.setAntiAlias(doAA); in DrawBitmapAABench() 27 fName.appendf("%s_%s", doAA ? "aa" : "noaa", name); in DrawBitmapAABench()
|
D | DashBench.cpp | 259 DrawPointsDashingBench(int dashLength, int strokeWidth, bool doAA) in DrawPointsDashingBench() argument 261 fName.printf("drawpointsdash_%d_%d%s", dashLength, strokeWidth, doAA ? "_aa" : "_bw"); in DrawPointsDashingBench() 263 fDoAA = doAA; in DrawPointsDashingBench() 386 DashGridBench(int dashLength, int strokeWidth, bool doAA) { in DashGridBench() argument 387 fName.printf("dashgrid_%d_%d%s", dashLength, strokeWidth, doAA ? "_aa" : "_bw"); in DashGridBench() 389 fDoAA = doAA; in DashGridBench()
|
/external/skia/gm/ |
D | nested.cpp | 18 NestedGM(bool doAA, bool flipped) : fDoAA(doAA), fFlipped(flipped) { in NestedGM() argument
|
D | perspshaders.cpp | 30 PerspShadersGM(bool doAA) : fDoAA(doAA) { } in PerspShadersGM() argument
|
D | dashing.cpp | 406 Dashing5GM(bool doAA) : fDoAA(doAA) {} in Dashing5GM() argument
|
/external/skia/tests/ |
D | ClipStackTest.cpp | 20 bool doAA = false; in test_assign_and_comparison() local 33 s.clipDevPath(p, SkRegion::kIntersect_Op, doAA); in test_assign_and_comparison() 39 s.clipDevRect(r, SkRegion::kIntersect_Op, doAA); in test_assign_and_comparison() 41 s.clipDevRect(r, SkRegion::kIntersect_Op, doAA); in test_assign_and_comparison() 47 s.clipDevRect(r, SkRegion::kUnion_Op, doAA); in test_assign_and_comparison() 62 s.clipDevRect(r, SkRegion::kUnion_Op, doAA); in test_assign_and_comparison() 71 s.clipDevRect(r, SkRegion::kIntersect_Op, doAA); in test_assign_and_comparison() 79 s.clipDevPath(rp, SkRegion::kUnion_Op, doAA); in test_assign_and_comparison() 89 s.clipDevRect(r, SkRegion::kUnion_Op, doAA); in test_assign_and_comparison() 112 s.clipDevPath(p, SkRegion::kIntersect_Op, doAA); in test_assign_and_comparison()
|
/external/skia/tools/debugger/ |
D | SkDebugCanvas.cpp | 138 void clipRect(const SkRect& r, SkRegion::Op, bool doAA) override { in clipRect() argument 142 p.setAntiAlias(doAA); in clipRect() 145 void clipRRect(const SkRRect& rr, SkRegion::Op, bool doAA) override { in clipRRect() argument 149 p.setAntiAlias(doAA); in clipRRect() 152 void clipPath(const SkPath& path, SkRegion::Op, bool doAA) override { in clipPath() argument 156 p.setAntiAlias(doAA); in clipPath()
|
D | SkObjectParser.h | 38 static SkString* BoolToString(bool doAA);
|
D | SkDrawCommand.h | 149 SkClipPathCommand(const SkPath& path, SkRegion::Op op, bool doAA); 179 SkClipRectCommand(const SkRect& rect, SkRegion::Op op, bool doAA); 186 bool doAA() const { return fDoAA; } in doAA() function 198 SkClipRRectCommand(const SkRRect& rrect, SkRegion::Op op, bool doAA); 206 bool doAA() const { return fDoAA; } in doAA() function
|
D | SkObjectParser.cpp | 86 SkString* SkObjectParser::BoolToString(bool doAA) { in BoolToString() argument 88 if (doAA) { in BoolToString()
|
/external/skia/src/gpu/ |
D | GrReducedClip.cpp | 386 bool doAA = iter.prev()->isAA(); in ReduceClipStack() local 387 result->addToHead(isectRect, SkRegion::kReplace_Op, doAA); in ReduceClipStack() 389 *requiresAA = doAA; in ReduceClipStack()
|
D | GrBlurUtils.cpp | 100 bool doAA, in create_mask_GPU() argument 111 desc.fSampleCnt = doAA ? sampleCnt : 0; in create_mask_GPU() 135 tempPaint.setAntiAlias(doAA); in create_mask_GPU()
|
/external/skia/src/ports/ |
D | SkFontHost_mac.cpp | 815 bool doAA = false; in getCG() local 820 doAA = true; in getCG() 826 doAA = true; in getCG() 871 fDoAA = !doAA; in getCG() 883 if (fDoAA != doAA) { in getCG() 884 CGContextSetShouldAntialias(fCG, doAA); in getCG() 885 fDoAA = doAA; in getCG()
|