/external/skia/bench/ |
H A D | DrawBitmapAABench.cpp | 20 DrawBitmapAABench(bool doAA, const SkMatrix& matrix, const char name[]) argument 24 fPaint.setAntiAlias(doAA); 27 fName.appendf("%s_%s", doAA ? "aa" : "noaa", name);
|
H A D | LineBench.cpp | 29 LineBench(SkScalar width, bool doAA) { argument 31 fDoAA = doAA; 32 fName.printf("lines_%g_%s", width, doAA ? "AA" : "BW");
|
H A D | AAClipBench.cpp | 28 AAClipBench(bool doPath, bool doAA) argument 30 , fDoAA(doAA) { 34 doAA ? "AA" : "BW"); 101 NestedAAClipBench(bool doAA) : fDoAA(doAA) { argument 102 fName.printf("nested_aaclip_%s", doAA ? "AA" : "BW"); 183 AAClipBuilderBench(bool doPath, bool doAA) { argument 185 fDoAA = doAA; 188 doAA ? "AA" : "BW");
|
H A D | DashBench.cpp | 257 DrawPointsDashingBench(int dashLength, int strokeWidth, bool doAA) argument 259 fName.printf("drawpointsdash_%d_%d%s", dashLength, strokeWidth, doAA ? "_aa" : "_bw"); 261 fDoAA = doAA; 383 DashGridBench(int dashLength, int strokeWidth, bool doAA) { argument 384 fName.printf("dashgrid_%d_%d%s", dashLength, strokeWidth, doAA ? "_aa" : "_bw"); 386 fDoAA = doAA;
|
/external/skia/gm/ |
H A D | nested.cpp | 19 NestedGM(bool doAA, bool flipped) : fDoAA(doAA), fFlipped(flipped) { argument 138 DEF_GM( return new NestedGM(/* doAA = */ true, /* flipped = */ false); ) 139 DEF_GM( return new NestedGM(/* doAA = */ false, /* flipped = */ false); ) 140 DEF_GM( return new NestedGM(/* doAA = */ true, /* flipped = */ true); ) 141 DEF_GM( return new NestedGM(/* doAA = */ false, /* flipped = */ true); )
|
H A D | perspshaders.cpp | 31 PerspShadersGM(bool doAA) : fDoAA(doAA) { } argument
|
H A D | dashing.cpp | 407 Dashing5GM(bool doAA) : fDoAA(doAA) {} argument
|
/external/skia/samplecode/ |
H A D | SampleClip.cpp | 21 static void show_text(SkCanvas* canvas, bool doAA) { argument 24 paint.setAntiAlias(doAA); 36 static void show_fill(SkCanvas* canvas, bool doAA) { argument 39 paint.setAntiAlias(doAA); 63 static void show_stroke(SkCanvas* canvas, bool doAA, SkScalar strokeWidth, int n) { argument 66 paint.setAntiAlias(doAA); 96 static void show_hair(SkCanvas* canvas, bool doAA) { argument 97 show_stroke(canvas, doAA, 0, 150); 100 static void show_thick(SkCanvas* canvas, bool doAA) { argument 101 show_stroke(canvas, doAA, SkIntToScala [all...] |
/external/skia/src/core/ |
H A D | SkRasterClip.cpp | 64 SkRegion::Op op, bool doAA) { 75 ir = doAA ? devRect.roundOut() : devRect.round(); 82 SkRegion::Op op, bool doAA) { 83 this->op(rrect.getBounds(), ctm, devBounds, op, doAA); 87 SkRegion::Op op, bool doAA) { 227 bool SkRasterClip::setPath(const SkPath& path, const SkRegion& clip, bool doAA) { argument 230 if (this->isBW() && !doAA) { 238 (void)fAA.setPath(path, &clip, doAA); 244 SkRegion::Op op, bool doAA) { 251 return this->op(path, matrix, bounds, op, doAA); 63 op(const SkRect& localRect, const SkMatrix& ctm, const SkIRect& devBounds, SkRegion::Op op, bool doAA) argument 81 op(const SkRRect& rrect, const SkMatrix& ctm, const SkIRect& devBounds, SkRegion::Op op, bool doAA) argument 86 op(const SkPath& path, const SkMatrix& ctm, const SkIRect& devBounds, SkRegion::Op op, bool doAA) argument 243 op(const SkRRect& rrect, const SkMatrix& matrix, const SkIRect& devBounds, SkRegion::Op op, bool doAA) argument 254 op(const SkPath& path, const SkMatrix& matrix, const SkIRect& devBounds, SkRegion::Op op, bool doAA) argument 299 setPath(const SkPath& path, const SkIRect& clip, bool doAA) argument 362 op(const SkRect& localRect, const SkMatrix& matrix, const SkIRect& devBounds, SkRegion::Op op, bool doAA) argument [all...] |
H A D | SkClipStack.cpp | 116 bool doAA) { 120 this->initRect(saveCount, r, op, doAA); 127 this->initRRect(saveCount, rrect, op, doAA); 134 this->initCommon(saveCount, op, doAA); 751 bool doAA) { 754 Element element(fSaveCount, transformedRRect, op, doAA); 765 this->clipPath(path, matrix, op, doAA); 769 bool doAA) { 778 Element element(fSaveCount, devRect, op, doAA); 785 this->clipPath(path, matrix, op, doAA); 115 initPath(int saveCount, const SkPath& path, SkClipOp op, bool doAA) argument 750 clipRRect(const SkRRect& rrect, const SkMatrix& matrix, SkClipOp op, bool doAA) argument 768 clipRect(const SkRect& rect, const SkMatrix& matrix, SkClipOp op, bool doAA) argument 788 clipPath(const SkPath& path, const SkMatrix& matrix, SkClipOp op, bool doAA) argument [all...] |
H A D | SkClipStack.h | 68 Element(const SkRect& rect, SkClipOp op, bool doAA) { argument 69 this->initRect(0, rect, op, doAA); 72 Element(const SkRRect& rrect, SkClipOp op, bool doAA) { argument 73 this->initRRect(0, rrect, op, doAA); 76 Element(const SkPath& path, SkClipOp op, bool doAA) { argument 77 this->initPath(0, path, op, doAA); 259 Element(int saveCount, const SkRRect& rrect, SkClipOp op, bool doAA) { argument 260 this->initRRect(saveCount, rrect, op, doAA); 263 Element(int saveCount, const SkRect& rect, SkClipOp op, bool doAA) { argument 264 this->initRect(saveCount, rect, op, doAA); 267 Element(int saveCount, const SkPath& path, SkClipOp op, bool doAA) argument 271 initCommon(int saveCount, SkClipOp op, bool doAA) argument 283 initRect(int saveCount, const SkRect& rect, SkClipOp op, bool doAA) argument 289 initRRect(int saveCount, const SkRRect& rrect, SkClipOp op, bool doAA) argument [all...] |
H A D | SkPictureFlat.h | 129 // doAA:1 | clipOp:4 131 static inline uint32_t ClipParams_pack(SkClipOp op, bool doAA) { argument 132 unsigned doAABit = doAA ? 1 : 0;
|
H A D | SkPicturePlayback.cpp | 140 bool doAA = ClipParams_unpackDoAA(packed); local 145 canvas->clipPath(path, clipOp, doAA); 169 bool doAA = ClipParams_unpackDoAA(packed); local 174 canvas->clipRect(rect, clipOp, doAA); 184 bool doAA = ClipParams_unpackDoAA(packed); local 189 canvas->clipRRect(rrect, clipOp, doAA);
|
H A D | SkPictureRecord.cpp | 319 size_t SkPictureRecord::recordClipRect(const SkRect& rect, SkClipOp op, bool doAA) { argument 329 this->addInt(ClipParams_pack(op, doAA)); 341 size_t SkPictureRecord::recordClipRRect(const SkRRect& rrect, SkClipOp op, bool doAA) { argument 351 this->addInt(ClipParams_pack(op, doAA)); 363 size_t SkPictureRecord::recordClipPath(int pathID, SkClipOp op, bool doAA) { argument 373 this->addInt(ClipParams_pack(op, doAA));
|
H A D | SkPaint.cpp | 216 void SkPaint::setAntiAlias(bool doAA) { argument 217 this->setFlags(set_clear_mask(fBitfields.fFlags, doAA, kAntiAlias_Flag));
|
H A D | SkAAClip.cpp | 755 bool SkAAClip::setRect(const SkRect& r, bool doAA) { argument 766 return this->setPath(path, nullptr, doAA); 1390 bool SkAAClip::setPath(const SkPath& path, const SkRegion* clip, bool doAA) { argument 1423 if (doAA) { 1795 bool SkAAClip::op(const SkRect& rOrig, SkRegion::Op op, bool doAA) { argument 1822 clip.setRect(*r, doAA);
|
H A D | SkCanvas.cpp | 1467 void SkCanvas::clipRect(const SkRect& rect, SkClipOp op, bool doAA) { argument 1469 ClipEdgeStyle edgeStyle = doAA ? kSoft_ClipEdgeStyle : kHard_ClipEdgeStyle; 1499 void SkCanvas::clipRRect(const SkRRect& rrect, SkClipOp op, bool doAA) { argument 1501 ClipEdgeStyle edgeStyle = doAA ? kSoft_ClipEdgeStyle : kHard_ClipEdgeStyle; 1521 void SkCanvas::clipPath(const SkPath& path, SkClipOp op, bool doAA) { argument 1523 ClipEdgeStyle edgeStyle = doAA ? kSoft_ClipEdgeStyle : kHard_ClipEdgeStyle;
|
/external/skia/tools/debugger/ |
H A D | SkObjectParser.cpp | 86 SkString* SkObjectParser::BoolToString(bool doAA) { argument 87 SkString* mBool = new SkString("Bool doAA: "); 88 if (doAA) {
|
H A D | SkDrawCommand.h | 180 SkClipPathCommand(const SkPath& path, SkClipOp op, bool doAA); 210 SkClipRectCommand(const SkRect& rect, SkClipOp op, bool doAA); 217 bool doAA() const { return fDoAA; } function in class:SkClipRectCommand 229 SkClipRRectCommand(const SkRRect& rrect, SkClipOp op, bool doAA); 237 bool doAA() const { return fDoAA; } function in class:SkClipRRectCommand
|
H A D | SkDrawCommand.cpp | 1681 SkClipPathCommand::SkClipPathCommand(const SkPath& path, SkClipOp op, bool doAA) argument 1685 fDoAA = doAA; 1689 fInfo.push(SkObjectParser::BoolToString(doAA)); 1743 SkClipRectCommand::SkClipRectCommand(const SkRect& rect, SkClipOp op, bool doAA) argument 1747 fDoAA = doAA; 1751 fInfo.push(SkObjectParser::BoolToString(doAA)); 1778 SkClipRRectCommand::SkClipRRectCommand(const SkRRect& rrect, SkClipOp op, bool doAA) argument 1782 fDoAA = doAA; 1786 fInfo.push(SkObjectParser::BoolToString(doAA));
|
/external/skia/tests/ |
H A D | ClipStackTest.cpp | 26 bool doAA = false; local 39 s.clipPath(p, SkMatrix::I(), kIntersect_SkClipOp, doAA); 45 s.clipRect(r, SkMatrix::I(), kIntersect_SkClipOp, doAA); 47 s.clipRect(r, SkMatrix::I(), kIntersect_SkClipOp, doAA); 53 s.clipRect(r, SkMatrix::I(), kUnion_SkClipOp, doAA); 68 s.clipRect(r, SkMatrix::I(), kUnion_SkClipOp, doAA); 77 s.clipRect(r, SkMatrix::I(), kIntersect_SkClipOp, doAA); 85 s.clipPath(rp, SkMatrix::I(), kUnion_SkClipOp, doAA); 95 s.clipRect(r, SkMatrix::I(), kUnion_SkClipOp, doAA); 118 s.clipPath(p, SkMatrix::I(), kIntersect_SkClipOp, doAA); 861 add_round_rect(const SkRect& rect, bool invert, SkClipOp op, SkClipStack* stack, bool doAA) argument 877 add_rect(const SkRect& rect, bool invert, SkClipOp op, SkClipStack* stack, bool doAA) argument 889 add_oval(const SkRect& rect, bool invert, SkClipOp op, SkClipStack* stack, bool doAA) argument 969 bool doAA = r.nextBiasedBool(kFractionAntialiased); local [all...] |
/external/skia/src/ports/ |
H A D | SkFontHost_mac.cpp | 800 bool doAA = false; local 805 doAA = true; 811 doAA = true; 856 fDoAA = !doAA; 862 if (fDoAA != doAA) { 863 CGContextSetShouldAntialias(fCG.get(), doAA); 864 fDoAA = doAA;
|