/third_party/skia/src/core/ |
H A D | SkRasterClip.cpp | 23 fAA = that.fAA; in SkRasterClip() 36 fAA = that.fAA; in operator =() 70 fAA.setPath(path, bounds, true); in SkRasterClip() 89 fAA.setEmpty(); in setEmpty() 99 fAA.setEmpty(); in setRect() 113 fAA.op(rect, op); in op() 126 (void)fAA.op(tmp, op); in op() 168 (void)fAA in op() [all...] |
H A D | SkRasterClip.h | 38 const SkAAClip& aaRgn() const { SkASSERT(!fIsBW); return fAA; } in aaRgn() 51 return fIsBW ? fBW.isComplex() : !fAA.isEmpty(); in isComplex() 54 return fIsBW ? fBW.getBounds() : fAA.getBounds(); in getBounds() 70 return fIsBW ? fBW.quickContains(rect) : fAA.quickContains(rect); in quickContains() 92 SkAAClip fAA; member in SkRasterClip 101 return fIsBW ? fBW.isEmpty() : fAA.isEmpty(); in computeIsEmpty() 105 return fIsBW ? fBW.isRect() : fAA.isRect(); in computeIsRect() 112 if (detectAARect && !fIsEmpty && !fIsBW && fAA.isRect()) { in updateCacheAndReturnNonEmpty() 113 fBW.setRect(fAA.getBounds()); in updateCacheAndReturnNonEmpty() 114 fAA in updateCacheAndReturnNonEmpty() [all...] |
H A D | SkRecords.h | 197 ClipOpAndAA(SkClipOp op, bool aa) : fOp(static_cast<unsigned>(op)), fAA(aa) {} in ClipOpAndAA() 200 bool aa() const { return fAA != 0; } in aa() 204 unsigned fAA : 1; // MSVC won't pack an enum with an bool, so we call this an unsigned. member
|
H A D | SkAAClip.h | 112 SkAlpha* fAA; member in SkAAClipBlitter
|
H A D | SkAAClip.cpp | 1651 // we use this either for fRuns + fAA, or a scaline of a mask 1655 fAA = (SkAlpha*)(fRuns + count); 1680 expandToRuns(row, initialCount, width, fRuns, fAA); 1682 fBlitter->blitAntiH(x, y, fAA, fRuns); 1738 merge(row, initialCount, aa, runs, fAA, fRuns, fAAClipBounds.width()); 1739 fBlitter->blitAntiH(x, y, fAA, fRuns);
|
/third_party/skia/gm/ |
H A D | drawminibitmaprect.cpp | 79 DrawMiniBitmapRectGM(bool antiAlias) : fAA(antiAlias) { in DrawMiniBitmapRectGM() 81 if (fAA) { in DrawMiniBitmapRectGM() 108 paint.setAntiAlias(fAA); 145 bool fAA; member in DrawMiniBitmapRectGM
|
/third_party/skia/bench/ |
H A D | ChartBench.cpp | 93 fAA = aa; in ChartBench() 100 if (fAA) { 141 plotPaint.setAntiAlias(fAA); 146 fillPaint.setAntiAlias(fAA); 183 bool fAA; member in ChartBench
|
H A D | RotatedRectBench.cpp | 75 : fAA(aa) in RotRectBench() 87 paint.setAntiAlias(fAA); 148 if (fAA) { in makeName() 179 bool fAA; member in RotRectBench
|
H A D | RectBench.cpp | 30 bool fAA; member in RectBench 36 , fAA(aa) in RectBench() 44 if (fAA) { in computeName() 106 paint->setAntiAlias(fAA);
|
H A D | PathBench.cpp | 114 fAA = aa; in RotatedRectBench() 120 suffix.printf("rotated_rect_%s_%d", fAA ? "aa" : "noaa", fDegrees); 134 paint->setAntiAlias(fAA); 139 bool fAA; member in RotatedRectBench 1236 const bool fAA; member in CommonConvexBench 1239 CommonConvexBench(int w, int h, bool forceConcave, bool aa) : fAA(aa) { in CommonConvexBench() 1260 paint.setAntiAlias(fAA);
|
/third_party/skia/src/gpu/v1/ |
H A D | ClipStack.cpp | 215 GrClipEdgeType edgeType = get_clip_edge_type(e.fOp, e.fAA); in analytic_clip_fp() 245 if (e.fAA != GrAA::kYes) { in clip_atlas_fp() 301 helper->drawShape(inverted, e.fLocalToDevice, SkRegion::kReplace_Op, e.fAA, alpha); in draw_to_sw_mask() 303 helper->drawShape(e.fShape, e.fLocalToDevice, SkRegion::kReplace_Op, e.fAA, alpha); in draw_to_sw_mask() 391 helper.drawShape(e.fShape, e.fLocalToDevice, op, e.fAA); in render_stencil_mask() 406 , fAA(aa) { in Draw() 427 GrAA aa() const { return fAA; } in aa() 432 GrAA fAA; member in skgpu::v1::ClipStack::Draw 492 bool mixedAA = fAA != e.fAA; in contains() [all...] |
H A D | ClipStack.h | 40 GrAA fAA; member 120 GrAA aa() const { return fAA; } in aa()
|
H A D | SurfaceDrawContext.cpp | 527 if (!result.fIsRRect || (stencilSettings && result.fAA != *aa) || in attemptQuadOptimization() 556 if (GrQuadUtils::CropToRect(clippedBounds, result.fAA, quad, in attemptQuadOptimization() 576 if (*aa == GrAA::kNo && result.fAA == GrAA::kYes && in attemptQuadOptimization() 593 if (GrQuadUtils::CropToRect(clippedBounds, result.fAA, quad, in attemptQuadOptimization() 599 this->drawRRect(nullptr, std::move(*paint), result.fAA, SkMatrix::I(), result.fRRect, in attemptQuadOptimization() 1073 if (result.fAA == aa || (result.fAA == GrAA::kNo && aa == GrAA::kYes)) { in drawRRect()
|
H A D | Device.cpp | 299 if (e.fAA == GrAA::kYes) { in onClipIsAA()
|
/third_party/skia/src/gpu/ |
H A D | GrClip.h | 37 GrAA fAA; // Ignore if 'isRRect' is false member 45 , fAA(aa) in PreClipResult()
|
/third_party/skia/samplecode/ |
H A D | SampleFatBits.cpp | 52 fAA = false; in FatBits() 66 bool getAA() const { return fAA; } in getAA() 67 void setAA(bool aa) { fAA = aa; } in setAA() 126 bool fAA, fGrid, fShowSkeleton, fUseClip, fRectAsOval, fUseTriangle; member in FatBits
|
/third_party/skia/tests/ |
H A D | GrClipStackTest.cpp | 106 ElementsBuilder& aa() { fAA = GrAA::kYes; return *this; } in aa() 107 ElementsBuilder& nonAA() { fAA = GrAA::kNo; return *this; } in nonAA() 114 return this->rect(rect, fLocalToDevice, fAA, fOp); in rect() 125 return this->rrect(rrect, fLocalToDevice, fAA, fOp); in rrect() 136 return this->path(path, fLocalToDevice, fAA, fOp); in path() 159 GrAA fAA = GrAA::kNo; member in __anon19011::ElementsBuilder 258 e.fAA, GrClip::BoundsType::kExterior); in getOptimalBounds() 263 elementBounds = GrClip::GetPixelIBounds(e.fShape.rect(), e.fAA, in getOptimalBounds() 267 e.fAA, GrClip::BoundsType::kInterior); in getOptimalBounds() 280 if (a.fAA ! in compare_elements() [all...] |
/third_party/skia/src/gpu/ops/ |
H A D | SoftwarePathRenderer.cpp | 45 , fAA(aa) {} in SoftwarePathData() 50 GrAA getAA() const { return fAA; } in getAA() 56 GrAA fAA; member in __anon18858::SoftwarePathData
|
/third_party/skia/tools/debugger/ |
H A D | DrawCommand.h | 702 SkCanvas::QuadAAFlags fAA; member in DrawEdgeAAQuadCommand
|
H A D | DrawCommand.cpp | 1880 , fAA(aa) in DrawEdgeAAQuadCommand() 1891 canvas->experimental_DrawEdgeAAQuad(fRect, fHasClip ? fClip : nullptr, fAA, fColor, fMode); in execute()
|
/third_party/skia/src/gpu/text/ |
H A D | GrTextBlob.cpp | 630 if (result.fAA == GrAA::kNo || GrClip::IsPixelAligned(r)) { in calculate_clip()
|