Home
last modified time | relevance | path

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

12

/third_party/skia/src/core/
DSkClipStack.h76 Element(const SkRect& rect, const SkMatrix& m, SkClipOp op, bool doAA) { in Element() argument
77 this->initRect(0, rect, m, op, doAA); in Element()
80 Element(const SkRRect& rrect, const SkMatrix& m, SkClipOp op, bool doAA) { in Element() argument
81 this->initRRect(0, rrect, m, op, doAA); in Element()
84 Element(const SkPath& path, const SkMatrix& m, SkClipOp op, bool doAA) { in Element() argument
85 this->initPath(0, path, m, op, doAA); in Element()
92 Element(const SkRect& rect, bool doAA) { in Element() argument
93 this->initReplaceRect(0, rect, doAA); in Element()
249 Element(int saveCount, const SkRRect& rrect, const SkMatrix& m, SkClipOp op, bool doAA) { in Element() argument
250 this->initRRect(saveCount, rrect, m, op, doAA); in Element()
[all …]
DSkRasterClip.cpp67 SkRasterClip::SkRasterClip(const SkPath& path, const SkIRect& bounds, bool doAA) { in SkRasterClip() argument
68 if (doAA) { in SkRasterClip()
144 bool SkRasterClip::op(const SkRect& localRect, const SkMatrix& matrix, SkClipOp op, bool doAA) { in op() argument
149 return this->op(SkPath::Rect(localRect), matrix, op, doAA); in op()
153 if (fIsBW && doAA) { in op()
158 doAA = false; in op()
162 if (fIsBW && !doAA) { in op()
168 (void)fAA.op(devRect, op, doAA); in op()
173 bool SkRasterClip::op(const SkRRect& rrect, const SkMatrix& matrix, SkClipOp op, bool doAA) { in op() argument
174 return this->op(SkPath::RRect(rrect), matrix, op, doAA); in op()
[all …]
DSkClipStack.cpp173 void SkClipStack::Element::initCommon(int saveCount, SkClipOp op, bool doAA) { in initCommon() argument
176 fDoAA = doAA; in initCommon()
187 SkClipOp op, bool doAA) { in initRect() argument
193 this->initCommon(saveCount, op, doAA); in initRect()
199 this->initAsPath(saveCount, path, m, op, doAA); in initRect()
203 SkClipOp op, bool doAA) { in initRRect() argument
211 this->initCommon(saveCount, op, doAA); in initRRect()
217 this->initAsPath(saveCount, path, m, op, doAA); in initRRect()
221 SkClipOp op, bool doAA) { in initPath() argument
225 this->initRect(saveCount, r, m, op, doAA); in initPath()
[all …]
DSkRasterClip.h29 SkRasterClip(const SkPath& path, const SkIRect& bounds, bool doAA);
62 bool op(const SkRect&, const SkMatrix& matrix, SkClipOp, bool doAA);
63 bool op(const SkRRect&, const SkMatrix& matrix, SkClipOp, bool doAA);
64 bool op(const SkPath&, const SkMatrix& matrix, SkClipOp, bool doAA);
DSkAAClip.h36 bool setPath(const SkPath&, const SkIRect& bounds, bool doAA = true);
40 bool op(const SkRect&, SkClipOp, bool doAA);
DSkPictureFlat.h158 static inline uint32_t ClipParams_pack(SkClipOp op, bool doAA) { in ClipParams_pack() argument
159 unsigned doAABit = doAA ? 1 : 0; in ClipParams_pack()
DSkPictureRecord.h227 size_t recordClipRect(const SkRect& rect, SkClipOp op, bool doAA);
228 size_t recordClipRRect(const SkRRect& rrect, SkClipOp op, bool doAA);
229 size_t recordClipPath(int pathID, SkClipOp op, bool doAA);
DSkPicturePlayback.cpp122 bool doAA = ClipParams_unpackDoAA(packed); in handleOp() local
129 canvas->clipPath(path, clipOp, doAA); in handleOp()
157 bool doAA = ClipParams_unpackDoAA(packed); in handleOp() local
164 canvas->clipRect(rect, clipOp, doAA); in handleOp()
175 bool doAA = ClipParams_unpackDoAA(packed); in handleOp() local
182 canvas->clipRRect(rrect, clipOp, doAA); in handleOp()
DSkPictureRecord.cpp317 size_t SkPictureRecord::recordClipRect(const SkRect& rect, SkClipOp op, bool doAA) { in recordClipRect() argument
327 this->addInt(ClipParams_pack(op, doAA)); in recordClipRect()
339 size_t SkPictureRecord::recordClipRRect(const SkRRect& rrect, SkClipOp op, bool doAA) { in recordClipRRect() argument
349 this->addInt(ClipParams_pack(op, doAA)); in recordClipRRect()
361 size_t SkPictureRecord::recordClipPath(int pathID, SkClipOp op, bool doAA) { in recordClipPath() argument
371 this->addInt(ClipParams_pack(op, doAA)); in recordClipPath()
DSkAAClip.cpp269 bool blitPath(SkAAClip* target, const SkPath& path, bool doAA);
829 bool SkAAClip::Builder::blitPath(SkAAClip* target, const SkPath& path, bool doAA) { in blitPath() argument
833 if (doAA) { in blitPath()
1395 bool SkAAClip::setPath(const SkPath& path, const SkIRect& clip, bool doAA) { in setPath() argument
1415 return builder.blitPath(this, path, doAA); in setPath()
1482 bool SkAAClip::op(const SkRect& rect, SkClipOp op, bool doAA) { in op() argument
1483 if (!doAA) { in op()
DSkCanvas.cpp1423 void SkCanvas::clipRect(const SkRect& rect, SkClipOp op, bool doAA) { in clipRect() argument
1428 ClipEdgeStyle edgeStyle = doAA ? kSoft_ClipEdgeStyle : kHard_ClipEdgeStyle; in clipRect()
1501 void SkCanvas::clipRRect(const SkRRect& rrect, SkClipOp op, bool doAA) { in clipRRect() argument
1503 ClipEdgeStyle edgeStyle = doAA ? kSoft_ClipEdgeStyle : kHard_ClipEdgeStyle; in clipRRect()
1518 void SkCanvas::clipPath(const SkPath& path, SkClipOp op, bool doAA) { in clipPath() argument
1520 ClipEdgeStyle edgeStyle = doAA ? kSoft_ClipEdgeStyle : kHard_ClipEdgeStyle; in clipPath()
/third_party/skia/bench/
DAAClipBench.cpp27 AAClipBench(bool doPath, bool doAA) in AAClipBench() argument
29 , fDoAA(doAA) { in AAClipBench()
33 doAA ? "AA" : "BW"); in AAClipBench()
98 NestedAAClipBench(bool doAA) : fDoAA(doAA) { in NestedAAClipBench() argument
99 fName.printf("nested_aaclip_%s", doAA ? "AA" : "BW"); in NestedAAClipBench()
178 AAClipBuilderBench(bool doPath, bool doAA) { in AAClipBuilderBench() argument
180 fDoAA = doAA; in AAClipBuilderBench()
183 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()
DDrawBitmapAABench.cpp22 DrawBitmapAABench(bool doAA, const SkMatrix& matrix, const char name[]) in DrawBitmapAABench() argument
26 fPaint.setAntiAlias(doAA); in DrawBitmapAABench()
27 fName.appendf("%s_%s", doAA ? "aa" : "noaa", name); in DrawBitmapAABench()
DDashBench.cpp255 DrawPointsDashingBench(int dashLength, int strokeWidth, bool doAA) in DrawPointsDashingBench() argument
257 fName.printf("drawpointsdash_%d_%d%s", dashLength, strokeWidth, doAA ? "_aa" : "_bw"); in DrawPointsDashingBench()
259 fDoAA = doAA; in DrawPointsDashingBench()
381 DashGridBench(int dashLength, int strokeWidth, bool doAA) { in DashGridBench() argument
382 fName.printf("dashgrid_%d_%d%s", dashLength, strokeWidth, doAA ? "_aa" : "_bw"); in DashGridBench()
384 fDoAA = doAA; in DashGridBench()
/third_party/skia/modules/androidkit/src/
DCanvas.cpp97 jint native_clipOp, jboolean doAA) { in Canvas_ClipPath() argument
100 canvas->clipPath(*path, static_cast<SkClipOp>(native_clipOp), doAA); in Canvas_ClipPath()
106 jint native_clipOp, jboolean doAA) { in Canvas_ClipRect() argument
108 canvas->clipRect(SkRect::MakeLTRB(l, t, r, b), static_cast<SkClipOp>(native_clipOp), doAA); in Canvas_ClipRect()
114 … jint native_clipOp, jboolean doAA) { in Canvas_ClipRRect() argument
117 static_cast<SkClipOp>(native_clipOp), doAA); in Canvas_ClipRRect()
/third_party/skia/samplecode/
DSampleClip.cpp21 static void show_text(SkCanvas* canvas, bool doAA) { in show_text() argument
25 font.setEdging(doAA ? SkFont::Edging::kSubpixelAntiAlias : SkFont::Edging::kAlias); in show_text()
34 static void show_fill(SkCanvas* canvas, bool doAA) { in show_fill() argument
37 paint.setAntiAlias(doAA); in show_fill()
59 static void show_stroke(SkCanvas* canvas, bool doAA, SkScalar strokeWidth, int n) { in show_stroke() argument
62 paint.setAntiAlias(doAA); in show_stroke()
90 static void show_hair(SkCanvas* canvas, bool doAA) { in show_hair() argument
91 show_stroke(canvas, doAA, 0, 150); in show_hair()
94 static void show_thick(SkCanvas* canvas, bool doAA) { in show_thick() argument
95 show_stroke(canvas, doAA, SkIntToScalar(5), 50); in show_thick()
/third_party/skia/tests/
DClipStackTest.cpp36 bool doAA = false; in test_assign_and_comparison() local
49 s.clipPath(p, SkMatrix::I(), SkClipOp::kIntersect, doAA); in test_assign_and_comparison()
55 s.clipRect(r, SkMatrix::I(), SkClipOp::kIntersect, doAA); in test_assign_and_comparison()
57 s.clipRect(r, SkMatrix::I(), SkClipOp::kIntersect, doAA); in test_assign_and_comparison()
63 s.clipRect(r, SkMatrix::I(), SkClipOp::kDifference, doAA); in test_assign_and_comparison()
78 s.clipRect(r, SkMatrix::I(), SkClipOp::kDifference, doAA); in test_assign_and_comparison()
87 s.clipRect(r, SkMatrix::I(), SkClipOp::kIntersect, doAA); in test_assign_and_comparison()
95 s.clipPath(rp, SkMatrix::I(), SkClipOp::kDifference, doAA); in test_assign_and_comparison()
105 s.clipRect(r, SkMatrix::I(), SkClipOp::kDifference, doAA); in test_assign_and_comparison()
127 s.clipPath(p, SkMatrix::I(), SkClipOp::kIntersect, doAA); in test_assign_and_comparison()
[all …]
/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/
DCanvas.java174 boolean doAA); in nClipPath() argument
176 float bottom, int clipOp, boolean doAA); in nClipRect() argument
179 int clipOp, boolean doAA); in nClipRRect() argument
/third_party/skia/src/ports/
DSkScalerContext_mac_ct.cpp165 bool doAA = false; in getCG() local
170 doAA = true; in getCG()
176 doAA = true; in getCG()
221 fDoAA = !doAA; in getCG()
227 if (fDoAA != doAA) { in getCG()
228 CGContextSetShouldAntialias(fCG.get(), doAA); in getCG()
229 fDoAA = doAA; in getCG()
/third_party/skia/gm/
Dnested.cpp26 NestedGM(bool doAA, bool flipped) : fDoAA(doAA), fFlipped(flipped) { in NestedGM() argument
Dperspshaders.cpp43 PerspShadersGM(bool doAA) : fDoAA(doAA) { } in PerspShadersGM() argument
Ddashing.cpp408 Dashing5GM(bool doAA) : fDoAA(doAA) {} in Dashing5GM() argument
/third_party/skia/tools/debugger/
DDrawCommand.h147 ClipPathCommand(const SkPath& path, SkClipOp op, bool doAA);
175 ClipRectCommand(const SkRect& rect, SkClipOp op, bool doAA);
189 ClipRRectCommand(const SkRRect& rrect, SkClipOp op, bool doAA);
DDrawCommand.cpp989 ClipPathCommand::ClipPathCommand(const SkPath& path, SkClipOp op, bool doAA) in ClipPathCommand() argument
993 fDoAA = doAA; in ClipPathCommand()
1026 ClipRectCommand::ClipRectCommand(const SkRect& rect, SkClipOp op, bool doAA) in ClipRectCommand() argument
1030 fDoAA = doAA; in ClipRectCommand()
1046 ClipRRectCommand::ClipRRectCommand(const SkRRect& rrect, SkClipOp op, bool doAA) in ClipRRectCommand() argument
1050 fDoAA = doAA; in ClipRRectCommand()

12