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

12

/external/skia/include/core/
H A DSkClipStack.h62 Element(const SkRect& rect, SkRegion::Op op, bool doAA) { argument
63 this->initRect(0, rect, op, doAA);
66 Element(const SkRRect& rrect, SkRegion::Op op, bool doAA) { argument
67 this->initRRect(0, rrect, op, doAA);
70 Element(const SkPath& path, SkRegion::Op op, bool doAA) { argument
71 this->initPath(0, path, op, doAA);
212 Element(int saveCount, const SkRRect& rrect, SkRegion::Op op, bool doAA) { argument
213 this->initRRect(saveCount, rrect, op, doAA);
216 Element(int saveCount, const SkRect& rect, SkRegion::Op op, bool doAA) { argument
217 this->initRect(saveCount, rect, op, doAA);
220 Element(int saveCount, const SkPath& path, SkRegion::Op op, bool doAA) argument
224 initCommon(int saveCount, SkRegion::Op op, bool doAA) argument
236 initRect(int saveCount, const SkRect& rect, SkRegion::Op op, bool doAA) argument
242 initRRect(int saveCount, const SkRRect& rrect, SkRegion::Op op, bool doAA) argument
[all...]
/external/skia/src/core/
H A DSkRasterClip.cpp144 bool SkRasterClip::setPath(const SkPath& path, const SkRegion& clip, bool doAA) { argument
151 if (this->isBW() && !doAA) {
159 (void)fAA.setPath(path, &clip, doAA);
164 bool SkRasterClip::op(const SkRRect& rrect, const SkIRect& bounds, SkRegion::Op op, bool doAA) { argument
166 return this->op(rrect.getBounds(), bounds, op, doAA);
172 return this->op(path, bounds, op, doAA);
175 bool SkRasterClip::op(const SkPath& path, const SkIRect& bounds, SkRegion::Op op, bool doAA) { argument
205 return this->setPath(path, this->bwRgn(), doAA);
209 clip.setPath(path, base, doAA);
216 return this->setPath(path, base, doAA);
225 setPath(const SkPath& path, const SkIRect& clip, bool doAA) argument
288 op(const SkRect& r, const SkIRect& bounds, SkRegion::Op op, bool doAA) argument
[all...]
H A 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);
H A 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);
H A DSkClipStack.cpp114 bool doAA) {
118 this->initRect(saveCount, r, op, doAA);
125 this->initRRect(saveCount, rrect, op, doAA);
132 this->initCommon(saveCount, op, doAA);
721 void SkClipStack::clipDevRRect(const SkRRect& rrect, SkRegion::Op op, bool doAA) { argument
722 Element element(fSaveCount, rrect, op, doAA);
726 void SkClipStack::clipDevRect(const SkRect& rect, SkRegion::Op op, bool doAA) { argument
727 Element element(fSaveCount, rect, op, doAA);
731 void SkClipStack::clipDevPath(const SkPath& path, SkRegion::Op op, bool doAA) { argument
732 Element element(fSaveCount, path, op, doAA);
113 initPath(int saveCount, const SkPath& path, SkRegion::Op op, bool doAA) argument
[all...]
H A 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);
H A DSkPicturePlayback.cpp125 bool doAA = ClipParams_unpackDoAA(packed); local
128 canvas->clipPath(path, regionOp, doAA);
149 bool doAA = ClipParams_unpackDoAA(packed); local
152 canvas->clipRect(rect, regionOp, doAA);
162 bool doAA = ClipParams_unpackDoAA(packed); local
165 canvas->clipRRect(rrect, regionOp, doAA);
H A DSkPictureRecord.cpp305 size_t SkPictureRecord::recordClipRect(const SkRect& rect, SkRegion::Op op, bool doAA) { argument
315 this->addInt(ClipParams_pack(op, doAA));
327 size_t SkPictureRecord::recordClipRRect(const SkRRect& rrect, SkRegion::Op op, bool doAA) { argument
337 this->addInt(ClipParams_pack(op, doAA));
349 size_t SkPictureRecord::recordClipPath(int pathID, SkRegion::Op op, bool doAA) { argument
359 this->addInt(ClipParams_pack(op, doAA));
H A DSkPictureFlat.h108 // doAA:1 | regionOp:4
110 static inline uint32_t ClipParams_pack(SkRegion::Op op, bool doAA) { argument
111 unsigned doAABit = doAA ? 1 : 0;
/external/skia/bench/
H A DDrawBitmapAABench.cpp20 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 DLineBench.cpp29 LineBench(SkScalar width, bool doAA) { argument
31 fDoAA = doAA;
32 fName.printf("lines_%g_%s", width, doAA ? "AA" : "BW");
H A DAAClipBench.cpp27 AAClipBench(bool doPath, bool doAA) argument
29 , fDoAA(doAA) {
33 doAA ? "AA" : "BW");
100 NestedAAClipBench(bool doAA) : fDoAA(doAA) { argument
101 fName.printf("nested_aaclip_%s", doAA ? "AA" : "BW");
183 AAClipBuilderBench(bool doPath, bool doAA) { argument
185 fDoAA = doAA;
188 doAA ? "AA" : "BW");
H A DDashBench.cpp259 DrawPointsDashingBench(int dashLength, int strokeWidth, bool doAA) argument
261 fName.printf("drawpointsdash_%d_%d%s", dashLength, strokeWidth, doAA ? "_aa" : "_bw");
263 fDoAA = doAA;
386 DashGridBench(int dashLength, int strokeWidth, bool doAA) { argument
387 fName.printf("dashgrid_%d_%d%s", dashLength, strokeWidth, doAA ? "_aa" : "_bw");
389 fDoAA = doAA;
/external/skia/samplecode/
H A DSampleClip.cpp20 static void show_text(SkCanvas* canvas, bool doAA) { argument
23 paint.setAntiAlias(doAA);
35 static void show_fill(SkCanvas* canvas, bool doAA) { argument
38 paint.setAntiAlias(doAA);
62 static void show_stroke(SkCanvas* canvas, bool doAA, SkScalar strokeWidth, int n) { argument
65 paint.setAntiAlias(doAA);
95 static void show_hair(SkCanvas* canvas, bool doAA) { argument
96 show_stroke(canvas, doAA, 0, 150);
99 static void show_thick(SkCanvas* canvas, bool doAA) { argument
100 show_stroke(canvas, doAA, SkIntToScala
[all...]
/external/skia/gm/
H A Dnested.cpp18 NestedGM(bool doAA, bool flipped) : fDoAA(doAA), fFlipped(flipped) { argument
137 DEF_GM( return new NestedGM(/* doAA = */ true, /* flipped = */ false); )
138 DEF_GM( return new NestedGM(/* doAA = */ false, /* flipped = */ false); )
139 DEF_GM( return new NestedGM(/* doAA = */ true, /* flipped = */ true); )
140 DEF_GM( return new NestedGM(/* doAA = */ false, /* flipped = */ true); )
H A Dperspshaders.cpp30 PerspShadersGM(bool doAA) : fDoAA(doAA) { } argument
H A Ddashing.cpp406 Dashing5GM(bool doAA) : fDoAA(doAA) {} argument
/external/skia/tools/debugger/
H A DSkObjectParser.h36 @param doAA boolean
38 static SkString* BoolToString(bool doAA);
H A DSkDebugCanvas.cpp138 void clipRect(const SkRect& r, SkRegion::Op, bool doAA) override {
142 p.setAntiAlias(doAA);
145 void clipRRect(const SkRRect& rr, SkRegion::Op, bool doAA) override {
149 p.setAntiAlias(doAA);
152 void clipPath(const SkPath& path, SkRegion::Op, bool doAA) override {
156 p.setAntiAlias(doAA);
H A 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; } function in class:SkClipRectCommand
198 SkClipRRectCommand(const SkRRect& rrect, SkRegion::Op op, bool doAA);
206 bool doAA() const { return fDoAA; } function in class:SkClipRRectCommand
H A DSkObjectParser.cpp86 SkString* SkObjectParser::BoolToString(bool doAA) { argument
87 SkString* mBool = new SkString("Bool doAA: ");
88 if (doAA) {
/external/skia/src/gpu/
H A DGrBlurUtils.cpp100 bool doAA,
111 desc.fSampleCnt = doAA ? sampleCnt : 0;
135 tempPaint.setAntiAlias(doAA);
96 create_mask_GPU(GrContext* context, SkRect* maskRect, const SkPath& devPath, const GrStrokeInfo& strokeInfo, bool doAA, int sampleCnt) argument
H A DGrReducedClip.cpp386 bool doAA = iter.prev()->isAA(); local
387 result->addToHead(isectRect, SkRegion::kReplace_Op, doAA);
389 *requiresAA = doAA;
/external/skia/tests/
H A DClipStackTest.cpp20 bool doAA = false; local
33 s.clipDevPath(p, SkRegion::kIntersect_Op, doAA);
39 s.clipDevRect(r, SkRegion::kIntersect_Op, doAA);
41 s.clipDevRect(r, SkRegion::kIntersect_Op, doAA);
47 s.clipDevRect(r, SkRegion::kUnion_Op, doAA);
62 s.clipDevRect(r, SkRegion::kUnion_Op, doAA);
71 s.clipDevRect(r, SkRegion::kIntersect_Op, doAA);
79 s.clipDevPath(rp, SkRegion::kUnion_Op, doAA);
89 s.clipDevRect(r, SkRegion::kUnion_Op, doAA);
112 s.clipDevPath(p, SkRegion::kIntersect_Op, doAA);
[all...]
/external/skia/src/ports/
H A DSkFontHost_mac.cpp815 bool doAA = false; local
820 doAA = true;
826 doAA = true;
871 fDoAA = !doAA;
883 if (fDoAA != doAA) {
884 CGContextSetShouldAntialias(fCG, doAA);
885 fDoAA = doAA;

Completed in 421 milliseconds

12