Home
last modified time | relevance | path

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

123

/external/skia/include/core/
DSkClipStack.h53 Element(const SkRect& rect, SkRegion::Op op, bool doAA) { in Element() argument
54 this->initRect(0, rect, op, doAA); in Element()
57 Element(const SkPath& path, SkRegion::Op op, bool doAA) { in Element() argument
58 this->initPath(0, path, op, doAA); in Element()
192 Element(int saveCount, const SkRect& rect, SkRegion::Op op, bool doAA) { in Element() argument
193 this->initRect(saveCount, rect, op, doAA); in Element()
196 Element(int saveCount, const SkPath& path, SkRegion::Op op, bool doAA) { in Element() argument
197 this->initPath(saveCount, path, op, doAA); in Element()
200 void initCommon(int saveCount, SkRegion::Op op, bool doAA) { in initCommon() argument
203 fDoAA = doAA; in initCommon()
[all …]
/external/chromium_org/third_party/skia/include/core/
DSkClipStack.h53 Element(const SkRect& rect, SkRegion::Op op, bool doAA) { in Element() argument
54 this->initRect(0, rect, op, doAA); in Element()
57 Element(const SkPath& path, SkRegion::Op op, bool doAA) { in Element() argument
58 this->initPath(0, path, op, doAA); in Element()
192 Element(int saveCount, const SkRect& rect, SkRegion::Op op, bool doAA) { in Element() argument
193 this->initRect(saveCount, rect, op, doAA); in Element()
196 Element(int saveCount, const SkPath& path, SkRegion::Op op, bool doAA) { in Element() argument
197 this->initPath(saveCount, path, op, doAA); in Element()
200 void initCommon(int saveCount, SkRegion::Op op, bool doAA) { in initCommon() argument
203 fDoAA = doAA; in initCommon()
[all …]
/external/chromium_org/third_party/skia/src/core/
DSkRasterClip.cpp73 bool SkRasterClip::setPath(const SkPath& path, const SkRegion& clip, bool doAA) { in setPath() argument
76 if (this->isBW() && !doAA) { in setPath()
84 (void)fAA.setPath(path, &clip, doAA); in setPath()
89 bool SkRasterClip::setPath(const SkPath& path, const SkIRect& clip, bool doAA) { in setPath() argument
92 return this->setPath(path, tmp, doAA); in setPath()
152 bool SkRasterClip::op(const SkRect& r, SkRegion::Op op, bool doAA) { in op() argument
155 if (fIsBW && doAA) { in op()
160 doAA = false; in op()
164 if (fIsBW && !doAA) { in op()
172 (void)fAA.op(r, op, doAA); in op()
DSkRasterClip.h42 bool setPath(const SkPath& path, const SkRegion& clip, bool doAA);
43 bool setPath(const SkPath& path, const SkIRect& clip, bool doAA);
48 bool op(const SkRect&, SkRegion::Op, bool doAA);
DSkAAClip.h34 bool setRect(const SkRect&, bool doAA = true);
35 bool setPath(const SkPath&, const SkRegion* clip = NULL, bool doAA = true);
43 bool op(const SkRect&, SkRegion::Op, bool doAA);
DSkClipStack.cpp528 void SkClipStack::clipDevRect(const SkRect& rect, SkRegion::Op op, bool doAA) { in clipDevRect() argument
541 if (element->rectRectIntersectAllowed(rect, doAA)) { in clipDevRect()
547 element->fDoAA = doAA; in clipDevRect()
565 new (fDeque.push_back()) Element(fSaveCount, rect, op, doAA); in clipDevRect()
569 void SkClipStack::clipDevPath(const SkPath& path, SkRegion::Op op, bool doAA) { in clipDevPath() argument
572 return this->clipDevRect(alt, op, doAA); in clipDevPath()
601 new (fDeque.push_back()) Element(fSaveCount, path, op, doAA); in clipDevPath()
/external/skia/src/core/
DSkRasterClip.cpp73 bool SkRasterClip::setPath(const SkPath& path, const SkRegion& clip, bool doAA) { in setPath() argument
76 if (this->isBW() && !doAA) { in setPath()
84 (void)fAA.setPath(path, &clip, doAA); in setPath()
89 bool SkRasterClip::setPath(const SkPath& path, const SkIRect& clip, bool doAA) { in setPath() argument
92 return this->setPath(path, tmp, doAA); in setPath()
152 bool SkRasterClip::op(const SkRect& r, SkRegion::Op op, bool doAA) { in op() argument
155 if (fIsBW && doAA) { in op()
160 doAA = false; in op()
164 if (fIsBW && !doAA) { in op()
172 (void)fAA.op(r, op, doAA); in op()
DSkRasterClip.h42 bool setPath(const SkPath& path, const SkRegion& clip, bool doAA);
43 bool setPath(const SkPath& path, const SkIRect& clip, bool doAA);
48 bool op(const SkRect&, SkRegion::Op, bool doAA);
DSkAAClip.h34 bool setRect(const SkRect&, bool doAA = true);
35 bool setPath(const SkPath&, const SkRegion* clip = NULL, bool doAA = true);
43 bool op(const SkRect&, SkRegion::Op, bool doAA);
DSkClipStack.cpp528 void SkClipStack::clipDevRect(const SkRect& rect, SkRegion::Op op, bool doAA) { in clipDevRect() argument
541 if (element->rectRectIntersectAllowed(rect, doAA)) { in clipDevRect()
547 element->fDoAA = doAA; in clipDevRect()
565 new (fDeque.push_back()) Element(fSaveCount, rect, op, doAA); in clipDevRect()
569 void SkClipStack::clipDevPath(const SkPath& path, SkRegion::Op op, bool doAA) { in clipDevPath() argument
572 return this->clipDevRect(alt, op, doAA); in clipDevPath()
601 new (fDeque.push_back()) Element(fSaveCount, path, op, doAA); in clipDevPath()
DSkCanvas.cpp1103 bool SkCanvas::clipRect(const SkRect& rect, SkRegion::Op op, bool doAA) { in clipRect() argument
1124 doAA &= fAllowSoftClip; in clipRect()
1134 fClipStack.clipDevRect(r, op, doAA); in clipRect()
1135 return fMCRec->fRasterClip->op(r, op, doAA); in clipRect()
1144 return this->SkCanvas::clipPath(path, op, doAA); in clipRect()
1149 const SkPath& devPath, SkRegion::Op op, bool doAA) { in clipPathHelper() argument
1162 return currClip->setPath(devPath, currClip->bwRgn(), doAA); in clipPathHelper()
1166 clip.setPath(devPath, base, doAA); in clipPathHelper()
1178 return currClip->setPath(devPath, base, doAA); in clipPathHelper()
1181 clip.setPath(devPath, base, doAA); in clipPathHelper()
[all …]
/external/skia/bench/
DAAClipBench.cpp27 AAClipBench(bool doPath, bool doAA) in AAClipBench() argument
29 , fDoAA(doAA) { in AAClipBench()
33 doAA ? "AA" : "BW"); in AAClipBench()
100 NestedAAClipBench(bool doAA) : fDoAA(doAA) { in NestedAAClipBench() argument
101 fName.printf("nested_aaclip_%s", doAA ? "AA" : "BW"); in NestedAAClipBench()
183 AAClipBuilderBench(bool doPath, bool doAA) { in AAClipBuilderBench() argument
185 fDoAA = doAA; in AAClipBuilderBench()
188 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()
/external/chromium_org/third_party/skia/src/utils/
DSkLuaCanvas.cpp147 bool SkLuaCanvas::clipRect(const SkRect& r, SkRegion::Op op, bool doAA) { in clipRect() argument
150 lua.pushBool(doAA, "aa"); in clipRect()
151 return this->INHERITED::clipRect(r, op, doAA); in clipRect()
154 bool SkLuaCanvas::clipRRect(const SkRRect& rrect, SkRegion::Op op, bool doAA) { in clipRRect() argument
157 lua.pushBool(doAA, "aa"); in clipRRect()
158 return this->INHERITED::clipRRect(rrect, op, doAA); in clipRRect()
161 bool SkLuaCanvas::clipPath(const SkPath& path, SkRegion::Op op, bool doAA) { in clipPath() argument
164 lua.pushBool(doAA, "aa"); in clipPath()
165 return this->INHERITED::clipPath(path, op, doAA); in clipPath()
DSkProxyCanvas.cpp61 bool SkProxyCanvas::clipRect(const SkRect& rect, SkRegion::Op op, bool doAA) { in clipRect() argument
62 return fProxy->clipRect(rect, op, doAA); in clipRect()
65 bool SkProxyCanvas::clipRRect(const SkRRect& rrect, SkRegion::Op op, bool doAA) { in clipRRect() argument
66 return fProxy->clipRRect(rrect, op, doAA); in clipRRect()
69 bool SkProxyCanvas::clipPath(const SkPath& path, SkRegion::Op op, bool doAA) { in clipPath() argument
70 return fProxy->clipPath(path, op, doAA); in clipPath()
DSkNWayCanvas.cpp139 bool SkNWayCanvas::clipRect(const SkRect& rect, SkRegion::Op op, bool doAA) { in clipRect() argument
142 iter->clipRect(rect, op, doAA); in clipRect()
144 return this->INHERITED::clipRect(rect, op, doAA); in clipRect()
147 bool SkNWayCanvas::clipRRect(const SkRRect& rrect, SkRegion::Op op, bool doAA) { in clipRRect() argument
150 iter->clipRRect(rrect, op, doAA); in clipRRect()
152 return this->INHERITED::clipRRect(rrect, op, doAA); in clipRRect()
155 bool SkNWayCanvas::clipPath(const SkPath& path, SkRegion::Op op, bool doAA) { in clipPath() argument
158 iter->clipPath(path, op, doAA); in clipPath()
160 return this->INHERITED::clipPath(path, op, doAA); in clipPath()
DSkDumpCanvas.cpp270 static const char* bool_to_aastring(bool doAA) { in bool_to_aastring() argument
271 return doAA ? "AA" : "BW"; in bool_to_aastring()
274 bool SkDumpCanvas::clipRect(const SkRect& rect, SkRegion::Op op, bool doAA) { in clipRect() argument
278 bool_to_aastring(doAA)); in clipRect()
279 return this->INHERITED::clipRect(rect, op, doAA); in clipRect()
282 bool SkDumpCanvas::clipRRect(const SkRRect& rrect, SkRegion::Op op, bool doAA) { in clipRRect() argument
286 bool_to_aastring(doAA)); in clipRRect()
287 return this->INHERITED::clipRRect(rrect, op, doAA); in clipRRect()
290 bool SkDumpCanvas::clipPath(const SkPath& path, SkRegion::Op op, bool doAA) { in clipPath() argument
294 bool_to_aastring(doAA)); in clipPath()
[all …]
/external/skia/src/utils/
DSkLuaCanvas.cpp147 bool SkLuaCanvas::clipRect(const SkRect& r, SkRegion::Op op, bool doAA) { in clipRect() argument
150 lua.pushBool(doAA, "aa"); in clipRect()
151 return this->INHERITED::clipRect(r, op, doAA); in clipRect()
154 bool SkLuaCanvas::clipRRect(const SkRRect& rrect, SkRegion::Op op, bool doAA) { in clipRRect() argument
157 lua.pushBool(doAA, "aa"); in clipRRect()
158 return this->INHERITED::clipRRect(rrect, op, doAA); in clipRRect()
161 bool SkLuaCanvas::clipPath(const SkPath& path, SkRegion::Op op, bool doAA) { in clipPath() argument
164 lua.pushBool(doAA, "aa"); in clipPath()
165 return this->INHERITED::clipPath(path, op, doAA); in clipPath()
DSkProxyCanvas.cpp61 bool SkProxyCanvas::clipRect(const SkRect& rect, SkRegion::Op op, bool doAA) { in clipRect() argument
62 return fProxy->clipRect(rect, op, doAA); in clipRect()
65 bool SkProxyCanvas::clipRRect(const SkRRect& rrect, SkRegion::Op op, bool doAA) { in clipRRect() argument
66 return fProxy->clipRRect(rrect, op, doAA); in clipRRect()
69 bool SkProxyCanvas::clipPath(const SkPath& path, SkRegion::Op op, bool doAA) { in clipPath() argument
70 return fProxy->clipPath(path, op, doAA); in clipPath()
DSkNWayCanvas.cpp139 bool SkNWayCanvas::clipRect(const SkRect& rect, SkRegion::Op op, bool doAA) { in clipRect() argument
142 iter->clipRect(rect, op, doAA); in clipRect()
144 return this->INHERITED::clipRect(rect, op, doAA); in clipRect()
147 bool SkNWayCanvas::clipRRect(const SkRRect& rrect, SkRegion::Op op, bool doAA) { in clipRRect() argument
150 iter->clipRRect(rrect, op, doAA); in clipRRect()
152 return this->INHERITED::clipRRect(rrect, op, doAA); in clipRRect()
155 bool SkNWayCanvas::clipPath(const SkPath& path, SkRegion::Op op, bool doAA) { in clipPath() argument
158 iter->clipPath(path, op, doAA); in clipPath()
160 return this->INHERITED::clipPath(path, op, doAA); in clipPath()
DSkDumpCanvas.cpp270 static const char* bool_to_aastring(bool doAA) { in bool_to_aastring() argument
271 return doAA ? "AA" : "BW"; in bool_to_aastring()
274 bool SkDumpCanvas::clipRect(const SkRect& rect, SkRegion::Op op, bool doAA) { in clipRect() argument
278 bool_to_aastring(doAA)); in clipRect()
279 return this->INHERITED::clipRect(rect, op, doAA); in clipRect()
282 bool SkDumpCanvas::clipRRect(const SkRRect& rrect, SkRegion::Op op, bool doAA) { in clipRRect() argument
286 bool_to_aastring(doAA)); in clipRRect()
287 return this->INHERITED::clipRRect(rrect, op, doAA); in clipRRect()
290 bool SkDumpCanvas::clipPath(const SkPath& path, SkRegion::Op op, bool doAA) { in clipPath() argument
294 bool_to_aastring(doAA)); in clipPath()
[all …]
/external/skia/src/utils/debugger/
DSkDebugCanvas.cpp307 bool SkDebugCanvas::clipPath(const SkPath& path, SkRegion::Op op, bool doAA) { in clipPath() argument
308 addDrawCommand(new SkClipPathCommand(path, op, doAA)); in clipPath()
312 bool SkDebugCanvas::clipRect(const SkRect& rect, SkRegion::Op op, bool doAA) { in clipRect() argument
313 addDrawCommand(new SkClipRectCommand(rect, op, doAA)); in clipRect()
317 bool SkDebugCanvas::clipRRect(const SkRRect& rrect, SkRegion::Op op, bool doAA) { in clipRRect() argument
318 addDrawCommand(new SkClipRRectCommand(rrect, op, doAA)); in clipRRect()
/external/chromium_org/third_party/skia/src/utils/debugger/
DSkDebugCanvas.cpp307 bool SkDebugCanvas::clipPath(const SkPath& path, SkRegion::Op op, bool doAA) { in clipPath() argument
308 addDrawCommand(new SkClipPathCommand(path, op, doAA)); in clipPath()
312 bool SkDebugCanvas::clipRect(const SkRect& rect, SkRegion::Op op, bool doAA) { in clipRect() argument
313 addDrawCommand(new SkClipRectCommand(rect, op, doAA)); in clipRect()
317 bool SkDebugCanvas::clipRRect(const SkRRect& rrect, SkRegion::Op op, bool doAA) { in clipRRect() argument
318 addDrawCommand(new SkClipRRectCommand(rrect, op, doAA)); in clipRRect()
/external/skia/gm/
Dnested.cpp17 NestedGM(bool doAA) : fDoAA(doAA) { in NestedGM() argument
Drrects.cpp17 RRectGM(bool doAA, bool doClip) : fDoAA(doAA), fDoClip(doClip) { in RRectGM() argument

123