/external/skia/bench/ |
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 | 27 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 D | DashBench.cpp | 258 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 D | nested.cpp | 17 NestedGM(bool doAA) : fDoAA(doAA) { argument
|
H A D | dashing.cpp | 402 Dashing5GM(bool doAA) : fDoAA(doAA) {} argument
|
/external/skia/samplecode/ |
H A D | SampleClip.cpp | 19 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 D | GrReducedClip.cpp | 388 bool doAA = iter.prev()->isAA(); local 389 SkNEW_INSERT_AT_LLIST_HEAD(result, Element, (isectRect, SkRegion::kReplace_Op, doAA)); 391 *requiresAA = doAA;
|
H A D | GrClipMaskManager.cpp | 63 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 D | GrContext.cpp | 637 bool doAA = needAA && apply_aa_to_rect(target, &pipelineBuilder, &devBoundRect, rect, width, local 640 if (doAA) {
|
H A D | SkGpuDevice.cpp | 710 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 D | SkRasterClip.cpp | 144 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 D | SkPicturePlayback.cpp | 106 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 D | SkClipStack.cpp | 114 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 D | SkPictureFlat.h | 88 // 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 D | SkPictureRecord.cpp | 373 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 D | SkAAClip.cpp | 755 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 D | SkCanvas.cpp | 1352 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 D | SkPaint.cpp | 184 void SkPaint::setAntiAlias(bool doAA) { argument 185 this->setFlags(SkSetClearMask(fBitfields.fFlags, doAA, kAntiAlias_Flag));
|
/external/skia/src/utils/debugger/ |
H A D | SkObjectParser.cpp | 60 SkString* SkObjectParser::BoolToString(bool doAA) { argument 61 SkString* mBool = new SkString("Bool doAA: "); 62 if (doAA) {
|
H A D | SkDrawCommand.cpp | 185 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 D | SkDrawCommand.h | 132 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 D | SkClipStack.h | 63 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 D | ClipStackTest.cpp | 20 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 D | SkFontHost_mac.cpp | 788 bool doAA = false; local 793 doAA = true; 799 doAA = true; 845 fDoAA = !doAA; 857 if (fDoAA != doAA) { 858 CGContextSetShouldAntialias(fCG, doAA); 859 fDoAA = doAA;
|