Home
last modified time | relevance | path

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

12

/external/skia/include/core/
DSkClipStack.h63 Element(const SkRect& rect, SkRegion::Op op, bool doAA) { in Element() argument
64 this->initRect(0, rect, op, doAA); in Element()
67 Element(const SkRRect& rrect, SkRegion::Op op, bool doAA) { in Element() argument
68 this->initRRect(0, rrect, op, doAA); in Element()
71 Element(const SkPath& path, SkRegion::Op op, bool doAA) { in Element() argument
72 this->initPath(0, path, op, doAA); in Element()
213 Element(int saveCount, const SkRRect& rrect, SkRegion::Op op, bool doAA) { in Element() argument
214 this->initRRect(saveCount, rrect, op, doAA); in Element()
217 Element(int saveCount, const SkRect& rect, SkRegion::Op op, bool doAA) { in Element() argument
218 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 SkPath& path, const SkISize& size, SkRegion::Op op, bool doAA) { in op() argument
192 return this->setPath(path, this->bwRgn(), doAA); in op()
196 clip.setPath(path, base, doAA); in op()
203 return this->setPath(path, base, doAA); in op()
206 clip.setPath(path, base, doAA); in op()
212 bool SkRasterClip::setPath(const SkPath& path, const SkIRect& clip, bool doAA) { in setPath() argument
215 return this->setPath(path, tmp, doAA); in setPath()
[all …]
DSkRasterClip.h46 bool op(const SkRect&, const SkISize&, SkRegion::Op, bool doAA);
47 bool op(const SkPath&, const SkISize&, SkRegion::Op, bool doAA);
110 bool setPath(const SkPath& path, const SkRegion& clip, bool doAA);
111 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()
718 void SkClipStack::clipDevRRect(const SkRRect& rrect, SkRegion::Op op, bool doAA) { in clipDevRRect() argument
719 Element element(fSaveCount, rrect, op, doAA); in clipDevRRect()
723 void SkClipStack::clipDevRect(const SkRect& rect, SkRegion::Op op, bool doAA) { in clipDevRect() argument
724 Element element(fSaveCount, rect, op, doAA); in clipDevRect()
728 void SkClipStack::clipDevPath(const SkPath& path, SkRegion::Op op, bool doAA) { in clipDevPath() argument
729 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 = NULL, bool doAA = true);
47 bool op(const SkRect&, SkRegion::Op, bool doAA);
DSkPicturePlayback.cpp106 bool doAA = ClipParams_unpackDoAA(packed); in handleOp() local
109 canvas->clipPath(path, regionOp, doAA); in handleOp()
130 bool doAA = ClipParams_unpackDoAA(packed); in handleOp() local
133 canvas->clipRect(rect, regionOp, doAA); in handleOp()
143 bool doAA = ClipParams_unpackDoAA(packed); in handleOp() local
146 canvas->clipRRect(rrect, regionOp, doAA); in handleOp()
DSkPictureRecord.h214 size_t recordClipRect(const SkRect& rect, SkRegion::Op op, bool doAA);
215 size_t recordClipRRect(const SkRRect& rrect, SkRegion::Op op, bool doAA);
216 size_t recordClipPath(int pathID, SkRegion::Op op, bool doAA);
DSkPictureRecord.cpp373 size_t SkPictureRecord::recordClipRect(const SkRect& rect, SkRegion::Op op, bool doAA) { in recordClipRect() argument
383 this->addInt(ClipParams_pack(op, doAA)); in recordClipRect()
395 size_t SkPictureRecord::recordClipRRect(const SkRRect& rrect, SkRegion::Op op, bool doAA) { in recordClipRRect() argument
405 this->addInt(ClipParams_pack(op, doAA)); in recordClipRRect()
417 size_t SkPictureRecord::recordClipPath(int pathID, SkRegion::Op op, bool doAA) { in recordClipPath() argument
427 this->addInt(ClipParams_pack(op, doAA)); in recordClipPath()
DSkPictureFlat.h90 static inline uint32_t ClipParams_pack(SkRegion::Op op, bool doAA) { in ClipParams_pack() argument
91 unsigned doAABit = doAA ? 1 : 0; in ClipParams_pack()
/external/skia/samplecode/
DSampleClip.cpp19 static void show_text(SkCanvas* canvas, bool doAA) { in show_text() argument
22 paint.setAntiAlias(doAA); 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/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()
DDashBench.cpp258 DrawPointsDashingBench(int dashLength, int strokeWidth, bool doAA) in DrawPointsDashingBench() argument
260 fName.printf("drawpointsdash_%d_%d%s", dashLength, strokeWidth, doAA ? "_aa" : "_bw"); in DrawPointsDashingBench()
262 fDoAA = doAA; in DrawPointsDashingBench()
385 DashGridBench(int dashLength, int strokeWidth, bool doAA) { in DashGridBench() argument
386 fName.printf("dashgrid_%d_%d%s", dashLength, strokeWidth, doAA ? "_aa" : "_bw"); in DashGridBench()
388 fDoAA = doAA; in DashGridBench()
/external/skia/gm/
Dnested.cpp17 NestedGM(bool doAA) : fDoAA(doAA) { in NestedGM() argument
Ddashing.cpp402 Dashing5GM(bool doAA) : fDoAA(doAA) {} in Dashing5GM() argument
/external/skia/src/utils/debugger/
DSkDrawCommand.cpp185 SkClipPathCommand::SkClipPathCommand(const SkPath& path, SkRegion::Op op, bool doAA) in SkClipPathCommand() argument
189 fDoAA = doAA; in SkClipPathCommand()
193 fInfo.push(SkObjectParser::BoolToString(doAA)); in SkClipPathCommand()
218 SkClipRectCommand::SkClipRectCommand(const SkRect& rect, SkRegion::Op op, bool doAA) in SkClipRectCommand() argument
222 fDoAA = doAA; in SkClipRectCommand()
226 fInfo.push(SkObjectParser::BoolToString(doAA)); in SkClipRectCommand()
233 SkClipRRectCommand::SkClipRRectCommand(const SkRRect& rrect, SkRegion::Op op, bool doAA) in SkClipRRectCommand() argument
237 fDoAA = doAA; in SkClipRRectCommand()
241 fInfo.push(SkObjectParser::BoolToString(doAA)); in SkClipRRectCommand()
DSkDebugCanvas.cpp171 void clipRect(const SkRect& r, SkRegion::Op, bool doAA) override { in clipRect() argument
175 p.setAntiAlias(doAA); in clipRect()
178 void clipRRect(const SkRRect& rr, SkRegion::Op, bool doAA) override { in clipRRect() argument
182 p.setAntiAlias(doAA); in clipRRect()
185 void clipPath(const SkPath& path, SkRegion::Op, bool doAA) override { in clipPath() argument
189 p.setAntiAlias(doAA); in clipPath()
DSkDrawCommand.h132 SkClipPathCommand(const SkPath& path, SkRegion::Op op, bool doAA);
156 SkClipRectCommand(const SkRect& rect, SkRegion::Op op, bool doAA);
161 bool doAA() const { return fDoAA; } in doAA() function
173 SkClipRRectCommand(const SkRRect& rrect, SkRegion::Op op, bool doAA);
179 bool doAA() const { return fDoAA; } in doAA() function
DSkObjectParser.h32 static SkString* BoolToString(bool doAA);
DSkObjectParser.cpp60 SkString* SkObjectParser::BoolToString(bool doAA) { in BoolToString() argument
62 if (doAA) { in BoolToString()
/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/src/gpu/
DGrReducedClip.cpp388 bool doAA = iter.prev()->isAA(); in ReduceClipStack() local
389 SkNEW_INSERT_AT_LLIST_HEAD(result, Element, (isectRect, SkRegion::kReplace_Op, doAA)); in ReduceClipStack()
391 *requiresAA = doAA; in ReduceClipStack()
/external/skia/tools/
Dfiltermain.cpp258 newPaint.setAntiAlias(crr->doAA()); in apply_3()
354 if (clip0->doAA() || clip1->doAA() || clip2->doAA()) { in check_7()
512 if (clip->doAA() || SkRegion::kIntersect_Op != clip->op()) { in check_8()
586 if (clip->doAA() || SkRegion::kIntersect_Op != clip->op()) { in check_9()
/external/skia/src/pipe/
DSkGPipeRead.cpp262 bool doAA = SkToBool(DrawOp_unpackFlags(op32) & kClip_HasAntiAlias_DrawOpFlag); in clipPath_rp() local
263 canvas->clipPath(path, (SkRegion::Op)DrawOp_unpackData(op32), doAA); in clipPath_rp()
276 bool doAA = SkToBool(DrawOp_unpackFlags(op32) & kClip_HasAntiAlias_DrawOpFlag); in clipRect_rp() local
277 canvas->clipRect(*rect, (SkRegion::Op)DrawOp_unpackData(op32), doAA); in clipRect_rp()
284 bool doAA = SkToBool(DrawOp_unpackFlags(op32) & kClip_HasAntiAlias_DrawOpFlag); in clipRRect_rp() local
285 canvas->clipRRect(rrect, (SkRegion::Op)DrawOp_unpackData(op32), doAA); in clipRRect_rp()
/external/skia/src/ports/
DSkFontHost_mac.cpp788 bool doAA = false; in getCG() local
793 doAA = true; in getCG()
799 doAA = true; in getCG()
845 fDoAA = !doAA; in getCG()
857 if (fDoAA != doAA) { in getCG()
858 CGContextSetShouldAntialias(fCG, doAA); in getCG()
859 fDoAA = doAA; in getCG()

12