Home
last modified time | relevance | path

Searched refs:doAA (Results 1 – 25 of 30) sorted by relevance

12

/external/skia/include/core/
DSkClipStack.h62 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/
DSkRasterClip.cpp144 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 …]
DSkRasterClip.h48 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);
DSkClipStack.cpp114 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()
DSkAAClip.h38 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);
DSkPictureRecord.h216 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);
DSkPicturePlayback.cpp125 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()
DSkPictureRecord.cpp305 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()
DSkPictureFlat.h110 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/
DSampleClip.cpp20 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/
DAAClipBench.cpp27 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()
DLineBench.cpp29 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()
DDrawBitmapAABench.cpp20 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()
DDashBench.cpp259 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/
Dnested.cpp18 NestedGM(bool doAA, bool flipped) : fDoAA(doAA), fFlipped(flipped) { in NestedGM() argument
Dperspshaders.cpp30 PerspShadersGM(bool doAA) : fDoAA(doAA) { } in PerspShadersGM() argument
Ddashing.cpp406 Dashing5GM(bool doAA) : fDoAA(doAA) {} in Dashing5GM() argument
/external/skia/tests/
DClipStackTest.cpp20 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/
DSkDebugCanvas.cpp138 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()
DSkObjectParser.h38 static SkString* BoolToString(bool doAA);
DSkDrawCommand.h149 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
DSkObjectParser.cpp86 SkString* SkObjectParser::BoolToString(bool doAA) { in BoolToString() argument
88 if (doAA) { in BoolToString()
/external/skia/src/gpu/
DGrReducedClip.cpp386 bool doAA = iter.prev()->isAA(); in ReduceClipStack() local
387 result->addToHead(isectRect, SkRegion::kReplace_Op, doAA); in ReduceClipStack()
389 *requiresAA = doAA; in ReduceClipStack()
DGrBlurUtils.cpp100 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/
DSkFontHost_mac.cpp815 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()

12