/external/skia/gm/ |
D | compositor_quads.cpp | 212 const bool edgeAA[4], int tileID, int quadID) = 0; 224 bool edgeAA[4]; in drawTiles() local 233 edgeAA[0] = i == 0; // Top in drawTiles() 234 edgeAA[1] = j == kColCount - 1; // Right in drawTiles() 235 edgeAA[2] = i == kRowCount - 1; // Bottom in drawTiles() 236 edgeAA[3] = j == 0; // Left in drawTiles() 241 drawCount += this->clipTile(canvas, tileID, tile, nullptr, edgeAA, lines, 3, in drawTiles() 251 SkCanvas::QuadAAFlags maskToFlags(const bool edgeAA[4]) const { in maskToFlags() 252 unsigned flags = (edgeAA[0] * SkCanvas::kTop_QuadAAFlag) | in maskToFlags() 253 (edgeAA[1] * SkCanvas::kRight_QuadAAFlag) | in maskToFlags() [all …]
|
/external/skqp/src/gpu/ops/ |
D | GrFillRectOp.cpp | 62 GrQuadAAFlags edgeAA, in Make() argument 69 GrResolveAATypeForQuad(aaType, edgeAA, deviceQuad, deviceQuadType, &aaType, &edgeAA); in Make() 70 return Helper::FactoryHelper<FillRectOp>(context, std::move(paint), aaType, edgeAA, in Make() 276 GrQuadType localQuadType, const SkPMColor4f& color, GrQuadAAFlags edgeAA, in addQuad() argument 302 fDeviceQuads.push_back(deviceQuad, fDeviceQuads.quadType(), { color, edgeAA }); in addQuad() 337 GrQuadAAFlags edgeAA, in MakePerEdge() argument 341 return FillRectOp::Make(context, std::move(paint), aaType, edgeAA, stencilSettings, in MakePerEdge() 349 GrQuadAAFlags edgeAA, in MakePerEdgeWithLocalMatrix() argument 355 return FillRectOp::Make(context, std::move(paint), aaType, edgeAA, stencilSettings, in MakePerEdgeWithLocalMatrix() 363 GrQuadAAFlags edgeAA, in MakePerEdgeWithLocalRect() argument [all …]
|
D | GrFillRectOp.h | 32 GrQuadAAFlags edgeAA, 40 GrQuadAAFlags edgeAA, 49 GrQuadAAFlags edgeAA,
|
/external/skia/src/gpu/ |
D | GrSurfaceDrawContext.h | 205 void fillRectWithEdgeAA(const GrClip* clip, GrPaint&& paint, GrAA aa, GrQuadAAFlags edgeAA, 208 if (edgeAA == GrQuadAAFlags::kAll) { 214 DrawQuad quad{GrQuad::MakeFromRect(rect, viewMatrix), GrQuad(localRect), edgeAA}; 230 void fillQuadWithEdgeAA(const GrClip* clip, GrPaint&& paint, GrAA aa, GrQuadAAFlags edgeAA, in fillQuadWithEdgeAA() argument 235 GrQuad::MakeFromSkQuad(localPoints, SkMatrix::I()), edgeAA}; in fillQuadWithEdgeAA() 289 GrQuadAAFlags edgeAA, in drawTextureQuad() argument 294 GrQuad::MakeFromSkQuad(srcQuad, SkMatrix::I()), edgeAA}; in drawTextureQuad()
|
D | GrSurfaceDrawContext.cpp | 662 GrQuadAAFlags edgeAA, in drawTexture() argument 692 DrawQuad quad{GrQuad::MakeFromRect(dstRect, viewMatrix), GrQuad(srcRect), edgeAA}; in drawTexture() 1698 GrQuadAAFlags edgeAA = (aa == GrAA::kYes) ? GrQuadAAFlags::kAll : GrQuadAAFlags::kNone; in drawStrokedLine() local 1699 this->fillQuadWithEdgeAA(clip, std::move(paint), aa, edgeAA, viewMatrix, corners, nullptr); in drawStrokedLine()
|
/external/skqp/include/core/ |
D | SkCanvasVirtualEnforcer.h | 58 void onDrawEdgeAARect(const SkRect& rect, SkCanvas::QuadAAFlags edgeAA, SkColor color, in onDrawEdgeAARect() argument 63 void onDrawEdgeAARect(const SkRect& rect, SkCanvas::QuadAAFlags edgeAA, SkColor color,
|
D | SkCanvas.h | 1828 void experimental_DrawEdgeAARectV1(const SkRect& r, QuadAAFlags edgeAA, SkColor color, 2364 virtual void onDrawEdgeAARect(const SkRect& rect, QuadAAFlags edgeAA, SkColor color,
|
/external/skia/samplecode/ |
D | SampleDegenerateQuads.cpp | 59 static SkScalar get_area_coverage(const bool edgeAA[4], const SkPoint corners[4], in get_area_coverage() 92 if (!edgeAA[i]) { in get_area_coverage() 102 if (edgeAA[i] && edgeD[i] < 0.5f) { in get_area_coverage() 112 static SkScalar get_edge_dist_coverage(const bool edgeAA[4], const SkPoint corners[4], in get_edge_dist_coverage() 138 if (!edgeAA[i] && d >= -1e-4f) { in get_edge_dist_coverage()
|
/external/skqp/src/gpu/ |
D | SkGpuDevice.h | 75 void drawEdgeAARect(const SkRect& r, SkCanvas::QuadAAFlags edgeAA, SkColor color,
|
D | GrRenderTargetContext.h | 133 void fillRectWithEdgeAA(const GrClip& clip, GrPaint&& paint, GrQuadAAFlags edgeAA,
|
D | GrRenderTargetContext.cpp | 913 GrQuadAAFlags edgeAA, const SkMatrix& viewMatrix, in fillRectWithEdgeAA() argument 925 (edgeAA == GrQuadAAFlags::kNone || edgeAA == GrQuadAAFlags::kAll)) { in fillRectWithEdgeAA() 928 this->drawFilledRect(clip, std::move(paint), GrAA(edgeAA == GrQuadAAFlags::kAll), in fillRectWithEdgeAA() 939 this->addDrawOp(clip, GrFillRectOp::MakePerEdge(fContext, std::move(paint), aaType, edgeAA, in fillRectWithEdgeAA()
|
/external/skqp/src/core/ |
D | SkCanvas.cpp | 1879 void SkCanvas::experimental_DrawEdgeAARectV1(const SkRect& r, QuadAAFlags edgeAA, SkColor color, in experimental_DrawEdgeAARectV1() argument 1884 this->onDrawEdgeAARect(r.makeSorted(), edgeAA, color, mode); in experimental_DrawEdgeAARectV1() 2097 void SkCanvas::onDrawEdgeAARect(const SkRect& r, QuadAAFlags edgeAA, SkColor color, in onDrawEdgeAARect() argument 2105 iter.fDevice->drawEdgeAARect(r, edgeAA, color, mode); in onDrawEdgeAARect()
|
/external/skia/src/core/ |
D | SkCanvas.cpp | 2392 void SkCanvas::onDrawEdgeAAQuad(const SkRect& r, const SkPoint clip[4], QuadAAFlags edgeAA, in onDrawEdgeAAQuad() argument 2403 this->topDevice()->drawEdgeAAQuad(r, clip, edgeAA, color, mode); in onDrawEdgeAAQuad()
|