Searched defs:doAA (Results 1 - 24 of 24) sorted by relevance

/external/skia/bench/
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.cpp258 DrawPointsDashingBench(int dashLength, int strokeWidth, bool doAA) argument
260 fName.printf("drawpointsdash_%d_%d%s", dashLength, strokeWidth, doAA ? "_aa" : "_bw");
262 fDoAA = doAA;
385 DashGridBench(int dashLength, int strokeWidth, bool doAA) { argument
386 fName.printf("dashgrid_%d_%d%s", dashLength, strokeWidth, doAA ? "_aa" : "_bw");
388 fDoAA = doAA;
/external/skia/gm/
H A Dnested.cpp17 NestedGM(bool doAA) : fDoAA(doAA) { argument
H A Ddashing.cpp402 Dashing5GM(bool doAA) : fDoAA(doAA) {} argument
/external/skia/samplecode/
H A DSampleClip.cpp19 static void show_text(SkCanvas* canvas, bool doAA) { argument
22 paint.setAntiAlias(doAA);
34 static void show_fill(SkCanvas* canvas, bool doAA) { argument
37 paint.setAntiAlias(doAA);
61 static void show_stroke(SkCanvas* canvas, bool doAA, SkScalar strokeWidth, int n) { argument
64 paint.setAntiAlias(doAA);
94 static void show_hair(SkCanvas* canvas, bool doAA) { argument
95 show_stroke(canvas, doAA, 0, 150);
98 static void show_thick(SkCanvas* canvas, bool doAA) { argument
99 show_stroke(canvas, doAA, SkIntToScala
[all...]
/external/skia/src/gpu/
H A DGrReducedClip.cpp388 bool doAA = iter.prev()->isAA(); local
389 SkNEW_INSERT_AT_LLIST_HEAD(result, Element, (isectRect, SkRegion::kReplace_Op, doAA));
391 *requiresAA = doAA;
H A DGrClipMaskManager.cpp63 bool doAA) {
70 GrPathRendererChain::DrawType type = doAA ?
57 path_needs_SW_renderer(GrContext* context, const GrDrawTarget* gpu, const GrPipelineBuilder* pipelineBuilder, const SkMatrix& viewMatrix, const SkPath& origPath, const GrStrokeInfo& stroke, bool doAA) argument
H A DGrContext.cpp637 bool doAA = needAA && apply_aa_to_rect(target, &pipelineBuilder, &devBoundRect, rect, width, local
640 if (doAA) {
H A DSkGpuDevice.cpp710 bool doAA,
716 desc.fSampleCnt = doAA ? sampleCnt : 0;
737 tempPaint.setAntiAlias(doAA);
705 create_mask_GPU(GrContext* context, GrRenderTarget* rt, const SkRect& maskRect, const SkPath& devPath, const GrStrokeInfo& strokeInfo, bool doAA, int sampleCnt) argument
/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 SkPath& path, const SkISize& size, SkRegion::Op op, bool doAA) { argument
192 return this->setPath(path, this->bwRgn(), doAA);
196 clip.setPath(path, base, doAA);
203 return this->setPath(path, base, doAA);
206 clip.setPath(path, base, doAA);
212 bool SkRasterClip::setPath(const SkPath& path, const SkIRect& clip, bool doAA) { argument
215 return this->setPath(path, tmp, doAA);
275 op(const SkRect& r, const SkISize& size, SkRegion::Op op, bool doAA) argument
[all...]
H A DSkPicturePlayback.cpp106 bool doAA = ClipParams_unpackDoAA(packed); local
109 canvas->clipPath(path, regionOp, doAA);
130 bool doAA = ClipParams_unpackDoAA(packed); local
133 canvas->clipRect(rect, regionOp, doAA);
143 bool doAA = ClipParams_unpackDoAA(packed); local
146 canvas->clipRRect(rrect, regionOp, 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);
718 void SkClipStack::clipDevRRect(const SkRRect& rrect, SkRegion::Op op, bool doAA) { argument
719 Element element(fSaveCount, rrect, op, doAA);
723 void SkClipStack::clipDevRect(const SkRect& rect, SkRegion::Op op, bool doAA) { argument
724 Element element(fSaveCount, rect, op, doAA);
728 void SkClipStack::clipDevPath(const SkPath& path, SkRegion::Op op, bool doAA) { argument
729 Element element(fSaveCount, path, op, doAA);
113 initPath(int saveCount, const SkPath& path, SkRegion::Op op, bool doAA) argument
[all...]
H A DSkPictureFlat.h88 // doAA:1 | regionOp:4
90 static inline uint32_t ClipParams_pack(SkRegion::Op op, bool doAA) { argument
91 unsigned doAABit = doAA ? 1 : 0;
H A DSkPictureRecord.cpp373 size_t SkPictureRecord::recordClipRect(const SkRect& rect, SkRegion::Op op, bool doAA) { argument
383 this->addInt(ClipParams_pack(op, doAA));
395 size_t SkPictureRecord::recordClipRRect(const SkRRect& rrect, SkRegion::Op op, bool doAA) { argument
405 this->addInt(ClipParams_pack(op, doAA));
417 size_t SkPictureRecord::recordClipPath(int pathID, SkRegion::Op op, bool doAA) { argument
427 this->addInt(ClipParams_pack(op, doAA));
H A DSkAAClip.cpp755 bool SkAAClip::setRect(const SkRect& r, bool doAA) { argument
766 return this->setPath(path, NULL, doAA);
1373 bool SkAAClip::setPath(const SkPath& path, const SkRegion* clip, bool doAA) { argument
1400 if (doAA) {
1768 bool SkAAClip::op(const SkRect& rOrig, SkRegion::Op op, bool doAA) { argument
1795 clip.setRect(*r, doAA);
H A DSkCanvas.cpp1352 void SkCanvas::clipRect(const SkRect& rect, SkRegion::Op op, bool doAA) { argument
1354 ClipEdgeStyle edgeStyle = doAA ? kSoft_ClipEdgeStyle : kHard_ClipEdgeStyle;
1406 SkRegion::Op op, bool doAA) {
1407 rc->op(devPath, canvas->getBaseLayerSize(), op, doAA);
1410 void SkCanvas::clipRRect(const SkRRect& rrect, SkRegion::Op op, bool doAA) { argument
1412 ClipEdgeStyle edgeStyle = doAA ? kSoft_ClipEdgeStyle : kHard_ClipEdgeStyle;
1446 void SkCanvas::clipPath(const SkPath& path, SkRegion::Op op, bool doAA) { argument
1448 ClipEdgeStyle edgeStyle = doAA ? kSoft_ClipEdgeStyle : kHard_ClipEdgeStyle;
1405 rasterclip_path(SkRasterClip* rc, const SkCanvas* canvas, const SkPath& devPath, SkRegion::Op op, bool doAA) argument
H A DSkPaint.cpp184 void SkPaint::setAntiAlias(bool doAA) { argument
185 this->setFlags(SkSetClearMask(fBitfields.fFlags, doAA, kAntiAlias_Flag));
/external/skia/src/utils/debugger/
H A DSkObjectParser.cpp60 SkString* SkObjectParser::BoolToString(bool doAA) { argument
61 SkString* mBool = new SkString("Bool doAA: ");
62 if (doAA) {
H A DSkDrawCommand.cpp185 SkClipPathCommand::SkClipPathCommand(const SkPath& path, SkRegion::Op op, bool doAA) argument
189 fDoAA = doAA;
193 fInfo.push(SkObjectParser::BoolToString(doAA));
218 SkClipRectCommand::SkClipRectCommand(const SkRect& rect, SkRegion::Op op, bool doAA) argument
222 fDoAA = doAA;
226 fInfo.push(SkObjectParser::BoolToString(doAA));
233 SkClipRRectCommand::SkClipRRectCommand(const SkRRect& rrect, SkRegion::Op op, bool doAA) argument
237 fDoAA = doAA;
241 fInfo.push(SkObjectParser::BoolToString(doAA));
H A 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; } function in class:SkClipRectCommand
173 SkClipRRectCommand(const SkRRect& rrect, SkRegion::Op op, bool doAA);
179 bool doAA() const { return fDoAA; } function in class:SkClipRRectCommand
/external/skia/include/core/
H A DSkClipStack.h63 Element(const SkRect& rect, SkRegion::Op op, bool doAA) { argument
64 this->initRect(0, rect, op, doAA);
67 Element(const SkRRect& rrect, SkRegion::Op op, bool doAA) { argument
68 this->initRRect(0, rrect, op, doAA);
71 Element(const SkPath& path, SkRegion::Op op, bool doAA) { argument
72 this->initPath(0, path, op, doAA);
213 Element(int saveCount, const SkRRect& rrect, SkRegion::Op op, bool doAA) { argument
214 this->initRRect(saveCount, rrect, op, doAA);
217 Element(int saveCount, const SkRect& rect, SkRegion::Op op, bool doAA) { argument
218 this->initRect(saveCount, rect, op, doAA);
221 Element(int saveCount, const SkPath& path, SkRegion::Op op, bool doAA) argument
225 initCommon(int saveCount, SkRegion::Op op, bool doAA) argument
237 initRect(int saveCount, const SkRect& rect, SkRegion::Op op, bool doAA) argument
243 initRRect(int saveCount, const SkRRect& rrect, SkRegion::Op op, bool doAA) argument
[all...]
/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.cpp788 bool doAA = false; local
793 doAA = true;
799 doAA = true;
845 fDoAA = !doAA;
857 if (fDoAA != doAA) {
858 CGContextSetShouldAntialias(fCG, doAA);
859 fDoAA = doAA;

Completed in 420 milliseconds