Home
last modified time | relevance | path

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

12

/third_party/skia/src/core/
H A 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()
253 Element(int saveCount, const SkRect& rect, const SkMatrix& m, SkClipOp op, bool doAA) Element() argument
257 Element(int saveCount, const SkPath& path, const SkMatrix& m, SkClipOp op, bool doAA) Element() argument
265 Element(int saveCount, const SkRect& rect, bool doAA) Element() argument
[all...]
H A 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()
177 op(const SkPath& path, const SkMatrix& matrix, SkClipOp op, bool doAA) op() argument
[all...]
H A 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()
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()
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()
225 this->initRect(saveCount, r, m, op, doAA); in initPath()
186 initRect(int saveCount, const SkRect& rect, const SkMatrix& m, SkClipOp op, bool doAA) initRect() argument
202 initRRect(int saveCount, const SkRRect& rrect, const SkMatrix& m, SkClipOp op, bool doAA) initRRect() argument
220 initPath(int saveCount, const SkPath& path, const SkMatrix& m, SkClipOp op, bool doAA) initPath() argument
239 initAsPath(int saveCount, const SkPath& path, const SkMatrix& m, SkClipOp op, bool doAA) initAsPath() argument
254 initReplaceRect(int saveCount, const SkRect& rect, bool doAA) initReplaceRect() argument
753 clipRRect(const SkRRect& rrect, const SkMatrix& matrix, SkClipOp op, bool doAA) clipRRect() argument
758 clipRect(const SkRect& rect, const SkMatrix& matrix, SkClipOp op, bool doAA) clipRect() argument
763 clipPath(const SkPath& path, const SkMatrix& matrix, SkClipOp op, bool doAA) clipPath() argument
774 replaceClip(const SkRect& rect, bool doAA) replaceClip() argument
[all...]
H A 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);
H A DSkPictureFlat.h155 // doAA:1 | clipOp:4
158 static inline uint32_t ClipParams_pack(SkClipOp op, bool doAA) { in ClipParams_pack() argument
159 unsigned doAABit = doAA ? 1 : 0; in ClipParams_pack()
H A DSkAAClip.h36 bool setPath(const SkPath&, const SkIRect& bounds, bool doAA = true);
40 bool op(const SkRect&, SkClipOp, bool doAA);
H A 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);
H A 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()
H A 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()
H A DSkAAClip.cpp269 bool blitPath(SkAAClip* target, const SkPath& path, bool doAA);
829 bool SkAAClip::Builder::blitPath(SkAAClip* target, const SkPath& path, bool doAA) {
833 if (doAA) {
1395 bool SkAAClip::setPath(const SkPath& path, const SkIRect& clip, bool doAA) {
1415 return builder.blitPath(this, path, doAA);
1482 bool SkAAClip::op(const SkRect& rect, SkClipOp op, bool doAA) {
1483 if (!doAA) {
1505 return this->setPath(SkPath::Rect(rect), pixelBounds, /*doAA=*/true);
1510 /*doAA=*/true);
H A DSkCanvas.cpp1428 void SkCanvas::clipRect(const SkRect& rect, SkClipOp op, bool doAA) { in clipRect() argument
1433 ClipEdgeStyle edgeStyle = doAA ? kSoft_ClipEdgeStyle : kHard_ClipEdgeStyle; in clipRect()
1506 void SkCanvas::clipRRect(const SkRRect& rrect, SkClipOp op, bool doAA) {
1508 ClipEdgeStyle edgeStyle = doAA ? kSoft_ClipEdgeStyle : kHard_ClipEdgeStyle;
1523 void SkCanvas::clipPath(const SkPath& path, SkClipOp op, bool doAA) {
1525 ClipEdgeStyle edgeStyle = doAA ? kSoft_ClipEdgeStyle : kHard_ClipEdgeStyle;
/third_party/skia/bench/
H A 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()
H A 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()
H A 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()
H A 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/
H A DCanvas.cpp97 jint native_clipOp, jboolean doAA) { in Canvas_ClipPath()
100 canvas->clipPath(*path, static_cast<SkClipOp>(native_clipOp), doAA); in Canvas_ClipPath()
106 jint native_clipOp, jboolean doAA) { in Canvas_ClipRect()
108 canvas->clipRect(SkRect::MakeLTRB(l, t, r, b), static_cast<SkClipOp>(native_clipOp), doAA); in Canvas_ClipRect() local
114 jint native_clipOp, jboolean doAA) { in Canvas_ClipRRect()
117 static_cast<SkClipOp>(native_clipOp), doAA); in Canvas_ClipRRect() local
96 Canvas_ClipPath(JNIEnv* env, jobject, jlong native_instance, jlong native_path, jint native_clipOp, jboolean doAA) Canvas_ClipPath() argument
105 Canvas_ClipRect(JNIEnv* env, jobject, jlong native_instance, jfloat l, jfloat t, jfloat r, jfloat b, jint native_clipOp, jboolean doAA) Canvas_ClipRect() argument
112 Canvas_ClipRRect(JNIEnv* env, jobject, jlong native_instance, jfloat l, jfloat t, jfloat r, jfloat b, jfloat xRad, jfloat yRad, jint native_clipOp, jboolean doAA) Canvas_ClipRRect() argument
/third_party/skia/samplecode/
H A 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, SkIntToScala in show_thick()
[all...]
/third_party/skia/tests/
H A 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/
H A DCanvas.java174 boolean doAA); in nClipPath()
176 float bottom, int clipOp, boolean doAA); in nClipRect()
179 int clipOp, boolean doAA); in nClipRRect()
173 nClipPath(long nativeInstance, long nativePath, int clipOp, boolean doAA) nClipPath() argument
175 nClipRect(long nativeInstance, float left, float top, float right, float bottom, int clipOp, boolean doAA) nClipRect() argument
177 nClipRRect(long nativeInstance, float left, float top, float right, float bottom, float xRad, float yRad, int clipOp, boolean doAA) nClipRRect() argument
/third_party/skia/src/ports/
H A 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/
H A Dnested.cpp26 NestedGM(bool doAA, bool flipped) : fDoAA(doAA), fFlipped(flipped) { in NestedGM() argument
145 DEF_GM( return new NestedGM(/* doAA = */ true, /* flipped = */ false); )
146 DEF_GM( return new NestedGM(/* doAA = */ false, /* flipped = */ false); )
147 DEF_GM( return new NestedGM(/* doAA = */ true, /* flipped = */ true); )
148 DEF_GM( return new NestedGM(/* doAA = */ false, /* flipped = */ true); )
H A Dperspshaders.cpp43 PerspShadersGM(bool doAA) : fDoAA(doAA) { } in PerspShadersGM() argument
H A Ddashing.cpp408 Dashing5GM(bool doAA) : fDoAA(doAA) {} in Dashing5GM() argument
/third_party/skia/tools/debugger/
H A 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);
H A 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()

Completed in 47 milliseconds

12