HomeSort by relevance Sort by last modified time
    Searched refs:doAA (Results 1 - 25 of 28) sorted by null

1 2

  /external/skia/src/core/
SkClipStack.h 68 Element(const SkRect& rect, SkClipOp op, bool doAA) {
69 this->initRect(0, rect, op, doAA);
72 Element(const SkRRect& rrect, SkClipOp op, bool doAA) {
73 this->initRRect(0, rrect, op, doAA);
76 Element(const SkPath& path, SkClipOp op, bool doAA) {
77 this->initPath(0, path, op, doAA);
259 Element(int saveCount, const SkRRect& rrect, SkClipOp op, bool doAA) {
260 this->initRRect(saveCount, rrect, op, doAA);
263 Element(int saveCount, const SkRect& rect, SkClipOp op, bool doAA) {
264 this->initRect(saveCount, rect, op, doAA);
    [all...]
SkRasterClip.cpp 64 SkRegion::Op op, bool doAA) {
75 ir = doAA ? devRect.roundOut() : devRect.round();
82 SkRegion::Op op, bool doAA) {
83 this->op(rrect.getBounds(), ctm, devBounds, op, doAA);
87 SkRegion::Op op, bool doAA) {
227 bool SkRasterClip::setPath(const SkPath& path, const SkRegion& clip, bool doAA) {
230 if (this->isBW() && !doAA) {
238 (void)fAA.setPath(path, &clip, doAA);
244 SkRegion::Op op, bool doAA) {
251 return this->op(path, matrix, bounds, op, doAA);
    [all...]
SkAAClip.h 38 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);
SkRasterClip.h 96 bool op(const SkRect&, const SkMatrix& matrix, const SkIRect&, SkRegion::Op, bool doAA);
97 bool op(const SkRRect&, const SkMatrix& matrix, const SkIRect&, SkRegion::Op, bool doAA);
98 bool op(const SkPath&, const SkMatrix& matrix, const SkIRect&, SkRegion::Op, bool doAA);
165 bool setPath(const SkPath& path, const SkRegion& clip, bool doAA);
166 bool setPath(const SkPath& path, const SkIRect& clip, bool doAA);
SkPictureFlat.h 129 // doAA:1 | clipOp:4
131 static inline uint32_t ClipParams_pack(SkClipOp op, bool doAA) {
132 unsigned doAABit = doAA ? 1 : 0;
SkClipStack.cpp 116 bool doAA) {
120 this->initRect(saveCount, r, op, doAA);
127 this->initRRect(saveCount, rrect, op, doAA);
134 this->initCommon(saveCount, op, doAA);
751 bool doAA) {
754 Element element(fSaveCount, transformedRRect, op, doAA);
765 this->clipPath(path, matrix, op, doAA);
769 bool doAA) {
778 Element element(fSaveCount, devRect, op, doAA);
785 this->clipPath(path, matrix, op, doAA);
    [all...]
SkPictureRecord.h 234 size_t recordClipRect(const SkRect& rect, SkClipOp op, bool doAA);
235 size_t recordClipRRect(const SkRRect& rrect, SkClipOp op, bool doAA);
236 size_t recordClipPath(int pathID, SkClipOp op, bool doAA);
SkPicturePlayback.cpp 140 bool doAA = ClipParams_unpackDoAA(packed);
145 canvas->clipPath(path, clipOp, doAA);
169 bool doAA = ClipParams_unpackDoAA(packed);
174 canvas->clipRect(rect, clipOp, doAA);
184 bool doAA = ClipParams_unpackDoAA(packed);
189 canvas->clipRRect(rrect, clipOp, doAA);
SkPictureRecord.cpp 319 size_t SkPictureRecord::recordClipRect(const SkRect& rect, SkClipOp op, bool doAA) {
329 this->addInt(ClipParams_pack(op, doAA));
341 size_t SkPictureRecord::recordClipRRect(const SkRRect& rrect, SkClipOp op, bool doAA) {
351 this->addInt(ClipParams_pack(op, doAA));
363 size_t SkPictureRecord::recordClipPath(int pathID, SkClipOp op, bool doAA) {
373 this->addInt(ClipParams_pack(op, doAA));
    [all...]
SkAAClip.cpp 755 bool SkAAClip::setRect(const SkRect& r, bool doAA) {
766 return this->setPath(path, nullptr, doAA);
    [all...]
  /external/skia/bench/
DrawBitmapAABench.cpp 20 DrawBitmapAABench(bool doAA, const SkMatrix& matrix, const char name[])
24 fPaint.setAntiAlias(doAA);
27 fName.appendf("%s_%s", doAA ? "aa" : "noaa", name);
LineBench.cpp 29 LineBench(SkScalar width, bool doAA) {
31 fDoAA = doAA;
32 fName.printf("lines_%g_%s", width, doAA ? "AA" : "BW");
AAClipBench.cpp 28 AAClipBench(bool doPath, bool doAA)
30 , fDoAA(doAA) {
34 doAA ? "AA" : "BW");
101 NestedAAClipBench(bool doAA) : fDoAA(doAA) {
102 fName.printf("nested_aaclip_%s", doAA ? "AA" : "BW");
183 AAClipBuilderBench(bool doPath, bool doAA) {
185 fDoAA = doAA;
188 doAA ? "AA" : "BW");
DashBench.cpp 257 DrawPointsDashingBench(int dashLength, int strokeWidth, bool doAA)
259 fName.printf("drawpointsdash_%d_%d%s", dashLength, strokeWidth, doAA ? "_aa" : "_bw");
261 fDoAA = doAA;
383 DashGridBench(int dashLength, int strokeWidth, bool doAA) {
384 fName.printf("dashgrid_%d_%d%s", dashLength, strokeWidth, doAA ? "_aa" : "_bw");
386 fDoAA = doAA;
  /external/skia/samplecode/
SampleClip.cpp 21 static void show_text(SkCanvas* canvas, bool doAA) {
24 paint.setAntiAlias(doAA);
36 static void show_fill(SkCanvas* canvas, bool doAA) {
39 paint.setAntiAlias(doAA);
63 static void show_stroke(SkCanvas* canvas, bool doAA, SkScalar strokeWidth, int n) {
66 paint.setAntiAlias(doAA);
96 static void show_hair(SkCanvas* canvas, bool doAA) {
97 show_stroke(canvas, doAA, 0, 150);
100 static void show_thick(SkCanvas* canvas, bool doAA) {
101 show_stroke(canvas, doAA, SkIntToScalar(5), 50)
    [all...]
  /external/skia/gm/
nested.cpp 19 NestedGM(bool doAA, bool flipped) : fDoAA(doAA), fFlipped(flipped) {
138 DEF_GM( return new NestedGM(/* doAA = */ true, /* flipped = */ false); )
139 DEF_GM( return new NestedGM(/* doAA = */ false, /* flipped = */ false); )
140 DEF_GM( return new NestedGM(/* doAA = */ true, /* flipped = */ true); )
141 DEF_GM( return new NestedGM(/* doAA = */ false, /* flipped = */ true); )
perspshaders.cpp 31 PerspShadersGM(bool doAA) : fDoAA(doAA) { }
dashing.cpp 407 Dashing5GM(bool doAA) : fDoAA(doAA) {}
  /external/skia/tools/debugger/
SkObjectParser.h 36 @param doAA boolean
38 static SkString* BoolToString(bool doAA);
SkDebugCanvas.cpp 156 void clipRect(const SkRect& r, SkClipOp, bool doAA) override {
160 p.setAntiAlias(doAA);
163 void clipRRect(const SkRRect& rr, SkClipOp, bool doAA) override {
167 p.setAntiAlias(doAA);
170 void clipPath(const SkPath& path, SkClipOp, bool doAA) override {
174 p.setAntiAlias(doAA);
SkDrawCommand.h 180 SkClipPathCommand(const SkPath& path, SkClipOp op, bool doAA);
210 SkClipRectCommand(const SkRect& rect, SkClipOp op, bool doAA);
217 bool doAA() const { return fDoAA; }
229 SkClipRRectCommand(const SkRRect& rrect, SkClipOp op, bool doAA);
237 bool doAA() const { return fDoAA; }
SkObjectParser.cpp 86 SkString* SkObjectParser::BoolToString(bool doAA) {
87 SkString* mBool = new SkString("Bool doAA: ");
88 if (doAA) {
SkDrawCommand.cpp     [all...]
  /external/skia/tests/
ClipStackTest.cpp 26 bool doAA = false;
39 s.clipPath(p, SkMatrix::I(), kIntersect_SkClipOp, doAA);
45 s.clipRect(r, SkMatrix::I(), kIntersect_SkClipOp, doAA);
47 s.clipRect(r, SkMatrix::I(), kIntersect_SkClipOp, doAA);
53 s.clipRect(r, SkMatrix::I(), kUnion_SkClipOp, doAA);
68 s.clipRect(r, SkMatrix::I(), kUnion_SkClipOp, doAA);
77 s.clipRect(r, SkMatrix::I(), kIntersect_SkClipOp, doAA);
85 s.clipPath(rp, SkMatrix::I(), kUnion_SkClipOp, doAA);
95 s.clipRect(r, SkMatrix::I(), kUnion_SkClipOp, doAA);
118 s.clipPath(p, SkMatrix::I(), kIntersect_SkClipOp, doAA);
    [all...]
  /external/skia/src/ports/
SkFontHost_mac.cpp 800 bool doAA = false;
805 doAA = true;
811 doAA = true;
856 fDoAA = !doAA;
862 if (fDoAA != doAA) {
863 CGContextSetShouldAntialias(fCG.get(), doAA);
864 fDoAA = doAA;
    [all...]

Completed in 1251 milliseconds

1 2